summaryrefslogtreecommitdiff
path: root/src/libostree/ostree-gpg-verifier.h
diff options
context:
space:
mode:
authorMatthew Leeds <mwleeds@protonmail.com>2017-10-02 22:35:17 -0700
committerAtomic Bot <atomic-devel@projectatomic.io>2017-10-03 13:09:33 +0000
commit133e9ae7338503d3143d172c92a7cac618e6735c (patch)
tree6b27c13c68a9a973c27f8316218221d43ca61dca /src/libostree/ostree-gpg-verifier.h
parentbe100e0ee26e6a4abb7865d13d4aaaa52d603759 (diff)
downloadostree-133e9ae7338503d3143d172c92a7cac618e6735c.tar.gz
lib/gpg: Print debug info when reading GPG keys
This commit adds debug output whenever libostree reads GPG keys, which can come from different locations in the file system. This is especially helpful in debugging "GPG signatures found, but none are in trusted keyring" errors, which in my case was caused by OSTree looking in /usr/local/share/ostree/trusted.gpg.d/ rather than /usr/share/ostree/trusted.gpg.d/. Closes: #1241 Approved by: cgwalters
Diffstat (limited to 'src/libostree/ostree-gpg-verifier.h')
-rw-r--r--src/libostree/ostree-gpg-verifier.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/libostree/ostree-gpg-verifier.h b/src/libostree/ostree-gpg-verifier.h
index d0f02dbd..09c01b6c 100644
--- a/src/libostree/ostree-gpg-verifier.h
+++ b/src/libostree/ostree-gpg-verifier.h
@@ -65,7 +65,8 @@ gboolean _ostree_gpg_verifier_add_global_keyring_dir (OstreeGpgVerifier *s
GError **error);
void _ostree_gpg_verifier_add_keyring_data (OstreeGpgVerifier *self,
- GBytes *data);
+ GBytes *data,
+ const char *data_source);
void _ostree_gpg_verifier_add_keyring_file (OstreeGpgVerifier *self,
GFile *path);