[gnutls-devel] GnuTLS | System key usability issue (#1365)

Read-only notification of GnuTLS library development activities gnutls-devel at lists.gnutls.org
Wed May 18 21:19:17 CEST 2022




Brian Wickman commented:


It looks like from the error log that the code failed on the call to NCryptOpenStorageProvider (line 861) and so tries to interact with the key using the Windows legacy crypto API (I'm basing that on the log mentioning calling privkey_import_capi instead of privkey_import_ncrypt). The problem is that the reference in the log to trying to open the "Microsoft Platform Crypto Provider" means that the private key is stored in the TPM and therefore, IIRC, can only be interacted with via the modern API (CNG). Hopefully if the call to NCryptOpenStorageProvider can be made to succeed then it would work

-- 
Reply to this email directly or view it on GitLab: https://gitlab.com/gnutls/gnutls/-/issues/1365#note_951769946
You're receiving this email because of your account on gitlab.com.


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.gnupg.org/pipermail/gnutls-devel/attachments/20220518/ae6b0505/attachment.html>


More information about the Gnutls-devel mailing list