[ILUG] pgp...

kevin lyda kevin at suberic.net
Thu Nov 29 12:05:03 GMT 2001


On Thu, Nov 29, 2001 at 11:31:59AM +0000, John P. Looney wrote:
> On Thu, Nov 29, 2001 at 11:10:23AM +0000, kevin lyda mentioned:
> > i'd really like to encourage people to start using pgp/gpg.  considering
> > the recent news on /. regarding usa sniffing of email, i can't think of
> > a better time for people to get off their butts and start using it.
>  Problem being that ILUG doesn't allow GPG signed mails. And I've mutt set
> up to encrypt mails that replies to signed mails. I probably should set it
> up to encrypt mails to specific people too.

neat!  how?

i have a list of users i manually enter for encryption.  only two people
so far (how cool are liam and kathryn?) but there you go.

    send-hook user at host.tld         "set pgp_autoencrypt"

i suppose one way to do it would be to have a script that lists keys
and then builds up a file that's included in your .muttrc:

    #!/bin/sh
    if [ ! -f $HOME/.muttrc.gpgers \
	 -o $HOME/.gnupg/pubring.gpg -nt $HOME/.muttrc.gpgers ]; then
	gpg --list-keys \
	    | egrep '<.*@.*>' \
	    | sed 's/^.*<\(.*\)>.*$/send-hook "\1" "set pgp_autoencrypt"/' \
	    > $HOME/.muttrc.gpgers.tmp
	mv $HOME/.muttrc.gpgers.tmp $HOME/.muttrc.gpgers
    fi

and in ~/.muttrc just have:

    source ~/.muttrc.gpgers

one odd thing though - if liam or kathryn are in a list of recipients
i have to deselect encryption.

kevin

-- 
kevin at suberic.net          gpg or pgp encrypted mail is preferred.  my
fork()'ed on 37058400      public key is available at:
meatspace place: home      http://suberic.net/~kevin/gpg.roo.public.txt
http://suberic.net/~kevin  




More information about the ILUG mailing list