Skip to content
This repository was archived by the owner on Apr 21, 2025. It is now read-only.

Commit 302d627

Browse files
committed
don’t use a year of expiration time
1 parent aacc5f1 commit 302d627

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

services/renovate/default.nix

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@
5252
pem="$(${lib.getExe' pkgs.systemd "systemd-creds"} cat 'SECRET-GITHUB_PEM')"
5353
now=$(${lib.getExe' pkgs.coreutils "date"} +%s)
5454
iat=$((''${now} - 60)) # Issues 60 seconds in the past
55-
exp=$((''${now} + 31536000)) # Expires 10 minutes in the future
55+
exp=$((''${now} + 600)) # Expires 10 minutes in the future
5656
b64enc() { ${lib.getExe pkgs.openssl} base64 | ${lib.getExe' pkgs.coreutils "tr"} -d '=' | ${lib.getExe' pkgs.coreutils "tr"} '/+' '_-' | ${lib.getExe' pkgs.coreutils "tr"} -d '\n'; }
5757
header_json='{
5858
"typ":"JWT",

0 commit comments

Comments
 (0)