decentralized-web-node
decentralized-web-node copied to clipboard
xsalsa not supported by JWE
The Supported Encryption Schemes section states that XSalsa20-Poly1305 is a supported encryption scheme. However, xsalsa is not and can not be supported by JWE because it lacks support for AAD.
Instead XChaCha20-Poly1305 could be used. Note however that work is needed to finalize the xchacha spec at ietf.
Implementations with xchacha support: