Skip to content

Commit 7d69b1d

Browse files
homusegiddins
authored andcommitted
Auto merge of #1892 - EdOverflow:3072-bit-key, r=segiddins
s/2048/3072 # Description: The default key is size is 3072 and not 2048 bits: beee528 ______________ I will abide by the [code of conduct](https://github.com/rubygems/rubygems/blob/master/CODE_OF_CONDUCT.md). (cherry picked from commit f0c41e7)
1 parent fc0f6c5 commit 7d69b1d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/rubygems/security.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -455,7 +455,7 @@ def self.create_cert_self_signed subject, key, age = ONE_YEAR,
455455

456456
##
457457
# Creates a new key pair of the specified +length+ and +algorithm+. The
458-
# default is a 2048 bit RSA key.
458+
# default is a 3072 bit RSA key.
459459

460460
def self.create_key length = KEY_LENGTH, algorithm = KEY_ALGORITHM
461461
algorithm.new length

0 commit comments

Comments
 (0)