Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Preauthkeys improvements #20

Merged
merged 1 commit into from
May 3, 2021
Merged

Conversation

cure
Copy link
Contributor

@cure cure commented May 2, 2021

This fixes a bug in preauthkeys and adds tests. The tests use sqlite3.

@cure cure force-pushed the preauthkeys_improvements branch from df37c8c to 8612ed2 Compare May 2, 2021 18:55
@cure cure requested a review from juanfont May 2, 2021 18:56
value from CreatePreAuthKey and GetPreAuthKeys. Add tests for that bug,
and the rest of the preauthkeys functionality.

Fix path in `compress` Makefile target.
@cure cure force-pushed the preauthkeys_improvements branch from 8612ed2 to b34e90c Compare May 2, 2021 18:58
@juanfont
Copy link
Owner

juanfont commented May 3, 2021

This looks awesome. My only concern is how we can handle the postgres.Jsonb type https://github.com/juanfont/headscale/blob/main/machine.go#L32

I am merging it anyway, as supporting sqlite is definitely a good idea...

@juanfont juanfont merged commit 03bb320 into juanfont:main May 3, 2021
@cure cure deleted the preauthkeys_improvements branch October 3, 2021 17:53
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants