1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23
|
Description: set digest explicitly
Crypt::OpenSSL::RSA changed its default to sha256 in 0.29_01.
Cf. https://github.com/toddr/Crypt-OpenSSL-RSA/commit/13df4d34e7cbc9d067f863ddb94260a26df3c9e6
Origin: vendor
Bug-Debian: https://bugs.debian.org/898198
Author: gregor herrmann <gregoa@debian.org>
Last-Update: 2018-05-08
Forwarded: https://rt.cpan.org/Ticket/Display.html?id=125291
Bug: https://rt.cpan.org/Ticket/Display.html?id=125291
--- a/t/02-rsa.t
+++ b/t/02-rsa.t
@@ -26,6 +26,10 @@
$publickey = Crypt::OpenSSL::RSA->new_public_key(slurp("t/rsakey.pub"));
} or die "unable to read public key";
+ # Crypt::OpenSSL::RSA changed its default to sha256 in 0.29_01
+ $privkey->use_sha1_hash;
+ $publickey->use_sha1_hash;
+
my $request = Net::OAuth::ProtectedResourceRequest->new(
consumer_key => 'dpf43f3p2l4k3l03',
consumer_secret => 'kd94hf93k423kf44',
|