OpenPGP card not accessible

Malte Gell malte.gell at gmx.de
Fri Feb 6 01:41:41 CET 2009


Am Donnerstag, 5. Februar 2009 23:13:08 schrieb Wolfgang Rosenauer:

> Malte Gell schrieb:

> > gpg --card-edit first detectd the card  and then suddenly says "OpenPGP
> > card is not available", though it is still in the card reader....

> I have gpg 2.0.10 in my OBS repository built for openSUSE 11.1:
> http://download.opensuse.org/repositories/home:/wrosenauer/openSUSE_11.1/

As written previously, it has not helped, I have now tried to use the pc/sc 
driver and pcsc daemon, to no avail, output below.....

1[root at linux-61r3]4937-01:39~> gpg --card-edit  

can't connect to `/root/.gnupg/S.gpg-agent': Connection refused
scdaemon[20981]: listening on socket `/tmp/gpg-lPsvco/S.scdaemon'
scdaemon[20981]: handler for fd -1 started                       
scdaemon[20981]: reader slot 0: not connected                    
scdaemon[20981]: slot 0: ATR=3B FA 13 00 FF 81 31 80 45 00 31 C1 73 C0 01 00 
00 90 00 B1
scdaemon[20981.0] DBG: -> OK GNU Privacy Guard's Smartcard server ready                 
scdaemon[20981.0] DBG: <- GETINFO socket_name                                           
scdaemon[20981.0] DBG: -> D /tmp/gpg-lPsvco/S.scdaemon                                  
scdaemon[20981.0] DBG: -> OK                                                            
scdaemon[20981.0] DBG: <- OPTION event-signal=12                                        
scdaemon[20981.0] DBG: -> OK                                                            
scdaemon[20981.0] DBG: <- SERIALNO                                                      
scdaemon[20981]: AID: D2 76 00 01 24 01 01 01 00 01 00 00 15 CB 00 00                   
scdaemon[20981]: Version-2 ......: no                                                   
scdaemon[20981]: Get-Challenge ..: yes (0 bytes max)                                    
scdaemon[20981]: Key-Import .....: yes                                                  
scdaemon[20981]: Change-Force-PW1: yes                                                  
scdaemon[20981]: Private-DOs ....: yes                                                  
scdaemon[20981]: Algo-Attr-Change: no                                                   
scdaemon[20981]: SM-Support .....: no                                                   
scdaemon[20981]: Max-Cert3-Len ..: 0                                                    
scdaemon[20981]: Max-Cmd-Data ...: 0                                                    
scdaemon[20981]: Max-Rsp-Data ...: 0                                                    
scdaemon[20981]: Cmd-Chaining ...: no                                                   
scdaemon[20981]: Ext-Lc-Le ......: no                                                   
scdaemon[20981]: Status Indicator: 00                                                   
scdaemon[20981]: GnuPG-No-Sync ..: no                                                   
scdaemon[20981]: GnuPG-Def-PW2 ..: no                                                   
scdaemon[20981]: Key-Attr-sign ..: RSA, n=1024, e=32, fmt=std                           
scdaemon[20981]: Key-Attr-encr ..: RSA, n=1024, e=32, fmt=std                           
scdaemon[20981]: Key-Attr-auth ..: RSA, n=1024, e=32, fmt=std                           
scdaemon[20981]: DBG: USING application context (refcount=1) (new)                      
scdaemon[20981.0] DBG: -> S SERIALNO xxxx                 
scdaemon[20981.0] DBG: -> OK                                                            
scdaemon[20981.0] DBG: <- LEARN --force                                                 
scdaemon[20981.0] DBG: -> S SERIALNO xxxx                 
scdaemon[20981.0] DBG: -> S APPTYPE OPENPGP                                             
scdaemon[20981.0] DBG: -> S EXTCAP gc=1+ki=1+fc=1+pd=1+mcl3=0                           
scdaemon[20981.0] DBG: -> S DISP-NAME                                                   
scdaemon[20981.0] DBG: -> S DISP-LANG de                                                
scdaemon[20981.0] DBG: -> S DISP-SEX 9                                                  
scdaemon[20981.0] DBG: -> S PUBKEY-URL                                                  
scdaemon[20981.0] DBG: -> S CHV-STATUS +0+254+254+254+3+3+3                             
scdaemon[20981.0] DBG: -> S SIG-COUNTER 0                                               
scdaemon[20981.0] DBG: -> S PRIVATE-DO-1                                                
scdaemon[20981.0] DBG: -> S PRIVATE-DO-2                                                
scdaemon[20981]: reading public key failed: Missing item in object                      
scdaemon[20981]: reading public key failed: Missing item in object
scdaemon[20981]: reading public key failed: Missing item in object
scdaemon[20981.0] DBG: -> OK
gpg-agent[20980]: card has S/N: (XXXXXXed by me)
Application ID ...: XXXXXX
Version ..........: 1.1
Manufacturer .....: PPC Card Systems
Serial number ....: 000015CB
Name of cardholder: [not set]
Language prefs ...: de
Sex ..............: unspecified
URL of public key : [not set]
Login data .......: [not set]
Signature PIN ....: forced
Max. PIN lengths .: 254 254 254
PIN retry counter : 3 3 3
Signature counter : 0
Signature key ....: [none]
Encryption key....: [none]
Authentication key: [none]
General key info..: [none]

Command> scdaemon[20981]: updating slot 0 status: 0x0000->0x0007 (0->1)
scdaemon[20981]: sending signal 12 to client 20980
scdaemon[20981.0] DBG: <- [EOF]
scdaemon[20981]: handler for fd -1 terminated
scdaemon[20981]: scdaemon (GnuPG) 2.0.10 stopped


gpg: OpenPGP card not available: IPC write error




More information about the Gnupg-users mailing list