ssh-seed: one 32-byte seed derives per-server SSH keys for post-quantum migration
jedisct1 · x · 2026-12-04
- Prompted by the NSA's push to migrate US national security systems to post-quantum cryptography and Filippo Valsorda's advice to move off 256-bit elliptic curves sooner, the author reworked his SSH key setup
- Risk: one ed25519 public key on ten servers means a single signature forgery compromises all ten
- He built open-source ssh-seed: keep one 32-byte seed (head -c 32 /dev/urandom | secret set seed), derive per-server keys from the hostname
- Supported formats: ML-DSA-44+Ed25519 hybrid (default), P-384 ECDSA, RSA-4096, ML-DSA-87+P-384 hybrid — old servers can be upgraded one at a time
- Each server's authorizedkeys holds only its own derived public key, giving key isolation and smooth rotation
More from coding & agent
- PRL GitHub Repo: Programmable Trajectory Transforms for Agentic RL, With Chinese Docs — rohanpaul_ai · 2026-12-04
- Cameron Wolfe's deep dive on agentic RL: frameworks and best practices for training LLM agents — cwolferesearch · 2026-12-04
- Telling Claude "I'm going to bed" keeps coding agents from stopping and acting proactively — rudrank · 2026-12-04
- How an $8K AI project grew into $35K/month across 4 teams — aryanXmahajan · 2026-12-04
- Don't Let the Model Do Joins: Compiler-Enforced Queries to Stop Confident Wrong Numbers — dosco · 2026-12-04
- 491B tokens of agent traces released — "someone will pretrain on it by Friday" — AIFlow_ML · 2026-12-04