Thanks Robie, I updated the SRU description. I hope that now it's clear that this is a bug and not a change in behaviour. Currently the client with libp11 failed to login for operations that the HSM required a PIN and not a PED. This is definitely a bug! I added to SRU: [Bug description] - HSM that has PIN entry device (PED) support ("secure login" for libp11) - Some operations with HSM required PED (like HSM Administration, Creating keys, delete keys, creatin slots and some operations with HSM required PIN (like sign with existing keys, decrypt with existing keys) what's happens: 1. libp11 asks the HSM which authentications capabilities its hardware supports. 2. The HSM response all the capabilities (from high to low). 3. Currently (this is the bug) libp11 choose the highest and expect the client to use *only* the highest to login even the HSM expect lower for the required operation. 4. The highest authentications capability (PED/Secure Login) required only for administration that human involvement on the client side and not for "normal" operations such sign/decrypt. 5. The bug prevent using libp11 for "normal" operations with HSM that support PED. 5. The bug fix: The client try to login with the PIN for the required operation and if it succeed, continue to run. In any case, the responsibility to allow login always lies with the HSM and he is the only one who decides whether to allow login with a PIN for the requested operation. [Where problems could occur] Any HSM client that use libp11 library to connect HSM that support PED for non PED operations will fail because this bug. ["expected behaviour" and "actual behaviour"] Starting position: - HSM that has PIN entry device (PED) support ("secure login" for libp11) - Client that want to connect HSM for non PED operations (without human involvement on the client side, like services/micro services) "expected behaviour": Client try to login to HSM with PIN code (for operation that required PIN code and not PED) -> Success "actual behaviour": Client try to login to HSM with PIN code (for operation that required PIN code and not PED) -> Failed On Wed, Sep 21, 2022 at 7:30 PM Robie Basak