cvonkleist / encrypted_cookie

AES-128 encrypted session cookies for Rack (and Sinatra and other frameworks).
MIT License
53 stars 14 forks source link

OpenSSL::Cipher::Cipher is deprecated #12

Closed gawin closed 7 years ago

gawin commented 7 years ago

The use of OpenSSL::Cipher::Cipher is deprecated. The use of OpenSSL::Cipheris now advised.

../ruby/gems/2.4.0/bundler/gems/encrypted_cookie-d252653ce4e1/lib/encrypted_cookie/encryptor.rb:96: warning: constant OpenSSL::Cipher::Cipher is deprecated

https://ruby-doc.org/stdlib-2.4.0/libdoc/openssl/rdoc/OpenSSL/Cipher/Cipher.html https://ruby-doc.org/stdlib-2.4.0/libdoc/openssl/rdoc/OpenSSL/Cipher.html