Right now initialize_windows_cert_store() uses CertOpenSystemStore() thus allowing only usage of CERT_SYSTEM_STORE_CURRENT_USER. When replaced with CertOpenStore() it could allow for usage of other stores such as CERT_SYSTEM_STORE_LOCAL_MACHINE.
This needs to reflect in the URI parsing done in cng_store_open(). Perhaps it will be a good idea to use parse_uri_from_store_open() and load more information into the store_ctx and use it later as arguments to initialize_windows_cert_store().
Right now
initialize_windows_cert_store()
usesCertOpenSystemStore()
thus allowing only usage ofCERT_SYSTEM_STORE_CURRENT_USER
. When replaced withCertOpenStore()
it could allow for usage of other stores such asCERT_SYSTEM_STORE_LOCAL_MACHINE
.This needs to reflect in the URI parsing done in
cng_store_open()
. Perhaps it will be a good idea to useparse_uri_from_store_open()
and load more information into thestore_ctx
and use it later as arguments toinitialize_windows_cert_store()
.