GNOME Bugzilla – Bug 705561
Minimum SSH size in Seahorse is 768 bytes, but the UI allows you to decrease key sizes to 512 bytes
Last modified: 2013-08-13 15:10:48 UTC
*Steps to reproduce* File->New->Secure Shell Key. Click Advanced key options -> Decrease the key strength(bits) thing to 512 bytes You're prompted with the message - "Key must at least be 768 bits". *Expected behaviour* You shouldn't be able to decrease the key size below 768 bits.
Created attachment 251101 [details] [review] ssh: Bump the minimum key size to 768 bits Does this patch fix the issue for you, and work for both RSA and DSA?
Hi Stef, thanks for the patch. :) The patch works perfectly when the key-type is RSA. When the key type is DSA, irrespective of the key size I choose, the key size freezes to 1024. Further, when I click the "Just Create Key" button, I get this error message as a prompt and on the commandline: "Couldn't generate Secure Shell key Generating public/private dsa key pair. (null) already exists. Overwrite (y/n)?"
Attachment 251101 [details] pushed as 9e26457 - ssh: Bump the minimum key size to 768 bits