PerlDancer/Dancer-Session-Cookie

The key derivation method "opensslv1" is deprecated

eserte opened this issue · 0 comments

t/01-session.t started to fail, probably if Crypt::CBC 3.01 is installed (see https://metacpan.org/source/LDS/Crypt-CBC-3.01/Changes#L2 )


#   Failed test 'no warnings'
#   at /usr/perl5.33.6p/lib/5.33.6/Test/Builder.pm line 193.
# There were 2 warning(s)
# 	Previous test 5 'Dancer::Session::Cookie->can(...)'
# 	WARNING: The key derivation method "opensslv1" is deprecated. Using -pbkdf=>'pbkdf2' would be better.
# Pass -nodeprecate=>1 to inhibit this message.
#  at /usr/perl5.33.6p/lib/site_perl/5.33.6/Session/Storage/Secure.pm line 213.
#  at /usr/perl5.33.6p/lib/site_perl/5.33.6/Crypt/CBC.pm line 455.
# 	Crypt::CBC::_deprecation_warning(Crypt::CBC=HASH(0x80259ba68)) called at /usr/perl5.33.6p/lib/site_perl/5.33.6/Crypt/CBC.pm line 158
# 	Crypt::CBC::start(Crypt::CBC=HASH(0x80259ba68), "encrypting") called at /usr/perl5.33.6p/lib/site_perl/5.33.6/Crypt/CBC.pm line 125
# 	Crypt::CBC::encrypt(Crypt::CBC=HASH(0x80259ba68), "=\x{f3}rl\x{4}\x{0}(*\x{1}bid&\$532216492603151246046947716550646740") called at /usr/perl5.33.6p/lib/site_perl/5.33.6/Session/Storage/Secure.pm line 213
# 	eval {...} called at /usr/perl5.33.6p/lib/site_perl/5.33.6/Session/Storage/Secure.pm line 212
# 	Session::Storage::Secure::encode(Session::Storage::Secure=HASH(0x802c12468), HASH(0x800a4bd50)) called at /usr/home/cpansand/.cpan/build/2021021414/Dancer-Session-Cookie-0.30-0/lib/Dancer/Session/Cookie.pm line 159
# 	Dancer::Session::Cookie::_cookie_value(Dancer::Session::Cookie=HASH(0x8024f3ae0)) called at t/01-session.t line 32
# 
# ----------
# 	Previous test 6 'cookie value is defined'
# 	WARNING: The key derivation method "opensslv1" is deprecated. Using -pbkdf=>'pbkdf2' would be better.
# Pass -nodeprecate=>1 to inhibit this message.
#  at /usr/perl5.33.6p/lib/site_perl/5.33.6/Session/Storage/Secure.pm line 213.
#  at /usr/perl5.33.6p/lib/site_perl/5.33.6/Crypt/CBC.pm line 455.
# 	Crypt::CBC::_deprecation_warning(Crypt::CBC=HASH(0x802ccefa8)) called at /usr/perl5.33.6p/lib/site_perl/5.33.6/Crypt/CBC.pm line 158
# 	Crypt::CBC::start(Crypt::CBC=HASH(0x802ccefa8), "encrypting") called at /usr/perl5.33.6p/lib/site_perl/5.33.6/Crypt/CBC.pm line 125
# 	Crypt::CBC::encrypt(Crypt::CBC=HASH(0x802ccefa8), "=\x{f3}rl\x{4}\x{0}(*\x{2}cbarcbazbid&\$532216492603151246046947716550646740") called at /usr/perl5.33.6p/lib/site_perl/5.33.6/Session/Storage/Secure.pm line 213
# 	eval {...} called at /usr/perl5.33.6p/lib/site_perl/5.33.6/Session/Storage/Secure.pm line 212
# 	Session::Storage::Secure::encode(Session::Storage::Secure=HASH(0x802c12468), HASH(0x802a20fa8)) called at /usr/home/cpansand/.cpan/build/2021021414/Dancer-Session-Cookie-0.30-0/lib/Dancer/Session/Cookie.pm line 159
# 	Dancer::Session::Cookie::_cookie_value(Dancer::Session::Cookie=HASH(0x8024f3ae0)) called at t/01-session.t line 35
# 
# Looks like you failed 1 test of 11.
t/01-session.t ............... 
Dubious, test returned 1 (wstat 256, 0x100)
Failed 1/11 subtests 
...