[thelist] recommendation on GPG scripts?

Bob Meetin bobm at dottedi.biz
Fri Nov 30 09:48:43 CST 2007

Martin, all,

I found this help file and some others that seem useful.  If I execute 
gpg command-line all is well.  However, if I attempt to make this work 
in my PHP scripts it produces no output, no whatever.gpg file, nothing.  
Here is a link to a test folder I created on my site:


see gpg.php to run it and gpg-php.txt to view the script

File permissions on the gpg folder are 755 which is what is recommeded 
by the hosting company.  This works for all my other php scripts, upload 
forms, etc. I poked around to see if the output files are going 
elsewhere, but nothing under my account or in /tmp.  It's as if gpg runs 
invisibly and produces invisible output.   My head is either spinning or 
hurting or perhaps both.


Martin Burns wrote:
> On 28 Nov 2007, at 20:37, Bob Meetin wrote:
>> As I search google and possibly my hosting service for some ready-made
>> scripts, just wondering if anyone on the list has any recommendations on
>> something they're using to encrypt/decrypt files using PHP and GPG?
> 2nd result on Googling 'PHP GPG':
> http://devzone.zend.com/node/view/id/1265
> Just be wary though of decrypting on the server as that implies the 
> private key being there, which isn't A Good Thing without a *lot* of 
> thought about security.
> Cheers
> Martin
> -- 
> > Spammers: Send me email -> yumyum at easyweb.co.uk to train my filter
> > http://dspam.nuclearelephant.com/

Bob Meetin
dotted i - Internet Strategies & Solutions

More information about the thelist mailing list