annotate content/Linux/enigmail-vs-pinentry.md @ 94:b952a0ea1aaa

add some comments
author Dirk Olmes <dirk@xanthippe.ping.de>
date Thu, 14 Feb 2019 17:53:37 +0100
parents b334d87a9c9a
children 1d9382b0329b
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
51
b334d87a9c9a add a blog post about pinentry vs enigmail
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
1 Title: enigmail vs. pinentry
b334d87a9c9a add a blog post about pinentry vs enigmail
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
2 Date: 2014-12-09
b334d87a9c9a add a blog post about pinentry vs enigmail
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
3 Lang: en
b334d87a9c9a add a blog post about pinentry vs enigmail
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
4
b334d87a9c9a add a blog post about pinentry vs enigmail
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
5 I recently got a new Laptop and installed it with [Gentoo](http://www.gentoo.org) 64 bit. Along the process I had a hard time getting [Thunderbird](https://www.mozilla.org/en-US/thunderbird/), the [enigmail](https://enigmail.net/home/index.php) plugin and [gnupg](https://www.gnupg.org/) to play together nicely.
b334d87a9c9a add a blog post about pinentry vs enigmail
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
6
b334d87a9c9a add a blog post about pinentry vs enigmail
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
7 I had everything set up correctly (or so I thought) and the proper keys in place. But kept getting strange error messages from enigmail about missing passwords.
b334d87a9c9a add a blog post about pinentry vs enigmail
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
8
b334d87a9c9a add a blog post about pinentry vs enigmail
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
9 After hours of pointless poking around I found the culprit: gpg is trying to request passphrases via `/usr/bin/pinentry` but I did not even have a pinentry package installed.
b334d87a9c9a add a blog post about pinentry vs enigmail
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
10
b334d87a9c9a add a blog post about pinentry vs enigmail
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
11 So as a hint for anyone who may stuble over the same problem as I did:
b334d87a9c9a add a blog post about pinentry vs enigmail
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
12
b334d87a9c9a add a blog post about pinentry vs enigmail
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
13 emerge app-crypt/pinentry
b334d87a9c9a add a blog post about pinentry vs enigmail
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
14
b334d87a9c9a add a blog post about pinentry vs enigmail
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
15 and dont' forget to enable one of the GUI keywords e.g. `gtk` or `qt`. To make sure that the pinentry link points to the correct binary run
b334d87a9c9a add a blog post about pinentry vs enigmail
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
16
b334d87a9c9a add a blog post about pinentry vs enigmail
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
17 eselect pinentry list
b334d87a9c9a add a blog post about pinentry vs enigmail
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
18
b334d87a9c9a add a blog post about pinentry vs enigmail
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
19 and select the correct variant.
b334d87a9c9a add a blog post about pinentry vs enigmail
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
20
b334d87a9c9a add a blog post about pinentry vs enigmail
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
21 Enjoy sending gpg secured mails!