Re: Exporting key without encryption
JexMcByte <[email protected]> Tue, 31 Jul 2012 11:35:45 -0700 (PDT)
| Newsgroups | gmane.comp.encryption.cryptlib |
|---|---|
| Message-ID | <[email protected]> |
The problems in the other thread are solved. Some others that showed up later are also solved. The only remaining problem is the exporting of an AES key without any encryption. Any ideas on that ? I could generate a random buffer the size of an AES key but that would only change the problem of exporting the key to importing it, so that would not solve the problem. Any thoughts ? Jacques JexMcByte wrote: > > Is it possible to export a key (AES-256) without any encryption ? > > cryptExport asks for a context containing a key to encrypt the exported > key. I've tryed CRYPT_UNUSED, NULL, empty context but none of those > worked. > > Is it possible or do we have a workaround to it ? > > I really need the plain key. > > For another task I'll need to export this key encrypted by a public key > (RSA), but the key I'm getting with > > res = cryptGetPublicKey( cryptDevice, &devicePubKey, CRYPT_KEYID_NAME, > label ); > > I'm not being able to get it inside a context so I can use the context to > export the AES key I mentioned, I'll also need to include the private RSA > key later to import this encrypted AES key. > > Maybe this (encrypted exporting/importing) will be solved when I have my > previous post problem solved. > > Jacques > -- View this message in context: http://old.nabble.com/Exporting-key-without-encryption-tp34221444p34237212.html Sent from the Cryptlib mailing list archive at Nabble.com. _______________________________________________ Cryptlib mailing list [email protected] via Mail: [email protected] Archive: ftp://ftp.franken.de/pub/crypt/cryptlib/archives/ http://news.gmane.org/gmane.comp.encryption.cryptlib Posts from non-subscribed addresses are blocked to prevent spam, please subscribe in order to post messages.