Re: logrotate, cron and gpg

2021-04-08 Thread mj via Gnupg-users
Hi Werner and Marco, Thank you very much for both your kind responses. Have adjusted my config, and in my brief testing it seems to work. Curious to checkout my server tomorrow morning, after cron did it's nightly thing. Thank you! On 4/8/21 3:06 PM, Werner Koch via Gnupg-users wrote: On

Re: logrotate, cron and gpg

2021-04-08 Thread Werner Koch via Gnupg-users
On Thu, 8 Apr 2021 13:51, Marco Ricci said: > See above. You probably also want --batch as well. Definitely. It might also be a good idea to use a dedicated homedir (or user) for GnuPG or lacking this to add --no-options and give all args on the command line. Shalom-Salam, Werner -- Die

Re: logrotate, cron and gpg

2021-04-08 Thread Marco Ricci
Hi mj. Thus spoke mj: > We are trying to encrypt log files via logrotate & cron, and I hope > someone here can help out a bit. > > Our logrotate configuration file contains: > >> olddir gpg/ >> compress >> compresscmd /usr/bin/gpg >> compressoptions -vv --verbose --encrypt --defaul