Sending GPG encrypted e-mails


Has anyone has any success using GPG through ruby on rails?


I followed all the instructions from this tutorial:

however, I am getting en ERROR I haven’t been able to resolve:

gpg: fatal: unable to reopen standard input, output, or error


Would it be considered secure to write the captured form data into a
then run an external exec command (a script which will accept the
tmpfilename for encryption)
to encrypt the file then delete the plaintext copy?

What would be the most secure way (this is for an online store) to
encrypt a message with
RECIPIENT key and send it off?

Is there a way to encrypt the e-mail body without having to write the
plaintext to disk first?

Any help would be greatly appreciated.


This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs