Skip to content

Commit

Permalink
Update JCS test vectors based on new "injection compatible" create an…
Browse files Browse the repository at this point in the history
…d verify algorithms.
  • Loading branch information
Wind4Greg authored and msporny committed Jun 9, 2024
1 parent 001465d commit 369f0f0
Show file tree
Hide file tree
Showing 7 changed files with 15 additions and 7 deletions.
2 changes: 1 addition & 1 deletion TestVectors/eddsa-jcs-2022/combinedHashJCS.txt
Original file line number Diff line number Diff line change
@@ -1 +1 @@
56d860737b1bc788da1f5c5a506115278314559a680f37976502c9b3ed1f38f459b7cb6251b8991add1ce0bc83107e3db9dbbab5bd2c28f687db1a03abc92f19
ac75a9fbdb9b5606c064a88bb59ab355900074f6def99d16a82dd071a7a6706659b7cb6251b8991add1ce0bc83107e3db9dbbab5bd2c28f687db1a03abc92f19
2 changes: 1 addition & 1 deletion TestVectors/eddsa-jcs-2022/proofCanonJCS.txt
Original file line number Diff line number Diff line change
@@ -1 +1 @@
{"created":"2023-02-24T23:36:38Z","cryptosuite":"eddsa-jcs-2022","proofPurpose":"assertionMethod","type":"DataIntegrityProof","verificationMethod":"https://vc.example/issuers/5678#z6MkrJVnaZkeFzdQyMZu1cgjg7k1pZZ6pvBQ7XJPt4swbTQ2"}
{"@context":["https://www.w3.org/ns/credentials/v2","https://www.w3.org/ns/credentials/examples/v2"],"created":"2023-02-24T23:36:38Z","cryptosuite":"eddsa-jcs-2022","proofPurpose":"assertionMethod","type":"DataIntegrityProof","verificationMethod":"https://vc.example/issuers/5678#z6MkrJVnaZkeFzdQyMZu1cgjg7k1pZZ6pvBQ7XJPt4swbTQ2"}
6 changes: 5 additions & 1 deletion TestVectors/eddsa-jcs-2022/proofConfigJCS.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,5 +3,9 @@
"cryptosuite": "eddsa-jcs-2022",
"created": "2023-02-24T23:36:38Z",
"verificationMethod": "https://vc.example/issuers/5678#z6MkrJVnaZkeFzdQyMZu1cgjg7k1pZZ6pvBQ7XJPt4swbTQ2",
"proofPurpose": "assertionMethod"
"proofPurpose": "assertionMethod",
"@context": [
"https://www.w3.org/ns/credentials/v2",
"https://www.w3.org/ns/credentials/examples/v2"
]
}
2 changes: 1 addition & 1 deletion TestVectors/eddsa-jcs-2022/proofHashJCS.txt
Original file line number Diff line number Diff line change
@@ -1 +1 @@
56d860737b1bc788da1f5c5a506115278314559a680f37976502c9b3ed1f38f4
ac75a9fbdb9b5606c064a88bb59ab355900074f6def99d16a82dd071a7a67066
2 changes: 1 addition & 1 deletion TestVectors/eddsa-jcs-2022/sigBTC58JCS.txt
Original file line number Diff line number Diff line change
@@ -1 +1 @@
z3P6rHMUaWG6e3Ac6xYFht8aEvoVXndgKTtEY8kzWYXzk8dKmAo2GJeZiJw4qoZ2PGp4ugdaHx3oQiLpeFBLDqP2M
z63t83Y53KfzJ5ZosfKTnqfMcKB2dmTrfjSaQjeNNjAD5srBowQfmWqeRb8rRjmeEuCBEsddF9LsVogtuTsijJKh4
2 changes: 1 addition & 1 deletion TestVectors/eddsa-jcs-2022/sigHexJCS.txt
Original file line number Diff line number Diff line change
@@ -1 +1 @@
7717cab27b6a4d91a472922d0ec071ead8297ce65c47436ca95b98c646d109abbd0c52cab09e83af605e2d896f29a30bbf81cbe0c2089a7193d908c96eaf6106
fc91dec6565f35fbe185a77352e7fc512f95d1904da305cfef32ab8135469301f5a72d4e7a58368fc6ffc497b44633993bac054e3bc1436e3c846db8f1544503
6 changes: 5 additions & 1 deletion TestVectors/eddsa-jcs-2022/signedJCS.json
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,10 @@
"created": "2023-02-24T23:36:38Z",
"verificationMethod": "https://vc.example/issuers/5678#z6MkrJVnaZkeFzdQyMZu1cgjg7k1pZZ6pvBQ7XJPt4swbTQ2",
"proofPurpose": "assertionMethod",
"proofValue": "z3P6rHMUaWG6e3Ac6xYFht8aEvoVXndgKTtEY8kzWYXzk8dKmAo2GJeZiJw4qoZ2PGp4ugdaHx3oQiLpeFBLDqP2M"
"@context": [
"https://www.w3.org/ns/credentials/v2",
"https://www.w3.org/ns/credentials/examples/v2"
],
"proofValue": "z63t83Y53KfzJ5ZosfKTnqfMcKB2dmTrfjSaQjeNNjAD5srBowQfmWqeRb8rRjmeEuCBEsddF9LsVogtuTsijJKh4"
}
}

0 comments on commit 369f0f0

Please sign in to comment.