summaryrefslogtreecommitdiff
path: root/src/ostree
diff options
context:
space:
mode:
authorDan Nicholson <nicholson@endlessm.com>2019-08-26 11:27:54 -0600
committerDan Nicholson <dbn@endlessos.org>2021-07-15 15:50:04 -0600
commit90a3bda1f8298e149cb4940369cec4bdc4e53972 (patch)
tree5cdb0e2a34c5ad01087ec31c5c621250ba160838 /src/ostree
parent27dc5d7d389956befd9f2de7a956073899c264de (diff)
downloadostree-90a3bda1f8298e149cb4940369cec4bdc4e53972.tar.gz
bin/remote: Include update URLs in list-gpg-keys
Diffstat (limited to 'src/ostree')
-rw-r--r--src/ostree/ot-dump.c7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/ostree/ot-dump.c b/src/ostree/ot-dump.c
index 1c0f04a9..6db6dc8f 100644
--- a/src/ostree/ot-dump.c
+++ b/src/ostree/ot-dump.c
@@ -488,6 +488,13 @@ ot_dump_gpg_key (GVariant *key,
uid,
revoked ? " (revoked)" : "",
invalid ? " (invalid)" : "");
+
+ const char *advanced_url = NULL;
+ const char *direct_url = NULL;
+ (void) g_variant_lookup (uid_v, "advanced_url", "m&s", &advanced_url);
+ (void) g_variant_lookup (uid_v, "direct_url", "m&s", &direct_url);
+ g_print (" Advanced update URL: %s\n", advanced_url ?: "");
+ g_print (" Direct update URL: %s\n", direct_url ?: "");
}
GVariant *subkey = NULL;