This project has moved. For the latest updates, please go here.

Add support for signing XML files

It'd be nice if some supported was added to sign XML files. We were using Mage.exe with our old certificates to sign ClickOnce and VSTO files. With the new certificates, Mage.exe doesn't work and I...

Id #11073 | Release: None | Updated: Oct 27, 2016 at 11:31 AM by WTix | Created: Mar 22, 2016 at 6:17 PM by klac503

NuGet package

Please build NuGet package for this library. It will be easy to integrate it to modern project structure.

Id #11062 | Release: None | Updated: Feb 17, 2016 at 3:35 PM by stepanf | Created: Feb 17, 2016 at 3:35 PM by stepanf

1.7.2 version is 1.7.1 in dll

I have just downloaded 1.7.2 zip package and looks like dll have file version 1.7.1 Probably it should be equal to release number. It makes confusion when improting dll to project.

Id #11061 | Release: None | Updated: Feb 17, 2016 at 3:35 PM by stepanf | Created: Feb 17, 2016 at 3:35 PM by stepanf

CreateSelfSignedCertificate on any non-RSA key fails with 'The parameter is incorrect.'

This vague error occurs for all CngAlgorithms except RSA: using (var key = CngKey.Create(CngAlgorithm.ECDsaP521, null, new CngKeyCreationParameters { ExportPolicy = CngExportPolicies.AllowExport, K...

Id #11039 | Release: None | Updated: Apr 19, 2016 at 12:01 AM by janmchan | Created: Dec 18, 2015 at 4:54 PM by jnm2

XmlDsigXPathWithNamespacesTransform is not preserving whitespace

When using the provided XmlDsigXPathWithNamespacesTransform class to verify a signature, the whitespace is stripped out of the document when loading into a XmlDocument before canonicalization. Thi...

Id #10999 | Release: None | Updated: Sep 1, 2015 at 4:17 PM by ysc | Created: Sep 1, 2015 at 4:17 PM by ysc

Win7/2008 detection may break on X86 due to floating-point rounding errors

Commit 75777 implemented PBKDF2 for Win7/2008. The platform check uses double math to compare the version and may fail depending on how the JIT optimizes the code.

Id #10922 | Release: None | Updated: Apr 15, 2015 at 10:49 AM by nrieck | Created: Apr 15, 2015 at 10:45 AM by nrieck

CryptographicException thrown if the stream is disposed before it has been fully read in full.

Hi, We've experienced a scenario where by people who are aborting download of an encrypted file cause an exception to be thrown. at Security.Cryptography.BCryptNative.SymmetricDecrypt(SafeBCryptK...

Id #10904 | Release: None | Updated: Mar 20, 2015 at 3:01 PM by dstockhammer | Created: Mar 20, 2015 at 2:52 PM by tapmantwo

Not compatible with "Microsoft Platform Crypto Provider" for TPM device

Hi, When I use your Cng implementation for creating a selg signed certificate for a TPM device...I encountered the following exception in your code X509Native.cs : // Setup a CRYPT_KEY...

Id #10876 | Release: None | Updated: Jan 30, 2015 at 12:04 PM by pstephan78510 | Created: Jan 30, 2015 at 12:04 PM by pstephan78510

RSACng.SignHash XML documentation incorrectly named parameter reference

The xml documentation for instances of this method refer to a data parameter but should be referring to the hash parameter.

Id #9692 | Release: None | Updated: Feb 14, 2013 at 7:37 PM by rcollette | Created: Oct 25, 2012 at 10:32 PM by rcollette

RNGCng requires new on Dispose method

The RNGCng.Dispose method hides the base class Dispose method and should have the new keyword.

Id #9691 | Release: None | Updated: Feb 14, 2013 at 7:37 PM by rcollette | Created: Oct 25, 2012 at 10:30 PM by rcollette