The guidance treats Google’s decision to stop accepting root and intermediate certificate authority certificates using ECDSA P-256 after March 17, 2027, as a strong signal that long-lived 256-bit curve keys may need replacing. Because SSH and PGP keys can remain in use for years, it recommends checking them soon, while stressing that this is not an immediate emergency. It supplies shell commands to scan keys held by an SSH agent and keys listed by GPG, filtering for P-256, ED25519, and Curve25519 while excluding certain post-quantum algorithms. In the author’s own check, an ED25519 SSH key appeared, while the PGP key was RSA-4096 and considered acceptable for now.
For SSH, the preferred future option is a post-quantum ML-DSA/Ed25519 key, but support was unavailable in the author’s OpenSSH version and on GitHub at the time of writing. Until services and tools support it, the recommended alternatives are P-384 or RSA-4096. The instructions show how to create a P-384 key and warn that the key-length option does not work for hardware-backed keys, so users must verify what was generated. They also note that password managers may restrict supported key types. After testing a replacement, users should store it securely, remove the private key file, and retire the old key from services, agents, and devices.
Summary generated by AI from the linked article. hn.today is not affiliated with Hacker News or Y Combinator.