Displaying 1 result from an estimated 1 matches for "key_parse_private_typ".
Did you mean:
key_parse_private_type
2010 Nov 27
0
[patch] Make passphrase-protected SSHv1 keys work again
...ails to format the prompt
properly ("Enter passphrase for :").
The issue is as follows:
Starting at ssh-add.c:158 in 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(...