[DRE-maint] Bug#1004299: ruby-net-ssh: FTBFS in sid

Antonio Terceiro terceiro at debian.org
Wed Feb 2 22:40:27 GMT 2022


Control: forwarded -1 https://github.com/net-ssh/net-ssh/issues/843

On Mon, Jan 24, 2022 at 03:35:35PM +0100, Cédric Boutillier wrote:
> Package: ruby-net-ssh
> Version: 1:6.1.0-2
> 
> Hi,
> 
> When trying to rebuild ruby-net-ssh in sid, I get test failures related
> to DSA cryptography. They all have the message: 
>         OpenSSL:PKey::DSAError: bad sig size
> 
> 
> Hopefully, this is the relevant part. Full log attached
> 
> Finished in 4.013999s, 372.1974 runs/s, 1244.6442 assertions/s.
> 
>   1) Error:
> Authentication::TestAgent#test_add_dsa_cert_identity:
> OpenSSL::PKey::DSAError: bad sig size
>     /<<PKGBUILDDIR>>/lib/net/ssh/transport/openssl.rb:115:in `ssh_do_sign'
>     /<<PKGBUILDDIR>>/lib/net/ssh/authentication/certificate.rb:91:in `sign!'
>     /<<PKGBUILDDIR>>/test/authentication/test_agent.rb:414:in `make_cert'
>     /<<PKGBUILDDIR>>/test/authentication/test_agent.rb:273:in `test_add_dsa_cert_identity'
> 
>   2) Error:
> Authentication::TestKeyManager#test_each_identity_should_load_from_implicit_cert_file:
> OpenSSL::PKey::DSAError: bad sig size
>     /<<PKGBUILDDIR>>/lib/net/ssh/transport/openssl.rb:115:in `ssh_do_sign'
>     /<<PKGBUILDDIR>>/lib/net/ssh/authentication/certificate.rb:91:in `sign!'
>     /<<PKGBUILDDIR>>/test/authentication/test_key_manager.rb:320:in `rsa_cert'
>     /<<PKGBUILDDIR>>/test/authentication/test_key_manager.rb:76:in `test_each_identity_should_load_from_implicit_cert_file'
> 
>   3) Error:
> Authentication::TestKeyManager#test_each_identity_should_ignore_explicit_cert_file_unless_matching_key_is_avaiable:
> OpenSSL::PKey::DSAError: bad sig size
>     /<<PKGBUILDDIR>>/lib/net/ssh/transport/openssl.rb:115:in `ssh_do_sign'
>     /<<PKGBUILDDIR>>/lib/net/ssh/authentication/certificate.rb:91:in `sign!'
>     /<<PKGBUILDDIR>>/test/authentication/test_key_manager.rb:320:in `rsa_cert'
>     /<<PKGBUILDDIR>>/test/authentication/test_key_manager.rb:104:in `test_each_identity_should_ignore_explicit_cert_file_unless_matching_key_is_avaiable'
> 
>   4) Error:
> Authentication::TestKeyManager#test_each_identity_should_load_from_explicit_cert_file_given_matching_key_is_loaded:
> OpenSSL::PKey::DSAError: bad sig size
>     /<<PKGBUILDDIR>>/lib/net/ssh/transport/openssl.rb:115:in `ssh_do_sign'
>     /<<PKGBUILDDIR>>/lib/net/ssh/authentication/certificate.rb:91:in `sign!'
>     /<<PKGBUILDDIR>>/test/authentication/test_key_manager.rb:320:in `rsa_cert'
>     /<<PKGBUILDDIR>>/test/authentication/test_key_manager.rb:88:in `test_each_identity_should_load_from_explicit_cert_file_given_matching_key_is_loaded'
> 
>   5) Error:
> Authentication::TestKeyManager#test_each_identity_should_match_explicit_keycert_with_agent_provided_identity:
> OpenSSL::PKey::DSAError: bad sig size
>     /<<PKGBUILDDIR>>/lib/net/ssh/transport/openssl.rb:115:in `ssh_do_sign'
>     /<<PKGBUILDDIR>>/lib/net/ssh/authentication/certificate.rb:91:in `sign!'
>     /<<PKGBUILDDIR>>/test/authentication/test_key_manager.rb:320:in `rsa_cert'
>     /<<PKGBUILDDIR>>/test/authentication/test_key_manager.rb:141:in `test_each_identity_should_match_explicit_keycert_with_agent_provided_identity'
> 
>   6) Error:
> Authentication::TestKeyManager#test_sign_with_agent_originated_key_should_be_signable_through_explicitly_loaded_cert:
> OpenSSL::PKey::DSAError: bad sig size
>     /<<PKGBUILDDIR>>/lib/net/ssh/transport/openssl.rb:115:in `ssh_do_sign'
>     /<<PKGBUILDDIR>>/lib/net/ssh/authentication/certificate.rb:91:in `sign!'
>     /<<PKGBUILDDIR>>/test/authentication/test_key_manager.rb:320:in `rsa_cert'
>     /<<PKGBUILDDIR>>/test/authentication/test_key_manager.rb:218:in `test_sign_with_agent_originated_key_should_be_signable_through_explicitly_loaded_cert'

This seems to be caused by lack of support for ruby-openssl 3.0 (which
is now included in our ruby3.0 package).
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: not available
URL: <http://alioth-lists.debian.net/pipermail/pkg-ruby-extras-maintainers/attachments/20220202/6f93ae5d/attachment.sig>


More information about the Pkg-ruby-extras-maintainers mailing list