[Bug 2901] ssh-keygen generates an invalid key sometimes

bugzilla-daemon at bugzilla.mindrot.org bugzilla-daemon at bugzilla.mindrot.org
Tue Oct 9 16:46:46 AEDT 2018


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

Damien Miller <djm at mindrot.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Blocks|                            |2893

--- Comment #10 from Damien Miller <djm at mindrot.org> ---
This has been committed and will be in the openssh-7.9 release. Thanks
for the report and script to reproduce it.

commit edbb6febccee084d212fdc0cb05b40cb1c646ab1 (HEAD -> master,
origin/master, origin/HEAD)
Author: djm at openbsd.org <djm at openbsd.org>
Date:   Tue Oct 9 05:42:23 2018 +0000

    upstream: Treat all PEM_read_bio_PrivateKey() errors when a
passphrase

    is specified as "incorrect passphrase" instead of trying to choose
between
    that and "invalid format".

    libcrypto can return ASN1 parsing errors rather than the expected
    decrypt error in certain infrequent cases when trying to
decrypt/parse
    PEM private keys when supplied with an invalid passphrase.

    Report and repro recipe from Thomas Deutschmann in bz#2901

    ok markus@

    OpenBSD-Commit-ID: b1d4cd92395f9743f81c0d23aab2524109580870


Referenced Bugs:

https://bugzilla.mindrot.org/show_bug.cgi?id=2893
[Bug 2893] Tracking bug for 7.9 release
-- 
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