Commit Graph

  • 07418140a2 Remove config loading of private key path Kristoffer Dalby 2021-11-26 23:29:41 +00:00
  • c63c259d31 Switch wgkey for types/key Kristoffer Dalby 2021-11-26 23:28:06 +00:00
  • 50b47adaa3 Upgrade tailscale to 1.18 Kristoffer Dalby 2021-11-26 23:27:09 +00:00
  • b6ae60cc44 The create-node subcommand under debug needs a 64 character key. Ward Vandewege 2021-11-26 14:49:51 -05:00
  • d944aa6e79 Merge pull request #237 from cure/preauthkeys-fix-default-expiration Ward Vandewege 2021-11-26 11:09:43 -05:00
  • 06f05d6cc2 Merge branch 'main' into preauthkeys-fix-default-expiration Kristoffer Dalby 2021-11-26 15:46:00 +00:00
  • 0819c6515a Merge pull request #238 from juanfont/kradalby-patch-3 Kristoffer Dalby 2021-11-26 15:45:38 +00:00
  • c7f3e0632b When creating a preauthkey, the default expiration was passed through as a nil value, instead of the default value (1h). This resulted in the preauthkey being created with expiration key '0001-01-01 00:00:00', which meant the key would not work, because it was already expired. Ward Vandewege 2021-11-25 19:23:10 -05:00
  • 58fd6c4ba5 Revert postgres constant value Kristoffer Dalby 2021-11-26 07:13:00 +00:00
  • aab4a6043a Merge branch 'main' into kradalby-patch-2 Kristoffer Dalby 2021-11-25 08:38:59 +00:00
  • a52a4d45c0 Merge pull request #236 from restanrm/fix-derp-example-config Kristoffer Dalby 2021-11-25 08:37:45 +00:00
  • 45bc3f7a09 Merge branch 'main' into fix-derp-example-config Juan Font 2021-11-24 18:57:31 +01:00
  • 5620858549 Merge pull request #227 from kradalby/expired-issue Kristoffer Dalby 2021-11-24 17:49:33 +00:00
  • f2e273b8a2 fix(derp-example): change regionid in nodes Adrien Raffin-Caboisse 2021-11-24 15:51:24 +01:00
  • cec1e86b58 Add missing request arguemnt Kristoffer Dalby 2021-11-24 12:16:56 +00:00
  • dcbf289470 Rename idKey to machineKey to keep consistency Kristoffer Dalby 2021-11-24 12:15:55 +00:00
  • fdd64d98c8 Add missing iff to handle expired preauthkey machines Kristoffer Dalby 2021-11-24 12:15:32 +00:00
  • 9968992be0 Fix prettier Kristoffer Dalby 2021-11-24 10:47:20 +00:00
  • f50f9ac894 Merge branch 'expired-issue' of github.com:kradalby/headscale into expired-issue Kristoffer Dalby 2021-11-24 10:13:49 +00:00
  • 2eca344f0e Fix gocritic Kristoffer Dalby 2021-11-24 10:13:41 +00:00
  • 349264830b Use .1 Kristoffer Dalby 2021-11-23 11:27:44 +00:00
  • 0b5c29022b Merge branch 'main' into expired-issue Kristoffer Dalby 2021-11-22 20:13:33 +00:00
  • 1f1c45a2c0 Fix cli_test Kristoffer Dalby 2021-11-22 19:59:44 +00:00
  • 68dc2a70db Update neighbours if node is expired or refreshed Kristoffer Dalby 2021-11-22 19:51:16 +00:00
  • caf1b1cabc Fix typo Kristoffer Dalby 2021-11-22 19:35:24 +00:00
  • 021c464148 Add cache for requested expiry times Kristoffer Dalby 2021-11-22 19:32:52 +00:00
  • e600ead3e9 Make sure nodes can reauthenticate Kristoffer Dalby 2021-11-22 19:32:11 +00:00
  • 200c10e48c Add missing return in oidc.go Kristoffer Dalby 2021-11-22 17:22:47 +00:00
  • e8faff4fe2 Use uint64 straight instead of converting Kristoffer Dalby 2021-11-22 17:22:22 +00:00
  • 5cbd4513a4 Simplify register function if Kristoffer Dalby 2021-11-22 17:21:56 +00:00
  • a477c808c7 Merge pull request #230 from lion24/patch-1 Kristoffer Dalby 2021-11-22 09:47:37 +00:00
  • 74044f62f4 Remove anouther potential error leak Kristoffer Dalby 2021-11-21 21:54:19 +00:00
  • fcd4d94927 Clean up logging and error handling in oidc Kristoffer Dalby 2021-11-21 21:51:39 +00:00
  • fac33e46e1 Add long description for expire Kristoffer Dalby 2021-11-21 21:35:36 +00:00
  • b152e53b13 Use correct type for nodes command Kristoffer Dalby 2021-11-21 21:34:03 +00:00
  • 1687e3b03f Removed unused parameter Kristoffer Dalby 2021-11-21 21:29:27 +00:00
  • c2393685f1 Remove expiry update in expiry, we dont want to extend it just because they _try_ to connect Kristoffer Dalby 2021-11-21 21:14:40 +00:00
  • fd5f42c2e6 Move handle expired machine to the end of registration Kristoffer Dalby 2021-11-21 21:14:13 +00:00
  • bda2d9c3b0 Remove unused param Kristoffer Dalby 2021-11-21 14:00:48 +00:00
  • c4ecc4db91 Simplify control flow in RegistrationHandler Kristoffer Dalby 2021-11-21 13:59:24 +00:00
  • 8ccc51ae57 Remove special case for authkey Kristoffer Dalby 2021-11-21 13:45:19 +00:00
  • a2b9f3bede Add expire (logout) machine command Kristoffer Dalby 2021-11-21 13:40:44 +00:00
  • bd1d1b1a3b Implement ExpireMachine rpc Kristoffer Dalby 2021-11-21 13:40:19 +00:00
  • f1c05f8010 Add ExpireMachine spec to rpc Kristoffer Dalby 2021-11-21 13:40:04 +00:00
  • f85a77edb5 Remove println statement Kristoffer Dalby 2021-11-21 09:48:59 +00:00
  • 1c7aff5dd9 Add expired column to machine list command Kristoffer Dalby 2021-11-21 09:44:38 +00:00
  • e91f72fe4c Running.md: fix missing backslash (\) lion24 2021-11-20 23:31:49 +01:00
  • 5a2cae5081 Add new Tailscale version to integration tests Kristoffer Dalby 2021-11-19 09:16:11 +00:00
  • 6a9dd2029e Remove expiry logic, this needs to be redone Kristoffer Dalby 2021-11-19 09:02:49 +00:00
  • 9aac1fb255 Remove expiry logic, this needs to be redone Kristoffer Dalby 2021-11-19 09:02:29 +00:00
  • 106b1e7e8d Create constants for other reg methods Kristoffer Dalby 2021-11-18 17:51:54 +00:00
  • 836986aa59 Merge pull request #225 from fdelucchijr/patch-1 Kristoffer Dalby 2021-11-18 10:13:07 +00:00
  • 58d1255357 Remove unneeded returns Kristoffer Dalby 2021-11-18 08:51:33 +00:00
  • 981f712660 Remove unused param Kristoffer Dalby 2021-11-18 08:51:21 +00:00
  • 50dcb8bb75 Use valid handler for registered authkey machines Kristoffer Dalby 2021-11-18 08:50:53 +00:00
  • a8a8f01429 Make "authKey" a constant Kristoffer Dalby 2021-11-18 08:49:55 +00:00
  • 35c3fe9608 Move registration workflow into functions Kristoffer Dalby 2021-11-17 22:39:41 +00:00
  • f74b9f5fe2 Styling and prettier Fernando De Lucchi 2021-11-17 16:25:37 -05:00
  • de42fe3b04 Merge branch 'main' into patch-1 Fernando De Lucchi 2021-11-16 19:10:42 -05:00
  • 49f835d8cf Merge pull request #214 from ItalyPaleAle/docker-distroless Kristoffer Dalby 2021-11-16 07:34:08 +00:00
  • 7bc2f41b33 Run prettier 💄 ItalyPaleAle 2021-11-15 15:37:40 -08:00
  • a10388b709 Merge branch 'main' into docker-distroless Alessandro (Ale) Segala 2021-11-15 15:19:06 -08:00
  • bd7b5e97cb Merge branch 'main' into patch-1 Kristoffer Dalby 2021-11-15 23:00:45 +00:00
  • 4b525a3967 Merge pull request #223 from kradalby/golanglint Kristoffer Dalby 2021-11-15 22:36:02 +00:00
  • d6739386a0 Get rid of dynamic errors Kristoffer Dalby 2021-11-15 19:18:14 +00:00
  • 25b790d025 Add and fix forcetypeassert Kristoffer Dalby 2021-11-15 18:42:44 +00:00
  • db8be91d8b Add and fix forbidigo Kristoffer Dalby 2021-11-15 18:36:02 +00:00
  • c4d4c9c4e4 Add and fix gosec Kristoffer Dalby 2021-11-15 18:31:52 +00:00
  • 715542ac1c Add and fix stylecheck (golint replacement) Kristoffer Dalby 2021-11-15 17:24:24 +00:00
  • 0c005a6b01 Add and fix errname Kristoffer Dalby 2021-11-15 16:33:16 +00:00
  • 0c45f8d252 Add and fix errorlint Kristoffer Dalby 2021-11-15 16:26:41 +00:00
  • 2dde1242cf Fix formatting Kristoffer Dalby 2021-11-15 16:16:35 +00:00
  • 78cfba0a31 Add exceptions to var name length Kristoffer Dalby 2021-11-15 16:16:16 +00:00
  • 8ae682b412 Fix var name length in tests Kristoffer Dalby 2021-11-15 16:16:04 +00:00
  • 333be80f9c Fix rest of var name in main code Kristoffer Dalby 2021-11-15 16:15:50 +00:00
  • 2efefca737 Merge pull request #1 from ohdearaugustin/docker-workflows Alessandro (Ale) Segala 2021-11-14 13:33:13 -08:00
  • c6bc9fffe9 workflows/release: fix docker debug tags ohdearaugustin 2021-11-14 22:24:27 +01:00
  • 8454c1b52c workflows/release: add docker debug ohdearaugustin 2021-11-14 21:15:33 +01:00
  • 471c0b4993 Initial work eliminating one/two letter variables Kristoffer Dalby 2021-11-14 20:32:03 +01:00
  • 53ed749f45 Start work on making gocritic pass Kristoffer Dalby 2021-11-14 18:44:37 +01:00
  • ba084b9987 Lint fix integration tests Kristoffer Dalby 2021-11-14 18:35:49 +01:00
  • 85f28a3f4a Remove all instances of undefined numbers (gonmd) Kristoffer Dalby 2021-11-14 18:31:51 +01:00
  • 796072a5a4 Add and fix ifshort Kristoffer Dalby 2021-11-14 18:09:22 +01:00
  • 9390348a65 Add and fix goconst Kristoffer Dalby 2021-11-14 18:06:25 +01:00
  • c9c16c7fb8 Remove unused params or returns Kristoffer Dalby 2021-11-14 18:03:21 +01:00
  • 19cd7a4eac Add and fix exhaustive Kristoffer Dalby 2021-11-14 17:52:55 +01:00
  • 0315f55fcd Add and fix nilnil Kristoffer Dalby 2021-11-14 17:51:34 +01:00
  • 668e958d3e Add and fix unconvert Kristoffer Dalby 2021-11-14 17:49:54 +01:00
  • 4ace54c4e1 Move wsl, might not be feasible Kristoffer Dalby 2021-11-14 16:49:54 +01:00
  • 89eb13c6cb Add and fix nlreturn (new line return) Kristoffer Dalby 2021-11-14 16:46:09 +01:00
  • d0ef850035 Add and fix noctx linter Kristoffer Dalby 2021-11-14 16:37:43 +01:00
  • 2f8e9f272c Merge branch 'main' into docker-distroless Kristoffer Dalby 2021-11-14 14:35:44 +01:00
  • 1af4a3b958 Merge branch 'main' into patch-1 Fernando De Lucchi 2021-11-14 04:16:00 -05:00
  • 1969802c6b Fix golanglint Kristoffer Dalby 2021-11-14 08:32:58 +00:00
  • 052883aa55 Fix merge conflict Kristoffer Dalby 2021-11-14 08:30:48 +00:00
  • d2918edc14 Merge pull request #224 from cure/namespace-deletion-fixes Kristoffer Dalby 2021-11-14 09:27:58 +01:00
  • f3da299457 Format readme Kristoffer Dalby 2021-11-14 08:09:33 +00:00
  • e8726b1e22 Add readme note about codestyle Kristoffer Dalby 2021-11-14 08:08:03 +00:00
  • b897a26f42 arm64 docker image build in release process Fernando De Lucchi 2021-11-13 21:08:59 -05:00
  • 5ec7158b5d Merge branch 'main' into docker-distroless Alessandro (Ale) Segala 2021-11-13 14:16:53 -08:00