fix(cli): e2e encrypt vault entries with libsodium
Some checks failed
CI / Docker build (linux/amd64) (push) Has been cancelled
CI / Lint (push) Has been cancelled
CI / Typecheck (push) Has been cancelled
CI / Broker tests (Postgres) (push) Has been cancelled

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
Alejandro Gutiérrez
2026-04-08 12:10:23 +01:00
parent 02a165dd76
commit a90046a8e3
3 changed files with 24 additions and 6 deletions

View File

@@ -194,6 +194,10 @@ export class BrokerClient {
getSessionPubkey(): string | null { return this.sessionPubkey; }
/** Session secret key hex (null before first connection). */
getSessionSecretKey(): string | null { return this.sessionSecretKey; }
/** Mesh member public key hex (stable across sessions). */
getMeshPubkey(): string { return this.mesh.pubkey; }
/** Mesh member secret key hex (stable across sessions). */
getMeshSecretKey(): string { return this.mesh.secretKey; }
private makeReqId(): string {
return Math.random().toString(36).slice(2) + Date.now().toString(36);