From 76d9d92916b0b911c20d7505f503efce574ca324 Mon Sep 17 00:00:00 2001 From: Colin Walters Date: Tue, 17 Dec 2013 23:00:01 -0500 Subject: [PATCH] repo: Provide a friendlier error message if no signatures are found I always forget the key to disable it... --- src/libostree/ostree-repo.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/libostree/ostree-repo.c b/src/libostree/ostree-repo.c index 956b31a7..20b4d098 100644 --- a/src/libostree/ostree-repo.c +++ b/src/libostree/ostree-repo.c @@ -1718,7 +1718,7 @@ ostree_repo_verify_commit (OstreeRepo *self, if (!signaturedata) { g_set_error (error, G_IO_ERROR, G_IO_ERROR_NOT_FOUND, - "No signatures found"); + "GPG verification enabled, but no signatures found (use gpg-verify=false in remote config to disable)"); goto out; }