[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 22:29:40 CEST 2022




David Woodhouse commented:


```diff
@@ -707,7 +707,7 @@ int privkey_import_ncrypt(gnutls_privkey
 	WCHAR algo_str[64];
 	DWORD algo_str_size = 0;
 
-	r = pNCryptOpenKey(*sctx, &nc, kpi->pwszContainerName, 0, 0);
+	r = pNCryptOpenKey(*sctx, &nc, kpi->pwszContainerName, 0, NCRYPT_MACHINE_KEY_FLAG);
 	if (FAILED(r)) {
 		ret =
 			gnutls_assert_val

```

 * http://david.woodhou.se/libgnutls-30.dll.local_machine-flag 8499e243e43d953ab6ae3a527b7e572808926bb410ab998f521a4d3b9af587e9

-- 
Reply to this email directly or view it on GitLab: https://gitlab.com/gnutls/gnutls/-/issues/1365#note_951847006
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/f9b75b43/attachment.html>


More information about the Gnutls-devel mailing list