Skip to content

Disallow credentials with VC/JSON and VC/JWT members that do not encode the same value #64

Open
@mirceanis

Description

@mirceanis

As discussed in PR#63 there is potential ambiguity during VC/JWT <-> VC/JSON transformation if both entries are present but encode different values.

During VC or VP creation these methods should throw an error in that case and the transformations that are performed for convenience could override the entries that don't correspond to the respective encoding.

It is very inefficient to keep both representations in a credential payload, but that is an ambiguity with the spec we're working on so it must be handled.
Let's discuss the best approach before venturing a fix.

Metadata

Metadata

Assignees

Labels

pinnedan issue that may take a while to fix and should not be closed automatically.specmore parties need to agree

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions