Skip to content

Implement Countersign end to end - #1

Merged
sodre merged 9 commits into
mainfrom
feat/authority-foundations
Nov 18, 2026
Merged

sodre merged 9 commits into
mainfrom
feat/authority-foundations

Conversation

@sodre

@sodre sodre commented Nov 17, 2026 •

Copy link
Copy Markdown
Member

What reviewers can run

The Linux Compose demo starts the Integrator, Broker, mTLS site, sidecar Gateway and isolated curl Workload. The desktop stays on the host. Pair in the browser and Companion, type curl, then select a certificate. The site returns the fingerprint it authenticated.

The spec is the repository’s only Markdown document. It includes setup, configuration for both Gateway modes, recovery, the local conda recipe and the qualification boundaries. Operating instructions

Implementation

  • The protocol and SQLite Broker bind user, Context, Workload, destination, certificate, device and grant generation. Signed reconnects, bounded leases, durable revocation and audit records govern new and established connections.
  • Linux Gateway workers perform upstream mTLS using a signature returned by the native Companion. The supervisor enforces authorization on both traffic legs. Sidecar trust uses an ephemeral constrained CA. Shared deployments can use a local infrastructure CA or an ACM-PCA-compatible service through the AWS SDK.
  • The Electron Companion uses the native OS providers and protected pairing keys. Its certificate picker shows identity, issuer, expiry and fingerprint. Requests arriving over separate Integrator pairings retain their own verified origin and branding. The widget and notifications carry opaque request IDs.
  • GitHub Actions builds matched native prebuilds, desktop installers and container images. Version-tag release steps handle GHCR and release assets. OS signing and notarization require explicit release configuration and credentials.

Evidence

  • On Linux ARM64 the real browser and packaged Companion completed pairing in the Compose demo. The isolated curl container and the upstream agreed on the certificate selected in the desktop UI.
  • Separate packaged runs exercised two and three installed SoftHSM identities with the same display name. Approve remained disabled until a selection. The upstream authenticated the last entry, and a subsequent request failed after the Companion revoked access. A clean local conda installation also passed this flow.
  • The Gateway fixture exercised concurrent users and Contexts, distinct certificate selection, worker isolation, bounded cutoff with a stopped worker, and push retirement. The idle-connection regression shortens the validity of an imported CRL during an active transfer and checks that both socket legs close at the new deadline. It reproduced the defect on 2ee03d8 and passed locally and on the hosted Linux runner on fbb5aa7. Hosted Gateway and picker tests Issuer tests completed TLS handshakes with leaves from the local CA and an SDK protocol fixture, including delayed issuance and shared profile endpoint selection.
  • Native qualification passed 13 TLS scheme/version combinations on each of the six OS/architecture targets on fbb5aa7. Hosted native results A Compose run using the hosted Linux ARM64 desktop package matched the selected certificate at the mTLS site. Native software-provider tests cover TLS 1.2 and TLS 1.3, protected pairing keys, cancellation and rejection of invalid signatures.

Physical smart cards, real protected websites, live AWS Private CA or ZAE-ZCM deployments, and release signing/notarization remain outside the demonstrated results. The Linux protected-storage evidence applies to the tested GNOME Keyring and NSS configuration. The local conda recipe records the project license as undeclared pending the owner's selection.

@sodre
sodre marked this pull request as ready for review November 17, 2026 22:34
@sodre
sodre merged commit 369e2dc into main Nov 18, 2026
27 of 52 checks passed
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