#776804 gnupg2: scdaemon is called in a way that its syslog-style logs are printed to stdout

Package:
gnupg2
Source:
gnupg2
Submitter:
"Eugene V. Lyubimkin"
Date:
2015-02-01 22:09:06 UTC
Severity:
normal
#776804#5
Date:
2015-02-01 22:07:05 UTC
From:
To:
Hello,

I tried to use gpg2 with a smart card. It works (which is great!), but
the console noise of scdaemon is rather annoying:
-------------------8<------------------
$ gpg2 --card-status
scdaemon[27603]: reading public key failed: Missing item in object
[ ... card data ... ]
scdaemon[27603]: updating slot 0 status: 0x0000->0x0007 (0->1)
$ scdaemon[27603]: scdaemon (GnuPG) 2.0.26 stopped
$
------------------->8------------------

Same thing with 'gpg2 --decrypt'. Additionally, when used with pinentry-curses,
scdaemon sometimes partially overwrites its screen messages.

It would be nice if scdaemon, by default, doesn't print those debugging
messages.