ca-config - the CA Bot rc file
cabot is configured using ~/.cabotrc
. This file is executed as Perl script.
(So it gives you lots of rope!) It also gives you the possibility to refer
to other variable names in new variables, e.g.:
$CONFIG{'signoff'} = 'CA software running on behalf of ' . $CONFIG{'fullname'} .' <'. $CONFIG{'realaddress'}.'>';
The script is expected to define a hash %CONFIG
.
All keys should have strings as their values, except for
$CONFIG{'keyservers'}
, which holds a reference to an array.
The various keys and their meaning are:
sendoutdir
gets moved to, after challenge is sent. Used by
ca-recv(1) and ca-sendout(1). ca-recv(1) removes this directory before
exiting.
LOG
as well as a file
upload
get stored. Used by ca-recv(1), which moves sentdir
to tosign
and ca-dosign(1), which moves tosign
to done
.
final.mail
gets stored.
Used by ca-dosign(1), which moves tosign
to done
.
$CONFIG{'bot'} = "The CA Bot of John Doe <john-cabot@example.com>";
), under which the bot is running. Used in the emails sent by ca-dosign(1), ca-recv(1) and ca-sendout(1).
$CONFIG{'name'} = "John Doe <john-cabot@example.com>";
), used by the person controlling the bot. Used in the emails sent by ca-dosign(1) and ca-recv(1).
'|/usr/lib/sendmail -t'
.
gpg
binary. This setting is used only during the
actual signing phase of the process. It lets you use gpg
wrapper
like q-agent
and agpg
which saves passphrase typing.
no
if you don't want to get email notices when you have a new key
to sign.
An example ~/.cabotrc
file is installed in
/usr[/local]/share/doc/cabot/examples/cabotrc
.
~/.cabotrc
ca-bot(7)
Ideas how to setup ca-bot can be found in /usr/[local/]share/doc/cabot/ca-bot-noroot.txt (setup with procmail) and /usr/[local/]share/doc/cabot/cabot-micro-howto.txt.gz (setup with special user cabot). The first method is recommended, as it doesn't require root access.
This manpage: $Id: ca-config.pod 190 2005-05-03 18:57:47Z lfousse $
Copyright (c) 2003 Joost van Baal
Cabot is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2, or (at your option) any later version.
Cabot is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.
You should have received a copy of the GNU General Public License along with GNU Privacy Guard; if not, write to the Free Software Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.