From c917807b1c89b93b317d56ce2905b5d6d6468a11 Mon Sep 17 00:00:00 2001 From: Matt Johnston Date: Mon, 25 May 2020 20:23:02 +0800 Subject: rsa-sha256 for ssh-agent --- agentfwd.h | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'agentfwd.h') diff --git a/agentfwd.h b/agentfwd.h index eb12d7a..d913aea 100644 --- a/agentfwd.h +++ b/agentfwd.h @@ -32,6 +32,9 @@ #if DROPBEAR_CLI_AGENTFWD +/* From OpenSSH authfd.h */ +#define SSH_AGENT_RSA_SHA2_256 0x02 + /* An agent reply can be reasonably large, as it can * contain a list of all public keys held by the agent. * 10000 is arbitrary */ @@ -40,7 +43,7 @@ /* client functions */ void cli_load_agent_keys(m_list * ret_list); void agent_buf_sign(buffer *sigblob, sign_key *key, - const buffer *data_buf); + const buffer *data_buf, enum signature_type type); void cli_setup_agent(const struct Channel *channel); #ifdef __hpux -- cgit v1.2.3