mirror of
https://github.com/NixOS/nix.git
synced 2025-11-21 17:59:36 +01:00
Sign locally-built paths
Locally-built paths are now signed automatically using the secret keys specified by the ‘secret-key-files’ option.
This commit is contained in:
parent
dc82160164
commit
e39999ed48
3 changed files with 24 additions and 1 deletions
|
|
@ -301,6 +301,12 @@ private:
|
|||
// Internal versions that are not wrapped in retry_sqlite.
|
||||
bool isValidPath_(const Path & path);
|
||||
void queryReferrers_(const Path & path, PathSet & referrers);
|
||||
|
||||
/* Add signatures to a ValidPathInfo using the secret keys
|
||||
specified by the ‘secret-key-files’ option. */
|
||||
void signPathInfo(ValidPathInfo & info);
|
||||
|
||||
friend class DerivationGoal;
|
||||
};
|
||||
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue