[prev in list] [next in list] [prev in thread] [next in thread]
List: gnupg-users
Subject: Re: Centralizing Private and Public Keys From Multiple Boxes with
From: Hauke Laging <mailinglisten () hauke-laging ! de>
Date: 2011-04-29 19:23:36
Message-ID: 201104292123.36702.mailinglisten () hauke-laging ! de
[Download RAW message or body]
[Attachment #2 (multipart/signed)]
Am Freitag, 29. April 2011, 20:56:49 schrieb Ted Zatopek:
> It looks to me that it's possible to have two private keys in use on the
> same keyring and that you can specify which key to use when you are
> encrypting by using the "-user" switch in your encryption command.
That is correct except for the detail that the option is --local-user or -u.
In order to prevent writing nonsense I checked what "-user" produces. I used
this command:
gpg --detach-sign -user eccb5814 index.html
I was surprised by the result. gpg created a signature using a key with no
obvious relation to the command. Additionally I got an error message that
"eccb5814" was not found (meaning: as a file).
I finally understood by myself that "-user" is interpreted as
"--local-user ser". Many keys have "ser" in their UIDs.
Does it make sense to accept a parameter for --local-user which is not
unambiguous? Of course, it says what it is going to do but aborting with a
clear error message would be user protection IMHO.
Hauke
--
PGP: D44C 6A5B 71B0 427C CED3 025C BD7D 6D27 ECCB 5814
["signature.asc" (application/pgp-signature)]
_______________________________________________
Gnupg-users mailing list
Gnupg-users@gnupg.org
http://lists.gnupg.org/mailman/listinfo/gnupg-users
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic