paseto-standard / test-vectors

Test vectors for PASETO, PASERK, etc.
Other
6 stars 4 forks source link

Provide secret-key-seed separately. #6

Closed paragonie-security closed 2 years ago

paragonie-security commented 2 years ago

This will prevent people from being tripped up by the NaCl/libsodium Ed25519 secret key encoding of seed || pk.

If you expect a 32-byte octet, just use secret-key-seed instead.

If you wrap libsodium (which we recommend), you can continue to use the old value.

Everybody wins.