Skip to content

Validator should do revocation checking #13

Description

@Peeja

validator.Validate() should accept an option that revocation-checks proofs.

A principal can revoke any delegation they issued, creating a Revocation. Revocations are made available out of band, and no method is specified by the UCAN spec. They can be gossiped, or sent to a known central store, or sent to Verifiers who are likely to need to see them.

The option should accept a function func (proofCid cid.Cid) bool which does whatever it needs to check the proof.

Open questions:

  • Which way should the boolean go: "Is this valid? or "Is this revoked?"
  • Or should it return an entire Revocation? Do we need more info than the boolean?

Activity

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions