Pb Gnupg with cron
Samuel ]slund
samuel at Update.UU.SE
Fri Jan 28 13:35:10 CET 2005
On Fri, Jan 28, 2005 at 12:08:03PM +0100, Bastien Laporte-Riou wrote:
> Hello,
>
> I'm recently work with gnupg to encrypt my data on my server. I want to
> encrypt my data on a bakup script use in crontab, when i use it manually no
> problem the data was encrypt but when i use it on the cron the data wasn't
> encrypt.
> Here the following command i use:
> gpg -r bastien.laporte-riou at medincell.com --encrypt-files essai.txt.tar.gz
>
> I have previously create my key and when i use it on the console no problem
> where can the problem come?
Does the cronjob have exactly the same environment?
Especially homedir, user and permissions.
There was some talk about cronjobs on this list roughly half a year ago.
(The whole archive can be found at
http://lists.gnupg.org/pipermail/gnupg-users.mbox/?1106915328 )
I hope you have some good ways to restore your private key if you ever
need te backup ;-)
HTH
//Samuel
More information about the Gnupg-users
mailing list