ca-recv - parse email message, holding a reply to a cabot GPG challenge
ca-recv
ca-recv expects an email message on stdin. In this message, it looks for lines containing
Key: Magic: Upload to keyservers:
.
It verifies the Magic: against the cookie stored in sentdir/MAGIC, and exits if this fails.
It creates tosign/LOG, and, if the mail contains a request for uploading,
tosign/upload. It mails a report to name
as specified in ca-config(5).
If everything went fine, this report looks like:
Subject: CABOT: new key in tosign To: John Doe <john@example.com> From: CA Bot running on behalf of John Doe <john-cabot@example.com>
Keyid: ABC01234 Uid: Foo Bar <foo@example.com>
Original message: <the complete original email message>
Messages on errors, if any, are mailed to name
too.
ca-recv is part of the ca-bot(7) process; typically, ca-dosign(1) is run after ca-recv.
ca-bot(7), ca-config(5)
$Id: ca-recv 115 2004-03-25 07:24:53Z weasel $
Copyright (c) 1998 Ian Jackson, (c) 2001, 2003 Peter Palfrader
This program 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.
This program 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.
Peter Palfrader, based upon work by Ian Jackson