Releases: auth0/magic
Releases · auth0/magic
Drops support for node 10 and updates the libsodium library
- BREAKING CHANGE: Drops support for node 10. Supported versions: =>12
- Updates the libsodium library to v0.7.9. Previous versions of the library were removing all uncaughtException listeners including ones attached by other code. This is now fixed in the new version.
bcrypt update and node 8 drop
Breaking Changes
- Updates bcrypt to version 5.x. This is a breaking change only in case of a passphrase longer than 255 or a passphrase that includes null byte
- Drops support for node 8 due to bcrypt update
Misc
- Cleans up code
- Improves documentation
Adds support for Node 12
v3.1.0 Bump v3.1.0 (#54)
Rename the output of magic.util.rsaKeypairGen()
Rename the output of magic.util.rsaKeypairGen() from { sk: ... , pk ...} to { privateKey: ... , publicKey: ...}
Add support for RSA keypair generation
Adds support for generating an RSA private/public keypair via the new function magic.util.rsaKeypairGen() which works with both callbacks and Promises.
Add timing safe string comparison
This release adds the method magic.util.timingSafeCompare() that performs a string comparison in a way that is not susceptible to a timing based attack.
Small updates
- Updates README
- Updates bcrypt to v3.0.6
Add support for encryption/decryption with password
Adds support for encryption/decryption with user supplied password with two new functions: pwdEncrypt.aead(), pwdDecrypt.aead()
Add support for stream encryption/decryption with a supplied password
- Add support for stream encryption/decryption with a supplied password
- Fix race condition issue in magic.util.uid()
Add support for stream encryption/decryption
v2.1.0 Remove conditional publish to npm, it doesn't work (#27)