Commit graph

  • 2e2fb68715 Remove unreleased Kristoffer Dalby 2021-11-29 17:32:05 +00:00
  • 6fc6355d66 Add initial CHANGELOG Kristoffer Dalby 2021-11-29 17:31:19 +00:00
  • 48fc93bbdc Add simple overview README for docs Michael Ko. Gajda 2021-11-29 14:36:47 +01:00
  • 3e941ef959 Enable marking releases as prerelease Juan Font 2021-11-28 22:00:22 +00:00
  • 1dc008133c
    Merge pull request #229 from juanfont/kradalby-patch-2 Kristoffer Dalby 2021-11-28 21:46:37 +00:00
  • 2d2ae62176 Merge branch 'kradalby-patch-2' of github.com:juanfont/headscale into kradalby-patch-2 Kristoffer Dalby 2021-11-28 11:00:43 +00:00
  • 8e9a94613c Remove outdate integration test private key Kristoffer Dalby 2021-11-28 11:00:22 +00:00
  • 8932133ae7
    Merge branch 'main' into kradalby-patch-2 Kristoffer Dalby 2021-11-28 09:28:32 +00:00
  • 5b8587037d Remove non-existing field from oidc test Kristoffer Dalby 2021-11-28 09:25:27 +00:00
  • e167be6d64 Remove generate private key step from docs Kristoffer Dalby 2021-11-28 09:18:24 +00:00
  • 34f4109fbd Add back privatekey, but automatically generate it if it does not exist Kristoffer Dalby 2021-11-28 09:17:18 +00:00
  • fa813bc0d7
    Merge pull request #239 from cure/debug-make-sure-machine-key-is-correct-length Kristoffer Dalby 2021-11-28 08:38:54 +00:00
  • 32006f3a20 Use go 1.17 Kristoffer Dalby 2021-11-28 08:26:36 +00:00
  • ff8c961dbb Make sure comparison of nodekey is on the same format Kristoffer Dalby 2021-11-28 08:23:45 +00:00
  • e9d5214d1c Disable tests which is broken due to split version Kristoffer Dalby 2021-11-27 21:04:19 +00:00
  • 6295b0bd84 Go mod tidy Kristoffer Dalby 2021-11-27 20:34:46 +00:00
  • 550f4016dc Merge branch 'kradalby-patch-2' of github.com:juanfont/headscale into kradalby-patch-2 Kristoffer Dalby 2021-11-27 20:32:08 +00:00
  • 2ae882d801 Update go version Kristoffer Dalby 2021-11-27 20:31:33 +00:00
  • ef81845deb
    Merge branch 'main' into kradalby-patch-2 Kristoffer Dalby 2021-11-27 20:30:27 +00:00
  • d96b681c83 Fix node cli integration test Kristoffer Dalby 2021-11-27 20:25:37 +00:00
  • 59aeaa8476 Ensure we always have the key prefix when needed Kristoffer Dalby 2021-11-27 20:25:12 +00:00
  • cb2ea300ad Fix linter errors. Ward Vandewege 2021-11-27 13:59:39 -05:00
  • c38f00fab8 Unmarshal keys in the non-deprecated way Kristoffer Dalby 2021-11-26 23:50:42 +00:00
  • 0012c76170 Make it easier to run cli integration tests Kristoffer Dalby 2021-11-26 23:34:11 +00:00
  • cfd53bc4aa Factor wgkey to types/key Kristoffer Dalby 2021-11-26 23:30:42 +00:00
  • 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