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 160 2005-01-05 10:16:17Z lfousse $
Peter Palfrader, based upon work by Ian Jackson