libstore: improve warning message on missing sig

Clarifies that the substitute will be ignored/skipped.
This commit is contained in:
Lorenzo Manacorda 2022-06-15 17:32:59 +02:00
parent 12e86c0735
commit 475249db8a

View file

@ -154,7 +154,7 @@ void PathSubstitutionGoal::tryNext()
only after we've downloaded the path. */
if (!sub->isTrusted && worker.store.pathInfoIsUntrusted(*info))
{
warn("the substitute for '%s' from '%s' is not signed by any of the keys in 'trusted-public-keys'",
warn("igoring substitute for '%s' from '%s', as it's not signed by any of the keys in 'trusted-public-keys'",
worker.store.printStorePath(storePath), sub->getUri());
tryNext();
return;