Skip to main content

XSSG / HOW IT WORKS / SECURITY TRANSPARENCY

Your SSH recovery key. Encrypted, portable, and actually tested.

A spare copy is not a recovery plan until you can unlock it and use it. XSSG treats encryption, restoration and live SSH proof as three different jobs—and asks you to finish all three.

RELEASE BOUNDARY Mac field proof: two distinct USB devices, two independently restored-key SSH logins. Universal hardware support is not claimed.

What exactly does XSSG encrypt?

The selected SSH private key is protected inside a password-encrypted .xkv recovery vault on a user-supplied USB drive. The beta operator transcript identifies age as the encryption tool. The portable XSSG wizard is stored in another folder and is not a plaintext copy of the private key.

XSSG encrypted recovery flow: local SSH key, age-encrypted XKV vault on USB, protected temporary restore, and fresh SSH login; portable wizard stored separately
Encryption protects the stored backup. A separate restore-and-login drill tests whether it can actually restore the selected gateway identity.

Three credentials, three different purposes

SecretWhat it unlocksWho asks for it
SSH private-key passphraseThe working or restored OpenSSH private key, if protected by a passphraseOpenSSH or the operating-system credential agent
USB recovery-vault passwordThe encrypted .xkv fileage at encryption and recovery time
Linux sudo passwordAdministrative rights on the selected gatewayThe remote Linux sudo program

XSSG's displayed field workflow deliberately distinguishes these prompts. A strong vault password matters because someone who physically takes the USB could attempt offline password guesses. A password manager and separate storage from the stick are sensible precautions. Never publish the vault password, private key or remote account password in a receipt.

Why use age rather than inventing a cipher?

age is a documented modern encryption utility and file format. In passphrase mode it uses a password-derived recipient mechanism, including a memory-hard scrypt password derivation step; authenticated encryption detects modification when decrypting. Using an established utility is preferable to a home-built encryption routine—but a secure algorithm does not automatically make every wrapper, password choice, dependency or endpoint safe. The XSSG .xkv filename is a product vault convention, not a claim that an independent new cryptographic algorithm has been invented.

How the portable USB is organized

USB drive / X /
├── vault/                  encrypted .xkv recovery files
└── xerxes_ssh_wizard/      separate portable program

The wizard checks the vault and its recorded key identity; when an upgrade is needed, it updates the program folder while preserving the encrypted vault folder. The documented Mac session independently verified the current program on each USB and reported 133 files per program after upgrade. XSSG does not format or repartition the drive as part of this workflow. The operator should still keep other personal data backed up separately.

What a successful recovery drill proves

The operator entered the existing vault password, decrypted the selected backup into a protected temporary directory, and opened a fresh key-only SSH connection with the recovered private key. Once the test passed, the temporary private-key copy was removed. The saved, working ~/.ssh identities were not overwritten. This tests more than a file checksum; it verifies that the selected backup can actually authenticate to the selected gateway under the tested conditions.

In the November 22, 2026 operator-provided Mac field transcript, Primary 01 and Secondary 02 used different observed physical-device identifiers; each vault restored successfully and each portable program was checked. That does not prove recovery on every USB controller, operating system, changed host-key trust state or unavailable gateway.

What encryption and checksums do not do

  • An .xkv.sha256 file can help detect accidental changes when checked against an expected digest. It does not, by itself, authenticate the publisher or replace age's authenticated decryption.
  • The USB is an encrypted recovery device, not automatically a FIDO2 security token. A vault password is not a hardware-backed signing key.
  • A restored key only works where its matching public key remains authorized. Physical possession of the USB alone is not equivalent to a fresh successful login.
  • Temporary-file cleanup is best effort; secure erasure cannot be guaranteed on flash memory or SSDs.
  • The documented field success is a bounded test, not an external security certification.

Make one. Make a second. Prove both.

A recovery kit worth carrying is one you can explain and test. Use your own compatible media, keep the vault password separate, verify each copy independently, and store the second stick somewhere physically distinct. That's how an inexpensive USB drive becomes a deliberate part of your incident response plan.