mirror of
https://github.com/juanfont/headscale.git
synced 2025-11-10 01:20:58 +01:00
this commit changes the underlying implementation of pre auth keys to the same as our API keys. This means that instead of having a key in the database, it will consist of a prefix and a bcrypt hash. This improves the security of the keys as they can not be read back in the case of a database getting away. Old keys still work, but all new keys are created in the new format. All keys are prefixed with "hskey-auth" to indicate their purpose. Signed-off-by: Kristoffer Dalby <kristoffer@tailscale.com> |
||
|---|---|---|
| .. | ||
| sqliteconfig | ||
| testdata | ||
| api_key_test.go | ||
| api_key.go | ||
| db_test.go | ||
| db.go | ||
| ephemeral_garbage_collector_test.go | ||
| ip_test.go | ||
| ip.go | ||
| node_test.go | ||
| node.go | ||
| policy.go | ||
| preauth_keys_test.go | ||
| preauth_keys.go | ||
| schema.sql | ||
| suite_test.go | ||
| text_serialiser.go | ||
| users_test.go | ||
| users.go | ||