Skip to content

Environment variables

Jakub Jelen edited this page Feb 19, 2018 · 3 revisions

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 Using OpenSC

OPENSC_DRIVER

Specify an driver, that will be used (the same behavior as force_card_driver configuration option in opensc.conf ).

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 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.

Clone this wiki locally