Hi,
I have a web app that will be generating some files that need be
transmitted through FTP to another server but, before doing so, they
must be PGP encrypted with, naturally, the public PGP key of the
receiver.
Say I have the file contents on a local variable in memory (these
files are small), is there any “easy” way to perform the PGP
encryption from RoR?
In other words, I’d like to avoid generating the clear file on the
file system and then calling a system process (probably gpg) to
encrypt it.
Has anyone here used ruby GPGME?
http://rubyforge.org/projects/ruby-gpgme/
I’ve successfully used GPGME libs w/other languages before, but the
ruby bindings don’t seem to be very active / stable? (the above is on
alpha … I need a prod-ready solution).
Any other ideas?
Thanks!
Seb
sbrocher wrote:
Hi,
I have a web app that will be generating some files that need be
transmitted through FTP to another server but, before doing so, they
must be PGP encrypted with, naturally, the public PGP key of the
receiver.
Say I have the file contents on a local variable in memory (these
files are small), is there any “easy” way to perform the PGP
encryption from RoR?
In other words, I’d like to avoid generating the clear file on the
file system and then calling a system process (probably gpg) to
encrypt it.
Has anyone here used ruby GPGME?
http://rubyforge.org/projects/ruby-gpgme/
I’ve successfully used GPGME libs w/other languages before, but the
ruby bindings don’t seem to be very active / stable? (the above is on
alpha … I need a prod-ready solution).
Any other ideas?
Thanks!
Seb
Seb,
Not sure if this helps you but we have ruby bindings for the commercial
version of PGP Command Line. The bindings require a licensed copy of PGP
Command Line which could prove cost prohibitive. If you purchased the
C/L through us we can provide you with the bindings.
If you are interested you can email me via [email protected]
Best Regards,
Carl