lib/repo: Allow preparing GPG verifier without global keyrings
authorDan Nicholson <dbn@endlessos.org>
Wed, 14 Jul 2021 17:04:59 +0000 (11:04 -0600)
committerDan Nicholson <dbn@endlessos.org>
Thu, 15 Jul 2021 21:50:04 +0000 (15:50 -0600)
commitfc073654dca64dacdc0067bd35ecb82f8c794fe3
tree2a5d962eea716664b7dd13bc408924667b7beba3
parentc8715c123e7979b078d45fd18e7cf5a276eda698
lib/repo: Allow preparing GPG verifier without global keyrings

Currently the verifier decides whether to include the global keyrings
based on whether the specified remote has its own keyring or not. Allow
callers to exclude the global keyrings even when that's not the case.
This will be used in a subsequent commit in order to get the GPG keys
only associated with a remote.
src/libostree/ostree-repo.c