-
Notifications
You must be signed in to change notification settings - Fork 753
Environment variables
Veronika Hanulíková edited this page Apr 25, 2024
·
1 revision
You can set different environment variables to change the behavior of OpenSC:
-
HOME
- The cache directory is set to
$HOME/.cache/opensc
on Unix.
- The cache directory is set to
-
OPENSC_CONF
- Specify an alternative
opensc.conf
file.
- Specify an alternative
-
OPENSC_DEBUG
- See Using OpenSC.
-
OPENSC_DRIVER
- Specify an driver, that will be used (the same behavior as
force_card_driver
configuration 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_CORRECT
-
TERM
- 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
Warning: Due to attempts to plant malicious links to our wiki, it is no longer open to anyone to edit. If you want to contribute to this, wiki, please open a pull request here: https://github.com/OpenSC/Wiki.