Key selection

MFPA 2014-667rhzu3dc-lists-groups at riseup.net
Mon Dec 29 02:14:46 CET 2014


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512



On Saturday 27 December 2014 at 7:41:41 PM, in
<mid:549F0B75.1070203 at dougbarton.email>, Doug Barton wrote:



> If you have multiple keys that match a pattern (such as
> your e-mail address) then gpg is going to take its best
> guess as to which one you mean.


If several signing keys match the "From" email address, my email
client manages to get GnuPG to return a list so that I can choose
which key to use for signing. Conversely, if I sign a file from the
commandline using the --local-user option with a string that matches
several signing keys, I am not presented with this choice.

If several encryption keys match the "To" address of an email, there
is no such choice of keys offered by my MUA and GnuPG picks one to use
for encryption. GnuPG also picks the key itself when I encrypt from
the commandline and use a non-unique pattern.



- --
Best regards

MFPA                    mailto:2014-667rhzu3dc-lists-groups at riseup.net

Wise men learn many things from their enemies.
-----BEGIN PGP SIGNATURE-----

iQF8BAEBCgBmBQJUoKsJXxSAAAAAAC4AKGlzc3Vlci1mcHJAbm90YXRpb25zLm9w
ZW5wZ3AuZmlmdGhob3JzZW1hbi5uZXRCM0FFN0VDQTlBOEM4QjMwMjZBNUEwRjU2
QjdDNzRDRUIzMUYyNUYwAAoJEGt8dM6zHyXwRLQH/jv2BxTQ6ZhHHpQoar2MMcM7
MCMPpZ+7w3WIE6e1NLhyJFMvCZqY56d48i9uMMDRf0hXWAZDzezG3OPnoAlNllv3
LJ9iar0oPynN3olV5OctALvDhVG3+W5VrZh9elARa/C8BY3/mEhRrRfVpFOyui1I
X7z8UUByu2+VwbDHqB72FuX6jGLFawfgZLG8cQl3OkgFlGMNmEo1eJGoUWcIv48D
IxR0c9rNFQmvBunQ95xdnGRA/ZVDAB+LFPvf9WMAsctx8OV4wRmX9Mft0H8ipK9e
16+nFTGxERJnvf96JPZTUAYw6E2T7TgpggtvuV8+rwM00W+8FG4k8d4A9SIo2qmI
vgQBFgoAZgUCVKCrCV8UgAAAAAAuAChpc3N1ZXItZnByQG5vdGF0aW9ucy5vcGVu
cGdwLmZpZnRoaG9yc2VtYW4ubmV0MzNBQ0VENEVFOTEzNEVFQkRFNkE4NTA2MTcx
MkJDNDYxQUY3NzhFNAAKCRAXErxGGvd45ITNAQA5yF8MjHah5uts7wlD8yE8q3DK
E0IBgEqLDDfp7YUWcwEAasLbOk4Mncn9D0gzqn7NIfUXYAfP0IJYDQs7HjsDoAc=
=6OrH
-----END PGP SIGNATURE-----




More information about the Gnupg-users mailing list