bugzilla-daemon at bugzilla.mindrot.org
2018-Dec-19 10:16 UTC
[Bug 2946] New: ssh-keygen -e -f id_rsa only exports public key, never private keys
https://bugzilla.mindrot.org/show_bug.cgi?id=2946 Bug ID: 2946 Summary: ssh-keygen -e -f id_rsa only exports public key, never private keys Product: Portable OpenSSH Version: 7.9p1 Hardware: Other OS: Windows 7 Status: NEW Severity: enhancement Priority: P5 Component: ssh-keygen Assignee: unassigned-bugs at mindrot.org Reporter: tschweikle at gmail.com "ssh-keygen -e -f id_rsa" only exports public key, never private keys. # ssh-keygen -q -t rsa -b 2048 -N "" -C comment -f id_rsa # ssh-keygen -e -f id_rsa ---- BEGIN SSH2 PUBLIC KEY ---- Comment: "2048-bit RSA, converted by root at gvm10 from OpenSSH" AAAAB3NzaC1yc2EAAAADAQABAAABAQDX+xNaEHcrJDM+e+Ro4oace/UITT3I0LKS6OJ3PO caObuC4ltk5ohbuVCdu1BsyVMXcYu14x/eZKdylwaVWipKE2kE859ozNclHoq4BEbSRdWM dDrBNHXZrhoHIS5AwbgPOepZLVwoe/y6F+LKbesGGMMUVL1FARGily9tg/XDX2riO8sZVj LPNtDXfEg/TmAF119MQ4w054bpMxnqsmBNbv3vWQwrE7f8gN5eAOMCgRDUPF+EL1wFR9IW tgnpEy1X5cOENuLCUBSi01pT8lgn/DGetnrn2UTQHXb+Bw9lZ9yI3OQTVKd7KeWa2j00lA ZHWV1ofZ0o381Mdk4ZqQxX ---- END SSH2 PUBLIC KEY ---- # ssh-keygen -e -f id_rsa.pub ---- BEGIN SSH2 PUBLIC KEY ---- Comment: "2048-bit RSA, converted by root at gvm10 from OpenSSH" AAAAB3NzaC1yc2EAAAADAQABAAABAQDX+xNaEHcrJDM+e+Ro4oace/UITT3I0LKS6OJ3PO caObuC4ltk5ohbuVCdu1BsyVMXcYu14x/eZKdylwaVWipKE2kE859ozNclHoq4BEbSRdWM dDrBNHXZrhoHIS5AwbgPOepZLVwoe/y6F+LKbesGGMMUVL1FARGily9tg/XDX2riO8sZVj LPNtDXfEg/TmAF119MQ4w054bpMxnqsmBNbv3vWQwrE7f8gN5eAOMCgRDUPF+EL1wFR9IW tgnpEy1X5cOENuLCUBSi01pT8lgn/DGetnrn2UTQHXb+Bw9lZ9yI3OQTVKd7KeWa2j00lA ZHWV1ofZ0o381Mdk4ZqQxX ---- END SSH2 PUBLIC KEY ---- I'd awaited to find my private key converted in the first case, not my public one! The man-page even states this would be the case, but it is not. -- You are receiving this mail because: You are watching the assignee of the bug.
bugzilla-daemon at bugzilla.mindrot.org
2018-Dec-19 10:17 UTC
[Bug 2946] ssh-keygen -e -f id_rsa only exports public key, never private keys
https://bugzilla.mindrot.org/show_bug.cgi?id=2946 --- Comment #1 from Thomas Schweikle <tschweikle at gmail.com> --- Same for Debian, Fedora, FreeBSD, OpenBSD. -- You are receiving this mail because: You are watching the assignee of the bug.
bugzilla-daemon at bugzilla.mindrot.org
2019-Jan-22 11:13 UTC
[Bug 2946] ssh-keygen -e -f id_rsa only exports public key, never private keys
https://bugzilla.mindrot.org/show_bug.cgi?id=2946 Damien Miller <djm at mindrot.org> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |djm at mindrot.org --- Comment #2 from Damien Miller <djm at mindrot.org> --- The -e flag only writes public keys. I've committed a clarification to the man page for this. What are you trying to convert to? -- You are receiving this mail because: You are watching someone on the CC list of the bug. You are watching the assignee of the bug.
bugzilla-daemon at bugzilla.mindrot.org
2019-Apr-02 23:07 UTC
[Bug 2946] ssh-keygen -e -f id_rsa only exports public key, never private keys
https://bugzilla.mindrot.org/show_bug.cgi?id=2946 Damien Miller <djm at mindrot.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Resolution|--- |FIXED Status|NEW |RESOLVED -- 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.
bugzilla-daemon at mindrot.org
2021-Apr-23 04:53 UTC
[Bug 2946] ssh-keygen -e -f id_rsa only exports public key, never private keys
https://bugzilla.mindrot.org/show_bug.cgi?id=2946 Damien Miller <djm at mindrot.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED --- Comment #3 from Damien Miller <djm at mindrot.org> --- closing resolved bugs as of 8.6p1 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.