aboutsummaryrefslogtreecommitdiffstats
path: root/lib/openssl.rb
Commit message (Collapse)AuthorAgeFilesLines
* lib/openssl.rb: require openssl/version.rbky/fix-openssl-version-constantKazuki Yamaguchi2020-02-221-0/+1
| | | | | | | | The OpenSSL::VERSION constant is now defined by lib/openssl/version.rb instead of by the extension. Add missing require statement. Fixes: 0cddb0b736c8 ("Simplify handling of version constant.", 2019-10-31) Reference: https://github.com/ruby/openssl/issues/347
* Prefer `frozen_string_literal: true`.Samuel Williams2020-02-061-1/+1
|
* Don't use require_relative to load `openssl.so`.Samuel Williams2019-11-271-1/+1
| | | | It breaks when compiled in ruby source tree.
* Make OpenSSL::HMAC#== compare in constant time instead of returning falseBart de Water2019-11-041-0/+1
|
* Prefer `require_relative`.Samuel Williams2019-10-311-9/+9
|
* Add OpenSSL.secure_compare with same semantics as Active Support >= 5.2Bart de Water2019-10-281-0/+14
| | | | secure_compare is for user input, fixed_length_secure_compare for already processed data that is known to have the same length
* kdf: introduce OpenSSL::KDF moduleKazuki Yamaguchi2017-03-231-0/+1
| | | | | | | | | Introduce a new OpenSSL::KDF module as a namespace for to-be-added KDFs. This makes it easier to add new KDFs in future. We already have a stand-alone KDF, OpenSSL::PKCS5.pbkdf2_hmac. This is migrated to the new namespace. The backwards compatibility is retained by the method defined in the newly added lib/openssl/pkcs5.rb.
* sync code from upstreamSHIBATA Hiroshi2015-12-301-0/+1
|
* Sync with ruby trunkZachary Scott2015-09-231-5/+1
|
* Apply ruby/ruby@325a50fc572516a171d640765d6ddf9b20be14dc to fix typosZachary Scott2015-05-041-1/+1
| | | | See also r50351 from ruby/ruby#876
* import ruby trunkSHIBATA Hiroshi2014-10-271-4/+23
|
* bundle gem opensslSHIBATA Hiroshi2014-10-271-0/+5