From 98b6dd1b4e98ca9526c5514268a91742a261251f Mon Sep 17 00:00:00 2001 From: Wind4Greg Date: Thu, 1 Feb 2024 09:44:54 -0800 Subject: [PATCH] Updated to make sure credentials examples have required "issuer" property. --- TestVectors/addBaseDocCanon.json | 43 ++++++------ TestVectors/addBaseDocHMACCanon.json | 43 ++++++------ TestVectors/addBaseTransform.json | 79 ++++++++++++----------- TestVectors/addHashData.json | 2 +- TestVectors/addRawBaseSignatureInfo.json | 3 +- TestVectors/addSignedSDBase.json | 3 +- TestVectors/derivedAdjIndexes.json | 4 +- TestVectors/derivedDisclosureData.json | 10 +-- TestVectors/derivedGroupIndexes.json | 8 +-- TestVectors/derivedRecoveredBaseData.json | 3 +- TestVectors/derivedRevealDocument.json | 3 +- TestVectors/derivedUnsignedReveal.json | 1 + TestVectors/windDoc.json | 1 + TestVectors/windMandatory.json | 2 +- 14 files changed, 109 insertions(+), 96 deletions(-) diff --git a/TestVectors/addBaseDocCanon.json b/TestVectors/addBaseDocCanon.json index 4d17034..7a3ec35 100644 --- a/TestVectors/addBaseDocCanon.json +++ b/TestVectors/addBaseDocCanon.json @@ -5,25 +5,26 @@ "_:c14n1 \"Lahaina\" .\n", "_:c14n1 \"7.8E0\"^^ .\n", "_:c14n1 \"2023\"^^ .\n", - "_:c14n2 .\n", - "_:c14n2 _:c14n6 .\n", - "_:c14n3 \"Kanaha Custom\" .\n", - "_:c14n3 \"Wailea\" .\n", - "_:c14n3 \"2019\"^^ .\n", - "_:c14n4 \"Lahaina\" .\n", - "_:c14n4 \"7\"^^ .\n", - "_:c14n4 \"2020\"^^ .\n", - "_:c14n5 \"Kihei\" .\n", - "_:c14n5 \"5.5E0\"^^ .\n", - "_:c14n5 \"2023\"^^ .\n", - "_:c14n6 _:c14n0 .\n", - "_:c14n6 _:c14n3 .\n", - "_:c14n6 \"Earth101\" .\n", - "_:c14n6 _:c14n1 .\n", - "_:c14n6 _:c14n4 .\n", - "_:c14n6 _:c14n5 .\n", - "_:c14n6 _:c14n7 .\n", - "_:c14n7 \"Lahaina\" .\n", - "_:c14n7 \"6.1E0\"^^ .\n", - "_:c14n7 \"2023\"^^ .\n" + "_:c14n2 \"Kanaha Custom\" .\n", + "_:c14n2 \"Wailea\" .\n", + "_:c14n2 \"2019\"^^ .\n", + "_:c14n3 \"Lahaina\" .\n", + "_:c14n3 \"7\"^^ .\n", + "_:c14n3 \"2020\"^^ .\n", + "_:c14n4 \"Kihei\" .\n", + "_:c14n4 \"5.5E0\"^^ .\n", + "_:c14n4 \"2023\"^^ .\n", + "_:c14n5 _:c14n0 .\n", + "_:c14n5 _:c14n2 .\n", + "_:c14n5 \"Earth101\" .\n", + "_:c14n5 _:c14n1 .\n", + "_:c14n5 _:c14n3 .\n", + "_:c14n5 _:c14n4 .\n", + "_:c14n5 _:c14n6 .\n", + "_:c14n6 \"Lahaina\" .\n", + "_:c14n6 \"6.1E0\"^^ .\n", + "_:c14n6 \"2023\"^^ .\n", + "_:c14n7 .\n", + "_:c14n7 _:c14n5 .\n", + "_:c14n7 .\n" ] \ No newline at end of file diff --git a/TestVectors/addBaseDocHMACCanon.json b/TestVectors/addBaseDocHMACCanon.json index 9247374..ff80209 100644 --- a/TestVectors/addBaseDocHMACCanon.json +++ b/TestVectors/addBaseDocHMACCanon.json @@ -1,29 +1,30 @@ [ - "_:b0 \"Lahaina\" .\n", - "_:b0 \"6.1E0\"^^ .\n", - "_:b0 \"2023\"^^ .\n", + "_:b0 .\n", + "_:b0 _:b3 .\n", + "_:b0 .\n", "_:b1 \"Lahaina\" .\n", "_:b1 \"7.8E0\"^^ .\n", "_:b1 \"2023\"^^ .\n", "_:b2 \"CompFoil170\" .\n", "_:b2 \"Wailea\" .\n", "_:b2 \"2022\"^^ .\n", - "_:b3 \"Kihei\" .\n", - "_:b3 \"5.5E0\"^^ .\n", - "_:b3 \"2023\"^^ .\n", - "_:b4 .\n", - "_:b4 _:b6 .\n", - "_:b5 \"Lahaina\" .\n", - "_:b5 \"7\"^^ .\n", - "_:b5 \"2020\"^^ .\n", - "_:b6 _:b2 .\n", - "_:b6 _:b7 .\n", - "_:b6 \"Earth101\" .\n", - "_:b6 _:b0 .\n", - "_:b6 _:b1 .\n", - "_:b6 _:b3 .\n", - "_:b6 _:b5 .\n", - "_:b7 \"Kanaha Custom\" .\n", - "_:b7 \"Wailea\" .\n", - "_:b7 \"2019\"^^ .\n" + "_:b3 _:b2 .\n", + "_:b3 _:b4 .\n", + "_:b3 \"Earth101\" .\n", + "_:b3 _:b1 .\n", + "_:b3 _:b5 .\n", + "_:b3 _:b6 .\n", + "_:b3 _:b7 .\n", + "_:b4 \"Kanaha Custom\" .\n", + "_:b4 \"Wailea\" .\n", + "_:b4 \"2019\"^^ .\n", + "_:b5 \"Kihei\" .\n", + "_:b5 \"5.5E0\"^^ .\n", + "_:b5 \"2023\"^^ .\n", + "_:b6 \"Lahaina\" .\n", + "_:b6 \"6.1E0\"^^ .\n", + "_:b6 \"2023\"^^ .\n", + "_:b7 \"Lahaina\" .\n", + "_:b7 \"7\"^^ .\n", + "_:b7 \"2020\"^^ .\n" ] \ No newline at end of file diff --git a/TestVectors/addBaseTransform.json b/TestVectors/addBaseTransform.json index d47f432..b238017 100644 --- a/TestVectors/addBaseTransform.json +++ b/TestVectors/addBaseTransform.json @@ -1,5 +1,6 @@ { "mandatoryPointers": [ + "/issuer", "/credentialSubject/sailNumber", "/credentialSubject/sails/1", "/credentialSubject/boards/0/year", @@ -10,55 +11,59 @@ "value": [ [ 0, - "_:b0 \"Lahaina\" .\n" + "_:b0 .\n" ], [ 1, - "_:b0 \"6.1E0\"^^ .\n" + "_:b0 _:b3 .\n" ], [ 2, - "_:b0 \"2023\"^^ .\n" + "_:b0 .\n" ], [ 8, "_:b2 \"2022\"^^ .\n" ], [ - 12, - "_:b4 .\n" + 9, + "_:b3 _:b2 .\n" ], [ - 13, - "_:b4 _:b6 .\n" + 11, + "_:b3 \"Earth101\" .\n" ], [ 14, - "_:b5 \"Lahaina\" .\n" + "_:b3 _:b6 .\n" ], [ 15, - "_:b5 \"7\"^^ .\n" + "_:b3 _:b7 .\n" ], [ - 16, - "_:b5 \"2020\"^^ .\n" + 22, + "_:b6 \"Lahaina\" .\n" ], [ - 17, - "_:b6 _:b2 .\n" + 23, + "_:b6 \"6.1E0\"^^ .\n" ], [ - 19, - "_:b6 \"Earth101\" .\n" + 24, + "_:b6 \"2023\"^^ .\n" ], [ - 20, - "_:b6 _:b0 .\n" + 25, + "_:b7 \"Lahaina\" .\n" ], [ - 23, - "_:b6 _:b5 .\n" + 26, + "_:b7 \"7\"^^ .\n" + ], + [ + 27, + "_:b7 \"2020\"^^ .\n" ] ] }, @@ -86,40 +91,40 @@ "_:b2 \"Wailea\" .\n" ], [ - 9, - "_:b3 \"Kihei\" .\n" + 10, + "_:b3 _:b4 .\n" ], [ - 10, - "_:b3 \"5.5E0\"^^ .\n" + 12, + "_:b3 _:b1 .\n" ], [ - 11, - "_:b3 \"2023\"^^ .\n" + 13, + "_:b3 _:b5 .\n" ], [ - 18, - "_:b6 _:b7 .\n" + 16, + "_:b4 \"Kanaha Custom\" .\n" ], [ - 21, - "_:b6 _:b1 .\n" + 17, + "_:b4 \"Wailea\" .\n" ], [ - 22, - "_:b6 _:b3 .\n" + 18, + "_:b4 \"2019\"^^ .\n" ], [ - 24, - "_:b7 \"Kanaha Custom\" .\n" + 19, + "_:b5 \"Kihei\" .\n" ], [ - 25, - "_:b7 \"Wailea\" .\n" + 20, + "_:b5 \"5.5E0\"^^ .\n" ], [ - 26, - "_:b7 \"2019\"^^ .\n" + 21, + "_:b5 \"2023\"^^ .\n" ] ] }, diff --git a/TestVectors/addHashData.json b/TestVectors/addHashData.json index 9d163de..acd1985 100644 --- a/TestVectors/addHashData.json +++ b/TestVectors/addHashData.json @@ -1,4 +1,4 @@ { "proofHash": "3a5bbf25d34d90b18c35cd2357be6a6f42301e94fc9e52f77e93b773c5614bdf", - "mandatoryHash": "a8e405c91816bb1977db25fc7f8177acfaccb79f821ed805a455e6855f334b5e" + "mandatoryHash": "555de05f898817e31301bac187d0c3ff2b03e2cbdb4adb4d568c17de961f9a18" } \ No newline at end of file diff --git a/TestVectors/addRawBaseSignatureInfo.json b/TestVectors/addRawBaseSignatureInfo.json index 5645235..a8facf3 100644 --- a/TestVectors/addRawBaseSignatureInfo.json +++ b/TestVectors/addRawBaseSignatureInfo.json @@ -1,6 +1,7 @@ { - "bbsSignature": "8a9f8765418f41dd831a02654c4e60fc6c0724b0d2b259c1c0505dce87972181d5b004b7a13fb8d7320ca29cee61d07e03decd11c7380392c0d3ab25da23707c068a87b14429ed9f858e2b36c48a7f0e", + "bbsSignature": "86bb8063768d4b708f9a65821ee6fe426b3d4f6fe5c2c5c9a5f80caa573fd8c20cbdf17826fe4e1a624070ba5f201d9202a0fceb55842ea9e61a72a7aa04891437fc35f6ab9ef8bf8ec3004cc46c9458", "mandatoryPointers": [ + "/issuer", "/credentialSubject/sailNumber", "/credentialSubject/sails/1", "/credentialSubject/boards/0/year", diff --git a/TestVectors/addSignedSDBase.json b/TestVectors/addSignedSDBase.json index 4ea2ad2..990b3d6 100644 --- a/TestVectors/addSignedSDBase.json +++ b/TestVectors/addSignedSDBase.json @@ -8,6 +8,7 @@ "type": [ "VerifiableCredential" ], + "issuer": "https://vc.example/windsurf/racecommittee", "credentialSubject": { "sailNumber": "Earth101", "sails": [ @@ -51,6 +52,6 @@ "created": "2023-08-15T23:36:38Z", "verificationMethod": "did:key:zUC7DerdEmfZ8f4pFajXgGwJoMkV1ofMTmEG5UoNvnWiPiLuGKNeqgRpLH2TV4Xe5mJ2cXV76gRN7LFQwapF1VFu6x2yrr5ci1mXqC1WNUrnHnLgvfZfMH7h6xP6qsf9EKRQrPQ#zUC7DerdEmfZ8f4pFajXgGwJoMkV1ofMTmEG5UoNvnWiPiLuGKNeqgRpLH2TV4Xe5mJ2cXV76gRN7LFQwapF1VFu6x2yrr5ci1mXqC1WNUrnHnLgvfZfMH7h6xP6qsf9EKRQrPQ", "proofPurpose": "ass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lZGVudGlhbFN1YmplY3QvYm9hcmRzLzAveWVhcngaL2NyZWRlbnRpYWxTdWJqZWN0L3NhaWxzLzI" } } \ No newline at end of file diff --git a/TestVectors/derivedAdjIndexes.json b/TestVectors/derivedAdjIndexes.json index 63b3dae..e5dc1cd 100644 --- a/TestVectors/derivedAdjIndexes.json +++ b/TestVectors/derivedAdjIndexes.json @@ -1,4 +1,4 @@ { - "adjMandatoryIndexes":[0,1,2,5,6,7,8,9,10,11,13,14,15], - "adjSelectiveIndexes":[3,4,8,11,12,13] + "adjMandatoryIndexes":[0,1,2,5,6,8,9,10,14,15,16,17,18,19], + "adjSelectiveIndexes":[3,4,5,8,9,10] } \ No newline at end of file diff --git a/TestVectors/derivedDisclosureData.json b/TestVectors/derivedDisclosureData.json index b168e7c..5930a2c 100644 --- a/TestVectors/derivedDisclosureData.json +++ b/TestVectors/derivedDisclosureData.json @@ -1,7 +1,7 @@ { - "bbsProof":"a5f75652b02119339f7db18d16837d001aad12980dd8ad83b131041169216fc2db7839b801cf4af8fc376644ba17a0df93a3682dd3a2125844074f77bc79dd405592912eaa584d58d5f0b0977f583cade19e359523b4f8a3f0a6ee4cbd4c57d392d27e8370b3965fd821ec91624749e62e021414742255af27d4eaa0735eccc1c6f1978e830e60fe19d33332a864391231e46bf23563c33f3842989c2c4cf4d12105614aacc7fe6fba5d60cbf69f909955a881c31ee0f0f05f3121da0eebc9ab7480d00227684dfcf8dee0097adbfc4b6a1dca71ab30cbe74e1f54407ccc13713d526b5f37f616be7fbef114f316a5b0173753860eff88c9cc683457e689d0eac55ae228660dd6bc5594e8b3fe9859bb4ae4385ee3016a4f073dfae5c4e63bd32755376bae95fd07059168581c9d583f13004d4b47031130208468c2b52404d61155813ee0953db44974de54c4985cbf2b8b9c33efd43752ebc33c8af6da1afc270c7ce826f19525bf689155be092b072343cb549570445149acf49d032848a26e3ce00611634a0d35af6e3e8f621bbf4eaf0b21fb9a4f5b2e4721c509f86489a7b53f22ee1c22e104b1addf5ab7d01d25ae2a795e90f7936b7249a3f10be6395c7cd4963ba24d42a3c54598c1eb144c558df6614d0d4f546fe32bf59a7bea8dcc2e484ebfa1c74b8dc3602e5b28ecf355de0c30b28a538329020c3a92d7dff8fbd44ff4499716a69bd5165390634600", - "labelMap":{"dataType":"Map","value":[["c14n0","b2"],["c14n1","b4"],["c14n2","b7"],["c14n3","b6"], - ["c14n4","b5"],["c14n5","b0"]]}, - "mandatoryIndexes":[0,1,2,5,6,7,8,9,10,11,13,14,15], - "adjSelectiveIndexes":[3,4,8,11,12,13] + "bbsProof":"85b72d74b55aae76e4f8e986387352f6d3e13f19387f5935a9f34c59aa3af77885501ef1dba67576bd24e6dab1b1c5b3891671112c26982c441d4f352e1bc8f5451127fbda2ad240d9a5d6933f455db741cc3e79d3281bc5b611118b363461f2b6a5ecdd423f6b76711680824665f50eec1f5cbaf219ee90e66ceac575146d1a8935f770be6d29a376b00e4e39a4fa7755ecf4eb42aa3babfd6e48bb23e91081f08d0d259b4029683d01c25378be3c61213a097750b8ce2a3c0915061a547405b3ce587d1d8299269fad29103509b3e53067f7b6078e9dc66a5112192aede3662e6dac5876d945fd05863fb249b0fca02e10ab5173650ef665e92c3ea72eaba94fca860cd6c639538e5156f8cbc3b4d222f7a11f837bb9e76ba54d58c1b4ac834ef338a3db4bf645b4622153c897f477255f40e4fcc7919348ae5bf9032a9f7c0876e47a6666ca9f178673ac7a41b864480d8e84c6655cd2f0e1866dedc467590a2ba76c28cb41f3d5582e0773b737914b8353fea4df918a022aa5aa92f490f0b3c2edf4a4d5538b8d07aa2530f118863e654eeaaac69c2c020509c24294c13bda721c73b8610bbce7e7030d1710dd5148731a5026c741d1da9e0693d32b90d09bb58a8e4a295a32fb27f654a03c31c56e6c3afb1aa3f2fa240f5095f31fe8b95f8179bc4408cf96713f3aec6a06409a6f1486a99d9923befdb274d3e04f6faa9bf316ce9a2c4f5e1bc6db031593323b", + "labelMap":{"dataType":"Map","value":[["c14n0","b2"],["c14n1","b4"],["c14n2","b3"],["c14n3","b7"],["c14n4","b6"],["c14n5","b0"]]}, + "mandatoryIndexes":[0,1,2,5,6,8,9,10,14,15,16,17,18,19], + "adjSelectiveIndexes":[3,4,5,8,9,10], + "presentationHeader":{"0":17,"1":51,"2":119,"3":170} } \ No newline at end of file diff --git a/TestVectors/derivedGroupIndexes.json b/TestVectors/derivedGroupIndexes.json index 73fc298..ad697ae 100644 --- a/TestVectors/derivedGroupIndexes.json +++ b/TestVectors/derivedGroupIndexes.json @@ -1,6 +1,6 @@ { - "combinedIndexes":[0,1,2,6,7,8,12,13,14,15,16,17,18,19,20,23,24,25,26], - "mandatoryIndexes":[0,1,2,8,12,13,14,15,16,17,19,20,23], - "nonMandatoryIndexes":[3,4,5,6,7,9,10,11,18,21,22,24,25,26], - "selectiveIndexes":[6,7,8,12,13,17,18,24,25,26] + "combinedIndexes":[0,1,2,6,7,8,9,10,11,14,15,16,17,18,22,23,24,25,26,27], + "mandatoryIndexes":[0,1,2,8,9,11,14,15,22,23,24,25,26,27], + "nonMandatoryIndexes":[3,4,5,6,7,10,12,13,16,17,18,19,20,21], + "selectiveIndexes":[0,1,6,7,8,9,10,16,17,18] } \ No newline at end of file diff --git a/TestVectors/derivedRecoveredBaseData.json b/TestVectors/derivedRecoveredBaseData.json index 11065ae..5b81922 100644 --- a/TestVectors/derivedRecoveredBaseData.json +++ b/TestVectors/derivedRecoveredBaseData.json @@ -1,7 +1,8 @@ { - "bbsSignature": "8a9f8765418f41dd831a02654c4e60fc6c0724b0d2b259c1c0505dce87972181d5b004b7a13fb8d7320ca29cee61d07e03decd11c7380392c0d3ab25da23707c068a87b14429ed9f858e2b36c48a7f0e", + "bbsSignature": "86bb8063768d4b708f9a65821ee6fe426b3d4f6fe5c2c5c9a5f80caa573fd8c20cbdf17826fe4e1a624070ba5f201d9202a0fceb55842ea9e61a72a7aa04891437fc35f6ab9ef8bf8ec3004cc46c9458", "hmacKey": "00112233445566778899aabbccddeeff00112233445566778899aabbccddeeff", "mandatoryPointers": [ + "/issuer", "/credentialSubject/sailNumber", "/credentialSubject/sails/1", "/credentialSubject/boards/0/year", diff --git a/TestVectors/derivedRevealDocument.json b/TestVectors/derivedRevealDocument.json index 0c786f7..9742fc5 100644 --- a/TestVectors/derivedRevealDocument.json +++ b/TestVectors/derivedRevealDocument.json @@ -8,6 +8,7 @@ "type": [ "VerifiableCredential" ], + "issuer": "https://vc.example/windsurf/racecommittee", "credentialSubject": { "sailNumber": "Earth101", "sails": [ @@ -41,6 +42,6 @@ "created": "2023-08-15T23:36:38Z", "verificationMethod": "did:key:zUC7DerdEmfZ8f4pFajXgGwJoMkV1ofMTmEG5UoNvnWiPiLuGKNeqgRpLH2TV4Xe5mJ2cXV76gRN7LFQwapF1VFu6x2yrr5ci1mXqC1WNUrnHnLgvfZfMH7h6xP6qsf9EKRQrPQ#zUC7DerdEmfZ8f4pFajXgGwJoMkV1ofMTmEG5UoNvnWiPiLuGKNeqgRpLH2TV4Xe5mJ2cXV76gRN7LFQwapF1VFu6x2yrr5ci1mXqC1WNUrnHnLgvfZfMH7h6xP6qsf9EKRQrPQ", "proofPurpose": "assertionMethod", - "proofValue": "u2V0DhdhAWQIQpfdWUrAhGTOffbGNFoN9ABqtEpgN2K2DsTEEEWkhb8LbeDm4Ac9K-Pw3ZkS6F6Dfk6NoLdOiElhEB093vHndQFWSkS6qWE1Y1fCwl39YPK3hnjWVI7T4o_Cm7ky9TFfTktJ-g3Czll_YIeyRYkdJ5i4CFBR0IlWvJ9TqoHNezMHG8ZeOgw5g_hnTMzKoZDkSMeRr8jVjwz84QpicLEz00SEFYUqsx_5vul1gy_afkJlVqIHDHuDw8F8xIdoO68mrdIDQAidoTfz43uAJetv8S2odynGrMMvnTh9UQHzME3E9UmtfN_YWvn--8RTzFqWwFzdThg7_iMnMaDRX5onQ6sVa4ihmDda8VZTos_6YWbtK5Dhe4wFqTwc9-uXE5jvTJ1U3a66V_QcFkWhYHJ1YPxMATUtHAxEwIIRowrUkBNYRVYE-4JU9t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4YDBAUICQrYQEQRM3eq" } } \ No newline at end of file diff --git a/TestVectors/derivedUnsignedReveal.json b/TestVectors/derivedUnsignedReveal.json index 25a824b..bb490e5 100644 --- a/TestVectors/derivedUnsignedReveal.json +++ b/TestVectors/derivedUnsignedReveal.json @@ -8,6 +8,7 @@ "type": [ "VerifiableCredential" ], + "issuer": "https://vc.example/windsurf/racecommittee", "credentialSubject": { "sailNumber": "Earth101", "sails": [ diff --git a/TestVectors/windDoc.json b/TestVectors/windDoc.json index 181965a..3f8d7d9 100644 --- a/TestVectors/windDoc.json +++ b/TestVectors/windDoc.json @@ -8,6 +8,7 @@ "type": [ "VerifiableCredential" ], + "issuer": "https://vc.example/windsurf/racecommittee", "credentialSubject": { "sailNumber": "Earth101", "sails": [ diff --git a/TestVectors/windMandatory.json b/TestVectors/windMandatory.json index 2c5d0bc..631ea9e 100644 --- a/TestVectors/windMandatory.json +++ b/TestVectors/windMandatory.json @@ -1 +1 @@ -["/credentialSubject/sailNumber", "/credentialSubject/sails/1", "/credentialSubject/boards/0/year", "/credentialSubject/sails/2"] +["/issuer", "/credentialSubject/sailNumber", "/credentialSubject/sails/1", "/credentialSubject/boards/0/year", "/credentialSubject/sails/2"]