Expand description
User management: creation, deletion, login, metadata. This tries to lock the user during write operations so it won’t end up in inconsistent states, etc. but that doesn’t currently seem to work reliably.
Modules§
Structs§
Constants§
Functions§
- ensure_
base_ 🔒layout - get_
all_ user_ ids - get_
user_ 🔒id_ by_ name - get_
user_ 🔒kek_ params_ by_ id - get_
user_ 🔒password_ by_ id - get_
user_ 🔒picture_ by_ id - get_
user_ 🔒pubkey_ by_ id - get_
user_ 🔒wrapped_ dek_ by_ id - lock_
by_ id - lock_
by_ name - next_
user_ 🔒id - Returns the next available user ID, guaranteed to be monotonically increasing and never reused. Uses a persistent file to store the last allocated user ID.
- read_
json_ 🔒map - write_
json_ 🔒map