Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix B.3 Representation: Ed25519Signature2020 test vectors #76

Merged
merged 5 commits into from
Mar 3, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion TestVectors/Ed25519Signature2020/combinedHashEdSig.txt
Original file line number Diff line number Diff line change
@@ -1 +1 @@
7094c8ac655f5d26034b866d14cd99eba3d32562408d9c286b64a65fb79e0b2d517744132ae165a5349155bef0bb0cf2258fff99dfe1dbd914b938d775a36017
5e41905a6915396ff4eb426ce26c322d0e1d870b3d75cef95612cc94e4f8bad7517744132ae165a5349155bef0bb0cf2258fff99dfe1dbd914b938d775a36017
8 changes: 4 additions & 4 deletions TestVectors/Ed25519Signature2020/proofCanonEdSig.txt
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
_:c14n0 <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <https://www.w3.org/ns/credentials/examples#Ed25519Signature2020> .
_:c14n0 <https://www.w3.org/ns/credentials/examples#created> "2023-02-24T23:36:38Z" .
_:c14n0 <https://www.w3.org/ns/credentials/examples#proofPurpose> "assertionMethod" .
_:c14n0 <https://www.w3.org/ns/credentials/examples#verificationMethod> "https://vc.example/issuers/5678#z6MkrJVnaZkeFzdQyMZu1cgjg7k1pZZ6pvBQ7XJPt4swbTQ2" .
_:c14n0 <http://purl.org/dc/terms/created> "2023-02-24T23:36:38Z"^^<http://www.w3.org/2001/XMLSchema#dateTime> .
_:c14n0 <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <https://w3id.org/security#Ed25519Signature2020> .
_:c14n0 <https://w3id.org/security#proofPurpose> <https://w3id.org/security#assertionMethod> .
_:c14n0 <https://w3id.org/security#verificationMethod> <https://vc.example/issuers/5678#z6MkrJVnaZkeFzdQyMZu1cgjg7k1pZZ6pvBQ7XJPt4swbTQ2> .
3 changes: 2 additions & 1 deletion TestVectors/Ed25519Signature2020/proofConfigEdSig.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
"proofPurpose": "assertionMethod",
"@context": [
"https://www.w3.org/ns/credentials/v2",
"https://www.w3.org/ns/credentials/examples/v2"
"https://www.w3.org/ns/credentials/examples/v2",
"https://w3id.org/security/suites/ed25519-2020/v1"
]
}
2 changes: 1 addition & 1 deletion TestVectors/Ed25519Signature2020/proofHashEdSig.txt
Original file line number Diff line number Diff line change
@@ -1 +1 @@
7094c8ac655f5d26034b866d14cd99eba3d32562408d9c286b64a65fb79e0b2d
5e41905a6915396ff4eb426ce26c322d0e1d870b3d75cef95612cc94e4f8bad7
2 changes: 1 addition & 1 deletion TestVectors/Ed25519Signature2020/sigBTC58EdSig.txt
Original file line number Diff line number Diff line change
@@ -1 +1 @@
z2PC6JBDG1otY3PfnxGnvHCuh8tEqPPNpDggvsnzjr2yKxszQg5bJXsQhV1ZUTG6KBNGdvWVzVqFxtLagbdoRUjf6
z5HNuvc5WbWYsRRt97kXJ6SoKgb1tMwtkQND4pnobZE26JGnohdWVpzashF9d8FRzhzm8oYRSivKACTakeE4DzdHL
2 changes: 1 addition & 1 deletion TestVectors/Ed25519Signature2020/sigHexEdSig.txt
Original file line number Diff line number Diff line change
@@ -1 +1 @@
4527642e1538a97ef38db08fd45cf2d4d04d510231bb83c5991d7a74bcfe9cc5213f956537cc3a7eda1e372e184a9f32285808a0d1ec75db3dc5268727ed0a01
d6310be6e26c28c327abc6f9e392c9f91c4e5f71252a8a3bc6acfedcc62a1c216e8979afdbb1badaa57e4ed8ad362af447ac6e649a074d5ea99788e3343b980b
5 changes: 3 additions & 2 deletions TestVectors/Ed25519Signature2020/signedEdSig.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
{
"@context": [
"https://www.w3.org/ns/credentials/v2",
"https://www.w3.org/ns/credentials/examples/v2"
"https://www.w3.org/ns/credentials/examples/v2",
"https://w3id.org/security/suites/ed25519-2020/v1"
],
"id": "urn:uuid:58172aac-d8ba-11ed-83dd-0b3aef56cc33",
"type": [
Expand All @@ -21,6 +22,6 @@
"created": "2023-02-24T23:36:38Z",
"verificationMethod": "https://vc.example/issuers/5678#z6MkrJVnaZkeFzdQyMZu1cgjg7k1pZZ6pvBQ7XJPt4swbTQ2",
"proofPurpose": "assertionMethod",
"proofValue": "z2PC6JBDG1otY3PfnxGnvHCuh8tEqPPNpDggvsnzjr2yKxszQg5bJXsQhV1ZUTG6KBNGdvWVzVqFxtLagbdoRUjf6"
"proofValue": "z5HNuvc5WbWYsRRt97kXJ6SoKgb1tMwtkQND4pnobZE26JGnohdWVpzashF9d8FRzhzm8oYRSivKACTakeE4DzdHL"
}
}
Loading