PKCSEP11_SESSION(1)
π¦ pkcsep11_session(1) π¦
okay so bestie, this page is straight from the openCryptoki manual and it's literally here to help you manage EP11 sessions. no cap. π
π NAME π
pkcsep11_session β manage EP11 sessions. β¨
π SYNOPSIS π
pkcep11_session [-h] [show|logout|vhsmpin|fipspin|status] [-slot slot-
number] [-id session-ID] [-pid process-ID] [-date yyyy/mm/dd] [-force]
πΈ DESCRIPTION πΈ
Use pkcep11_session to set the VHSM and FIPS-session pins, and list and logout leftover EP11 sessions. π
EP11 sessions are created and destroyed when a PKCS#11 session is logged in and out, respectively. When an application terminates abnormally, without logging out or closing the PKCS#11 session, the corresponding EP11 session is not destroyed. π
When STRICT_MODE, VHSM_MODE, or FIPS_SESSION_MODE is enabled in the EP11 configuration file, all session-keys belong strictly to the PKCS#11 session or token that created it. These PKCS#11 session keys expire when the session ends. π
π COMMAND SUMMARY π
showβ displays all leftover EP11 sessions. Use the-session-ID,-pidor-dateoptions to filter the list of sessions. πlogoutβ logs out all leftover EP11 sessions. Use the-session-ID,-pidor-dateoptions to filter the list of sessions. πvhsmpinβ sets the VHSM PIN used for theVHSM_MODE(virtual HSM). The VHSM PIN must contain between 8 and 16 alphanumeric characters. Set the VHSM PIN before enabling theVHSM_MODEin the EP11 configuration file. β¨
Note: When changing the VHSM PIN, all existing keys stored as token objects become unusable! π
fipspinβ sets the FIPS PIN used for theFIPS_SESSION_MODE. The FIPS PIN must contain between 8 and 16 alphanumeric characters. Set the FIPS PIN before enabling theFIPS_SESSION_MODEin the EP11 configuration file. πΈ
Note: When changing the FIPS PIN, all existing keys stored as token objects become unusable! π
statusβ shows the maximum and currently available number of EP11 sessions for each available EP11 APQN. π
π₯ OPTIONS π₯
-slot slot-numberβ specifies the slot of the EP11 token. This option is required for all commands except thestatuscommand. π«Ά-forceβ deletes a session even if logout fails on some adapters. π€-id session-IDβ specifies the EP11 session ID. πͺͺ-pid process-IDβ specifies the process-ID (pid) for which to display or logout EP11 sessions. π§-date yyyy/mm/ddβ filters the EP11 sessions by the specified date. Any EP11 session with a matching or earlier date are displayed or logged out. π-hβ show usage information. π
π SEE ALSO π
xoxo bestie, this page is from openCryptoki version 3.27.0, dated Dec 2023. stay iconic and may your sessions always log out cleanly π«Άπ
π¦ where this page comes from
- opensuse-leap 16.0: openCryptoki 3.27.0-160000.2.1 Β· CPL-1.0
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms