w3c / vc-test-suite

Verifiable Credentials WG Test Suite
https://w3c.github.io/vc-test-suite/
BSD 3-Clause "New" or "Revised" License
68 stars 39 forks source link

Presentation without verifiableCredential #112

Closed clehner closed 3 years ago

clehner commented 3 years ago

The following are negative cases for a VerifiablePresentation without verifiableCredential:

But the Verifiable Presentation Request Specification has an example DID Authentication response which is a VerifiablePresentation without a verifiableCredential: https://w3c-ccg.github.io/vp-request-spec/#example-4-a-didauth-response

The Verifiable Credentials Data Model says "If present," about the verifiableCredential property of a Presentation, which I think implies that it is optional: https://w3c.github.io/vc-data-model/#presentations-0

Should vc-test-suite be updated to allow a VP without VC?

kimdhamilton commented 3 years ago

+1. I agree with your interpretation that the verifiableCredential property is optional, and that this is useful for proving control over a DID, as in https://w3c-ccg.github.io/vp-request-spec/#example-4-a-didauth-response