-
Notifications
You must be signed in to change notification settings - Fork 13
Description
When a did:web can't be resolved, verifier-core returns a result like the following:
{
"credential": {
"type": [
"VerifiableCredential",
"OpenBadgeCredential"
],
"name": "Teamwork Badge",
"issuer": {
"type": [
"Profile"
],
"name": "Example Corp",
"id": "did:web:digitalcredentials.github.io:dcc-did-web-bad"
},
"@context": [
"https://www.w3.org/ns/credentials/v2",
"https://purl.imsglobal.org/spec/ob/v3p0/context-3.0.3.json",
"https://w3id.org/security/suites/ed25519-2020/v1"
],
"validFrom": "2010-01-01T00:00:00Z",
"credentialSubject": {
"type": [
"AchievementSubject"
],
"name": "Taylor Tuna",
"achievement": {
"id": "https://example.com/achievements/21st-century-skills/teamwork",
"type": [
"Achievement"
],
"name": "Masters - v2 - unrevoked",
"criteria": {
"narrative": "Team members are nominated for this badge by their peers and recognized upon review by Example Corp management."
},
"description": "This badge recognizes the development of the capacity to collaborate within a group environment."
}
},
"id": "urn:uuid:677fe8a6cacf98774d482d07",
"proof": {
"type": "Ed25519Signature2020",
"created": "2025-01-21T17:20:42Z",
"verificationMethod": "did:web:digitalcredentials.github.io:dcc-did-web-bad#z6MknNQD1WHLGGraFi6zcbGevuAgkVfdyCdtZnQTGWVVvR5Q",
"proofPurpose": "assertionMethod",
"proofValue": "z3exwX8VPoA2qME3WQdZ5RvCY9ahbUDDAXkm8Fb4zuCE5dnMWUVZrEN1q5hVmgroQq65WUwNiGHVgr2av5r7wRtb7"
}
},
"errors": [
{
"name": "did_web_unresolved",
"message": "The signature could not be checked because the public signing key could not be retrieved from https://digitalcredentials.github.io/dcc-did-web-bad/did.json"
}
]
}
but in the UI we just show:
We should better explain what the error was.
AC1:
In grey box, under "There was an error...", put the "message" underneath to explain what the error was, for example, "The signature could not be checked because the public signing key could not be retrieved from https://digitalcredentials.github.io/dcc-did-web-bad/did.json"
Metadata
Metadata
Assignees
Type
Projects
Status