Live data from Hacker News

Rosenpass – formally verified post-quantum WireGuard

github.com

11–20 of 86 posts

Re: Rosenpass – formally verified post-quantum WireGuard

#12
post #2

I'm too stupid to understand the crypto technicalities. Is this really a good solution? Or embrace, extend, extinguish targeted on Wireguard? The paper abstract mentions a "cookie"-like concept, and from websec I know that cookies are not always the optimal solution and historically cookie implementations had a lot of attack surface. EDIT: Seems to come from German Max-Planck Institute which is funded by German gover…

> EDIT: Seems to come from German Max-Planck Institute which is funded by German government.

On the Github repo it says:

"Supported by

Funded through NLNet with financial support for the European Commission's NGI Assure program."

On the website it says:

"Funded through NLnet with financial support from the European Commission's NGI Assure program."

Re: Rosenpass – formally verified post-quantum WireGuard

#13
post #6

Does formal verification protect against buffer overflows? (it's a serious question)

They verified the protocol, not the actual implementation: https://github.com/rosenpass/rosenpass#security-analysis

This is still a pretty neat result! End-to-end proofs from high level protocol to low level implementation are mostly still a research topic.

Re: Rosenpass – formally verified post-quantum WireGuard

#14

Why not just use PresharedKey in Wireguard?

That's what they're doing, generating a key using post-quantum crypto and using it as the PSK - from TFA: "The tool establishes a symmetric key and provides it to WireGuard. Since it supplies WireGuard with key through the PSK feature using Rosenpass+WireGuard is cryptographically no less secure than using WireGuard on its own ("hybrid security"). Rosenpass refreshes the symmetric key every two minutes."

Re: Rosenpass – formally verified post-quantum WireGuard

#15
post #6

Does formal verification protect against buffer overflows? (it's a serious question)

The code signing project I worked on was formally verified. The whole time they were verifying it I found horrible bugs that needed fixing. One even made it past soft launch. So great job boys but this doesn’t help me.

Re: Rosenpass – formally verified post-quantum WireGuard

#16
post #13
post #6

Does formal verification protect against buffer overflows? (it's a serious question)

They verified the protocol, not the actual implementation: https://github.com/rosenpass/rosenpass#security-analysis This is still a pretty neat result! End-to-end proofs from high level protocol to low level implementation are mostly still a research topic.

Related: Coq - https://coq.inria.fr/

And CompCert, a formally verified C compiler written in Coq: https://compcert.org/

(even then, there are parts which are not formally verified, mostly at the interfaces with the outside world)

Re: Rosenpass – formally verified post-quantum WireGuard

#17
post #15
post #6

Does formal verification protect against buffer overflows? (it's a serious question)

The code signing project I worked on was formally verified. The whole time they were verifying it I found horrible bugs that needed fixing. One even made it past soft launch. So great job boys but this doesn’t help me.

What is a bug in the spec? Or in a part that was not formally verified?

Re: Rosenpass – formally verified post-quantum WireGuard

#19
post #12
post #2

I'm too stupid to understand the crypto technicalities. Is this really a good solution? Or embrace, extend, extinguish targeted on Wireguard? The paper abstract mentions a "cookie"-like concept, and from websec I know that cookies are not always the optimal solution and historically cookie implementations had a lot of attack surface. EDIT: Seems to come from German Max-Planck Institute which is funded by German gover…

> EDIT: Seems to come from German Max-Planck Institute which is funded by German government. On the Github repo it says: "Supported by Funded through NLNet with financial support for the European Commission's NGI Assure program." On the website it says: "Funded through NLnet with financial support from the European Commission's NGI Assure program."

On the paper it says MPI
Post reply on HN