We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3a607f4 commit e2d5335Copy full SHA for e2d5335
test/rubygems/test_gem_security.rb
@@ -151,7 +151,7 @@ def test_class_email_to_name
151
end
152
153
def test_class_re_sign
154
- assert_equal "sha1WithRSAEncryption", EXPIRED_CERT.signature_algorithm
+ assert_equal "sha256WithRSAEncryption", EXPIRED_CERT.signature_algorithm
155
re_signed = Gem::Security.re_sign EXPIRED_CERT, PRIVATE_KEY, 60
156
157
assert_in_delta Time.now, re_signed.not_before, 10
0 commit comments