Re: Use TPM from Crypto API

Tim Roberts <[email protected]>
Newsgroups gmane.comp.python.windows
Message-ID <[email protected]>
On Nov 22, 2020, at 4:16 AM, Antoine FERRON via python-win32 <[email protected]> wrote:
> 
> Can you confirm that TPM "Microsoft Platform Crypto Provider" requires "CNG", and pywin32 is only "CAPI" capable ?

This is not a Python question at all.  Look at the MSDN documentation page for the CryptEnumProviders API.  You’ll see that it is deprecated, and only accesses the base cryptographic provider and the enhanced cryptographic provider.  Remember that pywin32 is, in almost every case, a relatively thin wrapper around the Windows APIs.


> Anyway, do you have some ideas in mind to reach my goal ?

The APIs from ncrypt.dll are not, as of yet, exposed in pywin32.  You can certainly use ctypes to access them.
— 
Tim Roberts, [email protected]
Providenza & Boekelheide, Inc.

_______________________________________________
python-win32 mailing list
[email protected]
https://mail.python.org/mailman/listinfo/python-win32
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.