After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 633924 - xmlsec-mscrypto: xmlSecMSCryptoAppPkcs12LoadMemory always creating a file in local user folder
xmlsec-mscrypto: xmlSecMSCryptoAppPkcs12LoadMemory always creating a file in ...
Status: RESOLVED FIXED
Product: xmlsec
Classification: Other
Component: general
CVS (HEAD)
Other Windows
: Normal normal
: ---
Assigned To: Aleksey Sanin
Aleksey Sanin
Depends on:
Blocks:
 
 
Reported: 2010-11-03 17:23 UTC by Giuseppe
Modified: 2014-05-23 17:28 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Giuseppe 2010-11-03 17:23:29 UTC
Hi

I noticed that a call to xmlSecMSCryptoAppPkcs12LoadMemory is always creating a new file into the following location: %USERPROFILE%\AppData\Roaming\Microsoft\Crypto\RSA\{S-X-X-XX...}

This is caused by a call to PFXImportCertStore. The problem is that this file will not be removed after calling xmlSecDSigCtxDestroy.

XMLSec version: 1.2.16
The platform/compiler: Visual Studio 2008 on Win 7

If you need more informations feel free to contact me.
Comment 1 Aleksey Sanin 2014-05-23 17:28:55 UTC
Fixed c098aed450a8ae272efad1fdeaa2450b67a2f46f

I believe PKCS12_NO_PERSIST_KEY should take care of it.