netbird/client/internal
pascal-fischer 5de4acf2fe
Integrate Rosenpass (#1153)
This PR aims to integrate Rosenpass with NetBird. It adds a manager for Rosenpass that starts a Rosenpass server and handles the managed peers. It uses the cunicu/go-rosenpass implementation. Rosenpass will then negotiate a pre-shared key every 2 minutes and apply it to the wireguard connection.

The Feature can be enabled by setting a flag during the netbird up --enable-rosenpass command.

If two peers are both support and have the Rosenpass feature enabled they will create a post-quantum secure connection. If one of the peers or both don't have this feature enabled or are running an older version that does not have this feature yet, the NetBird client will fall back to a plain Wireguard connection without pre-shared keys for those connections (keeping Rosenpass negotiation for the rest).

Additionally, this PR includes an update of all Github Actions workflows to use go version 1.21.0 as this is a requirement for the integration.

---------

Co-authored-by: braginini <bangvalo@gmail.com>
Co-authored-by: Maycon Santos <mlsmaycon@gmail.com>
2024-01-08 12:25:35 +01:00
..
acl Fix/acl for forward (#1305) 2023-12-08 10:48:21 +01:00
auth Add gocritic linter (#1324) 2023-11-27 16:40:02 +01:00
dns Netstack (#1403) 2024-01-03 16:06:20 +01:00
ebpf Add gocritic linter (#1324) 2023-11-27 16:40:02 +01:00
listener Feature/add iOS support (#1244) 2023-12-18 11:46:58 +01:00
peer Integrate Rosenpass (#1153) 2024-01-08 12:25:35 +01:00
rosenpass Integrate Rosenpass (#1153) 2024-01-08 12:25:35 +01:00
routemanager Netstack (#1403) 2024-01-03 16:06:20 +01:00
stdnet Update pion v3 (#1398) 2023-12-20 23:02:42 +01:00
templates Add html screen for pkce flow (#1034) 2023-07-28 18:10:12 +02:00
wgproxy Set not found ebpf log to Info (#1134) 2023-09-08 18:24:19 +02:00
config_test.go Update cloud management URL to https://api.netbird.io:443 (#1402) 2023-12-27 20:56:04 +01:00
config.go Integrate Rosenpass (#1153) 2024-01-08 12:25:35 +01:00
connect.go Integrate Rosenpass (#1153) 2024-01-08 12:25:35 +01:00
device_auth.go Add PKCE authorization flow (#1012) 2023-07-27 11:31:07 +02:00
engine_stdnet_android.go Add route management for Android interface (#801) 2023-04-17 11:15:37 +02:00
engine_stdnet.go Bind implementation (#779) 2023-04-13 17:00:01 +02:00
engine_test.go Netstack (#1403) 2024-01-03 16:06:20 +01:00
engine.go Integrate Rosenpass (#1153) 2024-01-08 12:25:35 +01:00
login.go Mobile (#735) 2023-03-17 10:37:27 +01:00
mobile_dependency.go Netstack (#1403) 2024-01-03 16:06:20 +01:00
pkce_auth.go Add jumpcloud IdP (#1124) 2023-10-03 19:33:42 +02:00
state.go Client Login via device authorization flow (#309) 2022-05-12 11:17:24 +02:00