The Fellowship / Forums / Fellowship smoothers / Problems writing on SmartCard on ubuntu breezy

Problems writing on SmartCard on ubuntu breezy

Tienes que estar conectado para tener acceso a los foros. Puedes hacerlo aquí

Autor Mensaje

cod

Localización:

30. junio 2006 10:55:00

Problems writing on SmartCard on ubuntu breezy

Hi fellows. Finally I managed to buy a card reader wich claims to be linux 2.4 compatibile: it's a Smart Pocket from Eutron ( http://www.cardreaders.eutron.it/smartpocket.asp ) I tried to make it work under ubuntu breezy badger (kernel 2.6.12-10) but I have problems. When I try to genereate keys on the card I get: gpg: please wait while key is being generated ... gpg: pcsc_transmit failed: not transacted (0x80100016) gpg: apdu_send_simple(0) failed: card I/O error gpg: generating key failed gpg: key generation failed: general error Key generation failed: general error Bringing pcscd to forward and repeating the entire procedure shows this when generating: openct/proto-t1.c:481:t1_transceive() CT sent S-block with wtx=1 (repeated many times) ccid_usb.c:508:ReadUSB() usb_bulk_read(003/002): Resource temporarily unavailable openct/proto-t1.c:218:t1_transceive() fatal: transmit/receive failed ifdwrapper.c:735:IFDTransmit() Card not transacted: 612 winscard.c:1491:SCardTransmit() Card not transacted: 0x80100016 ccid_usb.c:474:WriteUSB() usb_bulk_write(003/002): Resource temporarily unavailable ifdwrapper.c:484:IFDStatusICC() Card not transacted: 612 eventhandler.c:301:EHStatusHandlerThread() Error communicating to: Eutron SIM Pocket Combo 00 00 ccid_usb.c:474:WriteUSB() usb_bulk_write(003/002): Resource temporarily unavailable ifdwrapper.c:484:IFDStatusICC() Card not transacted: 612 eventhandler.c:301:EHStatusHandlerThread() Error communicating to: Eutron SIM Pocket Combo 00 00 I have no problems with gpg --card-status but it seems like I can't write on the card. Can anyone help me?

maffulli

Localización: Milan, Italy

03. julio 2006 11:24:21

Re: Problems writing on SmartCard on ubuntu breezy

I am not an expert of gpg and pcscd, but I know that the two are not always working well together. Try disabling pcscd and try creating a key using directly gpg's internal driver. If this fails you might want to contact also gpg users list at http://lists.gnupg.org/pipermail/gnupg-users/ thanks stef

cod

Localización:

03. julio 2006 11:38:40

Re: Problems writing on SmartCard on ubuntu breezy

Thanks Stefano, but it didn't work. I get: gpg: pcsc_establish_context failed: no service (0x8010001d) gpg: card reader not available gpg: OpenPGP card not available: general error so I think pcscd is needed. I'll contact the gpg user list. Ancora grazie

remijnj

Localización:

04. julio 2006 10:25:18

Re: Problems writing on SmartCard on ubuntu breezy

I had the same errors (well, some of them at least) and I got it working by doing the following. Start pcscd and then call 'gpg --disable-ccid --edit-key '. This seems to be the opposite (use pcscd and disable the internal ccid driver of gnupg) of what the other commenter suggested. I got this from the HOWTO (the full one). Hope that helps.

cod

Localización:

04. julio 2006 10:52:00

Re: Problems writing on SmartCard on ubuntu breezy

Thanks remijnj: it worked! I owe you a beer

rabinath

Localización:

22. agosto 2006 11:48:36

Re: Problems writing on SmartCard on ubuntu breezy

Here's another beer for You! --disable-ccid works for me, too. I have a O2 Micro Oz776 SmartCard Reader (USB ID 0b97:7762) built into my laptop.

remijnj

Localización:

22. agosto 2006 13:02:42

Re: Problems writing on SmartCard on ubuntu breezy

Great, it's good to see it works for both of you now. I live in amsterdam so when one of you is in the neighborhood i'd like my free beer . Joost

andog

Localización:

27. noviembre 2006 13:55:26

Re: Problems writing on SmartCard on ubuntu breezy

same problem, but i had to use the option --disable-ccid only for the authentication key.

Right menu

Fellow Events

<< Noviembre 2008 >>
Mon Tue Wed Thu Fri Sat Sun
  1 2
3 4 5 6 7 8 9
10 11 12 13 14 15 16
17 18 19 20 21 22 23
24 25 26 27 28 29 30
Selected Day Today


FSFE Card


DRM.info
© FSFE