[spec] add statement about responses with PII MUST be encrypted
from #109, specifically https://github.com/WICG/digital-credentials/issues/109#issuecomment-2145712700
Add something along the lines of:
implementations which pass PII in the response MUST encrypt that information to the verifier in some fashion"
Can we put that if some input is present the output must be encrypted? Then we can force that algorithmically (and maybe test for it).
I don't disagree with a sentiment in a proposed statement, but is a MUST in it really enforceable at the browser API level (somewhat elaborating on https://github.com/WICG/digital-credentials/issues/109#issuecomment-2144546607)? In reality, wouldn't it be up to a wallet to decide if the encryption is required and reject the request without a public key for encryption, when the wallet requires encryption?
To Do: add requirement to registry criteria (https://github.com/WICG/digital-credentials/pull/157)
Added in https://github.com/WICG/digital-credentials/pull/157/commits/38f0a01f13e4786fc515b85d21b6c47621a66020