about summary refs log tree commit diff
diff options
context:
space:
mode:
authorVincent Ambo <mail@tazj.in>2022-01-17T11·43+0300
committertazjin <tazjin@tvl.su>2022-01-17T13·51+0000
commit1f3aa71cf23d84ad16193d697b21d911db313d17 (patch)
tree36cabf01ddbbb9aab158441db324d93593deed9c
parenta22bd77859dad16769ae350070d9d49a3c9b4d41 (diff)
fix(ops/oauth2_proxy): Fix cookie secret length r/3616
The cookie secret in the encrypted file was too long, because the
generation command in the oauth2_proxy docs is also wrong. Should
probably fix that upstream as well.

Also noticed that an extra '2' snuck into the service name and fixed
that.

Change-Id: I9a344a75993ab1f98299a8d45e7f5b2e146b7fc5
Reviewed-on: https://cl.tvl.fyi/c/depot/+/4957
Autosubmit: tazjin <tazjin@tvl.su>
Tested-by: BuildkiteCI
Reviewed-by: sterni <sternenseemann@systemli.org>
-rw-r--r--ops/modules/oauth2_proxy.nix2
-rw-r--r--ops/secrets/oauth2_proxy.agebin742 -> 818 bytes
2 files changed, 1 insertions, 1 deletions
diff --git a/ops/modules/oauth2_proxy.nix b/ops/modules/oauth2_proxy.nix
index 612c8197d8..07ba8861e7 100644
--- a/ops/modules/oauth2_proxy.nix
+++ b/ops/modules/oauth2_proxy.nix
@@ -37,7 +37,7 @@ in {
   };
 
   config = lib.mkIf cfg.enable {
-    systemd.services.oauth2_proxy2 = {
+    systemd.services.oauth2_proxy = {
       inherit description;
       wantedBy = [ "multi-user.target" ];
 
diff --git a/ops/secrets/oauth2_proxy.age b/ops/secrets/oauth2_proxy.age
index 2d1ab486e7..baddeef1e3 100644
--- a/ops/secrets/oauth2_proxy.age
+++ b/ops/secrets/oauth2_proxy.age
Binary files differ