From 676f7571e4398e20917ee71d49ec1fa126d9f5b9 Mon Sep 17 00:00:00 2001 From: Neal Date: Fri, 5 Apr 2024 10:20:17 -0500 Subject: [PATCH 1/6] update --- .../status_list_credentials/create.json | 36 +++++++++++++++++++ 1 file changed, 36 insertions(+) create mode 100644 test-vectors/status_list_credentials/create.json diff --git a/test-vectors/status_list_credentials/create.json b/test-vectors/status_list_credentials/create.json new file mode 100644 index 0000000..a5d0179 --- /dev/null +++ b/test-vectors/status_list_credentials/create.json @@ -0,0 +1,36 @@ +{ + "description":"status list credential verifiable credential 1.1 creation", + "vectors":[ + { + "description":"credential with credential status", + "input":{ + "credential":{ + "type":"SimpleCred", + "issuer":"did:example:issuer", + "subject":"did:example:subject", + "credentialSubject":{ + "legit":true + }, + "credentialStatus":{ + "id":"cred-with-status-id", + "type":"StatusList2021Entry", + "statusPurpose":"revocation", + "statusListIndex":"94567", + "statusListCredential":"https://statuslistcred.com/123" + } + }, + "statusListCredential":{ + "statusListCredentialId":"https://statuslistcred.com/123", + "issuer":"issuerDid.uri", + "statusPurpose":"revocation", + "issuedCredentials":[ + "credWithCredStatus" + ] + } + }, + "output":{ + "encodedList":"H4sIAAAAAAAAA+3OMQ0AAAgDsOHfNBp2kZBWQRMAAAAAAAAAAAAAAL6Z6wAAAAAAtQVQdb5gAEAAAA==" + } + } + ] + } \ No newline at end of file From 7767d07d48607aeed2b417938b3d7130180e8b73 Mon Sep 17 00:00:00 2001 From: Neal Date: Fri, 5 Apr 2024 10:22:08 -0500 Subject: [PATCH 2/6] update --- test-vectors/status_list_credentials/create.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test-vectors/status_list_credentials/create.json b/test-vectors/status_list_credentials/create.json index a5d0179..c501ab2 100644 --- a/test-vectors/status_list_credentials/create.json +++ b/test-vectors/status_list_credentials/create.json @@ -1,5 +1,5 @@ { - "description":"status list credential verifiable credential 1.1 creation", + "description":"status list credential creation", "vectors":[ { "description":"credential with credential status", From d65f571482ea07c359943eb8c6a038cd177002b4 Mon Sep 17 00:00:00 2001 From: Neal Date: Fri, 5 Apr 2024 10:46:44 -0500 Subject: [PATCH 3/6] update --- test-vectors/status_list_credentials/create.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test-vectors/status_list_credentials/create.json b/test-vectors/status_list_credentials/create.json index c501ab2..c123006 100644 --- a/test-vectors/status_list_credentials/create.json +++ b/test-vectors/status_list_credentials/create.json @@ -29,7 +29,7 @@ } }, "output":{ - "encodedList":"H4sIAAAAAAAAA+3OMQ0AAAgDsOHfNBp2kZBWQRMAAAAAAAAAAAAAAL6Z6wAAAAAAtQVQdb5gAEAAAA==" + "encodedList":"H4sIAAAAAAAAA-3OMQ0AAAgDsOHfNBp2kZBWQRMAAAAAAAAAAAAAAL6Z6wAAAAAAtQVQdb5gAEAAAA" } } ] From 30ebc84ffefc485dd35f12562279319f52ed0153 Mon Sep 17 00:00:00 2001 From: Neal Date: Tue, 9 Apr 2024 13:11:23 -0500 Subject: [PATCH 4/6] fix resolve problem --- test-vectors/did_dht/resolve.json | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/test-vectors/did_dht/resolve.json b/test-vectors/did_dht/resolve.json index 4a8c498..762a5c0 100644 --- a/test-vectors/did_dht/resolve.json +++ b/test-vectors/did_dht/resolve.json @@ -16,7 +16,15 @@ { "description": "notFound error returned when not published", "input": { - "didUri": "did:dht:uqaj3fcr9db6jg6o9pjs53iuftyj45r46aubogfaceqjbo6pp9sy" + "didUri": "did:dht:uqaj3fcr9db6jg6o9pjs53iuftyj45r46aubogfaceqjbo6pp9sy", + "mockResponse": { + "ok": false, + "status": 404, + "statusText": "Not Found", + "body": { + "message": "Not Found" + } + } }, "output": { "didResolutionMetadata": { From a582f4757c00f8797985a756729e6e6c7407bc13 Mon Sep 17 00:00:00 2001 From: nitro-neal <5314059+nitro-neal@users.noreply.github.com> Date: Mon, 6 May 2024 15:36:22 -0700 Subject: [PATCH 5/6] Update resolve.json --- test-vectors/did_dht/resolve.json | 12 ++---------- 1 file changed, 2 insertions(+), 10 deletions(-) diff --git a/test-vectors/did_dht/resolve.json b/test-vectors/did_dht/resolve.json index 762a5c0..d70cb13 100644 --- a/test-vectors/did_dht/resolve.json +++ b/test-vectors/did_dht/resolve.json @@ -16,15 +16,7 @@ { "description": "notFound error returned when not published", "input": { - "didUri": "did:dht:uqaj3fcr9db6jg6o9pjs53iuftyj45r46aubogfaceqjbo6pp9sy", - "mockResponse": { - "ok": false, - "status": 404, - "statusText": "Not Found", - "body": { - "message": "Not Found" - } - } + "didUri": "did:dht:uqaj3fcr9db6jg6o9pjs53iuftyj45r46aubogfaceqjbo6pp9sy" }, "output": { "didResolutionMetadata": { @@ -58,4 +50,4 @@ "errors": true } ] -} \ No newline at end of file +} From 4f4b28c290b0fa5786e5219b95ebf7d2da40db85 Mon Sep 17 00:00:00 2001 From: Neal Date: Mon, 13 May 2024 11:34:05 -0700 Subject: [PATCH 6/6] revert --- test-vectors/did_dht/resolve.json | 12 ++++++++++-- 1 file changed, 10 insertions(+), 2 deletions(-) diff --git a/test-vectors/did_dht/resolve.json b/test-vectors/did_dht/resolve.json index d70cb13..762a5c0 100644 --- a/test-vectors/did_dht/resolve.json +++ b/test-vectors/did_dht/resolve.json @@ -16,7 +16,15 @@ { "description": "notFound error returned when not published", "input": { - "didUri": "did:dht:uqaj3fcr9db6jg6o9pjs53iuftyj45r46aubogfaceqjbo6pp9sy" + "didUri": "did:dht:uqaj3fcr9db6jg6o9pjs53iuftyj45r46aubogfaceqjbo6pp9sy", + "mockResponse": { + "ok": false, + "status": 404, + "statusText": "Not Found", + "body": { + "message": "Not Found" + } + } }, "output": { "didResolutionMetadata": { @@ -50,4 +58,4 @@ "errors": true } ] -} +} \ No newline at end of file