Paseto icon indicating copy to clipboard operation
Paseto copied to clipboard

Remove libsodium

Open sgessa opened this issue 9 months ago • 2 comments

This PR removes libsalty library because outdated and no longer maintained. libsalty was used for XChaCha20Poly1305 and Ed25519 crypto functions that are now implemented using Erlang native crypto functions. I also fixed an issue where V2.sign/3 expected a keypair (a binary composed with private + public key) with 64 bytes length to work. Only the secret key is needed for signing and must be 32 bytes.

sgessa avatar May 24 '24 12:05 sgessa