2

I would like to know if somebody knows a tool, where i can query my whole adress book in Thunderbird or Gmail, to ask, if there are PGP keys for somebody there. So i can just use the PGP key of People there. Or can I do this with Gnupg?

2 Answers 2

2

I guess that feature lacks in your version of enigmail, the GnuPG client for Thunderbird. Therefore I suggest you export your contacts into a "comma separated" formatted file (thunderbird > addressbook > Tools > Export) and then pipe it through gpg in the command line. e.g.:

awk 'BEGIN{FS=","};{print "gpg --search-keys --keyserver pgp.mit.edu " $5}' exported-file.csv | sh

(Whereas FS="," defines the "field separator" and $5 the fifth field, which is the field containing the e-mail address of the respective user.)

Otherwise try to upgrade your Enigmail add-on, as v1.6 seems to support that function:

New function to search for the OpenPGP keys of all Address Book entries on a keyserver.

In version 1.6 you can find the option in Thunderbird > OpenPGP > Keyserver > "Find keys for all contacts".

Check here: Source (Section "Version Information")

2
  • i think you forgot keymanagement after OpenPGP. > Keymanagement > Keyserver
    – d3rdon
    Jan 22, 2014 at 14:38
  • Well, yes, one would have to configure a keyserver when requesting the gpg keys for the addressbook in thunderbird, as well as in the command line. - I will add that for you ;)
    – mcantsin
    Jan 22, 2014 at 14:46
1

For Thunderbird 38.3 and Enigmail 1.8:

  1. Settings
  2. Enigmail
  3. Key Management
  4. Keyserver
  5. Find keys for all contacts
  6. Select all found keys
  7. OK

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .