Skip to content

Conversation

TimoGlastra
Copy link
Contributor

@TimoGlastra TimoGlastra commented Apr 4, 2025

If the certificate is trusted we skip the signature verification as we don't know the public key of the signer. But we already trust the certificate.
Also adds a test based on Google CM Wallet

Signed-off-by: Timo Glastra <timo@animo.id>
@TimoGlastra TimoGlastra requested a review from a team as a code owner April 4, 2025 15:53
Copy link

changeset-bot bot commented Apr 4, 2025

⚠️ No Changeset found

Latest commit: 01a30e0

Merging this PR will not cause a version bump for any packages. If these changes should not result in a new version, you're good to go. If these changes should result in a version bump, you need to add a changeset.

Click here to learn what changesets are, and how to add one.

Click here if you're a maintainer who wants to add a changeset to this PR

Signed-off-by: Timo Glastra <timo@animo.id>
Signed-off-by: Timo Glastra <timo@animo.id>
@TimoGlastra TimoGlastra changed the title test: add test for mdoc device response from google cm wallet fix: skip signature validation of the trusted certificate Apr 4, 2025
@TimoGlastra TimoGlastra enabled auto-merge (squash) April 11, 2025 08:43
@berendsliedrecht
Copy link
Contributor

If the certificate is trusted we skip the signature verification as we don't know the public key of the signer. But we already trust the certificate.

Also adds a test based on Google CM Wallet

If it is a root cert, we can validate the signature. Should we not do that?

@TimoGlastra TimoGlastra merged commit 3aab0ee into openwallet-foundation:main Apr 11, 2025
20 checks passed
GHkrishna pushed a commit to GHkrishna/credo-ts that referenced this pull request Apr 17, 2025
genaris pushed a commit to genaris/credo-ts that referenced this pull request Oct 9, 2025
…-foundation#2248)

Signed-off-by: Timo Glastra <timo@animo.id>
Signed-off-by: Ariel Gentile <gentilester@gmail.com>
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

Successfully merging this pull request may close these issues.

2 participants