From 1f3aa71cf23d84ad16193d697b21d911db313d17 Mon Sep 17 00:00:00 2001 From: Vincent Ambo Date: Mon, 17 Jan 2022 14:43:06 +0300 Subject: fix(ops/oauth2_proxy): Fix cookie secret length 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 Tested-by: BuildkiteCI Reviewed-by: sterni --- ops/modules/oauth2_proxy.nix | 2 +- ops/secrets/oauth2_proxy.age | Bin 742 -> 818 bytes 2 files changed, 1 insertion(+), 1 deletion(-) diff --git a/ops/modules/oauth2_proxy.nix b/ops/modules/oauth2_proxy.nix index 612c8197d889..07ba8861e745 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 2d1ab486e7c1..baddeef1e369 100644 Binary files a/ops/secrets/oauth2_proxy.age and b/ops/secrets/oauth2_proxy.age differ -- cgit 1.4.1