Forum: Ruby on Rails Sending GPG encrypted e-mails

Announcement (2017-05-07): www.ruby-forum.com is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see rubyonrails.org/community and ruby-lang.org/en/community for other Rails- und Ruby-related community platforms.
207a26f9681e4d0c270c8c5c07a75bd2?d=identicon&s=25 Andrea B. (Guest)
on 2007-06-13 20:03
(Received via mailing list)
Hi,

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


WHAT I'VE TRIED:

I followed all the instructions from this tutorial:
http://www.ahgsoftware.com/articles/2007/03/18/how...

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

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


QUESTION:

Would it be considered secure to write the captured form data into a
file,
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.

__
Andy
This topic is locked and can not be replied to.