Skip to content

Expose all config options as env variable #616

@ulrichb

Description

@ulrichb

It would be nice to have all the config options additionally exposed as environment variable.

Currently, only PKCS11_PROVIDER_MODULE is exposed.

If a user also can pass e.g. pkcs11-module-token-pin, or pkcs11-module-quirks via env would avoid to write/set an openssl config file and everything could be passed "in memory". Okay the pin can be passed via the PKCS#11 URI, but setting it "from the environment" is better/easier in some cases.

The legacy libp11 engine also allowed to set (at least the most important) config values via env.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions