mirror of
https://github.com/zhaofengli/attic.git
synced 2024-12-14 11:57:30 +00:00
Merge pull request #185 from zhaofengli/nixos-use-hs256-placeholder-secret
nixos: Switch back to setting a placeholder HS256 secret
This commit is contained in:
commit
e5c8d2d509
1 changed files with 1 additions and 1 deletions
|
@ -16,7 +16,7 @@ let
|
||||||
} ''
|
} ''
|
||||||
cat $configFile
|
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:"
|
export ATTIC_SERVER_DATABASE_URL="sqlite://:memory:"
|
||||||
${cfg.package}/bin/atticd --mode check-config -f $configFile
|
${cfg.package}/bin/atticd --mode check-config -f $configFile
|
||||||
cat <$configFile >$out
|
cat <$configFile >$out
|
||||||
|
|
Loading…
Reference in a new issue