pam_pkcs11 icon indicating copy to clipboard operation
pam_pkcs11 copied to clipboard

Possible openssh_mapper error with SSH v1 key

Open wolneykien opened this issue 3 years ago • 0 comments

Hi! There is the following mismatch in the openssh_mapper.c:

It uses

RSA_set0_key(rsa, rsa_e, rsa_n, NULL);

when is parsing ssh v1 key, but

RSA_set0_key(rsa, rsa_n, rsa_e, NULL);

for ssh v2 key. Notice the different order of rsa_e and rsa_n in the calls. Possibly, that's an error. However, I don't known where can I get an SSH version 1 key to check it in runtime.

wolneykien avatar Aug 30 '21 21:08 wolneykien