Displaying 2 results from an estimated 2 matches for "mm_nokey".
Did you mean:
mm_node
2002 Jun 25
0
[Bug 290] New: auth_method set incorrectly in mm_answer_keyverify()
...nfig 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 happens because of this bug, but I don't know the code well enough to
be sure. I also don't think there are any side effects from moving the
assignmen...
2006 Nov 15
11
OpenSSH Certkey (PKI)
.../cvs/src/usr.bin/ssh/monitor_wrap.h,v
retrieving revision 1.20
diff -u -r1.20 monitor_wrap.h
--- monitor_wrap.h 3 Aug 2006 03:34:42 -0000 1.20
+++ monitor_wrap.h 15 Nov 2006 14:14:35 -0000
@@ -31,7 +31,7 @@
extern int use_privsep;
#define PRIVSEP(x) (use_privsep ? mm_##x : x)
-enum mm_keytype {MM_NOKEY, MM_HOSTKEY, MM_USERKEY, MM_RSAHOSTKEY, MM_RSAUSERKEY};
+enum mm_keytype {MM_NOKEY, MM_HOSTKEY, MM_CERTKEY, MM_USERKEY, MM_RSAHOSTKEY, MM_RSAUSERKEY};
struct monitor;
struct mm_master;
@@ -46,6 +46,7 @@
int mm_auth_password(struct Authctxt *, char *);
int mm_key_allowed(enum mm_keytype, char...