crypto test failures on Fedora and OpenSUSE

David Bremner david at tethera.net
Wed Jun 17 16:55:53 PDT 2020


Tomi Ollila <tomi.ollila at iki.fi> writes:

> On Wed, Jun 17 2020, Tomi Ollila wrote:
>
>> On Wed, Jun 17 2020, Dan Čermák wrote:
>>
>>>
>>> I have tried updating the package in openSUSE Tumbleweed to 0.30~rc2 but
>>> running the tests results in the following failures:
>>> --8<---------------cut here---------------start------------->8---
>>> T357-index-decryption: Testing indexing decrypted mail
>>>  FAIL   verify signature with stashed session key
>>>         good_sig: value not equal: data[0][0][0]["crypto"]["signed"]["status"][0]["status"] = 'error' != 'good'
>>
>> FYI: On Fedora 32 I (also) get:
>>
>>   T357-index-decryption: Testing indexing decrypted mail
>>    FAIL   verify signature with stashed session key
>>           good_sig: value not equal:  data[0][0][0]["crypto"]["signed"]["status"][0]["status"] = 'error' != 'good'
>>
>> (i.e exactly the same)
>>
>> I've not bothered to care ;/
>
> However, more detail:
>
> executed
>
>   notmuch show --format=json id:encrypted-signed at crypto.notmuchmail.org | jq .
>
> before that failing test -- this is the related data:
>
>         "crypto": {
>           "signed": {
>             "status": [
>               {
>                 "status": "error",
>                 "keyid": "6D92612D94E46381",
>                 "errors": {
>                   "key-missing": true
>                 }
>               }
>             ],
>             "encrypted": true
>           },
>

I thought maybe the problem was missing GNUPGHOME setting when you ran
that by hand, but it seems not:

[bremner at Fedora-Cloud-Base-32-1 tmp.T357-index-decryption]$ gpg --homedir  /tmp/notmuch-test-51641.23MdYj/gnupg/ -k
gpg: Warning: using insecure memory!
/tmp/notmuch-test-51641.23MdYj/gnupg/pubring.kbx
------------------------------------------------
pub   rsa1024 2011-02-05 [SC]
      5AEAB11F5E33DCE875DDB75B6D92612D94E46381
uid           [ultimate] Notmuch Test Suite <test_suite at notmuchmail.org> (INSECURE!)
sub   rsa1024 2011-02-05 [E]

[bremner at Fedora-Cloud-Base-32-1 tmp.T357-index-decryption]$ GNUPGHOME=/tmp/notmuch-test-51641.23MdYj/gnupg ../../notmuch --config=./notmuch-config show --format=json id:encrypted-signed at crypto.notmuchmail.org
[[[{"id": "encrypted-signed at crypto.notmuchmail.org", "match": true, "excluded": false, "filename": ["/home/bremner/notmuch-0.30~rc2/test/tmp.T357-index-decryption/mail/encrypted-signed.eml"], "timestamp": 1559124562, "date_relative": "2019-05-29", "tags": ["encrypted", "inbox", "unread"], "body": [{"id": 1, "encstatus": [{"status": "good"}], "sigstatus": [{"status": "error", "keyid": "6D92612D94E46381", "errors": {"key-missing": true}}], "content-type": "multipart/encrypted", "content": [{"id": 2, "content-type": "application/pgp-encrypted", "content-length": 11}, {"id": 3, "content-type": "text/plain", "content": "My father was the keeper of the Eddystone Light\nSlept with a mermaid one fine night\nAnd of this union there came three\nA porgy and a porpoise and the third was me\n\nYo ho ho, the wind blows free\nO for a life on the rolling sea!\n"}]}], "crypto": {"signed": {"status": [{"status": "error", "keyid": "6D92612D94E46381", "errors": {"key-missing": true}}], "encrypted": true}, "decrypted": {"status": "full"}}, "headers": {"Subject": "Lyrics", "From": "test_suite at notmuchmail.org", "To": "test_suite at notmuchmail.org", "Date": "Wed, 29 May 2019 06:09:22 -0400"}}, []]]]

No jq in this container, but you can search for the same error string.

In case it's relevant, I have gmime30-devel version 3.2.7-1.fc32 and
gnupg 2.2.19-1.fc32


More information about the notmuch mailing list