netbird/management/server
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
..
http chore: adjust system info discovery methods 2021-08-27 11:45:46 +02:00
testdata Turn credentials generation (#102) 2021-09-02 14:41:54 +02:00
account_test.go Add peer meta data (#95) 2021-08-24 11:50:19 +02:00
account.go Extend peer http endpoint (#94) 2021-08-23 21:43:05 +02:00
config.go Turn credentials generation (#102) 2021-09-02 14:41:54 +02:00
file_store.go Extend peer http endpoint (#94) 2021-08-23 21:43:05 +02:00
grpcserver.go Turn credentials generation (#102) 2021-09-02 14:41:54 +02:00
management_suite_test.go Move management server to a separate directory (#67) 2021-07-24 16:14:29 +02:00
management_test.go Turn credentials generation (#102) 2021-09-02 14:41:54 +02:00
network.go Peer configuration management (#69) 2021-07-30 17:46:38 +02:00
peer.go Add peer meta data (#95) 2021-08-24 11:50:19 +02:00
setupkey_test.go feature: add update setup key endpoint 2021-08-20 22:33:43 +02:00
setupkey.go fix: minor HTTP bugs 2021-08-25 14:16:17 +02:00
store.go Extend peer http endpoint (#94) 2021-08-23 21:43:05 +02:00
turncredentials_test.go Turn credentials generation (#102) 2021-09-02 14:41:54 +02:00
turncredentials.go Turn credentials generation (#102) 2021-09-02 14:41:54 +02:00
updatechannel_test.go abstract peer channel (#101) 2021-08-29 17:48:31 +02:00
updatechannel.go abstract peer channel (#101) 2021-08-29 17:48:31 +02:00