diff --git a/CHANGELOG.md b/CHANGELOG.md index bc52a23..4ae6d57 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,10 @@ # bedrock-vc-verifier ChangeLog +## 21.0.2 - 2024-08-dd + +### Fixed +- Use `@digitalbazaar/ecdsa-rdfc-2019@1.1.1` to get P-384 proof fix. + ## 21.0.1 - 2024-08-24 ### Fixed diff --git a/package.json b/package.json index 868159f..5035c74 100644 --- a/package.json +++ b/package.json @@ -26,10 +26,10 @@ "homepage": "https://github.com/digitalbazaar/bedrock-vc-verifier", "dependencies": { "@digitalbazaar/bbs-2023-cryptosuite": "^2.0.0", - "@digitalbazaar/data-integrity": "^2.2.0", + "@digitalbazaar/data-integrity": "^2.3.0", "@digitalbazaar/ecdsa-2019-cryptosuite": "^2.0.0", "@digitalbazaar/ecdsa-multikey": "^1.7.0", - "@digitalbazaar/ecdsa-rdfc-2019-cryptosuite": "^1.1.0", + "@digitalbazaar/ecdsa-rdfc-2019-cryptosuite": "^1.1.1", "@digitalbazaar/ecdsa-sd-2023-cryptosuite": "^3.2.1", "@digitalbazaar/ed25519-multikey": "^1.1.0", "@digitalbazaar/ed25519-signature-2018": "^4.0.0", diff --git a/test/mocha/mock-credentials.json b/test/mocha/mock-credentials.json index 782f5d9..e1d6a7d 100644 --- a/test/mocha/mock-credentials.json +++ b/test/mocha/mock-credentials.json @@ -115,45 +115,6 @@ "proofPurpose": "assertionMethod", "proofValue": "z46dhkH8WE2BLhTzPpvTZFUtDahDmAyGjZmnAq3E812REEDXzvgfMufoC82eKQGFveAJf4WTgRv47LV21sxrVyPuh" } - }, { - "@context": [ - "https://www.w3.org/2018/credentials/v1", - { - "ex": "https://example.org/examples#", - "schema": "http://schema.org/", - "rdf": "http://www.w3.org/1999/02/22-rdf-syntax-ns#", - "BachelorDegree": "ex:BachelorDegree", - "UniversityDegreeCredential": "ex:UniversityDegreeCredential", - "degree": "ex:degree", - "name": { - "@id": "schema:name", - "@type": "rdf:HTML" - } - }, - "https://w3id.org/security/data-integrity/v1" - ], - "id": "http://example.gov/credentials/3732", - "type": [ - "VerifiableCredential", - "UniversityDegreeCredential" - ], - "issuer": "did:key:z82LkvS9rECtUuWj4grN2BL5rMuaBeBYRw8uJx1WS3qzZ8ToYsKRuj6xC4hJd57prKuqnKA", - "issuanceDate": "2020-03-11T23:09:06.803Z", - "credentialSubject": { - "id": "did:example:ebfeb1f712ebc6f1c276e12ec21", - "degree": { - "type": "BachelorDegree", - "name": "Bachelor of Science and Arts" - } - }, - "proof": { - "type": "DataIntegrityProof", - "created": "2023-08-07T19:43:43Z", - "verificationMethod": "did:key:z82LkvS9rECtUuWj4grN2BL5rMuaBeBYRw8uJx1WS3qzZ8ToYsKRuj6xC4hJd57prKuqnKA#z82LkvS9rECtUuWj4grN2BL5rMuaBeBYRw8uJx1WS3qzZ8ToYsKRuj6xC4hJd57prKuqnKA", - "cryptosuite": "ecdsa-2019", - "proofPurpose": "assertionMethod", - "proofValue": "zazcNJNFcU4kXM4sdBazy8z5Qmg6pjACuHnudfGj6nRgLoGNVy99f1vv6A4XEYAPFaBPUHuX4Tgdxpv3jED5aEWAreENcinDsoE2161kmuueMrToRFnJEb5Wp5F6mXdN3xXj" - } }, { "@context": [ "https://www.w3.org/2018/credentials/v1", @@ -245,7 +206,7 @@ ], "id": "http://example.gov/credentials/3732", "type": [ "VerifiableCredential", "UniversityDegreeCredential" ], - "issuer": "did:key:z82Lkytz3HqpWiBmt2853ZgNgNG8qVoUJnyoMvGw6ZEBktGcwUVdKpUNJHct1wvp9pXjr7Y", + "issuer": "did:key:z82LkuBieyGShVBhvtE2zoiD6Kma4tJGFtkAhxR5pfkp5QPw4LutoYWhvQCnGjdVn14kujQ", "credentialSubject": { "id": "did:example:ebfeb1f712ebc6f1c276e12ec21", "degree": { @@ -257,10 +218,10 @@ "proof": { "type": "DataIntegrityProof", "created": "2023-11-09T16:00:01Z", - "verificationMethod": "did:key:z82Lkytz3HqpWiBmt2853ZgNgNG8qVoUJnyoMvGw6ZEBktGcwUVdKpUNJHct1wvp9pXjr7Y#z82Lkytz3HqpWiBmt2853ZgNgNG8qVoUJnyoMvGw6ZEBktGcwUVdKpUNJHct1wvp9pXjr7Y", + "verificationMethod": "did:key:z82LkuBieyGShVBhvtE2zoiD6Kma4tJGFtkAhxR5pfkp5QPw4LutoYWhvQCnGjdVn14kujQ#z82LkuBieyGShVBhvtE2zoiD6Kma4tJGFtkAhxR5pfkp5QPw4LutoYWhvQCnGjdVn14kujQ", "cryptosuite": "ecdsa-rdfc-2019", "proofPurpose": "assertionMethod", - "proofValue": "zJzP86yYYJC9Q7ZT37KxpbT1BgerusHR4rkYES6CJRWtm6sSRzVsbRVgVH3b4KfynS2UL5XAqpaM8P49VwXcUEjSdyEy9TqpDsrETBrrBVDdWBLAb32Y3FtfwiBoWDDkyzHm" + "proofValue": "z2LDCUay5qDFWw1GqUDyNsxnrv1XCpghLravUy6veNovJWSQFc3aUKMu9XYV5gHDiVKsxsUJ8ctKa3EFWP6M1MsePoLUNgLcZ23G3QNKYdNYhdowgYjrc41TeKDsmf1oNsM9V" } }, { "@context": [