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

Credential status implementation for LtoStatusRegistry2023 #1

Open
jasny opened this issue Jul 20, 2023 · 2 comments
Open

Credential status implementation for LtoStatusRegistry2023 #1

jasny opened this issue Jul 20, 2023 · 2 comments

Comments

@jasny
Copy link
Member

jasny commented Jul 20, 2023

Add an implementation for the Veramo credential-status library to support LtoStatusRegistry2023.

{
  "id": "GKot5hBsd81kMupNCXHaqbhv3huEbxAFMLnpcX2hniwn",
  "statements": [
    {
      "type": "issue",
      "timestamp": 1688781798500000,
      "signer": {
        "type": "Ed25519VerificationKey2020",
        "publicKeyMultibase": "zH3C2AVvLMv6gmMNam3uVAjZpfkcJCwDwnZn6z3wXmqPV"
      }
    },
    {
      "type": "dispute",
      "timestamp": 1688781798600000,
      "signer": {
        "type": "Ed25519VerificationKey2020",
        "publicKeyMultibase": "zGL293fxZ2uVG6KEtyJ1dKAfXJBMR2264jHivbhN5zpfD"
      },
      "reason": "Credentials compromised"
    },
    {
      "type": "suspend",
      "timestamp": 1688781798700000,
      "signer": {
        "type": "Ed25519VerificationKey2020",
        "publicKeyMultibase": "zH3C2AVvLMv6gmMNam3uVAjZpfkcJCwDwnZn6z3wXmqPV"
      },
      "reason": "Credentials compromised"
    },
    {
      "type": "revoke",
      "timestamp": 1688781798800000,
      "signer": {
        "type": "Ed25519VerificationKey2020",
        "publicKeyMultibase": "zH3C2AVvLMv6gmMNam3uVAjZpfkcJCwDwnZn6z3wXmqPV"
      }
    }    
  }
}

Disputes should be matched against a trust network.

@jasny jasny changed the title Credential status implementation for LtoStatusRegistry2023 Credential status implementation for LtoStatusRegistry2023 Jul 20, 2023
@jasny
Copy link
Member Author

jasny commented Jul 20, 2023

See ltonetwork/indexer#205

@jasny
Copy link
Member Author

jasny commented Jul 26, 2023

Implement ICredentialStatusVerifier in the credential plugin, rather than using credential-status. We might need to change this in the future if there's a more general approach by veramo.

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

No branches or pull requests

1 participant