Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 515212 - mail-client/thunderbird with crypt use flag requires graphical pinentry backend
Summary: mail-client/thunderbird with crypt use flag requires graphical pinentry backend
Status: RESOLVED OBSOLETE
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Mozilla Gentoo Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-06-26 15:56 UTC by Daniel
Modified: 2017-08-26 17:56 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Daniel 2014-06-26 15:56:27 UTC
Using Thunderbird with the crypt use flag needs pinentry for the enigmail password prompt.

If eselect pinentry was set to the ncurses backend (not sure but I think this even may be the default), then mail de-/encryption silently fails without any further hints at all.

Instead the pinentry-gtk backend is required for Thunderbird's enigmail addon to work correctly.


This is a hard to debug issue, since there is no error description whatsoever visible for the user, not even when starting Thunderbird from the terminal.

Reproducible: Always

Steps to Reproduce:
1. emerge thunderbird with crypt use flag
2. try to decrypt/encrypt mail with enigmail and pinentry-ncurses backend
Actual Results:  
enigmail fails without silently further hints

Expected Results:  
emerging thunderbird check for the selected pinentry backend or at least print a warning to not use pinentry-ncurses.
Comment 1 Alex Xu (Hello71) 2014-06-26 16:09:33 UTC
urgh, this use flag shouldn't really exist in the first place. literally all it does is install an extension.

re: this problem specifically, it should be diagnosable through OpenPGP -> Debugging Options -> View Console.
Comment 2 Daniel 2014-06-26 16:15:11 UTC
(In reply to Alex Xu (Hello71) from comment #1)
> urgh, this use flag shouldn't really exist in the first place. literally all
> it does is install an extension.

Then please remove it.

> re: this problem specifically, it should be diagnosable through OpenPGP ->
> Debugging Options -> View Console.

The OpenPGP console only shows the command invokation:
> enigmail> /usr/bin/gpg --charset utf-8 --display-charset utf-8 --batch --no-tty --status-fd 2 --decrypt --use-agent

But nothing more. If I de-/encrypt another mail I see another line like this -- that's it, no more details are given.
Comment 3 Ian Stakenvicius (RETIRED) gentoo-dev 2014-07-04 20:32:17 UTC
What might make more sense is if we can call the pinentry backend directly, somehow...  although (and this is just conjecture as i have no idea if said thing exists) if there are hardware-based pinentry options, these would no longer work with enigmail.
Comment 4 Kristian Fiskerstrand (RETIRED) gentoo-dev 2014-11-17 15:08:10 UTC
(In reply to Ian Stakenvicius from comment #3)
> What might make more sense is if we can call the pinentry backend directly,
> somehow...  although (and this is just conjecture as i have no idea if said
> thing exists) if there are hardware-based pinentry options, these would no
> longer work with enigmail.

For non GUI pinentry (i.e. ncurses) it is also possible to specify another TTY to get the password request on that can be used for password entry.  

I fail to see how calling pinentry backend should help, as it'd only increase complexity and needed for the password to be provided to gpg again through some other means. FWIW, your conjecture would be applicable to smartcards with pinpads.
Comment 5 Jory A. Pratt gentoo-dev 2017-08-26 17:56:00 UTC
If you feel I have closed your bug and it is still a current issue, please reopen and update it completely. We will not work bugs that have no ebuild in tree any longer or can not be reproduced with a current system.

Thank You for your support and understanding
The Mozilla Team