Environment variables - xhanulik/OpenSC GitHub Wiki
Environment variables
You can set different environment variables to change the behavior of OpenSC:
HOME- The cache directory is set to
$HOME/.cache/openscon Unix.
- The cache directory is set to
OPENSC_CONF- Specify an alternative
opensc.conffile.
- Specify an alternative
OPENSC_DEBUG- See Using OpenSC.
OPENSC_DRIVER- Specify an driver, that will be used (the same behavior as
force_card_driverconfiguration option inopensc.conf).
- Specify an driver, that will be used (the same behavior as
PIV_EXT_AUTH_KEY- External authentication key used by PIV cards during initialization.
- The environment variable must point to either a binary file matching the length of the key or a text file containing the key in the format
XX:XX:XX:XX:XX:XX:XX:XX:XX:XX:XX:XX:XX:XX:XX:XX:XX:XX:XX:XX:XX:XX:XX:XX
PKCS11SPY- See Using OpenSC.
PKCS11SPY_OUTPUT- See Using OpenSC.
POSIXLY_CORRECTTERM- Is used to know if the terminal supports color or not. Supported color terminals are: "linux", "xterm", "Eterm", "rxvt", "rxvt-unicode"
USERPROFILE- The cache directory is set to
$USERPROFILE/eid-cache/ on Windows.
- The cache directory is set to