Skip to content

feat(proto): add CA key escrow RPCs#64

Merged
Bugs5382 merged 1 commit into
mainfrom
feat/proto-key-escrow
Jul 21, 2026
Merged

feat(proto): add CA key escrow RPCs#64
Bugs5382 merged 1 commit into
mainfrom
feat/proto-key-escrow

Conversation

@Bugs5382

Copy link
Copy Markdown
Contributor

What and why

Add ExportCAKey and ImportCAKey RPCs to cryptos.fleet.v1.FleetService so the manager can relay a node's encrypted CA-key backup between the browser and the node. Encryption stays node-side (Argon2id + AES-256-GCM); the plaintext key never leaves the node, and the operator passphrase is relayed in transit only and never persisted.

  • ExportCAKeyRequest{node_name, passphrase} -> ExportCAKeyResponse{envelope}.
  • ImportCAKeyRequest{node_name, envelope, passphrase} -> ImportCAKeyResponse{subject_cn, issuer_cn} (a CN summary rather than the full identity chain).
  • Go and TS stubs regenerated; fleetv1connect gains both procedures.

Closes #63
Part of CryptOS-PKI/manager#24

Verification

  • Lint clean
  • Tests pass
  • Build succeeds

How this was verified

task ci (fmt + lint + generate:verify + test) and task license both green locally.

@Bugs5382 Bugs5382 added this to the v1.0.0 milestone Jul 20, 2026
@Bugs5382 Bugs5382 self-assigned this Jul 20, 2026
@github-actions github-actions Bot added the enhancement New feature (feat). Minor version bump. label Jul 20, 2026
@Bugs5382
Bugs5382 merged commit 066e7d3 into main Jul 21, 2026
12 checks passed
@Bugs5382
Bugs5382 deleted the feat/proto-key-escrow branch July 21, 2026 02:33
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature (feat). Minor version bump.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

feat(proto): add CA key escrow RPCs

1 participant