[14616] in cryptography@c2.net mail archive

home help back first fref pref prev next nref lref last post

Re: Internal format of RSA private keys in microsoft keystore.

daemon@ATHENA.MIT.EDU (t.c.jones@att.net)
Sun Oct 12 03:06:51 2003

X-Original-To: cryptography@metzdowd.com
X-Original-To: cryptography@metzdowd.com
From: t.c.jones@att.net
To: "R.Sriram" <rsriram@encentuate.com>
Cc: cryptography@metzdowd.com, 
Date: Sun, 12 Oct 2003 03:14:46 +0000

key containers in MS are encrypted.
there is a capi m/l to be found at 
http://discuss.microsoft.com/archives/index.html
..tom
> Greetings,
> 
> In the process of trying to work around some of the limitations
> of the m$-CAPI API, I'm trying to decipher the internal representation
> of private keys in the default m$ key store, in order to extract
> the private key out.
> 
> The systems I'm working on are Win2K and XP, both on NTFS.
> 
> Google didn't give me much. Has anyone been able to figure out
> the format of private key files? You can have a look at
> C:/Documents and Settings/username/Application Data/Microsoft/
> Crypto/RSA/*/filename
> 
> I'm trying this because CryptAcquireContext() dies with the error
> NTE_BAD_KEYSET half the time. This is supposed to indicate that the
> key container doesn't exist or it could be corrupted. At this point
> I'm trying to see if the files are in good shape by reading them
> out.
> 
> Having come from a Unix world, there may be something obvious I'm
> missing out, so please have patience :)
> 
> Thanks,
> Sriram.
> 
> 
> ---------------------------------------------------------------------

> The Cryptography Mailing List
> Unsubscribe by sending "unsubscribe cryptography" to majordomo@metzdowd.com

---------------------------------------------------------------------
The Cryptography Mailing List
Unsubscribe by sending "unsubscribe cryptography" to majordomo@metzdowd.com

home help back first fref pref prev next nref lref last post