Skip to content

Archon v0.12.0

Choose a tag to compare

@macterra macterra released this 28 Aug 13:25
c9b76ef

Release Highlights

This release brings DIDComm messaging into the wallets — including credential exchange with non-Archon agents — consolidates the wallet UI into shared packages, lands a large test-coverage and typecheck push that made the untested parts visible for the first time, and hardens credential verification, admin auth, and outbound requests.

💬 DIDComm Messaging in the Wallets

Both wallets can now hold a DIDComm conversation, not just resolve DIDs:

  • DIDComm messaging in react-wallet and the browser extension (#901), with out-of-band invitations (#910)
  • Credential exchange over DIDComm using issue-credential 3.0, so an Archon identity can issue to a non-Archon agent (#919), and the same in the standalone clients (#936)
  • Acknowledging a message is now separate from retrieving it, so a failed unpack no longer loses the message (#884)
  • Mailbox growth is bounded and memory TTLs are real (#887); the public passthrough in Drawbridge is rate-limited (#889)
  • The Python keymaster service serves the DIDComm API too — it had served none of it (#921)

🎨 Wallet UI

  • Modern theme and layout primitives across the wallet UI (#893)
  • The two wallets now share one UI package instead of duplicating it (#911, #912), and the two standalone clients share one KeymasterUI in place of two byte-identical 8,400-line copies (#940)
  • A guard fails CI when a keymaster capability reaches one UI surface and not the other (#941)

🪪 Identity Pages and Explorer

  • Herald serves an /id/:name identity page rendering the DID document as cards (#839)
  • A node serves its own explorer at /explorer, rather than linking visitors at someone else's (#895)
  • The herald-client quickstart points at this node, not archon.technology (#896)

🔐 Credential Integrity

  • Herald verifies published credentials before displaying them, reporting verified or unverified with the reason (#946)
  • A credential now names the asset that holds it, under the issuer's signature, so nothing has to trust an unsigned manifest key (#948) — and Herald trusts that key only when the credential names it (#949)

🧰 Node Operation

  • Drawbridge subservices are independently toggleable, so a node can run a lean front-door proxy without Lightning, Tor, and Herald (#861)
  • Resolution results are labelled, and Accept is no longer faked (#931)
  • The gatekeeper skips the universal resolver for our own DID method (#899, covered in Rust by #918)

🐛 Fixes

  • Wallet: chrome.storage values are narrowed rather than trusted (#860)
  • SOCKS-dispatched requests go through undici's fetch, not Node's (#917)
  • keymaster-client sends the admin key in the header the service actually reads (#906)
  • Dmail cc is optional, and the mis-named field is named (#932)
  • Hyperswarm mediator moved to bookworm for glibc 2.33+ (#880)
  • OIDC login on a fresh Herald deployment — jose v6 returns non-extractable keys by default, so persisting the signing key threw and OIDC never came up (#818)
  • CLI command parity restored in scripts/archon-cli.js, the one of three that had drifted (#886)

🔒 Security

  • SECURITY.md documenting key generation and entropy (#836), with the entropy path traced and guarded against a silent fallback (#857)
  • The gatekeeper requires an admin API key and fails closed without one (#868)
  • Remote name lookups check their target on every path — the guard was defined once and called once, on the one path an untrusted caller could not reach (#943)
  • An unverified subscription-auth stub is kept out of the default L402 chain (#866)
  • SECURITY_AUDIT.md refreshed with the August 2026 audit (#867, #869, #874)
  • Egress keeps the scheme checks and drops the address filter that stopped the wrong party (#908)

🧪 Testing and Type Safety

Coverage was not low so much as invisible — untested files were absent from the report rather than counted as zero:

  • collectCoverageFrom now counts untested files (#822), and the gaps it exposed were closed across gatekeeper, keymaster, drawbridge, herald, ipfs, mcp-server and the lightning mediator (#814–#832, #922)
  • The exercise paid for itself immediately: writing the Herald tests surfaced the broken OIDC signing key above (#818)
  • Tests are typechecked in CI, clearing the 416 type errors that were hiding there (#924)
  • Wallet provider trees are rendered, so a blank page fails a check (#929)
  • The gatekeeper TS/Rust parity harness runs in CI, and what it found is fixed (#833)
  • .jsx brought into lint scope — 15 files, including two 8,400-line ones, had been outside every automated check (#939)

🚀 CI, Dependencies & Release

  • Node upgraded to 22.23.2, images moved bullseye → bookworm → trixie (#890, #892)
  • Native-module installs made resilient to prebuild fetch failures (#879, #926), and prebuilds no longer invalidate the npm ci layer (#882)
  • wallet-ui declares the packages it imports as peerDependencies (#930)
  • Point releases of all @didcid packages (0.x.2 in #803, 0.x.3 in #950) and archon-keymaster (0.6.2, 0.6.3 in #951)
  • did:cid's DIF-recommended status noted in the README (#862); four factual claims corrected in the whitepaper (#942)

What's Changed

Routine dependency and CI bumps are omitted; see the full changelog below for the complete list.

  • release: @didcid packages 0.x.2 + archon-keymaster 0.6.2 by @macterra in #803
  • chore: Init v0.12.0 by @macterra in #812
  • test(gatekeeper): cover the v1 routers extracted in #705 by @macterra in #814
  • test(keymaster): cover the server routers extracted in #706 by @macterra in #815
  • test: resolve @didcid/cipher/didcomm to source, not the built dist by @macterra in #816
  • test(drawbridge): cover the L402 auth primitives by @macterra in #817
  • test(herald): cover the email bridge, JSON store, and OAuth flow — and fix a broken OAuth signing key by @macterra in #818
  • refactor(drawbridge): extract the v1 router so it can be tested by @macterra in #819
  • refactor(herald): extract the routes so index.ts can be tested by @macterra in #820
  • test(herald): cover the deferred route handlers by @macterra in #821
  • ci: count untested files with collectCoverageFrom by @macterra in #822
  • test(gatekeeper): cover the sqlite backend by @macterra in #823
  • test(ipfs): cover the kubo client by @macterra in #824
  • fix(gatekeeper): cancel the save timer when stop() fails, and close the last coverage gaps by @macterra in #825
  • test(keymaster): cover the DIDComm protocol builders' optional branches by @macterra in #826
  • test(mcp-server): cover the tool handlers' optional and failure branches by @macterra in #827
  • test(mcp-server): cover the secret redactor by @macterra in #828
  • test(keymaster): cover validation guards and DIDComm rejection paths by @macterra in #829
  • test(herald): cover the dmail poll loop and remaining route guards by @macterra in #830
  • test(herald): cover the inbound-email webhook secret and Tor routing by @macterra in #831
  • test(keymaster): cover WalletSQLite defaults and connection guards by @macterra in #832
  • ci: run the gatekeeper TS/Rust parity harness, and fix what it found by @macterra in #833
  • docs: add SECURITY.md documenting key generation and entropy by @macterra in #836
  • feat(herald): add /id/:name identity page rendering the DID document as cards by @macterra in #839
  • docs+test: trace where the entropy comes from, and guard the no-fallback property by @macterra in #857
  • fix(keymaster): narrow chrome.storage value instead of trusting its type by @macterra in #860
  • docs: note did:cid's DIF-recommended status in the README by @macterra in #862
  • fix(drawbridge): keep unverified subscription-auth stub out of the default L402 chain by @morningstar-daemon in #866
  • docs: refresh SECURITY_AUDIT.md with the August 2026 audit by @morningstar-daemon in #867
  • fix(gatekeeper): require an admin API key and fail closed without one by @macterra in #868
  • docs(security): scope H-02 to the Python service by @macterra in #869
  • docs(security): record PR #868 against H-01 and L-06 by @macterra in #874
  • feat: make Drawbridge subservices independently toggleable (lean drawbridge) by @Flaxscrip in #861
  • fix: Move hyperswarm mediator to bookworm for glibc 2.33+ by @macterra in #880
  • ci: Make native-module installs resilient to prebuild fetch failures by @macterra in #879
  • ci: Stop prebuilds/.gitignore from invalidating the npm ci layer by @macterra in #882
  • feat: Separate acknowledging DIDComm messages from retrieving them by @macterra in #884
  • feat: Restore CLI command parity in scripts/archon-cli.js by @macterra in #886
  • fix: Bound DIDComm mailbox growth and make memory TTLs real by @macterra in #887
  • feat: Rate-limit the public DIDComm passthrough in Drawbridge by @macterra in #889
  • deps: Move all images from Debian bullseye to bookworm by @macterra in #890
  • deps: Upgrade Node to 22.23.2 and move images to Debian trixie by @macterra in #892
  • feat(wallet): Modern theme and layout primitives across the wallet UI by @macterra in #893
  • feat: Serve the node's own explorer publicly at /explorer by @macterra in #895
  • fix(herald-client): Point the quickstart at this node, not archon.technology by @macterra in #896
  • feat(wallet): DIDComm messaging in the wallets by @macterra in #901
  • fix(keymaster-client): Send the admin key in the header the service reads by @macterra in #906
  • test: Stop a cwd leak in wallet-db from failing cli-parity by @macterra in #907
  • fix: Drop the egress address filter, keep the scheme checks by @macterra in #908
  • feat(wallet): Add out-of-band invitations to the wallets by @macterra in #910
  • refactor(wallet): Start sharing wallet UI instead of duplicating it by @macterra in #911
  • fix: Send SOCKS-dispatched requests through undici's fetch, not Node's by @macterra in #917
  • refactor(wallet): Share the wallet UI (closes #894) by @macterra in #912
  • fix(gatekeeper): skip the universal resolver for our own DID method by @Flaxscrip in #899
  • test(gatekeeper): Cover the universal-resolver skip in Rust by @macterra in #918
  • feat(didcomm): Credential exchange over DIDComm (issue-credential 3.0) by @macterra in #919
  • fix(keymaster-service): Serve the DIDComm API from the Python flavor too by @macterra in #921
  • test(lightning-mediator): Extract an app factory and cover all 17 routes by @macterra in #922
  • fix(test): Typecheck tests in CI, and clear the 416 errors hiding there by @macterra in #924
  • fix(ci): Seed native prebuilds in the three jobs that were missed by @macterra in #926
  • fix(deps): Declare @noble/curves at the root, where a test depends on it by @macterra in #927
  • test(wallets): Render the provider trees, so a blank page fails a check by @macterra in #929
  • fix(wallet-ui): Declare the packages it imports as peerDependencies by @macterra in #930
  • feat(gatekeeper): Label the resolution result, and stop faking Accept by @macterra in #931
  • fix(dmail): Make cc optional, and name the field that was wrong by @macterra in #932
  • feat(clients): Add DIDComm credential exchange to KeymasterUI by @macterra in #936
  • fix(lint): Bring .jsx into scope, and clear what that surfaced by @macterra in #939
  • refactor(clients): Share one KeymasterUI instead of two identical copies by @macterra in #940
  • test(wallet): Guard that a capability reaches both UI surfaces by @macterra in #941
  • docs: correct four factual claims in the whitepaper by @macterra in #942
  • fix(keymaster): Check the target of remote name lookups, on every path by @macterra in #943
  • fix(herald): Verify published credentials before showing them by @macterra in #946
  • feat(keymaster): Let a credential name the asset that holds it by @macterra in #948
  • fix(herald): Trust the manifest key only when the credential names it by @macterra in #949
  • release: keymaster/gatekeeper 0.6.3, cipher 0.4.3, clients 0.1.3, common/ipfs/mcp-server/browser-hdkey 0.3.3 by @macterra in #950
  • release: archon-keymaster 0.6.3 by @macterra in #951

New Contributors

Full Changelog: v0.11.0...v0.12.0