Post Quantum WireGuard, WireGuard v2, ongoing AI discoveries, and so forth
501 points - yesterday at 9:26 PM
SourceComments
Whereas a public open SSH port has always seemed (and proved) dangerous, now more than ever.
Thanks Jason!
What is everyone else doing?
Jason does a fantastic job and wireguard is a joy to use and configure.
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.
Thanks for the great work! PSK WG FTW.
sneakernet is back baby! Love living in the cyberpunk future where crypto is cooked. (note: not a criticism of wireguard)
Yes. LWE is hard to love. But so it goes.
I didn't know there was an option without it lmao
It is also one of the reasons that makes WireGuard Client management a nightmare because of the pre-shared key.
OPNSense WireGuard plugin has involved a ton making this process less painful. I remember to install qrcode CLI tool to make it easier to add devices with camera without having to copy/paste things around haha
It is the only open door on my firewall. I have tried to exploit it to an extend but OPNSense blocked the attempt before WireGuard knew what was going on without warning while logging the action. I accepted the risk, but no VPN = No homelab access
Thanks Jason
While my attention is on this, I super appreciate any thoughts from other folks and projects on things to look at (and if something stands out to you, what that might be).
Thanks!