Re: gpg and cron

2007-06-04 Thread Henry Hertz Hobbit
Peter S. May wrote: Arsha Bertie wrote: i have been trying to run a script which encrypts and transfers files between 2 branches, i am using gpg for encryption, i have written a bash script and the script is working perfectly fine, but when i run it off a cron it doesnt want to work.

Re: gpg on cron task

2006-02-10 Thread Olaf Gellert
on the system who can run ps might see the password while your commands are running... Executing it from a cron task I obtained in /tmp/debug3.txt the following line gpg: cannot open `/dev/tty': No such device or address As you are going to run gpg from a cron job, ie without any associated tty

Re: gpg on cron task

2006-02-08 Thread Janusz A. Urbanowicz
On Sat, Feb 04, 2006 at 12:13:45AM -0500, Atom Smasher wrote: On Sat, 4 Feb 2006, enediel gonzalez wrote: ?php === why are you using php for a cron job? many people deploy PHP cron scripts because thats the only language they know (which is probably the case) on one of such

Re: gpg on cron task

2006-02-06 Thread enediel gonzalez
somebody show me an example how to do it in any way? I'm sorry, I searched without find the answer to this question. Thanks in advance for any answer Enediel Linux user 300141 Debian GNU/Linux From: Atom Smasher [EMAIL PROTECTED] To: enediel gonzalez [EMAIL PROTECTED] Subject: Re: gpg on cron

RE: gpg on cron task

2006-02-06 Thread Henry Hertz Hobbit
enediel gonzalez [EMAIL PROTECTED] wrote: Hello: I use debian sarge and I need to encrypt and decrypt automatically backup files using gpg I created a php script will the whole procedure, which includes the following declaration ?php ... $str_execute = cd /tmp/backup \

Re: gpg on cron task

2006-02-03 Thread Atom Smasher
On Sat, 4 Feb 2006, enediel gonzalez wrote: ?php === why are you using php for a cron job? signing or decrypting non-interactively requires that you either have a key without a passphrase, or a passphrase stored in a file. neither of these are secure. tell us a little more