[Openid-specs-digital-credentials-protocols] What is the state of the conformance tests?

Marcos Caceres marcosc at apple.com
Thu Aug 22 11:20:33 UTC 2024


Hi Richard,

Not sure if it helps, but for the (W3C/Browser) Digital Credentials API side of things, the test suite lives here:
https://github.com/web-platform-tests/wpt/tree/master/digital-credentials

Our intention is to enable conformance testing for Openid4vp against the Digital Credentials API there too. Here’s an entry point:
https://github.com/web-platform-tests/wpt/blob/5aca137acce75f539da359667cb5ddef2cca0ea5/digital-credentials/support/helper.js#L57

Right now, the testing framework supports passing in bogus/malformed request, as we well as checking against some (yet to be defined) canonical structure. We (W3C folks) will provide instructions for how to run things. There’s already general instructions here:
https://web-platform-tests.org/ 

We also welcome and encourage contributions should you have cycles to contribute! 

W3C folks are also hoping to create a [Web Driver] API that developers can use to make requests and vend fake credentials, as well as simulate user actions (e.g., user cancels). The WICG has an open issue for this here:
https://github.com/WICG/digital-credentials/issues/131

The Web Driver API will probably be based on (or just reuse!) the W3C’s Web Auth one, as they are structurally pretty much the same behavior requirements:
https://w3c.github.io/webauthn/#sctn-automation

Hope that helps!
Marcos 

[WebDriver] https://www.w3.org/TR/webdriver2/
 

> On 20 Aug 2024, at 8:19 AM, Richard Esplin via Openid-specs-digital-credentials-protocols <openid-specs-digital-credentials-protocols at lists.openid.net> wrote:
> 
> Would someone be willing to point us toward the information we need or summarize the status of the conformance tests?
> 
> Thank you in advance,
> 
> -- Richard
> 
> 
> On Tue, Aug 13, 2024 at 11:27 AM Richard Esplin <richard at dock.io <mailto:richard at dock.io>> wrote:
>> We are currently updating our support for OID4VCI and OID4VCP from an early draft to the latest version. We would like to confirm that we are compliant with the standard.
>> 
>> I see the instructions for running the conformance tests:
>> https://openid.net/certification/conformance-testing-for-openid-for-verifiable-presentations/
>> 
>> It would help us to see the source code for the tests. I thought they might be in the OID4VP repo, but these tests don't seem to match:
>> https://github.com/openid/OpenID4VP/tree/main/tests
>> 
>> I also looked in the Conformance Suite, but there doesn't appear to be any VC related stuff there.
>> https://gitlab.com/openid/conformance-suite
>> 
>> I see the issue in Bitbucket from 2022, and the issue in GitLab from 2023, but I don't see any links to code.
>> https://bitbucket.org/openid/connect/issues/1464/certification-conformance-testing-for
>> https://gitlab.com/openid/conformance-suite/-/issues/1244
>> 
>> Where should I be looking?
>> 
>> We are specifically interested in tests for the OID4VCI issuance flows and the flows for OID4VP relying parties.
>> 
>> Thank you for your help,
>> 
>> -- Richard
>> --
>> Richard Esplin
>> Head of Product, Dock Labs
>> +1-801-735-4220
>> Empowering lives through verifiable data.
> -- 
> Openid-specs-digital-credentials-protocols mailing list
> Openid-specs-digital-credentials-protocols at lists.openid.net
> https://lists.openid.net/mailman/listinfo/openid-specs-digital-credentials-protocols

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openid.net/pipermail/openid-specs-digital-credentials-protocols/attachments/20240822/4b15a4c4/attachment.html>


More information about the Openid-specs-digital-credentials-protocols mailing list