Juan Font
033136cb9a
fixed linting
2021-08-08 00:13:44 +02:00
Juan Font
05e08e0ac7
Added cmd to expire preauth keys (requested in #78 )
2021-08-08 00:10:30 +02:00
Juan Font
226cb89d97
Added func to expire PAKs
2021-08-07 23:57:52 +02:00
Juan Font Alonso
ff9d99b9ea
Use gorm connection pool
2021-07-04 21:40:46 +02:00
Juan Font Alonso
69ba750b38
Update Headscale to depend on gorm v2
2021-06-24 15:44:19 +02:00
Ward Vandewege
41f6740ddd
Add support for ephemeral nodes via a special type of pre-auth key. Add
...
tests for that feature.
Other fixes: clean up a few typos in comments. Fix a bug that caused the
tests to run four times each. Be more consistent in the use of log
rather than fmt to print errors and notices.
2021-05-22 20:18:29 -04:00
Juan Font Alonso
9ce8dc3fb6
Preload the namespace
2021-05-06 00:59:16 +02:00
Juan Font Alonso
3110dd1575
Added fields in Machine to store authkey + validation tests
2021-05-06 00:08:36 +02:00
Juan Font Alonso
486faa9656
WIP Working on authkeys + tests
2021-05-05 23:00:04 +02:00
Ward Vandewege
b34e90c45d
Fix bug in preauthkeys: namespace object was not populated in the return
...
value from CreatePreAuthKey and GetPreAuthKeys. Add tests for that bug,
and the rest of the preauthkeys functionality.
Fix path in `compress` Makefile target.
2021-05-02 14:58:05 -04:00
Ward Vandewege
f7b6c68d22
Address a bunch of golint warnings.
2021-04-24 11:26:50 -04:00
Juan Font Alonso
176eea4a84
WIP on PreAuthKeys
2021-04-23 00:25:01 +02:00