Skip to content

Commit

Permalink
update references in inlined and generated examples
Browse files Browse the repository at this point in the history
  • Loading branch information
dwaite committed Feb 27, 2024
1 parent 42556dd commit f333a2c
Show file tree
Hide file tree
Showing 5 changed files with 9 additions and 9 deletions.
2 changes: 1 addition & 1 deletion draft-ietf-jose-json-proof-token.md
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down
4 changes: 2 additions & 2 deletions draft-ietf-jose-json-web-proof.md
Original file line number Diff line number Diff line change
Expand Up @@ -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"
}
```

Expand Down Expand Up @@ -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

Expand Down
4 changes: 2 additions & 2 deletions fixtures/bbs-keygen.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -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),
Expand All @@ -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)
Expand Down
4 changes: 2 additions & 2 deletions fixtures/template/bbs-issuer-protected-header.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"alg": "BBS-DRAFT-3",
"alg": "BBS-DRAFT-5",
"typ": "JPT",
"iss": "https://issuer.example",
"claims": [
Expand All @@ -8,4 +8,4 @@
"email",
"age"
]
}
}
4 changes: 2 additions & 2 deletions fixtures/template/bbs-prover-presentation-header.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"alg": "BBS-PROOF-DRAFT-3",
"alg": "BBS-PROOF-DRAFT-5",
"aud": "https://recipient.example.com",
"nonce": "wrmBRkKtXjQ"
}
}

0 comments on commit f333a2c

Please sign in to comment.