repo: Provide a friendlier error message if no signatures are found
I always forget the key to disable it...
This commit is contained in:
1 parent
68c9c45e15
commit
76d9d92916
1 file changed
+1
-1
@@ -1718,7 +1718,7 @@ ostree_repo_verify_commit (OstreeRepo *self,
|
|||||||
if (!signaturedata)
|
if (!signaturedata)
|
||||||
{
|
{
|
||||||
g_set_error (error, G_IO_ERROR, G_IO_ERROR_NOT_FOUND,
|
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;
|
goto out;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in new issue
Block a user