[Bug 2561] ssh-keygen -A does not recreate broken zero-sized host keys

bugzilla-daemon at bugzilla.mindrot.org bugzilla-daemon at bugzilla.mindrot.org
Fri Apr 8 14:21:46 AEST 2016


https://bugzilla.mindrot.org/show_bug.cgi?id=2561

Damien Miller <djm at mindrot.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |ASSIGNED
           Assignee|unassigned-bugs at mindrot.org |djm at mindrot.org
                 CC|                            |djm at mindrot.org,
                   |                            |dtucker at zip.com.au
   Attachment #2804|                            |ok?(dtucker at zip.com.au)
              Flags|                            |

--- Comment #1 from Damien Miller <djm at mindrot.org> ---
Created attachment 2804
  --> https://bugzilla.mindrot.org/attachment.cgi?id=2804&action=edit
check that key files are loadable in ssh-keygen -A

This patch checks that public and private key files can be loaded and
will re-generate keys if they can't.

Changes to authfile.c/sshkey.c required to allow running
sshkey_load_public()/sshkey_load_private_type() with a NULL key
argument.

-- 
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