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?
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) boolwhich does whatever it needs to check the proof.Open questions: