RE: Cannot decrypt files encrypted using Crypto API on a different



Hi Mounir,
I have sent the encrypt/decrypt methods to you at
mounir@xxxxxxxxx

Any feedback from you would be great help.


Thanks,
Vishal

"Mounir IDRASSI" wrote:

Hi,

This error means "Key does not exist" which leads me to suspect that you are
passing a invalid key handle in the hPubKey parameters. If the blob contains
data encrypted with an exchange key, you have to check that the you have
acquired the right handle to it from the CSP.
Can you post a snippet of your code to show how you perform the operation?

Cheers,
--
Mounir IDRASSI
IDRIX
http://www.idrix.fr

To reach me: mounir_idrix_fr (replace the underscores with the at and dot
characters respectively)


"vishalchowdhary" wrote:

Hi,
I'm new to the Crypto API and used it to encrypt a bunch of files. The
decryption works fine on my machine. However, when I try to decrypt the
encrypted files on a different machine, I get the error code 8009000d for
CryptImportKey()

Can anyone please help me?


Thanks,
Vishal
.



Relevant Pages

  • Re: Client / server data retrieval
    ... You 'should' still be able to use the UDF to encrypt/decrypt the data. ... may need to create views that allow the decryption -but if the security ... the Server is SQL SERVER 2000. ...
    (microsoft.public.sqlserver.clients)
  • Re: EFS - Why decryption necessary when copying file?
    ... >>>Also, when copying, unless the target directory is marked ... >the encrypt/decrypt as a 64KB blocked algorithm that takes ... >> After I saw that I expected the same behavior when copying ... >>>result in the file passing through decryption. ...
    (microsoft.public.windowsxp.security_admin)
  • Easy way for users to share encrypted files
    ... I've already created a GPO to put the Encrypt/Decrypt option in the ... users to add other certificates to their files. ... allow users to share encrypted files? ...
    (microsoft.public.windowsxp.security_admin)

Quantcast