diff --git a/draft-ietf-jose-json-proof-token.md b/draft-ietf-jose-json-proof-token.md index db30ee6..ca34a5d 100644 --- a/draft-ietf-jose-json-proof-token.md +++ b/draft-ietf-jose-json-proof-token.md @@ -111,7 +111,7 @@ The following is an example JWP Protected Header that includes a claims array: ```json { "kid": "HjfcpyjuZQ-O8Ye2hQnNbT9RbbnrobptdnExR0DUjU8", - "alg": "BBS-DRAFT-3", + "alg": "BBS-DRAFT-5", "claims": [ "iat", "exp", diff --git a/draft-ietf-jose-json-web-proof.md b/draft-ietf-jose-json-web-proof.md index 2a630bd..fd34e47 100644 --- a/draft-ietf-jose-json-web-proof.md +++ b/draft-ietf-jose-json-web-proof.md @@ -123,7 +123,7 @@ Every issuer protected header MUST have, at minimum, an `alg` value that identif For example: ```json { - "alg":"BBS-DRAFT-3" + "alg":"BBS-DRAFT-5" } ``` @@ -605,7 +605,7 @@ Figure: jwp-compact-presentation ## Example Multi-Use JWP -See JPA BBS-DRAFT-3 example. +See JPA BBS-DRAFT-5 example. # Acknowledgements diff --git a/fixtures/bbs-keygen.mjs b/fixtures/bbs-keygen.mjs index c64b06d..d91a6d3 100644 --- a/fixtures/bbs-keygen.mjs +++ b/fixtures/bbs-keygen.mjs @@ -15,7 +15,7 @@ try { await fs.mkdir("build"); } catch (e) { /* ignore */ } var privateKeyStr = JSON.stringify({ kty: "OKP", - alg: "BBS-DRAFT-3", + alg: "BBS-DRAFT-5", use: "proof", crv: "BLs12381G2", x: encode(keys.publicKey), @@ -28,7 +28,7 @@ await fs.writeFile("build/private-key.jwk.wrapped", lineWrap(privateKeyStr, 8)); var publicKeyStr = JSON.stringify({ kty: "OKP", - alg: "BBS-DRAFT-3", + alg: "BBS-DRAFT-5", use: "proof", crv: "BLs12381G2", x: encode(keys.publicKey) diff --git a/fixtures/template/bbs-issuer-protected-header.json b/fixtures/template/bbs-issuer-protected-header.json index 2a97769..c82ac9b 100644 --- a/fixtures/template/bbs-issuer-protected-header.json +++ b/fixtures/template/bbs-issuer-protected-header.json @@ -1,5 +1,5 @@ { - "alg": "BBS-DRAFT-3", + "alg": "BBS-DRAFT-5", "typ": "JPT", "iss": "https://issuer.example", "claims": [ @@ -8,4 +8,4 @@ "email", "age" ] -} \ No newline at end of file +} diff --git a/fixtures/template/bbs-prover-presentation-header.json b/fixtures/template/bbs-prover-presentation-header.json index 532fd6e..6e47e3b 100644 --- a/fixtures/template/bbs-prover-presentation-header.json +++ b/fixtures/template/bbs-prover-presentation-header.json @@ -1,5 +1,5 @@ { - "alg": "BBS-PROOF-DRAFT-3", + "alg": "BBS-PROOF-DRAFT-5", "aud": "https://recipient.example.com", "nonce": "wrmBRkKtXjQ" -} \ No newline at end of file +}