[ostree] repo: Provide a friendlier error message if no signatures are found
- From: Colin Walters <walters src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [ostree] repo: Provide a friendlier error message if no signatures are found
- Date: Wed, 18 Dec 2013 04:00:50 +0000 (UTC)
commit 76d9d92916b0b911c20d7505f503efce574ca324
Author: Colin Walters <walters verbum org>
Date: Tue Dec 17 23:00:01 2013 -0500
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 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/src/libostree/ostree-repo.c b/src/libostree/ostree-repo.c
index 956b31a..20b4d09 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;
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]