[Bug 3545] New: Output from ssh-keygen -e, which should always be a public-key, is not accepted by ssh-keygen -l

bugzilla-daemon at mindrot.org bugzilla-daemon at mindrot.org
Thu Mar 2 18:52:13 AEDT 2023


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

            Bug ID: 3545
           Summary: Output from ssh-keygen -e, which should always be a
                    public-key, is not accepted by ssh-keygen -l
           Product: Portable OpenSSH
           Version: 8.9p1
          Hardware: amd64
                OS: Linux
            Status: NEW
          Severity: minor
          Priority: P5
         Component: ssh-keygen
          Assignee: unassigned-bugs at mindrot.org
          Reporter: abdussami101 at gmail.com

ssh -V
OpenSSH_8.9p1 Ubuntu-3, OpenSSL 3.0.2 15 Mar 2022

ssh-keygen -f my
ssh-keygen -ef my > my-ef.pub
ssh-keygen -lf my-ef.pub

## So, maybe my-ef is a private-key
ssh-keygen -yf my-ef.pub
Load key "my-ef.pub": error in libcrypto

man ssh-keygen
-e      This option will read a private or public OpenSSH key file and
print to stdout a public key in one of the formats pecified by the -m
option.  The default export format is “RFC4716”.  This op‐tion allows
exporting OpenSSH keys for use by other programs, in‐cluding several
commercial SSH implementations.

-- 
You are receiving this mail because:
You are watching the assignee of the bug.


More information about the openssh-bugs mailing list