Repository navigation
Breaking:
ReqDPoP.Key.load!/1, and soReqDPoP.attach/2andReqDPoP.proof/1,
refuse a JWK whose ownuseorkey_opsmember does not allow signing
(RFC 7517 sections 4.2 and 4.3):usemust be"sig"andkey_opsmust be
a list of strings containing"sign". They raiseReqDPoP.Errorwith reason
:invalid_key. A key with neither member loads as before. Until now a key
marked"use": "enc"or"key_ops": ["verify"]signed proofs.ReqDPoP.Key.public_jwk/1leaveskey_opsout of the map it returns. The
member described the private key, so a signing key's public half came back
marked"key_ops": ["sign"], which a verifier that checks the member
refuses.