Home All Groups Group Topic Archive Search About

Encrypting data using System.Security.Cryptography/ Decrypting w/PGP

Author
2 Mar 2005 3:21 PM
foobar
Given a pgp public key:  Is it possible to encrypt data using the
System.Security.Cryptograghy library and decrypt the data using PGPcmdln?  I
tried and got this error (while trying to decrypt the file):  "File is not a
PGP file!".  What can I do?

Author
2 Mar 2005 3:24 PM
Eugene Mayevski
Hello!
You wrote  on Wed, 2 Mar 2005 09:21:36 -0600:

f> Given a pgp public key:  Is it possible to encrypt data using the
f> System.Security.Cryptograghy library and decrypt the data using
f> PGPcmdln?  I tried and got this error (while trying to decrypt the
f> file):  "File is not a PGP file!".  What can I do?

Use PGP library for .NET. You might want to check at http://www.secureblackbox.com/description-sec-pgpblackbox.html
PGPBlackbox for .NET will be officially released in about a week (it's beta
now).

With best regards,
Eugene Mayevski
Author
2 Mar 2005 5:06 PM
Dominick Baier [DevelopMentor]
Hello foobar,

no, that will not work. .NET does not have support for PGP keys (1.1 and
2.0).

dominick baier - DevelopMentor
www.leastprivilege.com

Show quoteHide quote
> Given a pgp public key:  Is it possible to encrypt data using the
> System.Security.Cryptograghy library and decrypt the data using
> PGPcmdln?  I tried and got this error (while trying to decrypt the
> file):  "File is not a PGP file!".  What can I do?
>