reassign 652558 opensc thanks On Sun, Dec 18, 2011 at 06:27:56PM +0100, Guido Günther wrote: > Hi Ludovic, > On Sun, Dec 18, 2011 at 04:42:10PM +0100, Ludovic Rousseau wrote: > > Le 18/12/11 16:16, Guido Günther a écrit : > > >Package: pcscd > > >Version: 1.8.1-5 > > >Severity: normal > > > > > >Hi, > > >initializing a smartcard using > > > > > > pkcs15-init -C -p pkcs15+onepin > > > > > >fails with: > > > > > > $ pkcs15-init -C -p pkcs15+onepin > > > Using reader with a card: Aladdin eToken PRO 00 00 > > > Failed to read PIN: Not supported > > > Failed to create PKCS #15 meta structure: Generic PKCS#15 > > > initialization error > > > > > >The log shows: > > > > > > pcscd[10929]: 00000000 dyn_unix.c:81:DYN_GetAddress() > > > IFDHCreateChannelByName: > > > /usr/lib/pcsc/drivers/openct-ifd.bundle/Contents/Linux/openct-ifd.so: > > > undefined symbol: IFDHCreateChann > > > > > >The symbol in openct-ifd.so is named IFDHCreateChannel (note the missing > > >el) so this might be the cause for the above error. > > > > I guess the log line has just been cut. It is a warning from pcscd, > > not the source of your problem. > > > > Your reader "Aladdin eToken PRO 00 00" is correctly detected by > > pcscd. The problem comes from pkcs15-init. > > Maybe your smart card is not supported by OpenSC? > > > > Search for help at https://www.opensc-project.org/opensc > > Thanks for the prompt response. The card is (or at least was) supported. > I have done this successfuly using lenny[1] and opensc-tool at least > gives the correct output: > > $ opensc-tool -n > Using reader with a card: Aladdin eToken PRO 00 00 > CardOS M4 > > $ opensc-tool -a > Using reader with a card: Aladdin eToken PRO 00 00 > 3b:f2:98:00:ff:c1:10:31:fe:55:c8:03:15 > > I'm seeing > > pcscd[11757]: Error: Bad CTBCS APDU, ins=0x15 > > in the logs with the above commands. Also: > > pkcs15-init -E > > works but > > pkcs15-init -C -p pkcs15+onepin > > fails with the above error.
This might be related: http://comments.gmane.org/gmane.comp.encryption.opensc.devel/13209 since it also affects Aladdin Pro tokens. So I'm reassigning to opensc. Cheers, -- Guido > > Cheers, > -- Guido > > [1] http://honk.sigxcpu.org/con/PKINIT__Kerberos_v5_with_Smart_Cards.html -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org