@hellocoop/httpsig@1.3.0
·
3 commits
to main
since this release
What's New
Update httpsig to match draft-hardt-httpbis-signature-key-04:
- Rename
well-knowntodwkinjwks_urischeme (breaking:wellKnownproperty renamed todwkin types) - Add Signature-Error header support with
generateSignatureErrorHeader()andparseSignatureError()for all 8 spec error codes - Add Accept-Signature header support with
generateAcceptSignatureHeader()andparseAcceptSignature()including thesigkeyparameter (jkt,uri,x509) - Structured errors on verification failure:
verify()now returns asignatureErrorfield that can be used to build Signature-Error response headers