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.txthttp://suberic.net/~kevin
Maintained by the ILUG website team. The aim of Linux.ie is to
support and help commercial and private users of Linux in Ireland. You can
display ILUG news in your own webpages, read backend
information to find out how. Networking services kindly provided by HEAnet, server kindly donated by
Dell. Linux is a trademark of Linus Torvalds,
used with permission. No penguins were harmed in the production or maintenance
of this highly praised website. Looking for the
Indian Linux Users' Group? Try here. If you've read all this and aren't a lawyer: you should be!