Gnupg doesn't recognize card.
taurus
taurus366 at gmail.com
Sat Jan 30 19:25:19 CET 2010
On 30 January 2010, at 02:51, Chris Ruff wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA512
>
> On 1/29/10 9:23 PM, taurus wrote:
>>
>> On 29 January 2010, at 00:22, Chris Ruff wrote:
>>
>>> -----BEGIN PGP SIGNED MESSAGE-----
>>> Hash: SHA512
>>>
>>>
>>>>>>
>>>>>> Gpg does not recognize my fellowship card;
>>>>>> ~ xxx$ gpg --card-status
>>>>>> gpg: selecting openpgp failed: Card error
>>>>>> gpg: OpenPGP card not available: Card error
>>>>>> Reader 01: Gemplus GemPC Twin 00 00
>>>>>
>>>>> Is that a new OpenPGP card (2.0)?
>>>>
>>>>
>>>> No, it is a v1.0 Fellowship card.
>>>>
>>>> Only the Macbook Pro is new.
>>>
>>> On the Mac (10.5.8) I've found that when I receive this error to
>>> kill
>>> the scdaemon and reinsert the reader/card.
>>>
>>> $ killall -u <username> scdaemon #usually has to be entered
>>> 2-3x to
>>> kill it
>>>
>>> Then I'm able to reinsert and perform a 'gpg --card-status'
>>>
>>> Hope this helps.
>>>
>>
>> I kill scdaemon several times but error persists.
>> gpg: selecting openpgp failed: Card error
>> gpg: OpenPGP card not available: Card error
>>
>>
>> Thank you,
>>
>>
>>
>>
> Have you run 'pcsctest'?
pcsctest is fine. Werner says the Gemplus readers are buggy, they
don't support extended
length APDUs.
$ pcsctest
MUSCLE PC/SC Lite Test Program
Testing SCardEstablishContext : Command successful.
Testing SCardGetStatusChange
Please insert a working reader : Command successful.
Testing SCardListReaders : Command successful.
Reader 01: Gemplus GemPC Twin 00 00
Enter the reader number : 01
Waiting for card insertion
: Command successful.
Testing SCardConnect : Command successful.
Testing SCardStatus : Command successful.
Current Reader Name : Gemplus GemPC Twin 00 00
Current Reader State : 0x34
Current Reader Protocol : 0x1
Current Reader ATR Size : 20 (0x14)
Current Reader ATR Value : 3B FA 13 00 FF 81 31 80 45 00 31 C1
73 C0 01 00 00 90 00 B1
Testing SCardDisconnect : Command successful.
Testing SCardReleaseContext : Command successful.
Testing SCardEstablishContext : Command successful.
Testing SCardGetStatusChange
Please insert a working reader : Command successful.
Testing SCardListReaders : Command successful.
Reader 01: Gemplus GemPC Twin 00 00
Thank you.
More information about the Gnupg-users
mailing list