summaryrefslogtreecommitdiffstats
path: root/debian
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-08-26 07:59:12 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-08-26 07:59:12 +0000
commit36231e88baa2231045767fadeaec080710dffe63 (patch)
tree8cde82432ab902d87f302adebc99979b3789815e /debian
parentMerging debian version 1:9.8p1-1. (diff)
downloadopenssh-36231e88baa2231045767fadeaec080710dffe63.tar.xz
openssh-36231e88baa2231045767fadeaec080710dffe63.zip
Refreshing ssh-keygen-default-rsa-size.patch.
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'debian')
-rw-r--r--debian/patches/progress-linux/0001-ssh-keygen-default-rsa-size.patch6
1 files changed, 3 insertions, 3 deletions
diff --git a/debian/patches/progress-linux/0001-ssh-keygen-default-rsa-size.patch b/debian/patches/progress-linux/0001-ssh-keygen-default-rsa-size.patch
index d162e74..5d70bdb 100644
--- a/debian/patches/progress-linux/0001-ssh-keygen-default-rsa-size.patch
+++ b/debian/patches/progress-linux/0001-ssh-keygen-default-rsa-size.patch
@@ -4,19 +4,19 @@ Description: Setting default RSA size in ssh-keygen to 4096.
diff -Naurp openssh.orig/ssh-keygen.1 openssh/ssh-keygen.1
--- openssh.orig/ssh-keygen.1
+++ openssh/ssh-keygen.1
-@@ -269,7 +269,7 @@ resistance to brute-force password crack
+@@ -293,7 +293,7 @@ The default is 16 rounds.
Show the bubblebabble digest of specified private or public key file.
.It Fl b Ar bits
Specifies the number of bits in the key to create.
-For RSA keys, the minimum size is 1024 bits and the default is 3072 bits.
+For RSA keys, the minimum size is 1024 bits and the default is 4096 bits.
Generally, 3072 bits is considered sufficient.
- DSA keys must be exactly 1024 bits as specified by FIPS 186-2.
For ECDSA keys, the
+ .Fl b
diff -Naurp openssh.orig/ssh-keygen.c openssh/ssh-keygen.c
--- openssh.orig/ssh-keygen.c
+++ openssh/ssh-keygen.c
-@@ -79,7 +79,7 @@
+@@ -80,7 +80,7 @@
* which a 160bit hash is acceptable is 1kbit, and since ssh-dss specifies only
* SHA1 we limit the DSA key size 1k bits.
*/