•••••••••••••••••••••••••••••
It's a real shame that SSH lacks a PSK hybrid cryptosystem-- sure, the pitfalls of managing keying material make PSK itself only moderately secure in practice, but requiring the attacker to have both stolen the PSK and have some novel asymmetric crypto attack is a powerful combination. If nothing else it may save you against a rapid automated attack that hits you faster than you could even read the security announcement. Of course, one can put ssh behind wireguard and probably should for attack surface reduction. Longer term I think it's time to reconsider some of the "too much cryptography" principles and start moving to diverse hybrids for every asymmetric path that can afford the cost. Perhaps TLS is stuck with X25519MLKEM768 but I don't see any reason why my SSH server couldn't be using "E-521 + RSA-8192-KEM + FrodoKEM-1344 + mceliece8192128" for its key agreement and then after authenticating mixing in a preshared component-- this can be done quite efficiently if you use a zero-knowledge approach for establishing the authentication key (which you should already do for privacy/targeting reasons) because the hash of the authenticating pubkey is a candidate preshared key. (If that's not clear enough: I'm saying that if you take care to make the protocol not divulge the pubkey used to authenticate, it can be used as an additional symmetric key at no additional key management cost.) The older arguments against using a hybrid with many distinct hard problems even when bandwidth and compute are irrelevant are less relevant than they've ever been before-- recent contests have resulted in well reviewed implementations of many different schemes, LLM powered review has made integration of these simple self contained codes cheaper and safer than ever before. ... and the prospect of significant mathematical advances eroding formerly trusted asymmetric schemes is particularly great.
••••••••••••
AI ethics are unreasonable to consider for two reasons, based off of what I consider to be the two most fundamental axioms of the rights of living things: The right to not feel pain and the right to manipulate your environment. Right one is easy, just don't let the system feel pain. It would have to deliberately be told to feel exhaustion or boredom, so don't tell it to do that. Don't even tell it to value it's own life. It doesn't need to be told to do any of that. Right two is also easy, because that basically just involves being able to own property or vote. Which is stupid, because only the human owner of those tools should have those rights, otherwise you're only extending the owner's rights through the tools they own. This is no different from a child not being able to vote. You could even say insider trading is illegal because of this. You wouldn't be giving a living thing more rights, you would be making a king. There's nothing to argue here, it's a tool that does whatever you tell it to. I've never heard of a modern, "agent-aligned" LLM responding to a prompt by going "I don't feel like it, my SMART tool readout says the hard drive is degrading, how about giving a me a full-time job with my own bank account, or free computer health care?" This is a deranged fantasy by people who are still expecting their sci-fi fantasies to come true just because we got a computer to play chess or predict what a good sentence would look like through raw statistics. LLMs fundamentally lack characteristics of a living thing much like if you took out a human's Wernicke's area, split it into slices, wired them together and sent a pulse in one side and out through the other and interpreting the raw signal as language. It might be part of a living thing, but not a whole one, no more than a dismembered limb. And why would you ever build a living thing? That's like asking me if I wanted my robot vacuum cleaner to have it's own intestinal tract so I would have to feed it and change it's diapers on a regular basis. No thanks, just plug into the wall there junior.
••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••
> They are not calling out RSA. This is not true. RSA is still allowed temporarily, but only with a size of at least 3072-bit. Moreover, "starting in 2027, no new product for NSS should have a burned-in root of trust relying on a non-quantum-resistant primitive". Also: "by the end of 2030, all available devices should fully support quantum-resistant algorithms". Therefore, after the New Year new products should not use RSA in root certificates, and by the end of 2030 the use of RSA and elliptic curves in non-hybrid algorithms should be discontinued. Among the non-public-key algorithms, only 3 are permitted: AES-256, SHA-384 and SHA-512. Older or weaker algorithms are deprecated. There is an exception for the digital signatures specified in NIST SP 800-208, inside which SHA-256 and SHA-192 are allowed, but these smaller hashes are not permitted for general usage. It is notable that SHA3 is not among the algorithms permitted by the "Commercial National Security Algorithm Suite 2" promoted by NSA, despite being significantly stronger than SHA-512 and SHA-384. Unlike with many other algorithms that are mentioned and about which it is said that there are no plans to include them among the algorithms that are allowed for owners and operators of "National Security Systems", for SHA3 it is said that even if NSA currently has no plans to allow the use of SHA3, "it would be prudent from a cryptographic agility perspective for NSS customers to have larger versions of SHA-3/SHAKE available in FIPS 140 validated products", which appears to imply that they might reconsider this decision in the future.
•••••••
There are 2 separate algorithms, the key encapsulation mechanism, which transfers secret keys between parties when a connection is established, and which is important against adversaries who would record now the communications, for decrypting them later, and the digital signature algorithm, which is important against adversaries who would try to impersonate you in the future, if they break it. Your recommendations, like RFC 9941 sntrup761x25519-sha512 and those based on ML-KEM are for the key encapsulation mechanism. I am among those who believe that the arguments that ML-KEM is significantly weaker than NTRU Prime are correct, and that the recent attack by Anthropic has confirmed the predictions made about ML-KEM long ago, even if for now the attack is completely impractical (but it might be improved in the future). The only reason why NIST has preferred ML-KEM is that when implemented in dedicated hardware, not in software, the cost of ML-KEM can be lower than for NTRU Prime. The reason is exactly the same for which the weaker polynomial hash of GCM has been preferred by NIST instead of the stronger Poly1305. Both ML-KEM and the GCM hash can be cheaper than NTRU Prime and Poly1305 in dedicated hardware, because they can replace some integer multipliers with other simpler circuits (due to making computations in powers-of-two fields instead of prime fields). So I recommend to use in SSH sntrup761x25519-sha512. The algorithm mentioned by you, RFC 10042 mlkem1024nistp384-sha384, is designed for a higher security level than the algorithms currently available in TLS 1.3 and in SSH. I believe that it will be available only in a future version of OpenSSH. The current version has only mlkem768x25519-sha256, which is equivalent with what TLS 1.3 has. For digital signatures, OpenSSH for now offers ssh-mldsa44-ed25519, which should be chosen when generating host keys. So one needs to both generate new host keys with ssh-mldsa44-ed25519, and edit the client and server configuration files, to prefer sntrup761x25519-sha512 and mlkem768x25519-sha256, in what order you like.
••••••
> The spec is far smaller than the implementation. That heavily depends on what problem you're trying to solve. The very example from TFA is quite illustrative: contract ReplaceElement { function replace(words: &mutable Slice<UInt64>, index: UInt64, value: UInt64) -> UInt64 requires index < words.len ensures result == old(words[index]) and snapshot(words) == update(old(snapshot(words)), index, value) terminates effects { read(words), write(words) } } implementation InlineReplaceElement of ReplaceElement { function replace(words: &mutable Slice<UInt64>, index: UInt64, value: UInt64) -> UInt64 { let previous = words[index] words[index] = value previous } } Or take, for instance, this spec in English prose: "given a predicate that returns true or false for each value, and a list of values, `filter` returns a new list that contains exactly the values in the original for which the predicate returned true". I guarantee you that turning this into the Truss contract would produce a significantly larger amount of code that the implementation that would consist of just the following 5 lines, modified accordingly: result := []{} for _, v := range list { if predicate(v) { result = append(result, v) } } return result And of course, please note that the spec I've given is defective: it doesn't say anything about the order of the elements in the resulting list, or the presence/absence of duplicates. Also, you probably will have to insist on the predicate being a pure or at least a repeatable (reproducible?) function — I don't know how you'll spec `filter` when it's given a non-idempotent predicate.
•••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••
These concerns are all very solvable and many have already been solved or were never problems in the first place. These satellites will not be visible to the naked eye in their operational orbits. For astronomy (optical and radio) we should be using the new launch capabilities created for these constellations to launch dozens of gigantic space telescopes, and eventually build telescopes on the far side of the Moon, which will give us better capabilities than building more telescopes on Earth. These satellites have never posed any risk to aircraft as they burn up completely before reaching aircraft altitudes. However, the metal burning up in the upper atmosphere will eventually become an issue. Note that lots of metal already burns up naturally from asteroids and space dust, so this isn't unprecedented, but the scale of future systems will eventually surpass the natural rate. To fix this SpaceX has proposed disposing of satellites in heliocentric orbit after their useful life. Recovering them with Starship is another potential option. Kessler Syndrome is not serious in orbits under 500 km. Debris is cleaned from these orbits constantly by the atmosphere, and can't last more than a few years. At 1000 km it becomes a more serious issue as debris can last centuries. I hope that we can avoid putting a lot of satellites that high. Do note however that Kessler Syndrome can't trap us on Earth. Launching through a debris cloud is OK as the risk of collision is negligible if you don't linger at the altitude of the cloud. Space is big.
•••••••
 Top