Displaying 1 result from an estimated 1 matches for "certkey_authentication".
2006 Nov 15
11
OpenSSH Certkey (PKI)
...00 1.89
+++ monitor.c 15 Nov 2006 14:14:35 -0000
@@ -797,6 +797,17 @@
if (key != NULL && authctxt->valid) {
switch (type) {
+ case 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_userb...