2.0.0 • Published 3 years ago

node-jose-dpikalov v2.0.0

Weekly downloads
-
License
Apache-2.0
Repository
github
Last release
3 years ago

node-jose-dpikalov

This is fork from https://github.com/cisco/node-jose

Normally, JWE Additional Authenticated Data includes Encoded Protected Header (see step 14 of https://datatracker.ietf.org/doc/html/rfc7516#section-5.1) but this lib allows to change this behavior.

Added extra option excludeHeaderFromAad to methods JWE.createEncrypt(options,...) and JWE.createDecrypt(key, options)

Usage: JWE.createEncrypt({ excludeHeaderFromAad: true },...)