-
Notifications
You must be signed in to change notification settings - Fork 13
Description
Validating the credential (whose json is at the end of this message) which has a "validFrom": "2099-01-01T00:00:00Z" results in this error, which is entirely misleading:
It really should say something like 'This credential will only be valid after such and such a date'.
The credential:
{
"type": [
"VerifiableCredential",
"OpenBadgeCredential"
],
"name": "A marvel",
"issuer": {
"type": [
"Profile"
],
"name": "Bestest Ever University",
"url": "https://bestest.edu",
"phone": "1-222-333-4444",
"description": "The bestest.",
"image": {
"id": "https://github.com/digitalcredentials/test-files/assets/206059/01eca9f5-a508-40ac-9dd5-c12d11308894",
"type": "Image",
"caption": "MIT oh"
},
"email": "horse@better.edu",
"address": {
"type": [
"Address"
],
"addressCountry": "Canada",
"addressCountryCode": "CA",
"addressRegion": "ON",
"addressLocality": "Ancaster",
"streetAddress": "163 Corndog",
"postOfficeBoxNumber": "2",
"postalCode": "L9G4H7",
"geo": {
"type": "GeoCoordinates",
"latitude": 1,
"longitude": 1
}
},
"otherIdentifier": [
{
"type": "IdentifierEntry",
"identifier": "9335",
"identifierType": "sourcedId"
},
{
"type": "IdentifierEntry",
"identifier": "984",
"identifierType": "nationalIdentityNumber"
}
],
"official": "Charlie Horse",
"parentOrg": {
"id": "did:example:89898349834",
"type": [
"Profile"
],
"name": "Animal Universities"
},
"id": "did:key:z6MkjoriXdbyWD25YXTed114F8hdJrLXQ567xxPHAUKxpKkS"
},
"@context": [
"https://www.w3.org/ns/credentials/v2",
"https://purl.imsglobal.org/spec/ob/v3p0/context-3.0.3.json"
],
"validFrom": "2099-01-01T00:00:00Z",
"validUntil": "9999-01-02T00:00:00Z",
"credentialSubject": {
"type": [
"AchievementSubject"
],
"name": "Sam Salmon",
"achievement": {
"id": "https://example.com/achievements/21st-century-skills/teamwork",
"type": [
"Achievement"
],
"name": "A credential that isn't yet valid",
"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:677fe8a6cacf98774d482d06",
"proof": {
"type": "DataIntegrityProof",
"created": "2025-07-18T14:46:59Z",
"verificationMethod": "did:key:z6MkjoriXdbyWD25YXTed114F8hdJrLXQ567xxPHAUKxpKkS#z6MkjoriXdbyWD25YXTed114F8hdJrLXQ567xxPHAUKxpKkS",
"cryptosuite": "eddsa-rdfc-2022",
"proofPurpose": "assertionMethod",
"proofValue": "z3ATKLuXyMbWyCEQGDZev5jcDmqE8LygGwovNnzK1nSGXcq9yuys2ap8nNLZT8UB6zX5xjtYRQUtAKoApwoc5NfHk"
}
}
Metadata
Metadata
Assignees
Type
Projects
Status