procmail
[Top] [All Lists]

pgp key management

1996-04-17 01:16:54
-----BEGIN PGP SIGNED MESSAGE-----

Hi,

I'm fairly new to the list (and to procmail), but I wrote a few recipes 
to automate my public key management. I use pine3.90 and mkpgp to sign my 
mail and news messages. I have a rather large keyring, and I tend to 
update all the keys from the central keyservers once a month. The 
keyservers return a bunch of messages that I have to feed into pgp in 
order to adjust my keyring. I wrote this recipe to automate this tedious 
task.

Here it is:

# Public key management:
# We use sh syntax
SHELL=/bin/sh

:0
* ^From.*pgp-public-keys
{
# Add the key to my keyring and update mkpgp's key list
  :0 bfW: $PMDIR/pubkeys$LOCKEXT
  | pgp -kaf +verb=0 2>&1 ; pgp -kv +verb=0 2>/dev/null 1>$PGPPATH/mkpgpKeyList

# Change the Content-Type (It should have been application/pgp ;keys-only,
# but that doesn't match anymore)
  :0 fh
  | formail -I 'Content-Type: text/plain; charset=US-ASCII'

# Result in low priority mailbox
  :0:
  own-mail
# own-mail is a rather inappropriate name for this, but I don't want to 
# create a new mailbox just for my key management
}


- --
Guy Geens <guy(_dot_)geens(_at_)elis(_dot_)rug(_dot_)ac(_dot_)be>: Ph.D. 
student at ELIS -- TFCG / IMEC 
Home Page: http://www.elis.rug.ac.be/ELISgroups/tfcg/staff/gg.html 
finger ggeens(_at_)elis(_dot_)rug(_dot_)ac(_dot_)be for PGP public keys (or use 
keyserver) 

And disorder must come. And disorder must reign.
Every minute will count when disorder is king.



-----BEGIN PGP SIGNATURE-----
Version: 2.6.3i
Charset: noconv
Comment: pgp fingerprints in message headers

iQBVAwUBMXSn3XwHoCha5QR1AQF3mAH+JVk7COhWDY3g6mQsJ+X+AAyNJZLGOR6r
H8yYpJGRIzWC97qh+kMkQABrxIfjAQO4pnbR8i2Lm2wwzykAGKQScQ==
=iWir
-----END PGP SIGNATURE-----

<Prev in Thread] Current Thread [Next in Thread>
  • pgp key management, Guy Geens <=