Fedict / eid-mw

eID Middleware (main repository)
GNU Lesser General Public License v3.0
198 stars 79 forks source link

Can't read out eID #165

Closed denraf closed 2 years ago

denraf commented 2 years ago

I'm unable to read out my eID in the eid Viewer. Authentication in website fails as well.

Eid viewer logger:

E: CSCblogtest called eid_vwr_p11_update_slot_list_ui for slot 0 failed C_GetSlotInfo returned 0x00000005
N: switched log_level to Debug
D: CSCblogtest called eid_vwr_p11_check_reader_list called slotID given = 0
N: CSCblogtest called EVENT_TOKEN_REMOVED slotID = 0
D: CSCblogtest called Handling state transition for event TOKEN_REMOVED
D: CSCblogtest called Leaving state TOKEN_ERROR
D: CSCblogtest called Leaving state TOKEN
D: CSCblogtest called Entering state NO_TOKEN (parent)
N: CSCbnewstate called STATE_NO_TOKEN
N: CSCbNewSrc called EID_VWR_SRC_NONE
D: CSCblogtest called Entering state READY (target)
N: CSCbnewstate called STATE_READY
D: CSCblogtest called State transition for TOKEN_REMOVED complete
D: CSCblogtest called eid_vwr_p11_check_reader_list called slotID given = 0
W: CSCblogtest called Failed retrieving slot information
 C_GetSlotInfo failed with 0X5. slotID = 0
W: CSCblogtest called Ignoring this state change
D: CSCblogtest called eid_vwr_p11_check_reader_list called slotID given = 0
N: CSCblogtest called EVENT_TOKEN_INSERTED slotID = 0
D: CSCblogtest called Handling state transition for event TOKEN_INSERTED
D: CSCblogtest called Leaving state READY
D: CSCblogtest called Leaving state NO_TOKEN
N: CSCbNewSrc called EID_VWR_SRC_CARD
D: CSCblogtest called Entering state TOKEN (target)
N: CSCbnewstate called STATE_TOKEN
D: CSCblogtest called Entering state TOKEN_ID (child)
N: CSCbnewstate called STATE_TOKEN_ID
D: CSCblogtest called C_FindObjectsInit(session, attributes, attribute_len) returned 0x5
D: CSCblogtest called eid_vwr_p11_read_graph_vers(0) returned 0xffffffff
D: CSCblogtest called Handling state transition for event STATE_ERROR
D: CSCblogtest called Leaving state TOKEN_ID
D: CSCblogtest called Entering state TOKEN_ERROR (target)
N: CSCbnewstate called STATE_TOKEN_ERROR
D: CSCblogtest called State transition for STATE_ERROR complete
D: CSCblogtest called State transition detected, aborting handling of TOKEN_INSERTED
yoe commented 2 years ago

0x5 is CKR_GENERAL_ERROR. This can be many things (probably hardware-related; e.g., issue with reader, issue with card, etc), and it's difficult to debug that over the github issue tracker.

First of all: if this is a new eID, please make sure that your installed eID software is the latest version (newer cards work differently, and therefore need the latest software -- this should not be surprising).

If that doesn't fix it, please contact the BOSA service desk through their contact form. They will be happy to help you out.