Problem with decrypting message using GnuPGWrapper v1.0

Joseph Tseung joseph at bluefield.com.hk
Fri Sep 3 09:02:54 CEST 2004


I am using GnuPGWrapper v1.0 in my .NET application.

http://www.codeguru.com/Csharp/.NET/net_security/pgp/article.php/c4699/

I am using GnuPG for Windows and PGP 8.0.3. I created a key pair in PGP
and imported both public and secret keys into GnuPG. An email was
encrypted using that public key by MS Outlook and I am trying to use the
wrapper GnuPGWrapper v1.0 to decrypt the message in an .NET application.


When running gpg.ExecuteCommand(), I ran into the following error:

gpg: malformed CRC\r\ngpg: quoted printable character in armor -
probably a buggy MTA has been used\r\n

I noticed that my encrypted message text has some special characters
like "=20", "\r\n". Is this the problem? How can I resolve it?

Do you think this problem can be resolved if I do the key import/export
in the opposite direction (i.e. create the key in GnuPG and export it to
PGP)?

thanks.
 
 
 



More information about the Gnupg-users mailing list