diff options
author | Adam Joseph <adam@westernsemico.com> | 2022-09-01 17:51:56 -0700 |
---|---|---|
committer | Adam Joseph <adam@westernsemico.com> | 2022-09-01 17:51:56 -0700 |
commit | 59dc8346ca53f49ccdbbd6709b12a479376d1464 (patch) | |
tree | 2dc7c8855002654687f7ef4ec4cd14c04f9f745c /src | |
parent | f6c750e8b2f299e9876fd8f2578f9093682f6d7f (diff) |
move substituter signature-checking conditions to configuration file documentation
Diffstat (limited to 'src')
-rw-r--r-- | src/libstore/globals.hh | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/src/libstore/globals.hh b/src/libstore/globals.hh index d7f351166..a659036e2 100644 --- a/src/libstore/globals.hh +++ b/src/libstore/globals.hh @@ -613,6 +613,14 @@ public: are tried based on their Priority value, which each substituter can set independently. Lower value means higher priority. The default is `https://cache.nixos.org`, with a Priority of 40. + + Nix will copy a store path from a remote store only if one + of the following is true: + + - the store object is signed by one of the `trusted-public-keys` + - the substituter is in the `trusted-substituters` list + - the `no-require-sigs` option has been set to disable signature checking + - the store object is [output-addressed](#gloss-output-addressed-store-object) )", {"binary-caches"}}; |