We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Alright so we are sporadically getting this RuntimeError in our Sidekiq workers and the offending line of code is lib/sekrets.rb#L303:
RuntimeError
cipher.key = Digest::SHA256.digest(key.to_s).slice(0,16)
After some digging I found a similar issue in the aerospike-client-ruby gem: Digest::Base cannot be directly inherited in Ruby
aerospike-client-ruby
Which they solved by using the thread-safe digest lookup.
Would you agree that this line lib/sekrets.rb#L303 should similarly be changed to use the thread-safe digest lookup?
The text was updated successfully, but these errors were encountered:
thread-safe Digest loading as per #14
e4f3ef0
better late that never but on master now
Sorry, something went wrong.
No branches or pull requests
Alright so we are sporadically getting this
RuntimeError
in our Sidekiq workers and the offending line of code is lib/sekrets.rb#L303:After some digging I found a similar issue in the
aerospike-client-ruby
gem:Digest::Base cannot be directly inherited in Ruby
Which they solved by using the thread-safe digest lookup.
Would you agree that this line lib/sekrets.rb#L303 should similarly be changed to use the thread-safe digest lookup?
The text was updated successfully, but these errors were encountered: