I: [PATCH] ssh-keygen
Dmitry V. Levin
ldv at fandra.org
Mon Jan 29 14:44:10 EST 2001
Greetings!
According to documentation, "-x" and "-X" options of ssh-keygen designed
to work only with DSA keys. It means that key_type_name variable have to
be initialized to "dsa" if any of these options were specified.
Regards,
Dmitry
+-------------------------------------------------------------------------+
Dmitry V. Levin mailto://ldv@fandra.org
Software Engineer PGP pubkey http://www.fandra.org/users/ldv/pgpkeys.html
IPLabs Linux Team http://linux.iplabs.ru
Fandra Project http://www.fandra.org
+-------------------------------------------------------------------------+
UNIX is user friendly. It's just very selective about who its friends are.
-------------- next part --------------
Index: ssh-keygen.c
===================================================================
RCS file: /cvs/openssh_cvs/ssh-keygen.c,v
retrieving revision 1.35
diff -u -r1.35 ssh-keygen.c
--- ssh-keygen.c 2001/01/22 05:34:43 1.35
+++ ssh-keygen.c 2001/01/29 03:24:18
@@ -691,10 +691,12 @@
case 'x':
convert_to_ssh2 = 1;
+ key_type_name = "dsa";
break;
case 'X':
convert_from_ssh2 = 1;
+ key_type_name = "dsa";
break;
case 'y':
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 232 bytes
Desc: not available
Url : http://lists.mindrot.org/pipermail/openssh-unix-dev/attachments/20010129/61f094de/attachment.bin
More information about the openssh-unix-dev
mailing list