Skip to content

Commit

Permalink
nixos: Switch back to setting a placeholder HS256 secret when checkin…
Browse files Browse the repository at this point in the history
…g config
  • Loading branch information
zhaofengli committed Oct 8, 2024
1 parent 1b29816 commit f36329a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion nixos/atticd.nix
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ let
} ''
cat $configFile
export ATTIC_SERVER_TOKEN_RS256_SECRET_BASE64="$(${pkgs.openssl}/bin/openssl genrsa -traditional 4096 | ${pkgs.coreutils}/bin/base64 -w0)"
export ATTIC_SERVER_TOKEN_HS256_SECRET_BASE64="dGVzdCBzZWNyZXQ="
export ATTIC_SERVER_DATABASE_URL="sqlite://:memory:"
${cfg.package}/bin/atticd --mode check-config -f $configFile
cat <$configFile >$out
Expand Down

0 comments on commit f36329a

Please sign in to comment.