Bug 3545

Summary: Output from ssh-keygen -e, which should always be a public-key, is not accepted by ssh-keygen -l
Product: Portable OpenSSH Reporter: Sami <abdussami101>
Component: ssh-keygenAssignee: Assigned to nobody <unassigned-bugs>
Status: NEW ---    
Severity: minor    
Priority: P5    
Version: 8.9p1   
Hardware: amd64   
OS: Linux   

Description Sami 2023-03-02 18:52:13 AEDT
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.