From 03bed662e8a6267b2894c8dc9a4bbcf77c351143 Mon Sep 17 00:00:00 2001 From: Kendall Weihe Date: Mon, 9 Sep 2024 17:00:00 -0400 Subject: [PATCH] Remove vc verify did:key, fix did:jwk to include jti --- test-vectors/credentials/verify.json | 10 ++-------- 1 file changed, 2 insertions(+), 8 deletions(-) diff --git a/test-vectors/credentials/verify.json b/test-vectors/credentials/verify.json index 8093947..a20781f 100644 --- a/test-vectors/credentials/verify.json +++ b/test-vectors/credentials/verify.json @@ -50,16 +50,10 @@ }, "errors": true }, - { - "description": "verify a jwt verifiable credential signed with a did:key", - "input": { - "vcJwt": "eyJraWQiOiJkaWQ6a2V5OnpRM3NoTkx0MWFNV1BiV1JHYThWb2VFYkpvZko3eEplNEZDUHBES3hxMU5aeWdwaXkjelEzc2hOTHQxYU1XUGJXUkdhOFZvZUViSm9mSjd4SmU0RkNQcERLeHExTlp5Z3BpeSIsInR5cCI6IkpXVCIsImFsZyI6IkVTMjU2SyJ9.eyJpc3MiOiJkaWQ6a2V5OnpRM3NoTkx0MWFNV1BiV1JHYThWb2VFYkpvZko3eEplNEZDUHBES3hxMU5aeWdwaXkiLCJzdWIiOiJkaWQ6a2V5OnpRM3Noa3BhdmpLUmV3b0JrNmFyUEpuaEE4N1p6aExERVdnVnZaS05ISzZRcVZKREIiLCJpYXQiOjE3MDEzMDI1OTMsInZjIjp7Imlzc3VhbmNlRGF0ZSI6IjIwMjMtMTEtMzBUMDA6MDM6MTNaIiwiY3JlZGVudGlhbFN1YmplY3QiOnsiaWQiOiJkaWQ6a2V5OnpRM3Noa3BhdmpLUmV3b0JrNmFyUEpuaEE4N1p6aExERVdnVnZaS05ISzZRcVZKREIiLCJsb2NhbFJlc3BlY3QiOiJoaWdoIiwibGVnaXQiOnRydWV9LCJpZCI6InVybjp1dWlkOjZjOGJiY2Y0LTg3YWYtNDQ5YS05YmZiLTMwYmYyOTk3NjIyNyIsInR5cGUiOlsiVmVyaWZpYWJsZUNyZWRlbnRpYWwiLC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