Re:WireGuard Gives Linux a Faster, More Secure VPN
by aeyes on Monday March 02, 2020 @11:41AM
(#22465977)
Are there any official plans for 2FA in Wireguard?
[ Parent
| on HN ]
Re:WireGuard Gives Linux a Faster, More Secure VPN
by tptacek on Monday March 02, 2020 @12:23PM
(#22466469)
My understanding is that the plan for WireGuard is to nail the engine and present a clean interface to system integrators, who will build their own authentication systems on top of it. The most sensible way to do MFA for WireGuard is probably though an IdP.
Re:WireGuard Gives Linux a Faster, More Secure VPN
by qzio on Tuesday March 03, 2020 @04:19AM
(#22473021)
While we wait for something proper, you can always "patch" it on top of the connection like a quick PoC I made: https://github.com/qzio/w2fau2f
Also, see: https://lists.zx2c4.com/pipermail/wireguard/2017-September/0...
Re:WireGuard Gives Linux a Faster, More Secure VPN
by jasonjayr on Monday March 02, 2020 @02:14PM
(#22467722)
I think at this time, the only option you'd have is a captive portal for the 2FA, and then unfirewall the in-VPN IP. WG has no provision for "connection state", only "handshake happened X seconds ago". If there's no traffic, there's no handshake.
Re:WireGuard Gives Linux a Faster, More Secure VPN
by slim on Monday March 02, 2020 @11:46AM
(#22466030)
there is no authentication that would need a second factor in wireguard. in wireguard you authenticate the host, not a user
Re:WireGuard Gives Linux a Faster, More Secure VPN
by slim on Monday March 02, 2020 @11:53AM
(#22466121)
actually there is no athentication in wireguard. only identification
Re:WireGuard Gives Linux a Faster, More Secure VPN
by megous on Monday March 02, 2020 @12:46PM
(#22466739)
Each node has a list of public keys of nodes that it authorizes to communicate with it. Those nodes authenticate (provide proof of their identity) themselves via the exclusive ownership of their private keys.
So I don't see yout point.
Re:WireGuard Gives Linux a Faster, More Secure VPN
by zhte415 on Monday March 02, 2020 @02:32PM
(#22467934)
What would the point of 2FA be? Interested as a use-case I don't quite follow.
Re:WireGuard Gives Linux a Faster, More Secure VPN
by rcxdude on Monday March 02, 2020 @02:41PM
(#22468046)
If you are using a VPN to access a sensitive network (home or office), you want to make it harder for an attacker to steal keys or passwords to the network (especially since any roaming devices are more vulnerable to evil maid attacks). 2FA through a token or phone apps means they now need to compromise two devices instead of one.