Discussion:
Sending GPG encryped messages
Claus Atzenbeck
2008-04-08 11:56:27 UTC
Permalink
Hello,

I set up a sending filter with Alpine 1.10 (Mac OS 10.5.2) that would
allow me to send encrypted messages. It looks like that:

gpg -east --recipient _RECIPIENTS_

It works with a single recipient only, because --recipient takes only
one. _RECIPIENTS_, however, expands to all recipients.

Is there a workaround?

As a side note, I also realized that _RECIPIENTS_ does not include my
own e-mail address, such that I need to add my address explicitly.

Thanks!
Claus
Eduardo Chappa
2008-04-08 13:31:20 UTC
Permalink
On Tue, 8 Apr 2008, Claus Atzenbeck wrote:

:) I set up a sending filter with Alpine 1.10 (Mac OS 10.5.2) that would allow
:) me to send encrypted messages. It looks like that:
:)
:) gpg -east --recipient _RECIPIENTS_
:)
:) It works with a single recipient only, because --recipient takes only one.
:) _RECIPIENTS_, however, expands to all recipients.
:)
:) Is there a workaround?

Yes, wrap the call to gpg in a script, so call a script that calls gpg.
You can make it decide which one of the _RECIPIENTS_ you will use to
encrypt in your script.
--
Eduardo
http://staff.washington.edu/chappa/pine/
David Morris
2008-04-08 18:57:05 UTC
Permalink
I'm missing something conceptually .... I thought that individual copies
of the mail would have to be encrypted for each recipient.
Post by Eduardo Chappa
:) I set up a sending filter with Alpine 1.10 (Mac OS 10.5.2) that would allow
:)
:) gpg -east --recipient _RECIPIENTS_
:)
:) It works with a single recipient only, because --recipient takes only one.
:) _RECIPIENTS_, however, expands to all recipients.
:)
:) Is there a workaround?
Yes, wrap the call to gpg in a script, so call a script that calls gpg.
You can make it decide which one of the _RECIPIENTS_ you will use to
encrypt in your script.
Loading...