[前][次][番号順一覧][スレッド一覧]

ruby-changes:74089

From: Jarek <ko1@a...>
Date: Tue, 18 Oct 2022 16:33:47 +0900 (JST)
Subject: [ruby-changes:74089] b7debaa801 (master): [rubygems/rubygems] TestGemSecurity#test_class_re_sign: Correct signature algorithm.

https://git.ruby-lang.org/ruby.git/commit/?id=b7debaa801

From b7debaa8015c7a3dba832954ecc93334f6853f37 Mon Sep 17 00:00:00 2001
From: Jarek Prokop <jprokop@r...>
Date: Fri, 9 Sep 2022 15:22:31 +0200
Subject: [rubygems/rubygems] TestGemSecurity#test_class_re_sign: Correct
 signature algorithm.

https://github.com/rubygems/rubygems/commit/e2d533591c
---
 test/rubygems/test_gem_security.rb | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/test/rubygems/test_gem_security.rb b/test/rubygems/test_gem_security.rb
index 518a508c86..0aecccdb27 100644
--- a/test/rubygems/test_gem_security.rb
+++ b/test/rubygems/test_gem_security.rb
@@ -151,7 +151,7 @@ class TestGemSecurity < Gem::TestCase https://github.com/ruby/ruby/blob/trunk/test/rubygems/test_gem_security.rb#L151
   end
 
   def test_class_re_sign
-    assert_equal "sha1WithRSAEncryption", EXPIRED_CERT.signature_algorithm
+    assert_equal "sha256WithRSAEncryption", EXPIRED_CERT.signature_algorithm
     re_signed = Gem::Security.re_sign EXPIRED_CERT, PRIVATE_KEY, 60
 
     assert_in_delta Time.now,      re_signed.not_before, 10
-- 
cgit v1.2.3


--
ML: ruby-changes@q...
Info: http://www.atdot.net/~ko1/quickml/

[前][次][番号順一覧][スレッド一覧]