#1013174 kleopatra: "scdaemon Configuration Check" fails

Package:
kleopatra
Source:
kleopatra
Description:
Certificate Manager and Unified Crypto GUI
Submitter:
snip
Date:
2022-06-18 11:03:04 UTC
Severity:
minor
#1013174#5
Date:
2022-06-18 10:58:06 UTC
From:
To:
Dear Maintainer,

   * What led up to the situation?

I installed the kleopatra package, then started the application.

   * What exactly did you do (or not do) that was effective (or
     ineffective)?

Nothing in particular.

   * What was the outcome of this action?

It displayed the "Kleopatra Self-Test Results" dialog, because the
"scdaemon Configuration Check" had failed. The details of this failed
check are:

    There was an error executing the GnuPG configuration self-check for
    scdaemon:
    The configuration file is invalid.
    You might want to execute "gpgconf --check-options scdaemon" on the
    command line.

When running the suggested "gpgconf --check-options scdaemon", I
obtain:

    gpgconf: error running '/usr/lib/gnupg/scdaemon': probably not installed
    scdaemon:Smartcards:/usr/lib/gnupg/scdaemon:0:0:

As explained in the error above, this seems to happen because the
scdaemon package is not installed.

   * What outcome did you expect instead?

I expected not to have a report with a failed self-test on launching
Kleopatra after installation. This can be confusing or frightening to
see a self-test failing on such a security-sensitive application.

Installing the scdaemon package fixed the issue: all self-tests passed,
and Kleopatra started without problem.

Maybe a solution would be to add the scdaemon package as a recommended
dependency of Kleopatra? This is a small package (installed size is
roughly 1 MiB), and this way, default installations of Kleopatra would
stop complaining on startup.

Thank you very much in advance!

snip