Rosenpass – formally verified post-quantum WireGuard
41–50 of 86 posts
Re: Rosenpass – formally verified post-quantum WireGuard
#42Why not just use PresharedKey in Wireguard?
Using a PSK alone doesn't make WireGuard quantum-safe. The security of the key exchange mechanism in WireGuard, which relies on the Diffie-Hellman protocol, is still vulnerable to quantum attacks. If an attacker were to obtain the PSK and use a quantum computer to break the Diffie-Hellman key exchange, they would be able to decrypt the VPN traffic. This is currently the thought-process and main reason behind why PQWG…
Not sure what you're trying to say here. If you share the PSK out-of-band, securely, then wireguard is quantum resistant (I wouldn't say quantum-safe, because I'm not that optimistic).
> If an attacker were to obtain the PSK
Indeed if the attacker obtains the PSK then obviously the PSK isn't going to help you.
Re: Rosenpass – formally verified post-quantum WireGuard
#43Why not just use PresharedKey in Wireguard?
Re: Rosenpass – formally verified post-quantum WireGuard
#44I have not been following this closely but I thought most all of the quantum safe algorithms that had been proposed so far had been found lacking for traditional attacks very soon after they where held up as a standard contender. Has this changed?
https://en.wikipedia.org/wiki/NIST_Post-Quantum_Cryptography...
Re: Rosenpass – formally verified post-quantum WireGuard
#45Does formal verification protect against buffer overflows? (it's a serious question)
Re: Rosenpass – formally verified post-quantum WireGuard
#46Earlier quoted context omitted.
Certainly. What I don't believe is certain is that only one such vulnerability has ever existed and none exist in Rust today. It's not pedantic to differentiate between mitigating a thing and preventing a thing.
You can add `#![forbid(unsafe_code)]` to your codebase to avoid any unsafe Rust, which should prevent buffer overflows. Obviously it may make writing a codebase somewhat harder.
Re: Rosenpass – formally verified post-quantum WireGuard
#47Earlier quoted context omitted.
> No, symbolic verification does not protect from buffer overflows. Writing the implementation in Rust does I don't believe writing the implementation in Rust does that: https://blog.rust-lang.org/2018/09/21/Security-advisory-for-...
One would think that this would be fixed in the last five years?
Re: Rosenpass – formally verified post-quantum WireGuard
#48I have not been following this closely but I thought most all of the quantum safe algorithms that had been proposed so far had been found lacking for traditional attacks very soon after they where held up as a standard contender. Has this changed?
Re: Rosenpass – formally verified post-quantum WireGuard
#49Earlier quoted context omitted.
You can add `#![forbid(unsafe_code)]` to your codebase to avoid any unsafe Rust, which should prevent buffer overflows. Obviously it may make writing a codebase somewhat harder.
Will that restriction also be applied transitively to all dependencies?
Re: Rosenpass – formally verified post-quantum WireGuard
#50Earlier quoted context omitted.
Using a PSK alone doesn't make WireGuard quantum-safe. The security of the key exchange mechanism in WireGuard, which relies on the Diffie-Hellman protocol, is still vulnerable to quantum attacks. If an attacker were to obtain the PSK and use a quantum computer to break the Diffie-Hellman key exchange, they would be able to decrypt the VPN traffic. This is currently the thought-process and main reason behind why PQWG…
Wireguard explicitly mentions that mixing in a PSK provides post-quantum security [1]. 1: https://www.wireguard.com/protocol/