Re: Accessing the 2nd card reader

2010-08-13 Thread Richard
On Fri, Aug 13, 2010 at 16:38, Richard wrote: > All right, this appears to be a PAM-PKCS#11 bug. That's not correct: It is a bug in OpenSC's PKCS#11 module. Someone wrote a patch for OpenSC (SVN, trunk), which fixes the problem for me: http://www.opensc-project.org/pipermail/opensc-user/2010-Au

Re: Accessing the 2nd card reader

2010-08-13 Thread Richard
On Thu, Aug 12, 2010 at 12:31, Richard wrote: > Well I stumbled upon another problem. > > I actually wanted to use one of my card readers with GnuPG/scdaemon > exclusively, and the other one with OpenSC's PAM-PKCS#11 module. [...] > > I just wanted ask whether scdaemon always blocks _all_ PC/SC re

Re: Accessing the 2nd card reader

2010-08-13 Thread Werner Koch
On Thu, 12 Aug 2010 09:41, simon.rich...@hogyros.de said: > Can the system be adapted to scan all readers when looking for a > specific card, and to rescan for new readers when it prompted the user > to insert a card? Yeah those cards with readers are a real problem. We need to do something abou

Re: Accessing the 2nd card reader

2010-08-12 Thread Richard
Well I stumbled upon another problem. I actually wanted to use one of my card readers with GnuPG/scdaemon exclusively, and the other one with OpenSC's PAM-PKCS#11 module. As already mentioned, both of my readers are accessible via PC/SC. Having set reader-port "REINER SCT CyberJack pp_a (892892

Re: Accessing the 2nd card reader

2010-08-12 Thread Simon Richter
Hi, on a related note: I have two cards, one is full sized, one SIM sized, and two different readers, one of which is an USB stick that is inserted only when needed. Using such a setup is a serious hassle, because I need to reconfigure the reader-port everytime I want to use the other card. Can t

Re: Accessing the 2nd card reader

2010-08-11 Thread Richard
Hello Werner, On Wed, Aug 11, 2010 at 12:34, Werner Koch wrote: >To convince pcscd to use the second > reader you need to use the > >  reader-port "REINER SCT CyberJack pp_a" > > or a bit more of the string shown by opensc-tool. thanks for your advice. I had to use the whole identifier as issued

Re: Accessing the 2nd card reader

2010-08-11 Thread Werner Koch
On Wed, 11 Aug 2010 09:47, rich...@r-selected.de said: > However, GnuPG only recognizes the 1st reader: If you enter "scd help getinfo" you can see this in the scdameon log file: : chan_10 <- # reader_list - Return a list of detected card readers. Does : chan_10 <- # currently onl

Accessing the 2nd card reader

2010-08-11 Thread Richard
Hello everyone, I have connected two card readers to my computer, but want only to use the 2nd one with GnuPG 2/scdaemon. Both are PCSC readers: $ opensc-tool -l Readers known about: Nr.Driver Name 0 pcsc SCM SPR 532 [Vendor Interface] (21250837209929) 00 00 1 pcsc R