All notable changes to lua-resty-nettle
will be documented in this file.
- Publish
resty.nettle.eddsa
module withresty.nettle
module - Make
resty.nettle.eddsa
to automatically choose the algorithm based on key size
- Add Streebog hashing algorithms (256 and 512)
- Add PBKDF2 HMAC-SHA384 and HMAC-SHA512 variants
- Add support for Nettle 3.7.x
- Add support for GC256B and GC512A ECC curves
- Add support for SHA3 256 SHAKE
- Add support for ARCTWO (RC2)
- Add support for GOSTHASH94CP
- Add support for HMAC-GOSTHASH94
- Add support for HMAC-GOSTHASH94CP
- Add support for HMAC-STREEBOG256
- Add support for HMAC-STREEBOG512
- Add support for BCRYPT
- Add support for AES-XTS mode
- Add suppoer for curve448
- Add support for EdDSA448 SHAKE-256
- Add support for AES-SIV-CMAC mode
- P-512 curve was missing on internal curves table with cdata
- ARCFOUR (RC4) maximum key size is raised from 256 bits to 2048 bits
- Drop (official) support for Nettle < 3.7.x
- Fix RSA to do right calculation of exponent lengths
- Binding to time resistant RSA decrypt
- Binding to time and side-channel resistant RSA decrypt
- Fix (again) RSA to do right calculation of signature length
- Fix RSA to pass the right known length to mpz.tostring() on signing
- No need to give length to ecc scalar:d()
- Support for
pbkdf2.hmac_gosthash94cp
- ecc point returned invalid length on some curves for point:x(), point.y(), point.xy() and point.coordinates()
- Random data used with OpenResty leaked a callback which could have
resulted
too many callbacks
error. The function is now casted as a proper C function.
- Huge refactoring. A lot of new stuff. From this on, I will keep better changelog, ;-).
- Hogweed library loading (copy paste bug, sorry).
- Option to override library paths with global variables (see #15, thanks @shashiranjan84)
- More robust library loaders (they sometimes returned non-helpful booleans) (see #14, thanks @xiangnanscu)
- Prefixed Nettle structs to avoid naming conflicts with other libraries such as OpenSSL (see #13, thanks @xiangnanscu)
- Tries to load older dependencies in case the latest are not available (no gurantees that they will work, though)
- Added safeguards on missing ECC curves.
- Automatically calculate, if not provided, RSA a, b, c. (see #11, thanks @hcaihao)
- Error messages without ending dot and in lowercase.
- No asserts / errors anymore, all the functions return nil, error message on errors.
- Added support for RSA-PSS signing algorithms.
- Added support for ECC.
- Added support for ECDSA.
- Base64 padding related fixes.
- Added RSA signing algorithms (MD5, SHA1, SHA256 and SHA512).
- Added CBC and CTR modes to Twofish.
- Added curve25519.
- Support for the official OpenResty package manager (opm).
- Added version.lua file.
- Added version information in lua-resty-nettle.
- Moved nettle.lua to nettle/library.lua.
- Implemented nettle.lua that autoloads everything.