decentralized-web-node icon indicating copy to clipboard operation
decentralized-web-node copied to clipboard

xsalsa not supported by JWE

Open oed opened this issue 3 years ago • 0 comments

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:

oed avatar Jul 09 '22 07:07 oed