Remix.run Logo
▲ cvhc 4 hours ago

If I'm correct, Ed448 is not approved in CNSA. mldsa44-ed25519 gives the shortest key (though still longer than even RSA8192) and probably fastest among hybrid options, while mldsa87-p384 is the strongest + NSA approved.

▲adrian_b 4 hours ago | parent | next [-]

While the latest OpenSSH version supports quantum-resistant algorithms, they are not strong enough to be approved by NSA.

The next version of OpenSSH is likely to include the algorithms made mandatory by CNSA 2.0 for all systems that are classified as "National Security Systems", and which are also recommended by NSA elsewhere.

These algorithms are "mlkem1024nistp384-sha384" (RFC 10042) for key exchange and "ssh-mldsa87-p384" for host keys and client keys (draft RFC).

While Ed448 is not among the recommendations of NSA, there is no doubt that it is more secure than P-384, and also faster, so the hybrid algorithms with ML-KEM-1024 and ML-DSA-87 where the curve NIST P-384 is replaced by Ed448 are certainly preferable.

Such combinations are defined and they might become available in some TLS 1.3 and IPsec implementations, but it is unlikely that OpenSSH will include them, because it has never included support for Ed448.

▲athrowaway3z 4 hours ago | parent | prev [-]

The NSA refusing to approve it is a damn good endorsement.

▲sam1714 20 minutes ago | parent | next [-]

The current situation is ideal for them: They come out with CNSA which is a requirement for classified information. The Internet treats anything out of the NSA with suspicion, and they do the opposite with their own algorithms.

They can stratify the system into strong and weak with reverse psychology.

▲cowlevel 16 minutes ago | parent [-]

Not the opposite, but the same with other parameters and based on prior experience. So instead of switching to MLKEM or now P384+MLKEM, we can do ED448+MLKEM.

▲sam1714 8 minutes ago | parent [-]

Plenty of opposite. Prime example, WireGuard: Chacha20-Poly1305, Curve25519, BLAKE2s.

▲brookst 4 hours ago | parent | prev | next [-]

Or a signal of a problem. You can read that one either way.

▲adrian_b 4 hours ago | parent | next [-]

In their recommendations for the "Commercial National Security Algorithm (CNSA) Suite 2.0", NSA says about many algorithms that there are no plans to approve their usage.

Nonetheless, there is an obvious difference in tone when mentioning algorithms that must be avoided, i.e. any elliptic curves with sizes below 384 bits or RSA with sizes below 3072 bits, and algorithms in which NSA appears to be not interested, at least for now, without providing any opinion about whether they are good or bad. A big enough elliptic curve like Ed448 belongs to the latter class.

Another poster has made a comment that I believe to be correct, i.e. that NSA has attempted to minimize the number of algorithms that are included in CNSA 2.0 to the minimum possible, because they are interested to have all of them implemented in some custom hardware, where, unlike in software, every additional option increases significantly the cost.

▲bigfatkitten an hour ago | parent | next [-]

Or more likely, even NSA has finite resources, and properly evaluating each cryptographic primitive requires enormous resources.

▲bonzini 2 hours ago | parent | prev [-]

Even RSA2048 is allowed if you really have to, while P256 is downright to be avoided.

▲athrowaway3z 4 hours ago | parent | prev [-]

This cuts both ways.

The actions of the NSA sit in a super position of good-faith and bad-faith interpretations.

Therefor we must also interpret its silence and apathy towards Ed448 somewhere between unremarkable and the strongest possible endorsement.

▲bigfatkitten an hour ago | parent | prev | next [-]

NSA refusing to approve it to protect U.S. Government classified information is a good endorsement?

▲cowlevel 14 minutes ago | parent [-]

Yes. The NSA prefers algorithms with backdoors. Of course it also won't approve weak algorithms, so this isn't the sole criteria for a good endorsement.

▲baq 3 hours ago | parent | prev [-]

NSA-approved is what US government must use. Make of that what you will.

▲leonidasrup 3 hours ago | parent | next [-]

For important US government comunications only NSA Suite A Cryptography is used. Suite A was never published and will not be published.

https://en.wikipedia.org/wiki/NSA_Suite_A_Cryptography

▲bigfatkitten an hour ago | parent [-]

There are many situations where it cannot be used, e.g. in mobile devices, or devices in high risk locations.

▲leonidasrup an hour ago | parent [-]

U.S. government goes to a great length to protect the secrecy of NSA Suite A Cryptography. For example when space shuttle Columbia was lost:

" A piece of debris classified "top secret" is somewhere among the thousands of shards of the space shuttle Columbia spread across Texas.

The communications device handles encrypted messages between the shuttle and the ground. According to its serial number, it is in a class of equipment labeled "TSEC" -- telecommunications security -- that must be handled with strict chain-of-command documentation.

Experts differed on the importance to national security of recovering the device, which was "keyed," or prepared for use with mathematical algorithms. "

http://www.globalsecurity.org/org/news/2003/030206-comsec-sh...

▲bigfatkitten a minute ago | parent [-]

I’m not sure what point you’re trying to make here, but the situation is this.

There are cases where Suite A or Type 1 is appropriate, and there are times where it is not. That partly depends on risk, and also whether a suitable product exists. There is a process that is used to decide what will be used in what circumstances.

▲cowlevel 3 hours ago | parent | prev [-]

That doesn't say much. The NSA definitely spies on the government.