Earlier today, a LinkedIn warning by Mazen Trabulsi (Enterprise Architect | Digital Transformation) caught my attention: rumors that a frontier AI lab may have cracked 2048-bit RSA, paired with a practical checklist of what to harden immediately—and what isn’t affected.

Whether a rumor turns out to be true next week or two years from now, it is a great forcing function to eliminate legacy RSA dependencies across a homelab. Instead of manually SSHing into 14 machines one by one, I handed the checklist to my Antigravity (agy) Loops-and-Graphs multi-agent team to audit the entire fleet, write a rollback-safe migration plan, and execute the hardening.
1. What We Planned to Do
Translating the LinkedIn checklist into our homelab architecture gave us three clear workstreams:
- SSH User & Host Keys: Generate
Ed25519keys, deploy them across all 4 NAS servers (nas1–nas4) and 10 Raspberry Pis, disable RSA host/user authentication, and enable hybrid post-quantum key exchange (mlkem768x25519-sha256/sntrup761x25519-sha512@openssh.com) wherever OpenSSH supports it. - TLS 1.3 & Pure-ECC Certificates: Verify
blog.voina.orgonnas1enforces TLS 1.3 with ECDSA certificates, inspect the full certificate chain for RSA signatures, and ensure ACME/Certbot defaults use ECDSA. - API Keys, Tokens & Encrypted Comms: Audit local scripts and configs for RSA signing keys, RSA-signed JWTs, or world-readable/hardcoded secrets, and verify our
signal-bot.service(which already uses Signal’s ECC +ML-KEM-768) stays healthy.
2. The Structured Contract Prompt Given to the Agent Team
Using agy‘s Loops-and-Graphs workflow engine (loop_graph_workflow.py), I launched three read-only audit agents in parallel (ssh_audit, tls_audit, keys_secrets_audit) that route to a synthesis agent (migration_plan) only if all checks pass—with explicit NEVER and ASK ME FIRST guardrails so nothing could lock me out of a server:
Run a Loops-and-Graphs workflow via ~/scripts/loop_graph_workflow.py with max_iters=2, workspace="inherit", approved=False:
1. Node "ssh_audit" (parallel entry):
JOB: Audit local SSH keys (~/.ssh/) and SSH server/client cryptographic posture across nas1-nas4 and 10 Raspberry Pis. Identify all RSA user keys, RSA host keys, authorized_keys entries, and OpenSSH KexAlgorithms support for hybrid post-quantum key exchange (mlkem768x25519-sha256, sntrup761x25519-sha512@openssh.com).
INPUT: RSA-2048 Post-Quantum Migration Note, ~/.ssh/, ~/.ssh/config
OUTPUT: Per-host inventory table of user keys, host key types, RSA algorithm status, and PQ KEX support.
DONE WELL:
- Lists every local key in ~/.ssh/ with algorithm and bit size
- Checks Ed25519 host key availability and RSA algorithm status on reachable fleet hosts
- Reports OpenSSH version and hybrid PQ KexAlgorithms support per host
- Flags any unreachable hosts explicitly without guessing
NEVER:
- Generate, overwrite, or delete SSH keys
- Modify ~/.ssh/authorized_keys or /etc/ssh/sshd_config
- Disable RSA before Ed25519 access is verified
ASK ME FIRST:
- Before deploying Ed25519 keys, editing sshd_config, or removing RSA keys from authorized_keys
CHECK_CMD: ls -1 ~/.ssh/id_* && ssh -Q kex | grep -E "mlkem768|sntrup761"
ROUTES:
- when: "passed" -> next: "migration_plan"
2. Node "tls_audit" (parallel entry):
JOB: Audit TLS 1.3 enforcement, certificate key type (RSA vs ECDSA secp256r1/secp384r1), and full trust chain for blog.voina.org and nas1 web server / ACME configuration.
INPUT: https://blog.voina.it and nas1 web server / Certbot configuration (read-only)
OUTPUT: TLS protocol version report, negotiated cipher, leaf/intermediate/root key algorithms, and renewal key-type status.
DONE WELL:
- Verifies TLS 1.3 support and whether TLS 1.2/older protocols are enabled
- Inspects the full certificate chain for any RSA-signed cert or RSA CA key
- Checks current Certbot/ACME key-type configuration on nas1
NEVER:
- Renew, revoke, or replace certificates
- Edit web server config or reload web services
ASK ME FIRST:
- Before switching Certbot to --key-type ecdsa or editing ssl_protocols
CHECK_CMD: openssl s_client -connect blog.voina.org:443 -servername blog.voina.org </dev/null 2>/dev/null | openssl x509 -noout -text | grep -E "Public Key Algorithm|Signature Algorithm"
ROUTES:
- when: "passed" -> next: "migration_plan"
3. Node "keys_secrets_audit" (parallel entry):
JOB: Audit local signing keys and API tokens, identify RSA-based keys and non-PFS secrets needing rotation, and verify signal-bot.service is healthy for sensitive communications.
INPUT: ~/scripts/, ~/.config/, and systemd user service signal-bot.service
OUTPUT: Inventory of local private/signing keys (type & size), rotation candidates, provider ECDSA/EdDSA compatibility notes, and signal-bot.service status.
DONE WELL:
- Identifies key algorithm/size without printing private key material
- Lists any RSA keys/tokens/JWT configs found in local script/config directories
- Confirms signal-bot.service active state
NEVER:
- Print or log private key contents, tokens, or secrets
- Rotate, delete, or overwrite any key or credential
ASK ME FIRST:
- Before rotating any API secret, signing key, or token
CHECK_CMD: systemctl --user is-active signal-bot.service
ROUTES:
- when: "passed" -> next: "migration_plan"
4. Node "migration_plan" (routed after audits pass):
JOB: Synthesize findings from ssh_audit, tls_audit, and keys_secrets_audit into a prioritized, ordered post-quantum migration plan in Obsidian.
INPUT: Outputs from ssh_audit, tls_audit, and keys_secrets_audit
OUTPUT: Phased rollout commands (SSH Ed25519 + PQ KEX -> TLS 1.3 ECDSA -> key & permission hardening) and rollback-safe verification steps.
DONE WELL:
- Covers all 3 audit areas with exact host/service status from the audit outputs
- Sequences SSH Ed25519 deployment and verification BEFORE disabling RSA
- Includes exact verification commands for each phase
NEVER:
- Execute any migration commands on live hosts
- Include raw private keys or secrets in the note
ASK ME FIRST:
- Before applying Phase 1 (SSH), Phase 2 (TLS), or Phase 3 (secrets)
CHECK_CMD: test -s "RSA-2048 Post-Quantum Migration Plan.md"
FINAL_CMD: python3 ~/scripts/obsidian_memory.py log "Created RSA-2048 Post-Quantum Migration Plan from fleet audit"
3. What the Audit Team Identified
All four agents completed in one pass with 100/100 checker scores and surfaced several concrete gaps we hadn’t noticed:
- Zero Ed25519 keys on the laptop:
~/.ssh/held 4 RSA keys (one 2048-bit, three 4096-bit) and 0 Ed25519 keys. - 11 of 14 hosts had no Ed25519 user key:
nas4and all 10 Raspberry Pis had 0 Ed25519 keys inauthorized_keys, and RSA authentication was still enabled across all 14 hosts (withnas1still advertising legacyssh-rsa). - Split OpenSSH PQ KEX capability:
nas1–nas4runOpenSSH_10.6p1and already supportmlkem768x25519-sha256, whereas the 10 Raspberry Pis runOpenSSH_7.4p1–7.9p1(too old for hybrid PQ KEX, so disabling RSA/DSA host & user keys is the immediate mitigation until an OS upgrade). - TLS & Certbot gaps on
nas1:blog.voina.orgalready used an ECDSA P-256 leaf and P-384 intermediates viaacme.sh, but Apache allowed both TLS 1.2 and TLS 1.3 (SSLProtocol all -SSLv2 -SSLv3), the cross-signed root path still carried an RSA signature (ISRG Root X2signed byISRG Root X1), and/etc/letsencrypt/cli.inilacked an ECDSA default. - Local token hygiene (but no RSA tokens): None of our API tokens were RSA (Home Assistant uses a symmetric
HS256JWT; Discogs, UISP, and UniFi use static bearer/API keys; Wise SCA requires RSA-2048+ by provider design and wasn’t present on disk). However, one Python script had a hardcoded Discogs token, and several local token files were0644instead of0600.
4. How agy Mitigated and Verified Everything
Once I approved executing the migration plan, agy rolled out the hardening in strict rollback-safe order—never disabling RSA until Ed25519 login was verified on every single host:
| Layer | Action Executed by agy | Verified Result |
|---|---|---|
| Local SSH | Generated ~/.ssh/id_ed25519 and updated ~/.ssh/config to prioritize Ed25519 | Ed25519 deployed & verified on 14/14 hosts |
NAS Fleet (nas1–nas4) | Added /etc/ssh/sshd_config.d/90-post-quantum.conf enforcing ssh-ed25519 host/user keys and mlkem768x25519-sha256,sntrup761x25519-sha512@openssh.com | ed25519=OK, kex=mlkem768x25519-sha256, rsa=REJECTED |
| Raspberry Pi Fleet (10 Pis) | Backed up /etc/ssh/sshd_config, set HostKey /etc/ssh/ssh_host_ed25519_key and PubkeyAcceptedKeyTypes ssh-ed25519, reloaded ssh | All 10/10 Pis: ed25519=OK, rsa=REJECTED |
Web / TLS (blog.voina.org) | Backed up Apache vhost config, enforced SSLProtocol -all +TLSv1.3, and added key-type = ecdsa + elliptic-curve = secp256r1 to /etc/letsencrypt/cli.ini | TLSv1.3 (TLS_AES_256_GCM_SHA384), TLS1.2 REJECTED, HTTP 200 |
| Secrets & Comms | Externalized the hardcoded Discogs token into a 0600 file and locked down local token/sudo files to 0600 | signal-bot.service active, all HA/UniFi/UISP/WP scripts passing |
Key Takeaway
Turning a security checklist into a structured agent-team contract—with read-only parallel audits, explicit NEVER guardrails, deterministic shell checks, and a human approval gate—made migrating 14 hosts from RSA to Ed25519, hybrid post-quantum KEX (mlkem768x25519-sha256), and TLS 1.3 fast, repeatable, and zero-downtime.