diff options
author | Manfred Kaiser <37737811+manfred-kaiser@users.noreply.github.com> | 2021-08-19 17:37:14 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-08-19 23:37:14 +0800 |
commit | 210a9833496ed2a93b8da93924874938127ce0b5 (patch) | |
tree | b7bbba8079879cc3bc057a2eba8433f0e0ae4094 /cli-authpubkey.c | |
parent | 69e5709f75981bf0f5147c5f1d95a0f4fdf11b6f (diff) |
added option to disable trivial auth methods (#128)
* added option to disable trivial auth methods
* rename argument to match with other ssh clients
* fixed trivial auth detection for pubkeys
Diffstat (limited to 'cli-authpubkey.c')
-rw-r--r-- | cli-authpubkey.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/cli-authpubkey.c b/cli-authpubkey.c index 28c54fa..c0da77f 100644 --- a/cli-authpubkey.c +++ b/cli-authpubkey.c @@ -176,6 +176,7 @@ static void send_msg_userauth_pubkey(sign_key *key, enum signature_type sigtype, buf_putbytes(sigbuf, ses.writepayload->data, ses.writepayload->len); cli_buf_put_sign(ses.writepayload, key, sigtype, sigbuf); buf_free(sigbuf); /* Nothing confidential in the buffer */ + cli_ses.is_trivial_auth = 0; } encrypt_packet(); |