ahoward / sekrets

sekrets is a command line tool and library used to securely manage encrypted files and settings in your rails' applications and git repositories.
BSD 2-Clause "Simplified" License
268 stars 28 forks source link

It's not working with ruby 2.4.0 and Rails 5.0.2 #8

Closed JohnSmall closed 7 years ago

JohnSmall commented 7 years ago

In Ubuntu 14.04, Ruby 2.4.0 and Rails 5.0.2

Following the instructions for rails I created a key then got to the next line rake sekrets:generate:editor

And got this error

path_removed/gems/sekrets-1.9.1/lib/sekrets.rb:295: warning: constant OpenSSL::Cipher::Cipher is deprecated rake aborted! ArgumentError: key must be 16 bytes

So how do I use this gem?

copiousfreetime commented 7 years ago

@JohnSmall pull request #9 will solve this, hoping to have @ahoward drop it in today/tomorrow

copiousfreetime commented 7 years ago

@JohnSmall Version 1.10.0 was released to rubygems. So you should be good to go. Please let us know if you have any problems.