headscale/hscontrol
ArcticLampyrid edf9e25001
feat: support client verify for derp (add integration tests) (#2046)
* feat: support client verify for derp

* docs: fix doc for integration test

* tests: add integration test for DERP verify endpoint

* tests: use `tailcfg.DERPMap` instead of `[]byte`

* refactor: introduce func `ContainsNodeKey`

* tests(dsic): use string builder for cmd args

* ci: fix tests order

* tests: fix derper failure

* chore: cleanup

* tests(verify-client): perfer to use `CreateHeadscaleEnv`

* refactor(verify-client): simplify error handling

* tests: fix `TestDERPVerifyEndpoint`

* refactor: make `doVerify` a seperated func

---------

Co-authored-by: 117503445 <t117503445@gmail.com>
2024-11-22 13:23:05 +01:00
..
assets update flake, fix prettier lint 2023-09-05 08:47:43 +02:00
db #2177 Added conversion of 'Hostname' to 'givenName' in a node with FQDN rules applied (#2198) 2024-10-15 18:33:03 +02:00
derp feat: derpmap field in config (#1823) 2024-10-17 05:34:20 -06:00
mapper cleanup linter warnings (#2206) 2024-10-23 10:45:59 -05:00
notifier Fix slow shutdown (#2113) 2024-09-09 14:10:22 +02:00
policy Redo OIDC configuration (#2020) 2024-10-02 14:50:17 +02:00
templates Feature tvos documentation (#2226) 2024-11-07 14:56:18 +00:00
types feat: support client verify for derp (add integration tests) (#2046) 2024-11-22 13:23:05 +01:00
util #2177 Added conversion of 'Hostname' to 'givenName' in a node with FQDN rules applied (#2198) 2024-10-15 18:33:03 +02:00
app.go feat: support client verify for derp (add integration tests) (#2046) 2024-11-22 13:23:05 +01:00
auth_noise.go metrics, tuning in tests, db cleanups, fix concurrency issue (#1895) 2024-04-21 18:28:17 +02:00
auth.go Redo OIDC configuration (#2020) 2024-10-02 14:50:17 +02:00
grpcv1_test.go rename package name to hscontrol 2023-05-10 20:47:51 +02:00
grpcv1.go Redo OIDC configuration (#2020) 2024-10-02 14:50:17 +02:00
handlers.go feat: support client verify for derp (add integration tests) (#2046) 2024-11-22 13:23:05 +01:00
metrics.go Handle /derp/latency-check (#2227) 2024-11-06 15:59:38 +01:00
noise.go cleanup linter warnings (#2206) 2024-10-23 10:45:59 -05:00
oidc.go Redo OIDC configuration (#2020) 2024-10-02 14:50:17 +02:00
platform_config.go Changed all the html into go using go-elem (#2161) 2024-10-04 11:39:24 +00:00
poll.go #2140 Fixed reflection of hostname change (#2199) 2024-10-17 09:45:33 -06:00
suite_test.go Redo OIDC configuration (#2020) 2024-10-02 14:50:17 +02:00
tailsql.go Use result of fmt.Errorf call (#1668) 2024-02-15 11:02:54 +01:00