Problem with decrypting message using GnuPGWrapper v1.0

Joseph Tseung joseph at bluefield.com.hk
Thu Sep 9 12:04:16 CEST 2004


I resolved this problem by replacing every instance of "=3D" by "=" in
the encrypted message before decrypting it using the wrapper.

Joseph 

> -----Original Message-----
> From: gnupg-users-bounces at gnupg.org 
> [mailto:gnupg-users-bounces at gnupg.org] On Behalf Of Joseph Tseung
> Sent: 03 September 2004 15:03
> To: gnupg-users at gnupg.org
> Subject: Problem with decrypting message using GnuPGWrapper v1.0 
> 
> I am using GnuPGWrapper v1.0 in my .NET application.
> 
> http://www.codeguru.com/Csharp/.NET/net_security/pgp/article.p
> hp/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.
>  
>  
>  
> 
> _______________________________________________
> Gnupg-users mailing list
> Gnupg-users at gnupg.org
> http://lists.gnupg.org/mailman/listinfo/gnupg-users
> 



More information about the Gnupg-users mailing list