The SSH key GitHub's docs tell you to generate is Ed25519. The key your YubiKey makes with ssh-keygen -t ecdsa-sk is P-256. The NSA advisory published December 1 flags both as algorithms to inventory and move off. In September, GitHub's own changelog said Ed25519 and ECDSA keys "will continue to work for the indefinite future". That sentence aged quickly.
So is Ed25519 or P-256 broken? Nobody has published a break for either. What we have is an NSA advisory, a rumor relayed by Bruce Schneier, and Google scheduling P-256 out of Chrome's CA trust. Here's how to check your GitHub SSH key, and the two changes I'd make this week: post-quantum key exchange and a new P-384 or RSA key.
What happened, and what didn't
The NSA advisory tells system owners to inventory anything not approved under CNSA 2.0 or CNSA 1.0. Its examples include "elliptic curves other than P-384 or P-521 for ECDH or ECDSA" and "EdDSA". The NSA press release that came with it says "Frontier SI companies have engaged with the U.S.…