Skip to content

Include Digital Credential Issuance in the Spec#204

Merged
mohamedamir merged 22 commits into
mainfrom
issuance-attempt
May 1, 2025
Merged

Include Digital Credential Issuance in the Spec#204
mohamedamir merged 22 commits into
mainfrom
issuance-attempt

Conversation

@mohamedamir

@mohamedamir mohamedamir commented Feb 19, 2025

Copy link
Copy Markdown
Collaborator

Closes #167

The following tasks have been completed:

Implementation commitment:

Documentation and checks

  • Affects privacy
  • Affects security
  • Pinged MDN
  • Updated Explainer
  • Updated digitalcredentials.dev

Preview | Diff

@mohamedamir mohamedamir changed the title Issuance attempt Include Digital Credential Issuance to the DC API Spec Feb 19, 2025
@mohamedamir mohamedamir changed the title Include Digital Credential Issuance to the DC API Spec Add Digital Credential Issuance to the DC API Spec Feb 19, 2025
Comment thread index.html Outdated
Comment thread index.html Outdated
Comment thread index.html Outdated
Comment thread index.html Outdated
Comment thread index.html Outdated
Comment thread index.html Outdated
Comment thread index.html Outdated
Comment thread index.html Outdated
Comment thread index.html
Comment thread index.html Outdated
Comment thread index.html Outdated
Comment thread index.html

@marcoscaceres marcoscaceres left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

cool stuff @mohamedamir!!!1!!!one!!! nice one.

@marcoscaceres

Copy link
Copy Markdown
Collaborator

@mohamedamir, see also #179 ... we need those checks too!!!

@marcoscaceres

Copy link
Copy Markdown
Collaborator

There may be goodies to pilfer also from https://github.com/WICG/digital-credentials/pull/156/files

Comment thread index.html Outdated
Comment thread index.html Outdated
Comment thread index.html Outdated
Comment thread index.html Outdated
Comment thread index.html Outdated
Comment thread index.html Outdated
Comment thread index.html Outdated
Comment thread index.html Outdated
Comment thread index.html Outdated
Comment thread index.html Outdated
Comment thread index.html Outdated
Comment thread index.html
Comment thread index.html Outdated
mohamedamir and others added 3 commits March 4, 2025 00:16
mohamedamir and others added 3 commits March 4, 2025 00:18
Co-authored-by: Ted Thibodeau Jr <tthibodeau@openlinksw.com>
Co-authored-by: Ted Thibodeau Jr <tthibodeau@openlinksw.com>
Co-authored-by: Marcos Cáceres <marcosc@apple.com>
Co-authored-by: Ted Thibodeau Jr <tthibodeau@openlinksw.com>
Co-authored-by: Marcos Cáceres <marcosc@apple.com>
@marcoscaceres

Copy link
Copy Markdown
Collaborator

Blocked on tests.

@TallTed TallTed left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

fix some incorrect uses of a

Comment thread index.html Outdated
Comment thread index.html Outdated
Comment thread index.html Outdated
Co-authored-by: Ted Thibodeau Jr <tthibodeau@openlinksw.com>

@samuelgoto samuelgoto left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@marcoscaceres WDYT?

Comment thread index.html Outdated
@marcoscaceres

Copy link
Copy Markdown
Collaborator

A couple of issues that come up during IIW the assumption of the API is that you get back the issued credential. @leecam mentioned there are situations where it may take a long time for issuance to happen and might need to happen in the background and eventually the RP gets somehow notified out-of-band.

That doesn't seem great to me. It feels like issuance should complete under the user's control and not happen out of band. That seems really confusing for users (e.g., they have to wait for an email). Seems to defeat the purpose of this API somewhat.

The other issue that came up with around certain protocols potentially calling home through the wallet, allowing for collusion between the RP and the issuer. We should probably deal with that.

@wseltzer

Copy link
Copy Markdown
Contributor

Discussed at 11 April meeting [notes].

mohamedamir and others added 2 commits April 16, 2025 11:46
Co-authored-by: Tim Cappalli <tim@cloudauth.dev>
@timcappalli timcappalli requested a review from a team as a code owner April 18, 2025 23:58
@timcappalli timcappalli added the FPWD Blockers Should be addressed before FPWD label Apr 21, 2025
Comment thread index.html Outdated
Comment thread index.html Outdated
Comment thread index.html Outdated
Co-authored-by: Tim Cappalli <tim@cloudauth.dev>
@mohamedamir mohamedamir merged commit 3c0b43d into main May 1, 2025
@mohamedamir mohamedamir deleted the issuance-attempt branch May 1, 2025 08:33
@marcoscaceres

marcoscaceres commented Dec 9, 2025

Copy link
Copy Markdown
Collaborator

Linked WebKit issue... seems we forgot to file one.
https://bugs.webkit.org/show_bug.cgi?id=303807

We should see if there's a server imposed way to make sure bugs are files on each user agent as a precondition for merging normative changes.

webkit-commit-queue pushed a commit to marcoscaceres/WebKit that referenced this pull request Jan 14, 2026
…entialGetRequest

https://bugs.webkit.org/show_bug.cgi?id=304311
rdar://167115220

Reviewed by Anne van Kesteren.

Renamed DigitalCredentialRequest to DigitalCredentialGetRequest, as per spec change:
w3c-fedid/digital-credentials#204

* LayoutTests/http/tests/digital-credentials/digital-credential-console-messages.https-expected.txt:
* Source/WebCore/CMakeLists.txt:
* Source/WebCore/DerivedSources-input.xcfilelist:
* Source/WebCore/DerivedSources-output.xcfilelist:
* Source/WebCore/DerivedSources.make:
* Source/WebCore/Headers.cmake:
* Source/WebCore/Modules/identity/DigitalCredential.cpp:
(WebCore::jsToCredentialRequest):
(WebCore::DigitalCredential::convertObjectsToDigitalPresentationRequests):
* Source/WebCore/Modules/identity/DigitalCredential.h:
* Source/WebCore/Modules/identity/DigitalCredentialGetRequest.h: Renamed from Source/WebCore/Modules/identity/DigitalCredentialRequest.h.
* Source/WebCore/Modules/identity/DigitalCredentialGetRequest.idl: Renamed from Source/WebCore/Modules/identity/DigitalCredentialRequest.idl.
* Source/WebCore/Modules/identity/DigitalCredentialRequestOptions.h:
* Source/WebCore/Modules/identity/DigitalCredentialRequestOptions.idl:
* Source/WebCore/Sources.txt:
* Source/WebCore/WebCore.xcodeproj/project.pbxproj:
* Source/WebKit/UIProcess/DigitalCredentials/WKDigitalCredentialsPicker.mm:
* Source/WebKit/UIProcess/WebPageProxy.cpp:

Canonical link: https://commits.webkit.org/305608@main
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

FPWD Blockers Should be addressed before FPWD

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Support for issuance

6 participants