Home GnuPG
Diffusion GnuPG 3f9f33bbcb40

scd: PC/SC reader selection by partial string match.
3f9f33bbcb40Unpublished

Unpublished Commit · Learn More

Not On Permanent Ref: This commit is not an ancestor of any permanent ref.

Description

scd: PC/SC reader selection by partial string match.

* scd/apdu.c (open_pcsc_reader_direct): Partial string match.
* scd/pcsc-wrapper.c (handle_open): Likewise.

(backport from 2.1 commit 01a2a61bc4b34817c4216888265f65d59a33dad3)

The card reader name by PC/SC service might include USB bus,
which varies (on some platform like GNU/Linux). Thus, it's
better to match partial string.

Original patch was submitted by anstein. I changed it to fallback to
the first reader if no match found.

Details

Provenance
gniibeAuthored on Apr 30 2015, 5:36 AM
Parents
rG43429c786915: g10: fix cmp_public_key and cmp_secret_keys.
Branches
Unknown
Tags
Unknown

Event Timeline

NIIBE Yutaka <gniibe@fsij.org> committed rG3f9f33bbcb40: scd: PC/SC reader selection by partial string match. (authored by NIIBE Yutaka <gniibe@fsij.org>).May 1 2015, 7:16 AM