Bug 1514 - Sample init script generating 1024 bit keys
Summary: Sample init script generating 1024 bit keys
Status: CLOSED FIXED
Alias: None
Product: Portable OpenSSH
Classification: Unclassified
Component: Miscellaneous (show other bugs)
Version: 5.1p1
Hardware: All Linux
: P2 trivial
Assignee: Assigned to nobody
URL:
Keywords:
Depends on:
Blocks: V_5_2
  Show dependency treegraph
 
Reported: 2008-08-28 13:46 AEST by Iain Morgan
Modified: 2009-02-23 13:36 AEDT (History)
1 user (show)

See Also:


Attachments
Generate host keys using default key size (2.21 KB, patch)
2008-08-28 13:46 AEST, Iain Morgan
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Iain Morgan 2008-08-28 13:46:47 AEST
Created attachment 1562 [details]
Generate host keys using default key size

While the default size for RSA (and RSA1) keys generated by ssh-keygen
was changed to 2048 bits, some of the sample startup scripts explicitly
generate 1024 bit keys. The use of '-b 1024' in these scripts seems
unnecessary and undesirable.

A trivial patch to fix contrib/caldera/ssh-host-keygen and
contrib/suse/rc.sshd is attached.
Comment 1 Damien Miller 2008-11-03 20:16:30 AEDT
Fix applied for openssh-5.2, thanks!
Comment 2 Damien Miller 2009-02-23 13:36:13 AEDT
Close bugs fixed/reviewed for openssh-5.2 release