netbird/client/cmd
Mikhail Bragin b17424d630
Turn credentials generation (#102)
* abstract peer channel

* remove wip code

* refactor NewServer with Peer updates channel

* feature: add TURN credentials manager

* hmac logic

* example test function

* test: add TimeBasedAuthSecretsManager_GenerateCredentials  test

* test: make tests for now with hardcoded secret

* test: add TimeBasedAuthSecretsManager_SetupRefresh test

* test: add TimeBasedAuthSecretsManager_SetupRefresh test

* test: add TimeBasedAuthSecretsManager_CancelRefresh test

* feature: extract TURNConfig to the management config

* feature: return hash based TURN credentials only on initial sync

* feature: make TURN time based secret credentials optional

Co-authored-by: mlsmaycon <mlsmaycon@gmail.com>
2021-09-02 14:41:54 +02:00
..
login_test.go fix: login test 2021-08-19 21:17:39 +02:00
login.go add wiretrustee LOGIN command (#90) 2021-08-18 13:35:42 +02:00
root.go add wiretrustee LOGIN command (#90) 2021-08-18 13:35:42 +02:00
service_controller.go add wiretrustee LOGIN command (#90) 2021-08-18 13:35:42 +02:00
service_installer.go Peer management login (#83) 2021-08-15 16:56:26 +02:00
service.go add wiretrustee LOGIN command (#90) 2021-08-18 13:35:42 +02:00
testutil.go Turn credentials generation (#102) 2021-09-02 14:41:54 +02:00
up_test.go test: increase client interface up timout 2021-08-20 15:55:28 +02:00
up.go add wiretrustee LOGIN command (#90) 2021-08-18 13:35:42 +02:00