Skip to content

Commit

Permalink
fixup! bin/remote: Add list-gpg-keys subcommand
Browse files Browse the repository at this point in the history
  • Loading branch information
dbnicholson committed Jul 15, 2021
1 parent 66027c2 commit 79858fb
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions tests/test-remote-list-gpg-keys.sh
Original file line number Diff line number Diff line change
Expand Up @@ -122,6 +122,13 @@ if [ -z "${GPG}" ]; then
echo "ok # SKIP this test requires gpg"
done
else
# The GPG private keyring in gpghome is in the older secring.gpg
# format, but we're likely using a newer gpg. Normally it's
# implicitly migrated to the newer format, but this test hasn't
# signed anything, so the private keys haven't been loaded. Force
# the migration by listing the private keys.
${GPG} --homedir=${test_tmpdir}/gpghome -K >/dev/null

# Expire key1, wait for it to be expired and re-import it.
${GPG} --homedir=${test_tmpdir}/gpghome --quick-set-expire ${TEST_GPG_KEYFPR_1} seconds=1
sleep 2
Expand Down

0 comments on commit 79858fb

Please sign in to comment.