Encrypting emails to multiple recipients.
Werner Koch
wk@gnupg.org
Thu Apr 5 10:27:13 2001
On Thu, 5 Apr 2001, David wrote:
> Hi I'm just wondering if anyone can remember a little wrapper or
> something for gpg that was floating around a while back that allowed you
> to encrypt an email to multiple users from within mutt... I had a look
> around but I didn't see it in the list or archives.
It comes with mutt and is called pgpewarp:
++8<+++++++++++++++++++++++
#!/bin/sh --
cmd=$1
pfx=""
die() {
echo "Command line usage: $0 [flags] -- prefix [recipients]" >& 2
exit 1
}
while test $# -gt 0 && shift && test -n "$1" ; do
if test "$1" = "--" ; then
shift || die
pfx="$1"
shift || die
fi
cmd="$cmd $pfx $1"
done
exec $cmd
++<8++++++++++++++++++++++
--
Werner Koch Omnis enim res, quae dando non deficit, dum habetur
g10 Code et non datur, nondum habetur, quomodo habenda est.
Privacy Solutions -- Augustinus