Environment variables
You can set different environment variables to change the behavior of OpenSC.
HOME
The cache directory is set to $HOME/.eid/cache/ on Unix.
OPENSC_CONF
Specify an alternative opensc.conf file.
OPENSC_DEBUG
See UsingOpensc
PIV_9A06_KEY
See PivTool Points at file with public key used when generating a certificate request.
PIV_EXT_AUTH_KEY
See PivTool Used with PIV cards during initialization.
PKCS11SPY
See UsingOpensc
PKCS11SPY_OUTPUT
See UsingOpensc
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.