diff options
author | Eelco Dolstra <eelco.dolstra@logicblox.com> | 2016-04-07T12·14+0200 |
---|---|---|
committer | Eelco Dolstra <eelco.dolstra@logicblox.com> | 2016-04-07T13·16+0200 |
commit | e39999ed48f7bce81555d1cd58918e59dffcf922 (patch) | |
tree | ebc9697051bf2596b108ba310bf27a021c5177b1 /src/libstore/local-store.hh | |
parent | dc82160164d6c74586b448a13443c19b5a6709c1 (diff) |
Sign locally-built paths
Locally-built paths are now signed automatically using the secret keys specified by the ‘secret-key-files’ option.
Diffstat (limited to 'src/libstore/local-store.hh')
-rw-r--r-- | src/libstore/local-store.hh | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/libstore/local-store.hh b/src/libstore/local-store.hh index ec8146e68b79..615e3d76c754 100644 --- a/src/libstore/local-store.hh +++ b/src/libstore/local-store.hh @@ -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; }; |