Metadata-Version: 2.4
Name: py_cert_store
Version: 0.1.0
Classifier: Programming Language :: Rust
Classifier: Programming Language :: Python :: Implementation :: CPython
Classifier: Programming Language :: Python :: Implementation :: PyPy
License-File: LICENSE
Requires-Python: >=3.8
Description-Content-Type: text/markdown; charset=UTF-8; variant=GFM

# Python Certificate Store

The Python Certificate Store (Py_Cert_Store) is a module designed with the intention of interacting with the windows certificate store.

The initial design of this module is to find a certificate meeting a set of basic criteria (Not expired, contains an extension, and is exportable).

# Note:

This project is a Work in Progress and changes will be made

## Python Implementation (WIP)

This code is designed to return information about a discovered certificate; this information can be used to write a new SSL connection.

```python
import py_cert_store
from cryptography import x509 # This feature is not working currently # Optional, but highly recomended

key_usage_oid = x509.OID_KEY_USAGE

certificate = py_cert_store.find_windows_cert_by_extension(
    store="MY",
    extension_oid=key_usage_oid.dotted_string,
    extension_value="Digital Signature"
)
```

WIP: How to use the certificate found by the module with a new ssl context

