Page MenuHome GnuPG

Kleopatra: add test to check connectivity
Open, NormalPublic

Description

We had a support case were it turned out the cause of an S/MIME certificates "invalid" status was a missing proxy setting.
To make it easier to debug this kind of issue in the future, we would like to add a test in Kleopatra to check the connectivity.

Edited on 2025-05-14 (removed alternate options, expanded on chosen one)

Please add the test to the self-tests, but only as optional test, which would have to be checked at the bottom of the window to include it.

Put the option "Include online check" with default 'no check mark' below "Show all test results".

All configured servers should be checked and if version.gnupg.org can be queried.
Possibly add a comprehensive tooltip detailing the queries.

Event Timeline

werner triaged this task as Normal priority.Apr 17 2025, 4:47 PM

In any case, the actual connectivity test needs to be performed by GnuPG. Otherwise we might just test whether the Qt/KDE libraries can reach versions.gnupg.org, but not whether dirmngr can. Werner proposed something like gpg --fetch-key https://gnupg.org/index.html.

Note that I get a 403 Forbidden when I try to access versions.gnupg.org.

regarding the 403: one has to try the correct page AFAIK. Didn't research which one, look in the update checker code.

Werner strongly prefers to include it in the self-tests instead of adding a command to the drop-down list.
I will therefore update the description accordingly.

ebo renamed this task from Draft: Kleopatra: add test to check connectivity to Kleopatra: add test to check connectivity.Wed, May 14, 11:58 AM
ebo updated the task description. (Show Details)