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

Use Windows certificate store in Python sample #10

Open
forderud opened this issue Sep 8, 2022 · 0 comments
Open

Use Windows certificate store in Python sample #10

forderud opened this issue Sep 8, 2022 · 0 comments
Labels
enhancement New feature or request

Comments

@forderud
Copy link
Owner

forderud commented Sep 8, 2022

Python truststore issue: sethmlarson/truststore#78

The WebClient.py sample script currently relies on loading the client certificate (incl. private key) from a file instead of the Windows certificate store. This makes it incompatible with secure TPM-based storage of the private key.

Resources

It seems like Python 3.10 includes improvements in this area that will hopefully enable direct usage of the Windows certificate store (see https://sethmlarson.dev/blog/experimental-python-3.10-apis-and-trust-stores).

Python SSL sources:

OpenSSL sources:

@forderud forderud added the enhancement New feature or request label Sep 8, 2022
@forderud forderud changed the title Switch to Windows certificate store in Python sample Use Windows certificate store in Python sample Sep 8, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant