Fix Authelia authentication_backend config for 4.38+ format
The working authelia-setup repo uses the Authelia 4.38+ password
hashing config format with a nested argon2 block and variant key.
The previous version used the old flat format which is rejected by
Authelia 4.39.20 validation. Fix both 24.04 and 26.04 scripts.
Before (broken):
password:
algorithm: argon2id
iterations: 3
...
After (correct for 4.38+):
password:
algorithm: argon2
argon2:
variant: argon2id
iterations: 3
...
https://claude.ai/code/session_01FvqXSZyk3g7rUombwLcprZ
This commit is contained in:
@@ -4983,7 +4983,9 @@ authentication_backend:
|
|||||||
file:
|
file:
|
||||||
path: /config/users.yml
|
path: /config/users.yml
|
||||||
password:
|
password:
|
||||||
algorithm: argon2id
|
algorithm: argon2
|
||||||
|
argon2:
|
||||||
|
variant: argon2id
|
||||||
iterations: 3
|
iterations: 3
|
||||||
memory: 65536
|
memory: 65536
|
||||||
parallelism: 4
|
parallelism: 4
|
||||||
|
|||||||
@@ -4983,7 +4983,9 @@ authentication_backend:
|
|||||||
file:
|
file:
|
||||||
path: /config/users.yml
|
path: /config/users.yml
|
||||||
password:
|
password:
|
||||||
algorithm: argon2id
|
algorithm: argon2
|
||||||
|
argon2:
|
||||||
|
variant: argon2id
|
||||||
iterations: 3
|
iterations: 3
|
||||||
memory: 65536
|
memory: 65536
|
||||||
parallelism: 4
|
parallelism: 4
|
||||||
|
|||||||
Reference in New Issue
Block a user