home | list info | list archive | date index | thread index

[OCLUG-Tech] Solved: newb gpg: choosing key to encrypt to

Found the answer ...

gpg -r <KEYid>! -e

the exclamation mark tells gpg to use the specific keyid specified.
Without the exclamation mark, gpg will choose from among the list of
possible keys.

eds.

On Sat, Dec 12, 2009 at 11:01 PM, ed stuckems <edstuckems [ at ] gmail [ dot ] com> wrote:
> someone's public key can have more than 1 encryption key.  How can I
> select which of those encryption keys to use to sent to such a public
> key?
>
> eds.
>