* [gentoo-user] mutt, with USE="gpg", can't open a signed message
@ 2018-04-20 18:18 Walter Dnes
2018-04-20 18:21 ` Lucas Ramage
2018-04-20 19:15 ` Mick
0 siblings, 2 replies; 5+ messages in thread
From: Walter Dnes @ 2018-04-20 18:18 UTC (permalink / raw
To: Gentoo Users List
mutt couldn't handle the message from Klaus Ethgen, listed in menu as...
Apr 19 Klaus Ethgen (1.5K) [gentoo-user] emerge colors and light background
Trying to open it gave following message in status line at bottom...
Could not copy message
Google searching found other people with the same problem, only with
signed messages. There was speculation about mutt and gpg not working
together well, but no solutions specified. I came up with a rather
heavy-handed solution.
I originally had the "gpg" USE flag enabled for mail-client/mutt in
package.use. Setting "-gpg" for mutt, and rebuilding "solves the
problem", at the cost of removing gpg functionality. Just a heads up in
case anybody else runs into the same problem.
--
Walter Dnes <waltdnes@waltdnes.org>
I don't run "desktop environments"; I run useful applications
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [gentoo-user] mutt, with USE="gpg", can't open a signed message
2018-04-20 18:18 [gentoo-user] mutt, with USE="gpg", can't open a signed message Walter Dnes
@ 2018-04-20 18:21 ` Lucas Ramage
2018-04-20 19:15 ` Mick
1 sibling, 0 replies; 5+ messages in thread
From: Lucas Ramage @ 2018-04-20 18:21 UTC (permalink / raw
To: gentoo-user
[-- Attachment #1: Type: text/plain, Size: 1061 bytes --]
I recently had some troubles with mutt and gpg. I eventually switched to neomutt with gpgme.
On April 20, 2018 6:18:57 PM UTC, Walter Dnes <waltdnes@waltdnes.org> wrote:
>mutt couldn't handle the message from Klaus Ethgen, listed in menu
>as...
>
>Apr 19 Klaus Ethgen (1.5K) [gentoo-user] emerge colors and light
>background
>
> Trying to open it gave following message in status line at bottom...
>
>Could not copy message
>
> Google searching found other people with the same problem, only with
>signed messages. There was speculation about mutt and gpg not working
>together well, but no solutions specified. I came up with a rather
>heavy-handed solution.
>
> I originally had the "gpg" USE flag enabled for mail-client/mutt in
>package.use. Setting "-gpg" for mutt, and rebuilding "solves the
>problem", at the cost of removing gpg functionality. Just a heads up
>in
>case anybody else runs into the same problem.
>
>--
>Walter Dnes <waltdnes@waltdnes.org>
>I don't run "desktop environments"; I run useful applications
[-- Attachment #2: Type: text/html, Size: 1211 bytes --]
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [gentoo-user] mutt, with USE="gpg", can't open a signed message
2018-04-20 18:18 [gentoo-user] mutt, with USE="gpg", can't open a signed message Walter Dnes
2018-04-20 18:21 ` Lucas Ramage
@ 2018-04-20 19:15 ` Mick
2018-04-25 1:13 ` Walter Dnes
1 sibling, 1 reply; 5+ messages in thread
From: Mick @ 2018-04-20 19:15 UTC (permalink / raw
To: gentoo-user
[-- Attachment #1: Type: text/plain, Size: 1107 bytes --]
On Friday, 20 April 2018 19:18:57 BST Walter Dnes wrote:
> mutt couldn't handle the message from Klaus Ethgen, listed in menu as...
>
> Apr 19 Klaus Ethgen (1.5K) [gentoo-user] emerge colors and light background
>
> Trying to open it gave following message in status line at bottom...
>
> Could not copy message
>
> Google searching found other people with the same problem, only with
> signed messages. There was speculation about mutt and gpg not working
> together well, but no solutions specified. I came up with a rather
> heavy-handed solution.
This may have been unnecessary.
> I originally had the "gpg" USE flag enabled for mail-client/mutt in
> package.use. Setting "-gpg" for mutt, and rebuilding "solves the
> problem", at the cost of removing gpg functionality. Just a heads up in
> case anybody else runs into the same problem.
Some of the mutt USE flags changed recently. I seem to recall some elog/ewarn
message on this. Instead of USE=gpg and USE=smime, try USE=gpgme instead and
then add:
'set crypt_use_gpgme=yes'
in your /$HOME/.muttrc.
HTH.
--
Regards,
Mick
[-- Attachment #2: This is a digitally signed message part. --]
[-- Type: application/pgp-signature, Size: 833 bytes --]
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [gentoo-user] mutt, with USE="gpg", can't open a signed message
2018-04-20 19:15 ` Mick
@ 2018-04-25 1:13 ` Walter Dnes
2018-04-25 5:50 ` [gentoo-user] " Ian Zimmerman
0 siblings, 1 reply; 5+ messages in thread
From: Walter Dnes @ 2018-04-25 1:13 UTC (permalink / raw
To: gentoo-user
On Fri, Apr 20, 2018 at 08:15:00PM +0100, Mick wrote
> Some of the mutt USE flags changed recently. I seem to recall
> some elog/ewarn message on this. Instead of USE=gpg and USE=smime,
> try USE=gpgme instead and then add:
>
> 'set crypt_use_gpgme=yes'
>
> in your /$HOME/.muttrc.
Thanks for the hints. I finally got it working. In package.use I have...
mail-client/mutt gpg gpgme mbox pop smtp -smime
"Interesting" item... "emerge -pv mutt" gives me...
[ebuild R ] mail-client/mutt-1.7.2::gentoo USE="gpg mbox pop smtp ssl -berkdb -crypt -debug -doc -gdbm (-gnutls) -idn -imap -kerberos -libressl -nls -nntp -notmuch -qdbm -sasl (-selinux) -sidebar -slang -smime -tokyocabinet -vanilla"
There is no mention of "gpgme" in the output... but... mutt-1.7.2.ebuild
contains...
======================================
* In CDEPEND
gpg? ( >=app-crypt/gpgme-0.9.0:= )
======================================
======================================
* In src_configure() {
local myconf=(
"$(use_enable gpg gpgme)"
======================================
The CDEPEND I can understand. The second item is a puzzler. How are
we supposed to know about the "gpgme" flag, if it doesn't show up under
"emerge -pv". By the way, my mutt config is in $HOME/.mutt/muttrc
--
Walter Dnes <waltdnes@waltdnes.org>
I don't run "desktop environments"; I run useful applications
^ permalink raw reply [flat|nested] 5+ messages in thread
* [gentoo-user] Re: mutt, with USE="gpg", can't open a signed message
2018-04-25 1:13 ` Walter Dnes
@ 2018-04-25 5:50 ` Ian Zimmerman
0 siblings, 0 replies; 5+ messages in thread
From: Ian Zimmerman @ 2018-04-25 5:50 UTC (permalink / raw
To: gentoo-user
On 2018-04-24 21:13, Walter Dnes wrote:
> "$(use_enable gpg gpgme)"
"gpgme" above is _not_ a USE flag. That incantation tells portage to
pass "--enable-gpgme" to the upstream package configure script if "gpg"
USE flag is set in gentoo.
--
Please don't Cc: me privately on mailing lists and Usenet,
if you also post the followup to the list or newsgroup.
To reply privately _only_ on Usenet and on broken lists
which rewrite From, fetch the TXT record for no-use.mooo.com.
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2018-04-25 5:50 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2018-04-20 18:18 [gentoo-user] mutt, with USE="gpg", can't open a signed message Walter Dnes
2018-04-20 18:21 ` Lucas Ramage
2018-04-20 19:15 ` Mick
2018-04-25 1:13 ` Walter Dnes
2018-04-25 5:50 ` [gentoo-user] " Ian Zimmerman
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox