about summary refs log tree commit diff
path: root/src/libstore/crypto.cc
AgeCommit message (Collapse)AuthorFilesLines
2017-11-20 binary-cache-public-keys -> trusted-public-keysEelco Dolstra1-1/+1
The name had become a misnomer since it's not only for substitution from binary caches, but when adding/copying any (non-content-addressed) path to a store.
2017-04-13 Convert Settings to the new config systemEelco Dolstra1-2/+2
This makes all config options self-documenting. Unknown or unparseable config settings and --option flags now cause a warning.
2017-02-22 Explicitly model all settings and fail on unrecognized onesDan Peebles1-2/+2
Previously, the Settings class allowed other code to query for string properties, which led to a proliferation of code all over the place making up new options without any sort of central registry of valid options. This commit pulls all those options back into the central Settings class and removes the public get() methods, to discourage future abuses like that. Furthermore, because we know the full set of options ahead of time, we now fail loudly if someone enters an unrecognized option, thus preventing subtle typos. With some template fun, we could probably also dump the full set of options (with documentation, defaults, etc.) to the command line, but I'm not doing that yet here.
2016-04-07 Use secret-key-files for verifyingEelco Dolstra1-1/+14
2016-03-29 Add "nix verify-paths" commandEelco Dolstra1-0/+12
Unlike "nix-store --verify-path", this command verifies signatures in addition to store path contents, is multi-threaded (especially useful when verifying binary caches), and has a progress indicator. Example use: $ nix verify-paths --store https://cache.nixos.org -r $(type -p thunderbird) ... [17/132 checked] checking ‘/nix/store/rawakphadqrqxr6zri2rmnxh03gqkrl3-autogen-5.18.6’
2016-03-15 Fix Darwin buildEelco Dolstra1-0/+2
http://hydra.nixos.org/build/33279996
2016-03-04 BinaryCacheStore: Remove publicKeyFile argumentEelco Dolstra1-0/+11
The public key can be derived from the secret key, so there's no need for the user to supply it separately.
2016-02-17 Fix build without sodiumEelco Dolstra1-1/+10
http://hydra.nixos.org/build/32085949
2016-02-16 Add C++ functions for .narinfo processing / signingEelco Dolstra1-0/+79
This is currently only used by the Hydra queue runner rework, but like eff5021eaa6dc69f65ea1a8abe8f3ab11ef5eb0a it presumably will be useful for the C++ rewrite of nix-push and download-from-binary-cache. (@shlevy)