key specification by word match does not work as expected

Werner Koch wk at gnupg.org
Thu Sep 27 17:03:36 CEST 2012


On Thu, 27 Sep 2012 06:49, mailinglisten at hauke-laging.de said:
> ijust read this in the man page:
>
> ###########################
> By word match.


Well, 

    case '+':  /* Compare individual words.  Note that this has not
                  yet been implemented in the search code.  */
      mode = KEYDB_SEARCH_MODE_WORDS;
      s++;
      desc->u.name = s;
      break;

:-( 


> start cmd:> gpg --list-keys +Hauke Laging
> pub   1024D/0xECCB5814 2005-09-05
> uid         [ uneing.] Hauke Laging <hauke at laging.de>
> [...]
>
> I find this strange because non-quoting of arguments is generally unusual. 

gpg does not know about the quotes - that is a shell thing.  In your
example above youy are looking for two user ids:  "+Hauke" or "Laging".


Salam-Shalom,

   Werner

-- 
Die Gedanken sind frei.  Ausnahmen regelt ein Bundesgesetz.




More information about the Gnupg-users mailing list