Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Uneeded config warnings when using keys in env vars ([pkcs7] both public_key and public_key_env_var specified, using public_key) #335

Open
rbelnap opened this issue Dec 29, 2022 · 0 comments

Comments

@rbelnap
Copy link

rbelnap commented Dec 29, 2022

When specifying keys as env vars, I receive warning messages on every operation:

[pkcs7] both public_key and public_key_env_var specified, using public_key
[pkcs7] both private_key and private_key_env_var specified, using private_key

This looks to be due to

warn "both public_key and public_key_env_var specified, using public_key"
and
warn "both public_key and public_key_env_var specified, using public_key"

The issue seems to be that because public_key has a default, it is always defined. I cannot find any way to unset it, so this warning displays any time env vars are used for keys. The warning is also misleading, since it does use the env var as expected.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant