# How to find and upgrade SSH and PGP keys using P‑256, ED25519, and Curve25519

- HackerByte page: <https://hackerbyte.net/en/stories/a-technical-guide-on-securely-managing-and-upgrading-cryptographic-keys-using-sp-50767789>
- Original source: <https://sethmlarson.dev/how-to-find-and-upgrade-256-bit-curve-keys>
- Hacker News discussion: <https://news.ycombinator.com/item?id=50767789>
- Submitted to Hacker News: 2026-12-04T22:28:51.000Z

A technical guide on securely managing and upgrading cryptographic keys using specific algorithms.

## AI-generated summary

Google's decision to deprecate P\-256 ECDSA certificates by March 2027 suggests a potential vulnerability in 256\-bit elliptic curves, possibly due to quantum computing advancements. This article provides practical guidance for developers to identify and upgrade their SSH and PGP keys, recommending a proactive transition to more secure algorithms like P\-384 or RSA\-4096 as a temporary measure, and eventually to quantum\-safe options like ML\-DSA.

## Key points

- Google will stop accepting P\-256 ECDSA CA certificates after March 17, 2027, indicating a potential weakness in this curve.
- Developers should proactively upgrade SSH and PGP keys within the next three months.
- Commands are provided to find P\-256, ED25519, and Curve25519 keys in SSH agents and PGP.
- ML\-DSA support is still an IETF draft and not yet widely adopted by services like GitHub for SSH.
- As a stop\-gap, generating P\-384 or RSA\-4096 keys is recommended until quantum\-safe alternatives are fully supported.
