fix(hash-password): Ensure OpenLDAP with correct module is used
This is fixed in upstream nixpkgs, but we're not yet at a commit where it's used, so it's important to use the OpenLDAP from //third_party Change-Id: I7c033cd23f45a95c4a4af864ffe561c496833a0d Reviewed-on: https://cl.tvl.fyi/c/depot/+/3143 Tested-by: BuildkiteCI Reviewed-by: sterni <sternenseemann@systemli.org>
This commit is contained in:
parent
c8dff5fc5f
commit
797212077d
1 changed files with 2 additions and 2 deletions
|
@ -1,7 +1,7 @@
|
|||
# Utility for invoking slappasswd with the correct options for
|
||||
# creating an ARGON2 password hash.
|
||||
{ pkgs, ... }:
|
||||
{ depot, pkgs, ... }:
|
||||
|
||||
pkgs.writeShellScriptBin "hash-password" ''
|
||||
${pkgs.openldap}/bin/slappasswd -o module-load=pw-argon2 -h '{ARGON2}'
|
||||
${depot.third_party.openldap}/bin/slappasswd -o module-load=pw-argon2 -h '{ARGON2}'
|
||||
''
|
||||
|
|
Loading…
Reference in a new issue