aspose file tools*
The moose likes Security and the fly likes Open PGP problem Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Engineering » Security
Bookmark "Open PGP problem" Watch "Open PGP problem" New topic
Author

Open PGP problem

Charith De Silva
Greenhorn

Joined: Mar 26, 2009
Posts: 18
Hi,

I'm new to PGP + email encryptions. If any one have clear documentation how to encrypt your email using PGP please put it forward. I downloaded some sample and tried to run but it gives following error.



Please let me know how to find more information for this.

Thanks
charith

Pat Farrell
Rancher

Joined: Aug 11, 2007
Posts: 4659
    
    5

PGP or GPG are fairly user hostile. Most folks use a plugin for their mail client to do the hard work.

For example, if you use Thunderbird, you can install the Enigmail plugin.
Charith De Silva
Greenhorn

Joined: Mar 26, 2009
Posts: 18
@Pat Farrell

Thanks for your reply. But I need to do this at the application level. I need to encrypt my mails generates via application written in jee. Looking forward to your response.
Pat Farrell
Rancher

Joined: Aug 11, 2007
Posts: 4659
    
    5

Charith De Silva wrote:But I need to do this at the application level. I need to encrypt my mails generates via application written in jee. Looking forward to your response.


Then look at the source code for EnigMail or the RFCs. You may also want to look at the OpenSSL libraries

In principal, you use PGP/GPG to encipher the clear text message, and attach the ciphertext as a mime-type in the outgoing email. Reverse on incomming.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Open PGP problem