[Bug 1319] ssh-keygen does not properly handle multiple keys
bugzilla-daemon at bugzilla.mindrot.org
bugzilla-daemon at bugzilla.mindrot.org
Sun Jun 15 05:19:46 EST 2008
https://bugzilla.mindrot.org/show_bug.cgi?id=1319
Damien Miller <djm at mindrot.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |djm at mindrot.org
--- Comment #1 from Damien Miller <djm at mindrot.org> 2008-06-15 05:19:42 ---
the problem here is that in ssh-keygen.c:do_fingerprint() we try
key_load_public() first. If this finds a key then we bail, if not then
we continue though the file a line at a time assuming authorized_keys
format.
The difficulty in fixing this comes from the fact that
key_load_public() opens, reads and closes the file in one go. We need a
variant that operates on an open file (or just a line), so we can
continue.
--
Configure bugmail: https://bugzilla.mindrot.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are watching the assignee of the bug.
You are watching someone on the CC list of the bug.
More information about the openssh-bugs
mailing list