repo: Add remote's keyring during GPG verification

This is pretty fugly but it at least avoids new public API.
This commit is contained in:
Matthew Barnes committed 2015-05-13 13:08:49 -04:00
1 parent 4d7e73ede1
commit a9b87ebc18
3 files changed
+113 -43

No files matched your search

+8 -6
View File
@@ -968,12 +968,13 @@ scan_commit_object (OtPullData *pull_data,
{
glnx_unref_object OstreeGpgVerifyResult *result = NULL;
result = ostree_repo_verify_commit_ext (pull_data->repo,
checksum,
NULL,
NULL,
cancellable,
error);
result = _ostree_repo_verify_commit_internal (pull_data->repo,
checksum,
pull_data->remote_name,
NULL,
NULL,
cancellable,
error);
if (result == NULL)
goto out;
@@ -1926,6 +1927,7 @@ ostree_repo_pull_with_options (OstreeRepo *self,
sig_variant,
NULL,
NULL,
NULL,
cancellable,
error);
if (result == NULL)