node-jose icon indicating copy to clipboard operation
node-jose copied to clipboard

Support JWS Payload Options

Open linuxwolf opened this issue 9 years ago • 3 comments

Add support for unencoded payloads ("b64" == false).

Signing:

  • add ability to set the encoding for the payload ("base64url" | "unencoded" | "detached")
  • provide a manner to obtain the payload if detached (sanity check)

Verifying:

  • add argument for (optional) payload to verify

NOTES:

  1. Should "crit" be included in all sign outputs?

See https://tools.ietf.org/html/draft-ietf-jose-jws-signing-input-options for all the details.

linuxwolf avatar Nov 19 '15 18:11 linuxwolf

Hi,

Is there a progress with these options?

wingedfox avatar Apr 18 '17 14:04 wingedfox

There is currently no timeline for implementing JWS payload options.

linuxwolf avatar Apr 18 '17 15:04 linuxwolf

Do you have design document for this feature? I'd like to check whether I can help with this.

wingedfox avatar Apr 18 '17 19:04 wingedfox