repo: Provide a friendlier error message if no signatures are found
I always forget the key to disable it...
This commit is contained in:
parent
68c9c45e15
commit
76d9d92916
|
|
@ -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;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue