netbird/client/cmd
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
..
down.go Revert "setting cli flags to proper commands (#860)" (#916) 2023-05-31 16:06:42 +02:00
login_test.go Rename module to netbirdio/netbird (#288) 2022-03-26 12:08:54 +01:00
login.go Update cloud management URL to https://api.netbird.io:443 (#1402) 2023-12-27 20:56:04 +01:00
root_test.go Revert preshared-key shorthand flag (#671) 2023-02-06 10:35:37 +01:00
root.go Integrate Rosenpass (#1153) 2024-01-08 12:25:35 +01:00
service_controller.go Revert "setting cli flags to proper commands (#860)" (#916) 2023-05-31 16:06:42 +02:00
service_installer.go Revert "setting cli flags to proper commands (#860)" (#916) 2023-05-31 16:06:42 +02:00
service.go Revert "setting cli flags to proper commands (#860)" (#916) 2023-05-31 16:06:42 +02:00
ssh.go fix error codes on cli 2023-06-23 16:27:10 +02:00
status_test.go Use local time zone for display last update changes (#825) 2023-04-27 16:02:00 +02:00
status.go Support status filter by names (#1387) 2023-12-14 11:18:43 +01:00
testutil.go Add metrics for PeersUpdateManager (#1310) 2023-11-16 18:21:52 +01:00
up_daemon_test.go Rename module to netbirdio/netbird (#288) 2022-03-26 12:08:54 +01:00
up.go Integrate Rosenpass (#1153) 2024-01-08 12:25:35 +01:00
version.go Add version info command to signal server (#739) 2023-03-15 07:54:51 +01:00