Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Revoking, Refreshing, and Credential Status #9

Open
kayaelle opened this issue Dec 3, 2021 · 3 comments
Open

Revoking, Refreshing, and Credential Status #9

kayaelle opened this issue Dec 3, 2021 · 3 comments

Comments

@kayaelle
Copy link
Collaborator

kayaelle commented Dec 3, 2021

Suggest we discuss recommendations for handling credential status in edu.

This is available: https://w3c-ccg.github.io/vc-csl2017/

The data model references the issued VC, status info, and a proof method for the status

Do we want to adopt this? Do we want to make status info recommendations for use cases such as a revoked credential or an updated credential.

Example of an Open Badge as VC with a credential status:

 {
    "@context": [
      "https://www.w3.org/2018/credentials/v1",
      "https://w3id.org/openbadges/v3"
      ],
      "type": [
        "VerifiableCredential",
        "Open Badge"
      ],
      "id": "https://example.org/achievement/123",
      "issuer": {...},
      "issuanceDate": "2021-01-01T19:23:24Z",
      "credentialSubject": {
        "id": "did:example:learner",
        "hasAchievement": {
          "id": "https://example.org/achievements/123",
          "type": "BadgeClass",
          "achievementType": "Certificate",
          "name": "Robotic Drones Analysis",
          "description": "Learn to analyze and present the different types of robotic drones",
          "image": "https://example.org/drone-image.png",
          "creator": "did:example:issuer",
          "criteria": "https://example.org/robotics-drone-analysis.html",
        }
      },
      "credentialStatus": {
         "id": "https://example.org/achievements/status/24,
         "type": "CredentialStatusList2017"
      },
      "proof": {...}
    }

Example of status list retrieval:

{
  "id": "https://example.org/achievements/status/24"
  "description": "Status of example edu org credential."
  "verifiableCredential": [{
    "claim": {
      "id": "https://example.org/achievement/123",
      "currentStatus": "Revoked",
      "statusReason": "Disciplinary action"
    },
    "issuer": "https://example.org/",
    "issued": "2021-01-01T19:23:24Z",
    "proof": { ... }
  }, {
    "claim": {
      "id": "https://example.org/achievement/123",
      "currentStatus": "Updated",
      "updates": [{
         "description": ""description": "Learn to analyze different types of robotic drones"
      }],
    "issuer": "https://example.org",
    "issued": "2021-01-01T19:23:24Z",
    "proof": { ... }
  },
    // ... more status info here ...
  }],
  "proof": { ... }
}
@roverwolf
Copy link

This is also available: https://w3c-ccg.github.io/vc-status-list-2021/ (currently marked as experimental)
Less details are available about the status, but is a much smaller payload for a large number of credentials.

@kayaelle
Copy link
Collaborator Author

kayaelle commented Dec 6, 2021

Thanks, @roverwolf !

@kayaelle
Copy link
Collaborator Author

Changed title to include refreshing and revoking.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants