Contents
- Ed25519 is not a post-quantum signature algorithm
- Why a longer classic key is not enough
- Key signing and exchange address various attacks
- What to check in a real connection
- Long-term signings need their own plan
- How to proceed without hastily disabling access
- How to formulate an accurate safety conclusion
- Frequently asked questions
Ed25519 is not a post-quantum signature algorithm
Ed25519 is a signature scheme based on elliptic curves. It is not considered to be resistant against a sufficiently powerful cryptographically relevant quantum computer. However, this is not to say that every current quantum experiment can derive a usable private key from a public key. Distinguish between the mathematical type of threat, the resources required, and the attack that is actually available.
It is not necessary to know the exact date of the future breakthrough to make a migration decision. Such a date cannot be honestly guaranteed. What is more important is the length of protection required, the number of systems, and the time required to replace them. A system with several managed clients has a different migration difficulty than a long-term signature archive or a large infrastructure.
Why a longer classic key is not enough
The quantum Shor algorithm targets the mathematical problems that underlie conventional RSA and elliptic curve cryptography. So moving from Ed25519 to larger RSA is not a general post-quantum migration. It may change classical security, compatibility, and performance, but it does not eliminate the fundamental kind of quantum threat.
Security bits cannot be estimated from the length of the name or file alone. RSA 4096, Ed25519, and ML-DSA-65 refer to different constructions and parameters. When choosing, compare the intended purpose, security assumptions, supported standard, and the entire protocol. A larger export on disk does not automatically mean a more secure identity.
Key signing and exchange address various attacks
In SSH, a signing key is used to verify the identity of the server or user. The confidentiality of the session also depends on the algorithm by which the parties establish a secret for the transport. Therefore, logging in using Ed25519 does not by itself tell whether the key exchange was classical or hybrid post-quantum.
An attacker can store encrypted sessions today and try to attack their classical key exchange in the future. Because of this scenario, it is important to deploy an appropriate post-quantum KEX for the current transmission of long-term sensitive data. Changing the user signing key itself does not solve this transport problem.
Conversely, hybrid KEX does not automatically make the Ed25519 signature post-quantum. Protection against future decryption of recorded communications and protection against future active impersonation have different requirements. A single SSH secure label is insufficient for accurate inventory.
What to check in a real connection
For OpenSSH, start by listing the available KEX algorithms and diagnosing the actual login. The list of supported options is not proof that any of them were used. The effective configuration may have a different order, and the counterparty may only offer classic penetration. Check the specific connection on the correct host and port.
ssh -Q kex
ssh -vv spravce@server.exampleIn the diagnostics, look for the selected kex: algorithm, host key algorithm, and user authentication used. The dump may include username, host, and paths; clean it before sharing. It is better to record three specific results than to just provide a snapshot of the generator with a post-quantum entry.
Long-term signings need their own plan
For signed installation packages and archived documents, consider the length of time that the signature should be able to provide convincing proof of origin. The future possibility of creating forged signatures affects their long-term verification. Credible time evidence and archiving rules can be important, not just the textual date inserted by the signer themselves.
Switching to a different algorithm also involves trusted handover of the new identity, recipient support, key storage, and revocation of old authorizations. The new signing key does not automatically inherit the reputation of the original. Users need a documented relationship to the issuer and clear instructions on how to verify the new signatures.
How to proceed without hastily disabling access
First, update the inventory of implementations and their actual available capabilities. Verify support for modern key exchange and separately for signature migration capabilities. Prepare a test with a representative client, automation, and recovery approach. Mass removal of classic keys without a verified replacement can cause operational downtime without a corresponding security benefit.
For CH-J applications, read the difference between generating material and using it in a specific client. The mobile release 0.0.4 does not support all post-quantum SSH operations just because its generator offers modern keys. There must not be a false conclusion that selecting an item during generation automatically changed the algorithm of all existing connections.
How to formulate an accurate safety conclusion
- Ed25519 is not a post-quantum signature mechanism.
- The capability of a current attack is not identical to a future mathematical threat.
- KEX, host signature, and user authentication require separate control.
- The migration plan must include trust, compatibility, and recoverability.
For example, the operational documentation might state that a particular session uses hybrid KEX and classic Ed25519 authentication. Such a description is more precise and useful than a general promise of a quantum-safe application. It will also allow you to determine what is already protected and what additional layers still need to be changed separately.
Frequently asked questions
Is a larger RSA key a post-quantum replacement for Ed25519?
No. RSA is also a classically vulnerable family to a sufficiently powerful quantum attack.
Does hybrid KEX mean a post-quantum signature?
No. It's a different layer of SSH.
Do I need to delete all Ed25519 keys immediately?
Perform migration based on risk and realistic support. First, prepare and verify a functional replacement and recovery.
Detailed documentation
OpenSSH: quantum threat and session protection →