auth0 / node-jws

JSON Web Signatures
http://self-issued.info/docs/draft-ietf-jose-json-web-signature.html
MIT License
709 stars 108 forks source link

Decode jws header #11

Closed herkyl closed 10 years ago

herkyl commented 10 years ago

Is it possible to decode the header without knowing the algorithm?

brianloveswords commented 10 years ago

Yes, see https://github.com/brianloveswords/node-jws#jwsdecodesignature!