Displaying 1 result from an estimated 1 matches for "key_parse_private_rsa1".
2010 Nov 27
0
[patch] Make passphrase-protected SSHv1 keys work again
...add_file(ac, filename = "~/.ssh/identity"),
we call
key_load_private(filename = "~/.ssh/identity", passphrase = "", commentp = &comment)
key_parse_private_type(blob = <contents of ~/.ssh/identity>, KEY_RSA1, passphrase = "", commentp = &comment)
key_parse_private_rsa1(blob, passphrase = "", commentp = &comment).
In key_parse_private_rsa1, at authfile.c:423-424, we execute
if (commentp)
*commentp = buffer_get_string(blob, NULL);
However, the empty passphrase is not correct (recall that my
~/.ssh/identity file has a passphrase), we fail to load...