7.1.2 (2024-10-15)
- Test on Ruby 3.3 (#236)
- Support alpine 3.19 and up (#234)
- Use libsodium constants for scrypt params (#231)
- Fix error message generation when empty hmac key is given (#224)
- Add ed25519 to curve25519 conversion helpers (#217)
7.1.1 (2020-01-27)
- Test on Ruby 2.7 (#208)
- Add project metadata to the gemspec (#207)
- Resolve FFI deprecation warning (#206)
7.1.0 (2019-09-07)
7.0.0 (2019-05-23)
- Drop support for Ruby 2.2 (#194)
6.0.1 (2019-01-27)
- Add fallback
sodium_constants
for Argon2 (#189) - Support libsodium versions used by Heroku (#186)
- Sealed boxes (#184)
6.0.0 (2018-11-08)
- Deprecate rbnacl-libsodium (#180)
- Add support for XChaCha20-Poly1305 (#176)
- Fix buffer size type in
randombytes_buf
binding (#174) - Add support for argon2id digest (#174)
- Support for non-32-byte HMAC-SHA256/512 keys (#166)
- Support the BLAKE2b Initialize-Update-Finalize API (#159)
- Raise error on degenerate keys. Fixes #152 (#157)
- Last minute changes to the ChaCha20Poly1305 API (#148)
- Add wrappers for ChaCha20Poly1305 AEAD ciphers (#141)
- Added support for Argon2 password hash (#142)
- Require Ruby 2.2.6+ (#143)
- Remove use of Thread.exclusive when initializing library (#128)
- Add salt/personalisation strings for Blake2b (#105)
- Fix method signature for blake2b
- RuboCop-friendly codebase
- Fix scrypt support with libsodium 0.7.0 (scryptsalsa208sha256)
- Fix undefined variable warning
- RSpec 3 fixups
- RuboCop
- The scrypt password hashing function:
RbNaCl::PasswordHash.scrypt
- Load gem from
RBNACL_LIBSODIUM_GEM_LIB_PATH
if set. Used by rbnacl-libsodium gem to use libsodium compiled from a gem.
- Rename RandomNonceBox to SimpleBox (backwards compatibility preserved)
- Reverse documented order of SimpleBox/RandomNonceBox initialize parameters. Technically backwards compatible, but confusing.
- Ensure all strings are ASCII-8BIT/BINARY encoding prior to use
- Rename Crypto module to RbNaCl module
- Add encrypt/decrypt aliases for
Crypto::RandomNonceBox
RbNaCl::VerifyKey#verify
operand order was reversed. New operand order is signature, message instead of message, signatureRbNaCL::SecretBox#open
,RbNaCl::Box#open
,Auth#verify
andVerifyKey#verify
all now raise a (descendent of) CryptoError if the check fails. This ensures failures are handled by the program.RbNaCl::SecretBox
, Box, etc. are all now aliases for the real implementations, which are named after the primitives they provide- Removed encoder functionality.
- Add support for the Blake2b cryptographic hash algorithm.
- Add checks that we have a sufficiently recent version of libsodium (0.4.3+)
- Dropped ruby-1.8 support
- Call the
sodium_init()
function, to select the best algorithms. - Fix some typos in the documentation
- Changes in the low level binding for libsodium and removal of the NaCl module
- Add a mutex around calls to randombytes in libsodium
- Provide API for querying primitives and details about them, such as key lengths, nonce lengths, etc.
- Fixed bug on passing null bytes to sha256, sha512 functions.
- Initial release