After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 705561 - Minimum SSH size in Seahorse is 768 bytes, but the UI allows you to decrease key sizes to 512 bytes
Minimum SSH size in Seahorse is 768 bytes, but the UI allows you to decrease ...
Status: RESOLVED FIXED
Product: seahorse
Classification: Applications
Component: general
git master
Other Linux
: Normal normal
: ---
Assigned To: Seahorse Maintainer
Seahorse Maintainer
Depends on:
Blocks:
 
 
Reported: 2013-08-06 12:57 UTC by Aruna Sankaranarayanan
Modified: 2013-08-13 15:10 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
ssh: Bump the minimum key size to 768 bits (1.02 KB, patch)
2013-08-07 19:40 UTC, Stef Walter
committed Details | Review

Description Aruna Sankaranarayanan 2013-08-06 12:57:56 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.
Comment 1 Stef Walter 2013-08-07 19:40:43 UTC
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?
Comment 2 Aruna Sankaranarayanan 2013-08-13 08:08:36 UTC
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)?"
Comment 3 Stef Walter 2013-08-13 15:09:08 UTC
Attachment 251101 [details] pushed as 9e26457 - ssh: Bump the minimum key size to 768 bits