Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Do we want to mention the WICG browser api? #148

Open
danielfett opened this issue May 30, 2024 · 4 comments
Open

Do we want to mention the WICG browser api? #148

danielfett opened this issue May 30, 2024 · 4 comments

Comments

@danielfett
Copy link
Member

No description provided.

@PieterKas
Copy link
Collaborator

@danielfett can you add a bit more context on this API and why it should be included/referenced?

@jogu
Copy link
Collaborator

jogu commented Jun 26, 2024

I can't remember when Daniel's back from holiday but as he opened this issue after a conversation we had perhaps I can usefully answer.

It's the API here:

https://wicg.github.io/digital-credentials/

The reason to mention it would be that it solves the cross device security problem for OpenID for Verifiable Presentations, as it uses very similar mechanisms to the cross device passkey presentation by adding bluetooth proximity into the mix. Potentially it even means that if you're having trouble deciding between different possible ways of doing things the availability of the API might push you towards using OID4VP to get cross device security.

The main downside is that it's still under development so isn't technically stable nor widely available yet, but Apple & Google have demoed it working cross device between different OSes.

@PieterKas
Copy link
Collaborator

@jogu there is a section on protocol recommendations, as well as on proximity. What we might do is add a reference to this as an example of a protocol that establishes proximity via Bluetooth in one or more sections. Do you think that would be sufficient to address the issue?

@jogu
Copy link
Collaborator

jogu commented Jun 26, 2024

Yes, I think so. I had a read of the latest draft with this in mind, I think it might be worthy of mentions:

  1. in Section 5 when introducing verifiable presentations standard that as well as the standard QR based flow there is a secure cross device flow using the browser API.
  2. in 6.1.1 around "BLE presents another alternative for establishing proximity, but may present user experience challenges when setting up" tacking on something like "unless mediated by the OS" or something like that as although the browser API cross based flow does use BLE it doesn't require the user to navigate the traditional device pairing flow that I think is being referred to here (to oversimplify, it combines QR codes with BLE and CTAP in a very similar to webauthn as is already described in section 6.2.3.1).
  3. In 6.2, a new subsection for OID4VP over browser API might be warranted.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants