hydra
hydra copied to clipboard
Remove deprecation notice for binary_cache_secret_key_file
It's still used for signing narinfo files if using Hydra as a binary cache server. See https://github.com/NixOS/hydra/blob/master/src/lib/Hydra/View/NARInfo.pm#L37
See also issues #548 and #679
Please merge this; the deprecation warning was very confusing to me as someone using a local store with store_uri = auto:
hydra-send-stats[3536553]: hydra.conf: binary_cache_secret_key_file is deprecated and ignored. use store_uri=...?secret-key= instead
- It is not ignored with
store_uri = autoand AFAIKbinary_cache_secret_key_fileis the only way have your packages be signed when they're downloaded overssh://(unless you choose to runnix store sign --all -k /var/secrets/nix/secret_keyall the time). store_uri=...?secret-key=does not work forautoas mentioned in https://github.com/NixOS/hydra/issues/679#issuecomment-532607341
Sorry, I probably tested wrong because my signing problem is still unsolved.