From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from localhost (localhost [127.0.0.1]) by arlo.cworth.org (Postfix) with ESMTP id E05706DE1329 for ; Mon, 6 May 2019 09:29:34 -0700 (PDT) X-Virus-Scanned: Debian amavisd-new at cworth.org X-Spam-Flag: NO X-Spam-Score: -0.157 X-Spam-Level: X-Spam-Status: No, score=-0.157 tagged_above=-999 required=5 tests=[AWL=0.044, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_DNSWL_NONE=-0.0001, SPF_PASS=-0.001] autolearn=disabled Received: from arlo.cworth.org ([127.0.0.1]) by localhost (arlo.cworth.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id PFnsmfORJR66 for ; Mon, 6 May 2019 09:29:34 -0700 (PDT) Received: from che.mayfirst.org (che.mayfirst.org [162.247.75.118]) by arlo.cworth.org (Postfix) with ESMTPS id D4A596DE10D3 for ; Mon, 6 May 2019 09:29:33 -0700 (PDT) DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/simple; d=fifthhorseman.net; i=@fifthhorseman.net; q=dns/txt; s=2019; t=1557160172; h=from : to : subject : in-reply-to : references : date : message-id : mime-version : content-type : from; bh=vTYvwk5JpqyincEAFfnBk8QDn3uK8M6NsKs2444/dUU=; b=X5cKnhhjR1FLUIFobL7fqNcgChkPtTAZ2UFxMkDByNKojUvtHCWg9Zq7 27moGZlSw6zyTr4EH8VhqHKuzgRwBg== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=fifthhorseman.net; i=@fifthhorseman.net; q=dns/txt; s=2019rsa; t=1557160172; h=from : to : subject : in-reply-to : references : date : message-id : mime-version : content-type : from; bh=vTYvwk5JpqyincEAFfnBk8QDn3uK8M6NsKs2444/dUU=; b=fI519n/AqFI4zM5Iuk+DrpsQ0+kzePOZPD5CLAcri973uUWc2FT7O9tz kiO7ulW8iyo7/TBybHj3kqVsWBmJXa1lWSg+zyrQvFN648IMEf5cFR3CIw ImsWQBdXJJiNQOTKhpOtGiVhxB/xbHaklUxIMlAGv472wl2g7Ra0Dblg5T dHQmcUnY8P7VULPDWskvrK9WgIWz36NUZKPD117Eaj/ofoNHO8FMwdP5E/ 8mMqkA7aCmWcUhjEfhU4erusCN68WetjuE3gh6ueJgCgQsdumkJ866/nSf hhv0Fp4g5UkkbmC2prSxRIPx4SKcu1KMzwlMnCFLikBj3bRgxLLcvQ== Received: from fifthhorseman.net (unknown [38.109.115.130]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by che.mayfirst.org (Postfix) with ESMTPSA id 5606BF99D; Mon, 6 May 2019 12:29:31 -0400 (EDT) Received: by fifthhorseman.net (Postfix, from userid 1000) id BD74D20A1F; Mon, 6 May 2019 12:23:07 -0400 (EDT) From: Daniel Kahn Gillmor To: David Bremner , Notmuch Mail Subject: Re: [PATCH v2 1/3] emacs: test notmuch-show during message decryption In-Reply-To: <871s1f771o.fsf@tethera.net> References: <20190422171814.16480-1-dkg@fifthhorseman.net> <20190422210706.5067-1-dkg@fifthhorseman.net> <871s1f771o.fsf@tethera.net> Autocrypt: addr=dkg@fifthhorseman.net; prefer-encrypt=mutual; keydata= mDMEXEK/AhYJKwYBBAHaRw8BAQdAr/gSROcn+6m8ijTN0DV9AahoHGafy52RRkhCZVwxhEe0K0Rh bmllbCBLYWhuIEdpbGxtb3IgPGRrZ0BmaWZ0aGhvcnNlbWFuLm5ldD6ImQQTFggAQQIbAQUJA8Jn AAULCQgHAgYVCgkICwIEFgIDAQIeAQIXgBYhBMS8Lds4zOlkhevpwvIGkReQOOXGBQJcQsbzAhkB AAoJEPIGkReQOOXG4fkBAO1joRxqAZY57PjdzGieXLpluk9RkWa3ufkt3YUVEpH/AP9c+pgIxtyW +FwMQRjlqljuj8amdN4zuEqaCy4hhz/1DbgzBFxCv4sWCSsGAQQB2kcPAQEHQERSZxSPmgtdw6nN u7uxY7bzb9TnPrGAOp9kClBLRwGfiPUEGBYIACYWIQTEvC3bOMzpZIXr6cLyBpEXkDjlxgUCXEK/ iwIbAgUJAeEzgACBCRDyBpEXkDjlxnYgBBkWCAAdFiEEyQ5tNiAKG5IqFQnndhgZZSmuX/gFAlxC v4sACgkQdhgZZSmuX/iVWgD/fCU4ONzgy8w8UCHGmrmIZfDvdhg512NIBfx+Mz9ls5kA/Rq97vz4 z48MFuBdCuu0W/fVqVjnY7LN5n+CQJwGC0MIA7QA/RyY7Sz2gFIOcrns0RpoHr+3WI+won3xCD8+ sVXSHZvCAP98HCjDnw/b0lGuCR7coTXKLIM44/LFWgXAdZjm1wjODbg4BFxCv50SCisGAQQBl1UB BQEBB0BG4iXnHX/fs35NWKMWQTQoRI7oiAUt0wJHFFJbomxXbAMBCAeIfgQYFggAJhYhBMS8Lds4 zOlkhevpwvIGkReQOOXGBQJcQr+dAhsMBQkB4TOAAAoJEPIGkReQOOXGe/cBAPlek5d9xzcXUn/D kY6jKmxe26CTws3ZkbK6Aa5Ey/qKAP0VuPQSCRxA7RKfcB/XrEphfUFkraL06Xn/xGwJ+D0hCw== Date: Mon, 06 May 2019 12:23:06 -0400 Message-ID: <87imunmu1h.fsf@fifthhorseman.net> MIME-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha512; protocol="application/pgp-signature" X-BeenThere: notmuch@notmuchmail.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: "Use and development of the notmuch mail system." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 06 May 2019 16:29:35 -0000 --=-=-= Content-Type: text/plain On Fri 2019-05-03 17:59:49 +0000, David Bremner wrote: > Daniel Kahn Gillmor writes: > >> We did not have a test showing what message decryption looks like >> within notmuch-emacs. This change gives us a baseline for future work >> on the notmuch-emacs interface. >> --- >> >> The difference between this and the prior version of the patch is that >> it updates T357-index-decryption.sh as well, to ensure all tests pass. >> > > I don't _think_ this is gmime3 related, but I get > > T357-index-decryption: Testing indexing decrypted mail > FAIL indexing message fails when secret key not available > --- T357-index-decryption.31.expected 2019-05-03 17:57:26.701988487 +0000 > +++ T357-index-decryption.31.output 2019-05-03 17:57:26.701988487 +0000 > @@ -1,4 +1,4 @@ > #notmuch-dump batch-tag:3 config,properties,tags > ++encrypted +inbox +unread -- id:basic-encrypted@crypto.notmuchmail.org > +encrypted +inbox +unread -- id:simple-encrypted@crypto.notmuchmail.org > #= simple-encrypted@crypto.notmuchmail.org index.decryption=failure > -+encrypted +inbox +unread -- id:basic-encrypted@crypto.notmuchmail.org > FAIL cleartext index recovery on reindexing with stashed session keys > --- T357-index-decryption.33.expected 2019-05-03 17:57:26.817988197 +0000 > +++ T357-index-decryption.33.output 2019-05-03 17:57:26.817988197 +0000 > @@ -1 +1 @@ > -thread:0000000000000001 2016-12-22 [1/1] Daniel Kahn Gillmor; encrypted message (encrypted inbox unread) > +thread:0000000000000002 2016-12-22 [1/1] Daniel Kahn Gillmor; encrypted message (encrypted inbox unread) > > Applying on top of 103c11822 hm, right, thanks. The issue here is likely that your filesystem's readdir puts the messages in the corpus in a different order than mine does. So these failures are due only to the order in which "notmuch new" encounters the messages in corpus/crypto. I'll send a revised patch that should be ordering-independent. thanks for catching this! --dkg --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iHUEARYKAB0WIQTJDm02IAobkioVCed2GBllKa5f+AUCXNBfawAKCRB2GBllKa5f +MC1AQCnwtaorOUuQr8xYcbFyK2/D3H6ijkYOvGpaRL9ZStExQD/YYB1hAhNXfKs bwbICjQWXZ30k1RZbcKAXp10w3ghDAI= =uFPj -----END PGP SIGNATURE----- --=-=-=--