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;
|
keys.ed25519 = sftpKey.path;
|
||||||
|
|
||||||
users.guest = {
|
users.guest = {
|
||||||
# argon-hashed 0
|
# bcrypt-hashed 0
|
||||||
password = "$2a$10$IcGdNtx10ycmPRD6lA4c0uNfRXTEchFRzCZEDkngTjzForn6pd0Wa";
|
password = "$2a$10$IcGdNtx10ycmPRD6lA4c0uNfRXTEchFRzCZEDkngTjzForn6pd0Wa";
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
|
@ -135,7 +135,7 @@ in
|
||||||
# username => {
|
# username => {
|
||||||
# home?: string, # defaults to /tmp/username
|
# home?: string, # defaults to /tmp/username
|
||||||
# description?: string,
|
# description?: string,
|
||||||
# password?: string, # argon2 hashed
|
# password?: string, # bcrypt hashed
|
||||||
# publicKeys?: string[]
|
# publicKeys?: string[]
|
||||||
# permisisons?: Record<string, string>, e.g,
|
# permisisons?: Record<string, string>, e.g,
|
||||||
# }
|
# }
|
||||||
|
@ -143,12 +143,12 @@ in
|
||||||
# name => { description?: string, path: string }
|
# name => { description?: string, path: string }
|
||||||
, folders ? { }
|
, folders ? { }
|
||||||
# username => {
|
# username => {
|
||||||
# password: string, # argon2 hashed
|
# password: string, # bcrypt hashed
|
||||||
# description?: string,
|
# description?: string,
|
||||||
# email?: string,
|
# email?: string,
|
||||||
# }
|
# }
|
||||||
, admins ? {
|
, admins ? {
|
||||||
# argon2 hash of password "admin"
|
# bcrypt hash of password "admin"
|
||||||
admin.password = "$2a$10$7QZqmQNWwfbgIwc5Jskkgea7s8dffkbwPUW30MEShpDpZWxMVrFaa";
|
admin.password = "$2a$10$7QZqmQNWwfbgIwc5Jskkgea7s8dffkbwPUW30MEShpDpZWxMVrFaa";
|
||||||
}
|
}
|
||||||
# array of {
|
# array of {
|
||||||
|
|
Loading…
Reference in a new issue