[neomutt-users] Endless loop while verifying PGP signature

Jerome jeromg at gmail.com
Thu Dec 10 00:27:02 CET 2020


Hi there,

I'm relatively new to neomutt, I hope this is the right place for this kind of question.

I'm trying to setup PGP signature to one of my accounts.

Everything works fine, except that when I send myself a signed message, neomutt goes to an endless loop and keeps asking "Verify signature?"

How to reproduce:
1. Open mutt
2. Open signed message (from myself to myself)
3. Question "Verify signature? ([yes]/no): "
4. Press "y"
5. Message is opened
6. Signature is Good
    [-- Begin signature information --]
    Good signature from: Jerome <me at me.com>
                created: Wed 09 Dec 2020 11:54:55 PM CET
    [-- End signature information --]
7. Go back to step 3 again and again (until I press "n")

If I use "set crypt_verify_sig=yes", neomutt enters an endless loop and I have to press ctrl-c.

Some more details:
- NeoMutt 20201127 (on Arch Linux)
- I'm using the default gpg.rc
- I'm using the following settings:
set pgp_default_key = "FINGERPRINT"
set crypt_autoencrypt = no
set crypt_autosign    = no
set crypt_use_gpgme=yes
set crypt_verify_sig=ask-yes
set crypt_replysign=yes
set crypt_replyencrypt=yes
set crypt_replysignencrypted=yes
set pgp_check_gpg_decrypt_status_fd
set pgp_use_gpg_agent = yes
set pgp_self_encrypt = yes

Some logs ('neomutt -d 2'):

[2020-12-10 00:20:10]<M> crypt_invoke_message() Invoking PGP...
[2020-12-10 00:20:10]<1> mutt_copy_hdr() WEED is set
[2020-12-10 00:20:10]<2> mutt_copy_hdr() Reorder: date matches Date: Wed, 9 Dec 2020 23:54:55 +0100
[2020-12-10 00:20:10]<2> mutt_copy_hdr() Reorder: x = 1; hdr_count = 6
[2020-12-10 00:20:10]<2> mutt_copy_hdr() Reorder: from matches From: Jerome <me at me.com>
[2020-12-10 00:20:10]<2> mutt_copy_hdr() Reorder: x = 2; hdr_count = 6
[2020-12-10 00:20:10]<2> mutt_copy_hdr() Reorder: to matches To: me at me.com
[2020-12-10 00:20:10]<2> mutt_copy_hdr() Reorder: x = 3; hdr_count = 6
[2020-12-10 00:20:10]<2> mutt_copy_hdr() Reorder: subject matches Subject: test self pgp sig
[2020-12-10 00:20:10]<2> mutt_copy_hdr() Reorder: x = 5; hdr_count = 6
[2020-12-10 00:20:10]<2> write_one_header() buf[Date: Wed, 9 Dec 2020 23:54:55 +0100] short enough, max width = 36 <= 124
[2020-12-10 00:20:10]<2> write_one_header() buf[From: Jerome <me at me.com>] short enough, max width = 38 <= 124
[2020-12-10 00:20:10]<2> write_one_header() buf[To: me at me.com] short enough, max width = 23 <= 124
[2020-12-10 00:20:10]<2> write_one_header() buf[Subject: test self pgp sig] short enough, max width = 26 <= 124
[2020-12-10 00:20:10]<1> verify_one() returning 0
[2020-12-10 00:20:10]<M> mutt_display_message() PGP signature successfully verified
[2020-12-10 00:20:10]<2> mutt_window_reflow() entering
[2020-12-10 00:20:10]<1> sb_window_observer() state
[2020-12-10 00:20:10]<1> sb_window_observer() state
[2020-12-10 00:20:10]<1> sb_window_observer() state
[2020-12-10 00:20:10]<1> sb_window_observer() state
[2020-12-10 00:20:10]<1> sb_window_observer() state
[2020-12-10 00:20:10]<1> sb_window_observer() state
[2020-12-10 00:20:10]<2> mutt_buffer_strip_formatting() Seen attachment marker
[2020-12-10 00:20:10]<2> mutt_buffer_strip_formatting() Seen attachment marker
[2020-12-10 00:20:10]<2> mutt_buffer_strip_formatting() Seen attachment marker
[2020-12-10 00:20:10]<2> mutt_buffer_strip_formatting() Seen attachment marker
[2020-12-10 00:20:10]<1> mutt_pager() Got op OP_MAIN_SYNC_FOLDER (167)
[2020-12-10 00:20:10]<2> mutt_window_reflow() entering
[2020-12-10 00:20:10]<1> sb_window_observer() state
[2020-12-10 00:20:10]<1> sb_window_observer() state
[2020-12-10 00:20:10]<1> sb_window_observer() state
[2020-12-10 00:20:10]<1> sb_window_observer() state
[2020-12-10 00:20:10]<1> sb_window_observer() state
[2020-12-10 00:20:10]<1> sb_window_observer() state
[2020-12-10 00:20:10]<M> mutt_sort_headers() Sorting mailbox...
[2020-12-10 00:20:10]<M> mx_mbox_sync() Mailbox is unchanged
[2020-12-10 00:20:11]<M> crypt_invoke_message() Invoking PGP...
[2020-12-10 00:20:11]<1> mutt_copy_hdr() WEED is set
[2020-12-10 00:20:11]<2> mutt_copy_hdr() Reorder: date matches Date: Wed, 9 Dec 2020 23:54:55 +0100
[2020-12-10 00:20:11]<2> mutt_copy_hdr() Reorder: x = 1; hdr_count = 6
[2020-12-10 00:20:11]<2> mutt_copy_hdr() Reorder: from matches From: Jerome <me at me.com>
[2020-12-10 00:20:11]<2> mutt_copy_hdr() Reorder: x = 2; hdr_count = 6
[2020-12-10 00:20:11]<2> mutt_copy_hdr() Reorder: to matches To: me at me.com
[2020-12-10 00:20:11]<2> mutt_copy_hdr() Reorder: x = 3; hdr_count = 6
[2020-12-10 00:20:11]<2> mutt_copy_hdr() Reorder: subject matches Subject: test self pgp sig
[2020-12-10 00:20:11]<2> mutt_copy_hdr() Reorder: x = 5; hdr_count = 6
[2020-12-10 00:20:11]<2> write_one_header() buf[Date: Wed, 9 Dec 2020 23:54:55 +0100] short enough, max width = 36 <= 124
[2020-12-10 00:20:11]<2> write_one_header() buf[From: Jerome <me at me.com>] short enough, max width = 38 <= 124
[2020-12-10 00:20:11]<2> write_one_header() buf[To: me at me.com] short enough, max width = 23 <= 124
[2020-12-10 00:20:11]<2> write_one_header() buf[Subject: test self pgp sig] short enough, max width = 26 <= 124
[2020-12-10 00:20:11]<1> verify_one() returning 0
[2020-12-10 00:20:11]<M> mutt_display_message() PGP signature successfully verified
[2020-12-10 00:20:11]<2> mutt_window_reflow() entering

Many thanks in advance for your help.

--  

Jerome  



More information about the neomutt-users mailing list