Using the OpenPGP Card on Unix && Win7
Werner Koch
wk at gnupg.org
Mon Nov 20 17:00:05 CET 2017
On Mon, 20 Nov 2017 08:56, guru at unixarea.de said:
> I killed a running SmartCard Service on Win7 and tested GnuPG on a
> Cygwin command line. It says:
Cygwin - I would not suggest to use this. We have no idea on whether
the RNG does what we want it to do. The IPC mechanism and
descriptor/handle passing may have surprising effects .
There is a new gnupg 2.2.3 installer available, I better use that
> $ gpg --card-status --debug-all --debug-level guru
Smartcard access is done by scdaemon. Thus you have to modify or
create scdaemon.conf:
log-file tcp://192.168.x.y:42042
verbose
debug ipc,cardio
The tcp line is what I use to debug on Windows. On my Unix box I run
watchgnupg --time-only --tcp 42042
so that I can work with the logs without resorting to strange Windows
tools. After changing scdaemon.conf you should kill scdaemon; gpg-agent
will start it as neede. Tetsing with gpg is okay, but you can also use
gpg-connect-agent
and then enter
scd help
to see all commands supported by scdameon. The "scd " prefix simply
routes the rest of the command to scdaemon.
scd help serialno
shows you help for scdaemon's "serialno" command.
scd serialno
and runs the command which select the "best" appliication on the current
card. If the OpenPGP card does not work, try you banking card - there
is a simple application for the "Geldkarte" included.
Salam-Shalom,
Werner
--
Die Gedanken sind frei. Ausnahmen regelt ein Bundesgesetz.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 227 bytes
Desc: not available
URL: <https://lists.gnupg.org/pipermail/gnupg-users/attachments/20171120/8e24adb4/attachment.sig>
More information about the Gnupg-users
mailing list