Skip to content

Guardian VC revocation architecture #611

@anvabr

Description

@anvabr

Problem description

At present numerous VCs and VPs issued in the normal Guardian operation are 'permanent' in a sense that end-users have no standard/practical way of 'recalling' them, or determining if they are still valid or have since been revoked, and no support from Guardian in doing so.

Requirements

  • Introduce a generic revocation workflow into the Guardian Policy Engine, where each of the actors signing/authorising anything should be able to revoke that authorisation/submission. This action should result in the re-invalidation of the entire trust chain following the step, generating revocation messages along the way.
  • All tokens which were minted on the basis of invalid VC etc and which are owned by the issuer need to be invalidated (how exactly is TBD, probably burned).
  • The rest of the tokens (owned by other entities) are invalidated (TBD - this process is described in a separate ticket).
  • Revocation messages must be placed into the same topics as the corresponding original messages announcing the creation of VCs (see Policies, Projects and Topics mapping #387 for details on the latter)
  • For all Guardian workflows, at any point in the workflow where an action is taken or a decision is made on the basis of validity of a VC/VP the system must check for VC revocation and error if the VC/VP is invalid.
  • Trust chain view should check for revocation and correctly display the validity of the artefacts and the process.

Practical use-case example

A sensor submitted invalid MRV data as a result of a malfunction. It was established, and the installer needs the revoke credentials for the sensor starting from a certain date.

Definition of done

  • UI allows for manual revocation of artefacts which works as describe in the Requirements section.
  • This functionality is also exposed via the API
  • Guardian operates with the knowledge of VC/artefacts validity, verifying it where necessary and informing user/changing it's operation accordingly when the artefacts have been revoked.

Acceptance criteria

  • All VCs/VPs and other artefacts (such as tokens) produced by Guardian can be revoked, and the revocation is handled correctly.

Metadata

Metadata

Labels

ø documentationImprovements or additions to documentation Propose to delete. Handled by storymap columns.ø technical taskPropose to delete, handled by issue types

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions