aboutsummaryrefslogtreecommitdiff
path: root/share/man/man1/croncrypt.1
blob: dd5b50870161799fdd2dffd542862ef68a0c3cbf (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
.TH CRONCRYPT 1 "May 2014" "Manual page for croncrypt"
.SH NAME
.B croncrypt
\- sign and encrypt cron(8) output with PGP/MIME
.SH SYNOPSIS
    $ crontab -l
    CRONCRYPT_KEYID=0x0A1B2C3D4E5F6G7H
    CRONCRYPT_PASSPHRASE=hibbityboo
    MAILTO=me@mynet
    0 1 * * *  croncrypt rsync /home/tom/important-file /home/backups
.SH DESCRIPTION
.B croncrypt
signs and encrypts cron(8) output and errors with PGP/MIME before emailing it
to the MAILTO address.
.PP
The main design goal is simplicity; just whack it in front of all your
crontab(5) entries, provided they don't use pipes or stderr/stdout redirects,
in which case you should consider putting it all into a script file anyway.
.PP
Don't use your own GPG key for signing! I recommend you create a dedicated key
just for Croncrypt, and sign it locally with gpg --lsign so that your software
trusts it locally.
.SH SEE ALSO
gpg(1), gpg-agent(1), IPC::Run3(3pm), Mail::GnuPG(3pm), MIME::Entity(3pm)
.SH AUTHOR
Tom Ryder <tom@sanctum.geek.nz>