about summary refs log tree commit diff
path: root/ops/nixos/tvl-slapd
diff options
context:
space:
mode:
authorVincent Ambo <mail@tazj.in>2020-07-01T18·28+0100
committertazjin <mail@tazj.in>2020-07-01T19·10+0000
commita1556d71e6cc1f49a4f7e78c058f69daad02fcc0 (patch)
treed2216a8ec04d085b6e2dc1f0b5996e215e0ab4ad /ops/nixos/tvl-slapd
parent5b4ff0c39367c3602254a5b0be0253aff9b36321 (diff)
chore(tvl-slapd): Rotate my LDAP passwords and use ARGON2 hashes r/1150
Change-Id: Id1a60121e4254e7ccff77ac17fd39d0955aedc8f
Reviewed-on: https://cl.tvl.fyi/c/depot/+/832
Reviewed-by: BuildkiteCI
Reviewed-by: tazjin <mail@tazj.in>
Reviewed-by: isomer <isomer@tvl.fyi>
Tested-by: BuildkiteCI
Diffstat (limited to 'ops/nixos/tvl-slapd')
-rw-r--r--ops/nixos/tvl-slapd/default.nix4
1 files changed, 2 insertions, 2 deletions
diff --git a/ops/nixos/tvl-slapd/default.nix b/ops/nixos/tvl-slapd/default.nix
index 2c0f2fd5a15e..b469eaf8cd96 100644
--- a/ops/nixos/tvl-slapd/default.nix
+++ b/ops/nixos/tvl-slapd/default.nix
@@ -94,7 +94,7 @@ let
     {
       username = "tazjin";
       email = "mail@tazj.in";
-      password = "{SSHA}67H341jRfAFBDz/R9+T3fHQiPfjwTbpQ";
+      password = "{ARGON2}$argon2id$v=19$m=65536,t=2,p=1$wOPEl9D3kSke//oLtbvqrg$j0npwwXgaXQ/emefKUwL59tH8hdmtzbgH2rQzWSmE2Y";
     }
   ];
 in {
@@ -114,7 +114,7 @@ in {
     dataDir = "/var/lib/openldap";
     suffix = "dc=tvl,dc=fyi";
     rootdn = "cn=admin,dc=tvl,dc=fyi";
-    rootpw = "{SSHA}yEEO6Ol2W3ritdiJzPSsjOtyPGxWF2JW";
+    rootpw = "{ARGON2}$argon2id$v=19$m=65536,t=2,p=1$OfcgkOQ96VQ3aJj7NfA9vQ$oS6HQOkYl/bUYg4SejpltQYy7kvqx/RUxvoR4zo1vXU";
 
     # ACL configuration
     extraDatabaseConfig = ''