1
0
mirror of https://github.com/juanfont/headscale.git synced 2025-11-10 01:20:58 +01:00
juanfont.headscale/cmd
Kristoffer Dalby c31217b62b
types: make pre auth key use bcrypt
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>
2025-11-02 15:26:54 +01:00
..
headscale types: make pre auth key use bcrypt 2025-11-02 15:26:54 +01:00
hi policy: fix autogroup:self propagation and optimize cache invalidation (#2807) 2025-10-23 17:57:41 +02:00
mapresponses cmd/mapresponses: add mini tool to inspect mapresp state from integration 2025-09-09 09:40:00 +02:00