Displaying 1 result from an estimated 1 matches for "extpubkey".
Did you mean:
ecpubkey
2003 Feb 09
1
Logging of comments on keys
...*** 153,159 ****
int
auth_rsa_key_allowed(struct passwd *pw, BIGNUM *client_n, Key **rkey)
{
! char line[8192], *file;
int allowed = 0;
u_int bits;
FILE *f;
--- 153,159 ----
int
auth_rsa_key_allowed(struct passwd *pw, BIGNUM *client_n, Key **rkey)
{
! char line[8192], *file, *extpubkey;
int allowed = 0;
u_int bits;
FILE *f;
***************
*** 164,169 ****
--- 164,175 ----
/* Temporarily use the user's uid. */
temporarily_use_uid(pw);
+ /* log public key */
+
+ extpubkey = BN_bn2hex(client_n);
+ log("Attempt RSA authentication for %s with pubkey %s&...