Skip to content

Commit

Permalink
docs: add decision-record about profiles (#126)
Browse files Browse the repository at this point in the history
  • Loading branch information
paullatzelsperger authored Dec 13, 2024
1 parent 54fbe6e commit d9f3fb7
Showing 1 changed file with 23 additions and 0 deletions.
23 changes: 23 additions & 0 deletions docs/decision-records/2024-12-12-profiles/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
# Interop Profiles for DCP

## Decision

DCP will define two interop profiles that constrain the VC data model, the revocation system and the proof stack.

## Rationale

In order to provide to implementors a way to establish interoperability without having to define a whole profile, DCP will specify two standard profiles.
These profiles are the "sane defaults" for which DCP will also provide Technology Compatibility Kits.

## Approach

Profiles are defined using an _alias_ that should be indicative of what they contain:
- `vc20+bssl/jwt`: uses VC Data Model 2.0, BitStringStatusList as revocation system and enveloped proofs as JWT
- `vc11+sl2021/jwt`: uses VC Data Model 1.1, StatusList2021 as revocation system and external proofs in the form of JWT


In the specification document, the `CredentialObject` will be modified such that the `credentials[].format` and `credentials[].cryptography` properties get collapsed into the `credentials[].profile` property, which should contain the profile alias, e.g. `vc20+bssl/jwt`.

## Further notes

As an added bonus, the specification document should contain a non-normative text passage that outlines, which decisions authors of subsequent profiles need to make, i.e. the minimum set of things a profile descriptions should specify.

0 comments on commit d9f3fb7

Please sign in to comment.