-
Notifications
You must be signed in to change notification settings - Fork 15
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
docs: add decision-record about profiles (#126)
- Loading branch information
1 parent
54fbe6e
commit d9f3fb7
Showing
1 changed file
with
23 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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. |