Quantcast
Channel: clrsecurity Forum Rss Feed
Browsing all 40 articles
Browse latest View live

New Post: CryptoConfig2

Shawn,I found the following information in http://social.msdn.microsoft.com/Forums/en-US/Geneva/thread/35c10fe5-9693-4f3a-9c5c-8afbb423ee95 For those who were unable to get this problem resolved using...

View Article


New Post: CryptoConfig2

When building 64 bit, make sure that you're referencing the 64 bit version of mscorlib.dll (in Framework64, rather than Framework).   If the OS doesn't have the OIDs in place, then yes, updating them...

View Article


New Post: CryptoConfig2

Hi,I'm experiencing the same problem, getting a "Invalid algorithm specified." when trying to sign with SHA-256 using SignHash. I'm also getting the same error when trying to use SignedXml and setting...

View Article

New Post: CryptoConfig2

You are on the right track, one detail missingThe rsa object is linked to the wrong cryptoservice provider.To create an RSA-SHA256 signature you will need to force the Microsoft Enhanced RSA and AES...

View Article

New Post: CryptoConfig2

Thank you, it works!As it turns out, I don't need the CLR security package at all, I was just using the wrong crypto service provider.When I was using the code I'm getting the "Microsoft Strong...

View Article


New Post: Full Backup & Recovery of RSA Keypair ( CNGKey.Import...

Guys, I need your help please!  .NET CNG makes me crazy... I'm using your .NET wrappers for CNG and what I'm trying to achive is: backup & recovery of CNG RSA keypairs using "Microsoft Software Key...

View Article

New Post: FIPS 186-2 PRF

Hi guys I'm developing a radius server that supports eap-sim. Based on 4186 I need to do FIPS 186-2 PRF based on the master key computed. Is there a function implemented on this library that provides a...

View Article

New Post: Enumerating KeyContainer names on XP

Hi,My group is using aspnet_regiis -pi to load key containers to encrypt parts of web.config.I know I can use -pi to install key containers, -pe to export, or -pz to delete containers, but don't know...

View Article


New Post: Create CNG Keys

Hi,I have been able to create a CNG Key with this, even gone as far as manipulating some of the parameters... Now only need to be able to specify the key length, which I have not been able to do......

View Article


New Post: [Solved] Create CNG Keys

[SOLVED] Posting for other for the benefit of others. Change the original posting's line #5 to:cngParams.Parameters.Add(new CngProperty("Length", BitConverter.GetBytes(2048),...

View Article

New Post: Memory leaks???

I think this project suffer some kind of memory leak. I created an application to perform as many AES encryption/decryption per second as the machine can, but the memory consumption increase without...

View Article

New Post: Memory leaks???

While your code is disposing of the CryptoStreams, it's not disposing of the ICryptoTransforms that the stream uses.   Specifically, the encryptionObject.CreateEncryptor and CreateDecryptor objects are...

View Article

New Post: The naming of "security.dll" causes...

 I think the naming of security.dll is causing an exception with the following code class Program { staticvoid Main(string[] args) { conststring HostName = "email.nfp.com"; TcpClient tcpClient = new...

View Article


New Post: PEM-formatted RSA key pair... can this library help

I want to generate an RSA key pair and export and import that in PEM format. I found a way to read a PEM file in this library, but no way to export it, or import a public key. Assistance is appreciated.

View Article

New Post: Quick Question on RSA with SHA256 Signing (What am i missing?)

I am trying to understand the basics of RSA w/SHA256 hashing.  After reading the RFC docs i get the impression RSA-SHA256 works in this order: FIRST: Hash the data using SHA256 hashing SECOND: Use the...

View Article


New Post: CryptoConfig2

Descartes2,Can you let  me know if you got this working in .Net 3.5 with Cryptoconfig2 and Signedxml.signedinfo.signaturemethod as SHA 256.? I have updated the configs and the Security.Cryptography.dll...

View Article

New Post: CryptoConfig2

The explicit type 24 construction method works on both .NET 3.5 as well as on .NET 4.0 on the x64 bit OS Windows 2008R2.Please note that you need to find the corresponding machine.config and add...

View Article


New Post: Support for secp256k1?

I need support for the secp256k1 curve in .NET and would rather use native libraries. What is the likelyhood of getting this included in any version (P/Invoke or not)?

View Article

New Post: using GCM with TagSize=96 throws CryptographicException

When i try authenthed encryption using GCM, TagSize=96 and plain text >= 16 bytes an CryptographicException throws: System.Security.Cryptography.CryptographicException : An invalid parameter was...

View Article

New Post: MSFT: What is the roadmap / future of this project ?

Can the project owner or project manager comment on what the roadmap for CLR Security looks like and what project does Microsoft intend to spotlight as the main cryptographic and security library?For...

View Article
Browsing all 40 articles
Browse latest View live


Latest Images