For new tickets please use the main OpenSC Trac (direct link)

Ticket #10 (new defect)

Opened 5 years ago

Last modified 3 years ago

two openssl command using the engine: the second fails

Reported by: aj Owned by: opensc-devel@…
Priority: normal Component: engine_pkcs11
Version: 0.1.3 Severity: normal
Keywords: Cc:

Description

in openssl run three commands: the command for loading the engine, sign some cert req, some another cert req. the second fails with:

Login failed PKCS11_get_private_key returned NULL unable to load Private Key 15922:error:80005100:Vendor defined:PKCS11_login:User already logged in:p11_slot.c:143: 15922:error:26096080:engine routines:ENGINE_load_private_key:failed loading private key:eng_pkey.c:114: error in req

needs to be reproduces with opensc (was found testing with aladdin pkcs11).

Change History

comment:1 Changed 3 years ago by martin

This feels like a problem in libp11 and/or engine_pkcs11 as p11 or engine should react on this return code or keep track of sessions.

Note: See TracTickets for help on using tickets.