diff options
author | Domen Kožar <domen@dev.si> | 2022-01-06 08:39:58 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-01-06 08:39:58 +0100 |
commit | bdc577936ff1214e5fb9c7d0f57ddc4a2241322d (patch) | |
tree | a7658707dd03c7579e11895d9a11acff4eb32e6b | |
parent | 6d7844695bf14c1fc68f051df0b98db442863fc9 (diff) | |
parent | 3542d4fe16822bcd94433bf9393fbe17a5297948 (diff) |
Merge pull request #5749 from GavinRay97/patch-1
Better diagnostics if no valid signature found
-rw-r--r-- | src/libstore/build/substitution-goal.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/libstore/build/substitution-goal.cc b/src/libstore/build/substitution-goal.cc index 29a8cfb87..5ecf1da7e 100644 --- a/src/libstore/build/substitution-goal.cc +++ b/src/libstore/build/substitution-goal.cc @@ -138,8 +138,8 @@ void PathSubstitutionGoal::tryNext() only after we've downloaded the path. */ if (!sub->isTrusted && worker.store.pathInfoIsUntrusted(*info)) { - warn("substituter '%s' does not have a valid signature for path '%s'", - sub->getUri(), worker.store.printStorePath(storePath)); + warn("the substitute for '%s' from '%s' is not signed by any of the keys in 'trusted-public-keys'", + worker.store.printStorePath(storePath), sub->getUri()); tryNext(); return; } |