annotate content/Linux/enigmail-vs-pinentry.md @ 112:cf31bf5fce72 default tip

Author of the blog post as mail header for efficient spam filtering
author Dirk Olmes <dirk.olmes@codedo.de>
date Tue, 06 Sep 2022 07:04:11 +0200
parents 1d9382b0329b
children
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
98
1d9382b0329b Specify the syntax on markdown blocks to avoid broken output that has class=err
Dirk Olmes <dirk@xanthippe.ping.de>
parents: 51
diff changeset
13 :::shell
51
b334d87a9c9a add a blog post about pinentry vs enigmail
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
14 emerge app-crypt/pinentry
b334d87a9c9a add a blog post about pinentry vs enigmail
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
15
b334d87a9c9a add a blog post about pinentry vs enigmail
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
16 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
17
98
1d9382b0329b Specify the syntax on markdown blocks to avoid broken output that has class=err
Dirk Olmes <dirk@xanthippe.ping.de>
parents: 51
diff changeset
18 :::shell
51
b334d87a9c9a add a blog post about pinentry vs enigmail
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
19 eselect pinentry list
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 and select the correct variant.
b334d87a9c9a add a blog post about pinentry vs enigmail
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
22
b334d87a9c9a add a blog post about pinentry vs enigmail
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
23 Enjoy sending gpg secured mails!