1qubit-server gen-secret
QUBIT_SECRET_KEY=<new> and QUBIT_SECRET_KEY_PREVIOUS=<old>. The server reads data sealed
under either key, and logs a warning until the rotation is done.123docker run --rm -v qubit-data:/data \ -e QUBIT_SECRET_KEY=<new> -e QUBIT_SECRET_KEY_PREVIOUS=<old> \ ghcr.io/loopyreviews/qubit-server:<tag> rotate-secret-key
QUBIT_SECRET_KEY_PREVIOUS, restart, and destroy the old key.QUBIT_SECRET_KEY changes how the SSH CA keys are stored, not the CA keys themselves.
If you think a CA private key leaked, remove that CA from your hosts' TrustedUserCAKeys.