bin/remote: Add list-gpg-keys subcommand
authorDan Nicholson <nicholson@endlessm.com>
Tue, 13 Aug 2019 16:10:50 +0000 (10:10 -0600)
committerDan Nicholson <dbn@endlessos.org>
Thu, 15 Jul 2021 21:50:04 +0000 (15:50 -0600)
commit74fb0c5f7826e90efcc905ba75cf8a176d61f0a5
tree44e9c64d6e7343669dca6376897c7786786b0e77
parenta50f6d0b9fa1d3079ff5bf78e46da3a635a37611
bin/remote: Add list-gpg-keys subcommand

This provides a wrapper for the `ostree_repo_remote_get_gpg_keys`
function to show the GPG keys associated with a remote. This is
particularly useful for validating that GPG key updates have been
applied. Tests are added, which checks the
`ostree_repo_remote_get_gpg_keys` API by extension.
Makefile-ostree.am
Makefile-tests.am
bash/ostree
man/ostree-remote.xml
src/ostree/ot-builtin-remote.c
src/ostree/ot-dump.c
src/ostree/ot-dump.h
src/ostree/ot-remote-builtin-list-gpg-keys.c [new file with mode: 0644]
src/ostree/ot-remote-builtins.h
tests/test-remote-list-gpg-keys.sh [new file with mode: 0755]