feat: add support for iso 18013-7 dc api - #2922
Open
TimoGlastra wants to merge 11 commits into
Open
Conversation
Signed-off-by: Timo Glastra <timo@animo.id>
🦋 Changeset detectedLatest commit: 18cff53 The changes in this PR will be included in the next version bump. This PR includes changesets to release 18 packages
Not sure what this means? Click here to learn what changesets are. Click here if you're a maintainer who wants to add another changeset to this PR |
Signed-off-by: Timo Glastra <timo@animo.id>
Signed-off-by: Timo Glastra <timo@animo.id>
Signed-off-by: Timo Glastra <timo@animo.id>
Signed-off-by: Timo Glastra <timo@animo.id>
Signed-off-by: Timo Glastra <timo@animo.id>
Signed-off-by: Timo Glastra <timo@animo.id>
hacdias
reviewed
Sep 1, 2026
hacdias
reviewed
Sep 1, 2026
…request Update @owf/mdoc, @owf/cose and @owf/token-status-list to the latest releases. The DC API verifier now matches the response against the device request of the session, and Mdoc.sign accepts keyAuthorizations for device signed elements. Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com> Signed-off-by: TimoGlastra <timo@animo.id>
Signed-off-by: TimoGlastra <timo@animo.id> # Conflicts: # packages/core/package.json # packages/drizzle-storage/migrations/core/postgres/meta/0004_snapshot.json # packages/drizzle-storage/migrations/core/postgres/meta/_journal.json # packages/drizzle-storage/migrations/core/sqlite/meta/0004_snapshot.json # packages/drizzle-storage/migrations/core/sqlite/meta/_journal.json # packages/drizzle-storage/migrations/core/sqlite/migrations.js # pnpm-lock.yaml
TimoGlastra
force-pushed
the
feat/iso-18013-7-dc-api
branch
from
September 10, 2026 12:34
4c8baea to
9611e3b
Compare
Signed-off-by: TimoGlastra <timo@animo.id>
hacdias
approved these changes
Sep 11, 2026
| @@ -0,0 +1,29 @@ | |||
| --- | |||
Member
There was a problem hiding this comment.
Nit: the other changelog entries don't do line wrapping, this one does.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Adds support for creating mdoc verification sessions for the org-iso-mdoc protocol over DC API. This has been tested on both iOS and Android and can be used with e.g. the expo-digital-credentials-api library (see animo/expo-digital-credentials-api#8).
DC API requires HPKE, this is not supported by Askar or Node.JS natively, so we use the
hpkelibrary for this. We still use the raw ECDH key from askar, so we don't have to export the private key (only the derived key). We do require@panva/hpke-noblefor the other features in the Askar KMS, so it works in both RN And Node.JS. The Node KMS depends on the Node crypto. (there's an issue open in Askar to support HPKE).HPKE will probably see more usages in the future (e.g. OpenID4VP/HAIP will also adopt it), and now we have a generalized implementation.
Since this adds a new protocol on the verifier side, it introduces new exchange records.
ScreenRecording_08-28-2026.12-04-22_1.MP4