Commit f31e2b82 authored by anonym's avatar anonym
Browse files

Test suite: verifry that dirmngr used the configured keyserver.

Will-fix: #12371
parent 50f409fe
......@@ -246,3 +246,18 @@ Given /^(GnuPG|Seahorse) is configured to use Chutney's onion keyserver$/ do |ap
Then /^GnuPG's dirmngr uses the configured keyserver$/ do
_, _, onion_keyserver_address, _ = chutney_onionservice_info
dirmngr_request = $vm.execute_successfully(
'gpg-connect-agent --dirmngr "keyserver --hosttable" /bye', user: LIVE_USER
server = dirmngr_request.stdout.chomp.lines[1].split[4]
server = /keyserver\s+(\S+)$/.match(
"hkp://#{onion_keyserver_address}:5858", server,
"GnuPG's dirmngr does not use the correct keyserver"
......@@ -15,6 +15,7 @@ Feature: Keyserver interaction with GnuPG
When I fetch the "10CC5BC7" OpenPGP key using the GnuPG CLI
And the GnuPG fetch is successful
Then the "10CC5BC7" key is in the live user's public keyring
And GnuPG's dirmngr uses the configured keyserver
Scenario: Fetching OpenPGP keys using Seahorse should work and be done over Tor.
When I fetch the "10CC5BC7" OpenPGP key using Seahorse
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment