- Security
- mlock() called on the pointer allocated by Sodium::Buffer
- Sodium::Buffer#to_s#== compares in constant time
- Bug Fixes
- Sodium::Buffer#initialize accepts ZeroingDelegators
- ZeroingDelegator no longer delegates #freeze and #frozen? to its delegate
-
Additions
- Sodium::Buffer#to_ptr added to replace #to_str
- Sodium::Buffer#to_s added to replace #to_str
-
Removals
- Sodium::Buffer#to_str removed
-
Bug Fixes
- Potential data loss bug fixed. Sodium::Buffer can no longer be garbage collected (thus clearing its bytes) while a pointer to its bytes (from #to_ptr) is being held.
-
Additions
- now actually distributed with a license! (MIT)
-
Bug Fixes
- Sodium::Buffer again accepts binary strings that aren't valid Unicode
-
Additions
- document the process for verifying the gem signature
-
Bug Fixes
- allow the gem to be built without the private signing key
-
Additions
- Sodium::Auth can be used entirely with class methods
- Sodium::Buffer gains many new API methods
- signed gem
-
Removals
- Sodium::Buffer loses #pad, #unpad
-
Enhancements
- Sodium::Buffer performance improvements
-
Bug Fixes
- using
pointer
type for FFI methods to avoid bugs related to in/out buffers in JRuby
- using
- Initial release