w3c-ccg / vc-ed

Verifiable Credentials for Education Task Force
https://w3c-ccg.github.io/vc-ed/
Other
42 stars 9 forks source link

[To Discuss] Image integrity #6

Open kimdhamilton opened 4 years ago

kimdhamilton commented 4 years ago

Image/display discoverability and generalization

(Source: Anthony Camilleri) We might consider adding a 'displayproperties' field into the credential. This could include html defining the look and feel of the credential, allowing export to pdf/xml/image/openbadge or any other format we need printing. Several countries define the visual look of credentials by law, so this would give us full coverage of both systems. This would allow for a pdf VC wrapper to be generated from the VC itself.

kimdhamilton commented 4 years ago

Problems to address

I've identified two problems we're trying to address. Given that there are two different problems, we may want to split this issue after elaboration.

  1. Verification of visual integrity of VC for human verifiers
  2. Metadata indicating visual representation for different purposes.
    • different form factors
    • "preview" display
    • grouping, e.g. show issuer's logo in a wallet grouping

Methods

Methods to connect a VC to its visual representation in a tamper-evident way are discussed elsewhere (e.g. "Verifiable Displays")

But that largely focuses on problem 1 above. It is worth exploring the conceptual match we are getting at with problem 1 -- are we talking about a more general category of verification instructions? I.e.

Design considerations

In general, issuers want control over the visual representation and there's no strong reason (at the moment) to constrain choices among the methods discussed above.

At the same time, to support interoperability among tools and apps, we may prefer some standardization of certain image (or other) related metadata, e.g. preview images, issuer logos, whether generally, per-domain, etc.

Other relevant considerations:

Design Inspiration

Regarding problem 2, some relevant patterns include:

  1. Apple wallet developer guidance. Some interesting links
  2. Epub spec

Where does this live?

Some of these concerns are general and some are specific to EDU. This needs to be broken down.

kayaelle commented 2 years ago

Related to #16 Credential Display Logic