Skip to content

chore: bump @enbox/browser to ^0.3.8 (surface JWS verifier diagnostics)#42

Merged
LiranCohen merged 1 commit into
masterfrom
chore/bump-enbox-deps-jws-diag
Apr 26, 2026
Merged

chore: bump @enbox/browser to ^0.3.8 (surface JWS verifier diagnostics)#42
LiranCohen merged 1 commit into
masterfrom
chore/bump-enbox-deps-jws-diag

Conversation

@LiranCohen

Copy link
Copy Markdown
Contributor

Summary

  • Bumps @enbox/browser ^0.3.7 -> ^0.3.8, which transitively pulls in @enbox/dwn-sdk-js@0.3.5.
  • That SDK release ships enboxorg/enbox#909, which replaces the opaque GeneralJwsVerifierGetPublicKeyNotFound: public key needed to verify signature not found in DID Document error with a diagnostic that distinguishes:
    • DID resolution failures (includes the resolution error code/message), and
    • kid mismatches (lists the verification method IDs that are in the DID Document).

Why

When testing the mobile wallet-connect flow, nutsd surfaced the generic not found in DID Document error after the verification PIN was entered, with no way to tell whether the wallet's did:dht failed to resolve or whether the kid simply didn't match. This bump makes the next reproduction self-describing so we can pinpoint the actual cause.

Test plan

  • bun install resolves @enbox/dwn-sdk-js@0.3.5
  • bun run lint clean
  • bun run build clean (PWA + service worker)
  • bun run test -> 312 passed, 26 files
  • Reproduce the mobile wallet connect flow and capture the new diagnostic message

Made with Cursor

Pulls in @enbox/dwn-sdk-js@0.3.5 transitively, which surfaces
DID and resolution metadata in GeneralJwsVerifierGetPublicKeyNotFound
errors (enboxorg/enbox#909).

This makes wallet-connect failures actionable: instead of just
"public key needed to verify signature not found in DID Document",
the error now indicates whether DID resolution failed (with the
underlying resolution error) or the kid did not match any
verification method (listing the available method IDs).

Made-with: Cursor
@LiranCohen LiranCohen merged commit aaa8cfa into master Apr 26, 2026
3 checks passed
@LiranCohen LiranCohen deleted the chore/bump-enbox-deps-jws-diag branch April 26, 2026 22:01
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.

1 participant