bugzilla-daemon at bugzilla.mindrot.org
2018-Jan-24 11:43 UTC
[Bug 2825] New: ssh-keygen -t rsa1 generates key and then fails to save it
https://bugzilla.mindrot.org/show_bug.cgi?id=2825
Bug ID: 2825
Summary: ssh-keygen -t rsa1 generates key and then fails to
save it
Product: Portable OpenSSH
Version: 7.4p1
Hardware: Other
OS: Linux
Status: NEW
Severity: minor
Priority: P5
Component: ssh-keygen
Assignee: unassigned-bugs at mindrot.org
Reporter: oxwghc at fyvzl.net
$ ssh-keygen -t rsa1 -b 2048 -f t
Generating public/private rsa1 key pair.
t already exists.
Overwrite (y/n)? y
Enter passphrase (empty for no passphrase):
Enter same passphrase again:
Saving key "t" failed: unknown or unsupported key type
$
I guess this is a consequence of dropping SSH v1 protocol support.
(I was doing this because I have a program which uses RSA, relies on an
external key generator, and understands the ssh v1 key format.)
If ssh-keygen is not able to save in ssh1 RSA format, it should fail
early rather than going to all of the effort of generating a key (this
took a minute or two on my rpi) and then bombing out.
I filed this bug originally against Debian's version, here:
https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=888205
--
You are receiving this mail because:
You are watching the assignee of the bug.
bugzilla-daemon at bugzilla.mindrot.org
2018-Jan-24 11:46 UTC
[Bug 2825] ssh-keygen -t rsa1 generates key and then fails to save it
https://bugzilla.mindrot.org/show_bug.cgi?id=2825
Colin Watson <cjwatson at debian.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |cjwatson at debian.org
--
You are receiving this mail because:
You are watching the assignee of the bug.
bugzilla-daemon at bugzilla.mindrot.org
2018-Feb-06 01:25 UTC
[Bug 2825] ssh-keygen -t rsa1 generates key and then fails to save it
https://bugzilla.mindrot.org/show_bug.cgi?id=2825
Darren Tucker <dtucker at dtucker.net> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
CC| |dtucker at dtucker.net
Resolution|--- |FIXED
--- Comment #1 from Darren Tucker <dtucker at dtucker.net> ---
Thanks for the report. This has already been fixed in this commit
which was included in the 7.6 release:
https://github.com/openssh/openssh-portable/commit/873d3e7d
$ ssh -V
OpenSSH_7.6p1, OpenSSL 1.0.2m-fips 2 Nov 2017
$ ssh-keygen -t rsa1 -b 2048 -f t
unknown key type rsa1
--
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 bugzilla.mindrot.org
2018-Apr-06 02:26 UTC
[Bug 2825] ssh-keygen -t rsa1 generates key and then fails to save it
https://bugzilla.mindrot.org/show_bug.cgi?id=2825
Damien Miller <djm at mindrot.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|RESOLVED |CLOSED
--- Comment #2 from Damien Miller <djm at mindrot.org> ---
Close all resolved bugs after release of OpenSSH 7.7.
--
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.