search for: mm_userkey

Displaying 3 results from an estimated 3 matches for "mm_userkey".

2002 Jun 25
0
[Bug 290] New: auth_method set incorrectly in mm_answer_keyverify()
...gh it was using publickey authentication (and tracing via the client verifies that the publickey was used). Hostbased authentication is disabled in my config file. Figuring this was a logging bug, I went hunting in the code. In mm_answer_keyverify() is the line: auth_method = key_blobtype == MM_USERKEY ? "publickey" : "hostbased"; But this line occurs *after* the call to monitor_reset_key_state(), which sets key_blobtype to MM_NOKEY. Moving the auth_method assignment before the call to monitor_reset_key_state() fixed the problem. I don't think anything else bad happen...
2006 Nov 15
11
OpenSSH Certkey (PKI)
...MM_CERTKEY: { + u_char *cert; + u_int clen; + + cert = buffer_get_string(m, &clen); + key->cert = xstrdup(cert); + allowed = options.certkey_authentication && + user_cert_key_allowed(authctxt->pw, key); + auth_method = "certkey"; + break; + } case MM_USERKEY: allowed = options.pubkey_authentication && user_key_allowed(authctxt->pw, key); @@ -859,7 +870,7 @@ } static int -monitor_valid_userblob(u_char *data, u_int datalen) +monitor_valid_userblob(u_char *data, u_int datalen, u_char *name) { Buffer b; char *p; @@ -900,7 +9...
2006 Feb 12
1
sshd double-logging
...OND, m); - auth_method = "keyboard-interactive/pam"; + auth_method = compat20 ? "keyboard-interactive/pam" : + "challenge-response"; if (ret == 0) sshpam_authok = sshpam_ctxt; return (0); @@ -980,17 +981,20 @@ mm_answer_keyallowed(int sock, Buffer *m case MM_USERKEY: allowed = options.pubkey_authentication && user_key_allowed(authctxt->pw, key); + auth_method = "publickey"; break; case MM_HOSTKEY: allowed = options.hostbased_authentication && hostbased_key_allowed(authctxt->pw, cuser, cho...