Bug 34360 - не работает с современными openssl/ключами
Summary: не работает с современными openssl/ключами
Status: CLOSED NOTABUG
Alias: None
Product: Sisyphus
Classification: Development
Component: ruby-net-ssh (show other bugs)
Version: unstable
Hardware: all Linux
: P3 normal
Assignee: Andrey Cherepanov
QA Contact: qa-sisyphus
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2017-12-19 14:36 MSK by hasculdr
Modified: 2017-12-19 17:31 MSK (History)
8 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description hasculdr 2017-12-19 14:36:44 MSK
Версия пакета 3.0.0, при запуске скриптов получаю ошибку вида
/usr/lib/ruby/site_ruby/net/ssh/transport/cipher_factory.rb:97: warning: constant OpenSSL::Cipher::Cipher is deprecated
/usr/lib/ruby/site_ruby/net/ssh/transport/cipher_factory.rb:72: warning: constant OpenSSL::Cipher::Cipher is deprecated
/usr/lib/ruby/site_ruby/net/ssh/key_factory.rb:77:in `read': Could not parse PKey: no start line (OpenSSL::PKey::PKeyError)
    from /usr/lib/ruby/site_ruby/net/ssh/key_factory.rb:77:in `load_data_private_key'
    from /usr/lib/ruby/site_ruby/net/ssh/key_factory.rb:42:in `load_private_key'
    from /usr/lib/ruby/site_ruby/net/ssh/authentication/key_manager.rb:224:in `block in load_identities'
    from /usr/lib/ruby/site_ruby/net/ssh/authentication/key_manager.rb:217:in `map'
    from /usr/lib/ruby/site_ruby/net/ssh/authentication/key_manager.rb:217:in `load_identities'
    from /usr/lib/ruby/site_ruby/net/ssh/authentication/key_manager.rb:101:in `each_identity'
    from /usr/lib/ruby/site_ruby/net/ssh/authentication/methods/publickey.rb:19:in `authenticate'
    from /usr/lib/ruby/site_ruby/net/ssh/authentication/session.rb:79:in `block in authenticate'
    from /usr/lib/ruby/site_ruby/net/ssh/authentication/session.rb:66:in `each'
    from /usr/lib/ruby/site_ruby/net/ssh/authentication/session.rb:66:in `authenticate'
    from /usr/lib/ruby/site_ruby/net/ssh.rb:225:in `start'

С установленным откуда-то гемом (#gem install) версии 4.2.0 все работает. Просьба обновить пакет.
Comment 1 nbr 2017-12-19 14:37:55 MSK
да. есть такое.
Comment 2 nbr 2017-12-19 14:44:14 MSK
Версия пакета 3.0.0, ?
В сизифе 4.2.0, пожалуйста обновитесь.