Displaying 1 result from an estimated 1 matches for "auth_icc_prepare_key".
2003 Mar 28
0
PRIVSEP annoys me.
...long random number, encrypts it with the pubkey, and
> send
> it to the client as an challenge, just like RSAAuthentication. The client
> then
> decrypts the challenge with the private key in the user's IC card, and send
> a
> response to the server.
>
> Here is the auth_icc_prepare_key() function in my auth-icc.c.
> This function gets the pubkey in the ~/.icc/authorized_key file.
>
> int
> auth_icc_prepare_key(struct passwd *pw, Key **rkey)
> {
> char line[8192], file[MAXPATHLEN];
> u_char n_e[131];
> FILE *f;
> struct stat st;
> Key *key;
>...