fix: bcrypt, not argon (me stupid)
This commit is contained in:
parent
cddf3455bd
commit
300413ec7c
2 changed files with 4 additions and 4 deletions
|
@ -120,7 +120,7 @@ let
|
|||
keys.ed25519 = sftpKey.path;
|
||||
|
||||
users.guest = {
|
||||
# argon-hashed 0
|
||||
# bcrypt-hashed 0
|
||||
password = "$2a$10$IcGdNtx10ycmPRD6lA4c0uNfRXTEchFRzCZEDkngTjzForn6pd0Wa";
|
||||
};
|
||||
|
||||
|
|
|
@ -135,7 +135,7 @@ in
|
|||
# username => {
|
||||
# home?: string, # defaults to /tmp/username
|
||||
# description?: string,
|
||||
# password?: string, # argon2 hashed
|
||||
# password?: string, # bcrypt hashed
|
||||
# publicKeys?: string[]
|
||||
# permisisons?: Record<string, string>, e.g,
|
||||
# }
|
||||
|
@ -143,12 +143,12 @@ in
|
|||
# name => { description?: string, path: string }
|
||||
, folders ? { }
|
||||
# username => {
|
||||
# password: string, # argon2 hashed
|
||||
# password: string, # bcrypt hashed
|
||||
# description?: string,
|
||||
# email?: string,
|
||||
# }
|
||||
, admins ? {
|
||||
# argon2 hash of password "admin"
|
||||
# bcrypt hash of password "admin"
|
||||
admin.password = "$2a$10$7QZqmQNWwfbgIwc5Jskkgea7s8dffkbwPUW30MEShpDpZWxMVrFaa";
|
||||
}
|
||||
# array of {
|
||||
|
|
Loading…
Reference in a new issue