Re: CryptMsgControl Error
From: Erhan Cetintas (cetintas_at_uekae.tubitak.gov.tr)
Date: 07/08/04
- Next message: user_at_domain.invalid: "processes with NULL-Dacls"
- Previous message: prem: "Reg. ADsOpenObject() !!"
- In reply to: Monica Ene-Pietrosanu[MSFT]: "Re: CryptMsgControl Error"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
Date: 8 Jul 2004 05:53:26 -0700
- We use the same operating system and machine. (Windows 2000)
- Since we can still encrypt and decrypt new files, the key container
is undamaged.
- Certificate is available on the store. Before this function
CryptAcquireCertificatePrivateKey is successful.
Thanks,
Erhan Cetintas
TUBITAK-UEAKE
"Monica Ene-Pietrosanu[MSFT]" <monicae@online.microsoft.com> wrote in message news:<#xmkwI4YEHA.1264@TK2MSFTNGP11.phx.gbl>...
> There are multiple reasons why this may fail, you need to provide more
> details as of what changed in your environment.
> Here are some hints:
> - operating system that you do decryption on is different (note that XP has
> different default key sizes and default CSP than NT)
> - key container may have become corrupted. You can check it by writing a
> simple app that does a CryptAcquireCOntext on the container that you are
> using.
> - certificate may no longer be available in the store
> and so on.
> --
> Monica Ene-Pietrosanu [MS]
> Windows Security
>
> This posting is provided "AS IS" with no warranties, and confers no rights.
>
>
> "Erhan Cetintas" <cetintas@uekae.tubitak.gov.tr> wrote in message
> news:24444196.0407060424.2bcbea9b@posting.google.com...
> > Hello,
> > we encrypt files with pkcs7 encoding using streaming method. Until now
> > there was no problem during decrypt process. Hovewer, we have some
> > encrypted files which cannot be decrypted. During decrypt process
> > CryptMsgControl function gives NTE_FAIL (0x80090020) error code. Why
> > does this function gives this error code? Any idea?
> >
> > Thank in advance,
> > Erhan Cetintas
> > TUBITAK-UEKAE
- Next message: user_at_domain.invalid: "processes with NULL-Dacls"
- Previous message: prem: "Reg. ADsOpenObject() !!"
- In reply to: Monica Ene-Pietrosanu[MSFT]: "Re: CryptMsgControl Error"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
Relevant Pages
|