[Bug 2442] New: comment is not set to the filename for identity files with already entered passphrase
bugzilla-daemon at mindrot.org
bugzilla-daemon at mindrot.org
Fri Aug 7 12:33:12 AEST 2015
https://bugzilla.mindrot.org/show_bug.cgi?id=2442
Bug ID: 2442
Summary: comment is not set to the filename for identity files
with already entered passphrase
Product: Portable OpenSSH
Version: 6.7p1
Hardware: Other
OS: Linux
Status: NEW
Severity: minor
Priority: P5
Component: ssh-add
Assignee: unassigned-bugs at mindrot.org
Reporter: vincent-openssh at vinc17.net
With OpenSSH_6.7p1 under Debian/unstable, when I use ssh-add with
multiple filenames to add several identities at once, the comment is
set to the filename for the first identity, but not for the following
ones. That is, for these additional identities, "ssh-add -L" and
"ssh-add -l" output "rsa w/o comment" instead of the filename.
I suppose that the cause of this bug is that for these additional
identities, the passphrase was already entered (I use the same one for
each identity) and sshkey_parse_private_pem_fileblob() in sshkey.c sets
the comment to "rsa w/o comment", which is rather uninformative. In
this opposite case, add_file() in ssh-add.c sets the comment with:
if (comment == NULL)
comment = xstrdup(filename);
--
You are receiving this mail because:
You are watching the assignee of the bug.
More information about the openssh-bugs
mailing list