Skip to content

Commit 7b39d26

Browse files
johannhofTallTed
andauthored
Update TAG Security & Privacy Questionnaire (#310)
Co-authored-by: Ted Thibodeau Jr <tthibodeau@openlinksw.com>
1 parent 9b0768c commit 7b39d26

File tree

1 file changed

+10
-8
lines changed

1 file changed

+10
-8
lines changed

horizontal-reviews/security-privacy.md

Lines changed: 10 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -3,16 +3,16 @@
33
> 01. What information does this feature expose,
44
> and for what purposes?
55
6-
High-value privacy sensitive claims from digital credentials, such as digital driver's licenses for both unique identification (such as for access to government services) and selective disclosure (such as for age verification). It does this through a one-time user-mediated communication channel from websites, to digital wallet applications, and back to websites. It is designed to be a better option than established lower-level communication channels like custom schemes, QR codes, and server-to-server network communication. How exactly this channel is used is up to the wallet applications and host operating system.
6+
Potentially high-value, privacy-sensitive claims from digital credentials, such as both unique identification (such as for access to government services) and selective disclosures (such as for age verification) from digital driver's licenses. These requests are made from websites, to digital wallet applications, and back to websites, through user-mediated, one-time communication channels. These are designed to be better options than established lower-level communication channels like custom schemes, QR codes, and server-to-server network communications. A website can decide which information to request. A request can be inspected by the user agent, and the specification recommends that the information being requested be disclosed to the user in the permission prompt. The wallet application decides which information is actually shared, based upon the request.
77

88
> 02. Do features in your specification expose the minimum amount of information
99
> necessary to implement the intended functionality?
1010
1111
A primary use case of the digital credentials API is to enable users to selectively disclose only the minimum required information, such as a cryptographic attestation that the user holds a California driver’s license for an adult. The use of selective disclosure, however, is a decision for the verifier website based on the use case. There are legitimate scenarios, such as creating or recovering an account on a government website, where uniquely identifiable and potentially non-resettable personally identifiable information (PII) might be exposed.
1212

13-
The API is designed to expect the use of response encryption so that this PII is exposed only to the requesting server and not any code running in the web page or browser. It is an [open question](https://github.com/WICG/digital-identities/issues/109) whether this response encryption is something we can reasonably enforce at this layer or not.
13+
The API is designed to expect the use of response encryption so that this PII is exposed only to the requesting server, such that exposure to code running in the web page or browser can be minimized or even avoided. It is an [open question](https://github.com/WICG/digital-identities/issues/109) whether this response encryption is something we can reasonably enforce at this layer.
1414

15-
The API is also designed to require request transparency to enable user agents and operating systems to appropriately inform users about the level of privacy risk involved in the request. A major area of outstanding work is to outline in the specification our privacy and security guidance to implementers, but we already know that the [Chromium implementation](https://docs.google.com/document/d/1L68tmNXCQXucsCV8eS8CBd_F9FZ6TNwKNOaFkA8RfwI/edit) intends to show users stronger warnings in riskier scenarios such as those that lack the use of selective disclosure.
15+
The API is also designed to require request transparency to enable user agents and operating systems to appropriately inform users about the level of privacy risk involved in the request. The specification has a set of recommendations ([1](https://www.w3.org/TR/digital-credentials/latest/#user-permission-and-transparency), [2](https://www.w3.org/TR/digital-credentials/latest/#mitigating-unnecessary-requests-for-government-credentials), [3](https://www.w3.org/TR/digital-credentials/latest/#mitigating-unnecessary-requests-for-non-government-credentials)) for implementers, describing how to appropriately inform users about the credentials being exchanged. For example, the [Chromium implementation](https://docs.google.com/document/d/1L68tmNXCQXucsCV8eS8CBd_F9FZ6TNwKNOaFkA8RfwI/edit) intends to show users stronger warnings in riskier scenarios such as those that do not support selective disclosure.
1616

1717
> 03. Do the features in your specification expose personal information,
1818
> personally-identifiable information (PII), or information derived from
@@ -78,7 +78,7 @@ None directly. Wallets may expose temporary identifiers, such as in the MSOs use
7878
> 13. How does this specification distinguish between behavior in first-party and
7979
> third-party contexts?
8080
81-
The API is currently available only in first-party contexts, but there is an [open issue](https://github.com/WICG/digital-identities/issues/78) to explore adding a permission policy to enable requests in third-party contexts.
81+
The specification uses a Permissions Policy with the "self" default allow list, meaning the API cannot be used in third-party contexts unless allowed by the (recursive) parent context(s).
8282

8383
> 14. How do the features in this specification work in the context of a browser’s
8484
> Private Browsing or Incognito mode?
@@ -88,7 +88,9 @@ Like other browser authentication (e.g., WebAuthn) and identification (e.g., aut
8888
> 15. Does this specification have both "Security Considerations" and "Privacy
8989
> Considerations" sections?
9090
91-
Not yet, but it will. The specification is still being written as we incubate the API and gain experience with real-world experiments.
91+
The specification has [extensive Privacy considerations](https://w3c-fedid.github.io/digital-credentials/#privacy-considerations), most of which are still evolving as the group works through the many Privacy-related challenges of the digital credentials space.
92+
93+
There are [some early outlines for the Security Considerations](https://w3c-fedid.github.io/digital-credentials/#security-considerations), and there is active work in progress to write those up in more detail.
9294

9395
> 16. Do features in your specification enable origins to downgrade default
9496
> security protections?
@@ -99,13 +101,13 @@ No
99101
> (instead of getting destroyed) after navigation, and potentially gets reused
100102
> on future navigations back to the document?
101103
102-
Implementations should fail or postpone any requests which occur while the page is not visible to the user. The spec may introduce a [requirement for user activation](https://github.com/WICG/digital-identities/issues/91) which could help with this.
104+
Implementations should fail or postpone any requests which are made while the page is not visible to the user. The spec [requires](https://www.w3.org/TR/digital-credentials/latest/#discoverfromexternalsource-origin-options-sameoriginwithancestors-internal-method) both user attention on a fully active document and user activation to use the API.
103105

104106
> 18. What happens when a document that uses your feature gets disconnected?
105107
106-
Probably just silently ignored, but [we'll discuss](https://github.com/WICG/digital-identities/issues/112).
108+
See above. The spec has "fully active" checks in its algorithms.
107109

108110
> 19. What should this questionnaire have asked?
109111
110-
What are the security and privacy implications of not shipping this feature? How does this feature fit into the larger privacy risk landscape. We believe the feature will lead to a reduced risk relative to the status quo, but this is very subjective and hard to demonstrate definitively.
112+
What are the security and privacy implications of not shipping this feature? How does this feature fit into the larger privacy risk landscape? We believe this feature will offer reduced risks, relative to large-scale adoption of alternative technologies.
111113

0 commit comments

Comments
 (0)