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.
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
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
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
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 \
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