From e39999ed48f7bce81555d1cd58918e59dffcf922 Mon Sep 17 00:00:00 2001 From: Eelco Dolstra Date: Thu, 7 Apr 2016 14:14:06 +0200 Subject: Sign locally-built paths MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Locally-built paths are now signed automatically using the secret keys specified by the ‘secret-key-files’ option. --- src/libstore/local-store.hh | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'src/libstore/local-store.hh') 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; }; -- cgit 1.4.1