Skip to content

Allow setting SSL password for client #722

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

Draft
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

petere
Copy link

@petere petere commented Jul 29, 2024

This allows passing a password or callback to get the password for the client SSL key.

I added a new parameter key_password to the client, which can be specified either as argument in the code or in the configuration, as usual. This is passed through to SSLContext.load_cert_chain(). That way, the password can be specified as a string in the configuration file for simple uses, and for more complex uses, clients can pass a callback function into the client class.

See also #588.

Thoughts?

petere added 2 commits July 29, 2024 11:19
This allows passing a password or callback to get the password for the
client SSL key.

closes OpenKMIP#588
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

Successfully merging this pull request may close these issues.

1 participant