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 4B22E6DE107D for ; Fri, 24 May 2019 13:50:12 -0700 (PDT) X-Virus-Scanned: Debian amavisd-new at cworth.org X-Spam-Flag: NO X-Spam-Score: -0.176 X-Spam-Level: X-Spam-Status: No, score=-0.176 tagged_above=-999 required=5 tests=[AWL=0.025, 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 KUMiSBOl3MSl for ; Fri, 24 May 2019 13:50:11 -0700 (PDT) Received: from che.mayfirst.org (che.mayfirst.org [162.247.75.118]) by arlo.cworth.org (Postfix) with ESMTPS id 8BF806DE0F34 for ; Fri, 24 May 2019 13:50:11 -0700 (PDT) DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/simple; d=fifthhorseman.net; i=@fifthhorseman.net; q=dns/txt; s=2019; t=1558731009; h=from : to : subject : in-reply-to : references : date : message-id : mime-version : content-type : from; bh=UPvJJyRDhuRmE0yZBHl7H9p0Yp64jZx2hutbZWblQVE=; b=YzfhOdkEs3Rl2c/wC7yuxGHkrMOEMB+qJQLuVkVONvbnFOkE8FM2gnhr ytw1KwErEsH/HumDxLIp7GyGdSodBg== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=fifthhorseman.net; i=@fifthhorseman.net; q=dns/txt; s=2019rsa; t=1558731009; h=from : to : subject : in-reply-to : references : date : message-id : mime-version : content-type : from; bh=UPvJJyRDhuRmE0yZBHl7H9p0Yp64jZx2hutbZWblQVE=; b=uZyEGbjrZ4c58n18QN1Q1DQ+aZMrX/T2L4ThR44xWYCFvvthKiPk+83Y fumREGHR/s53BILCB5e1emzeNpbcoEN8nrLa5lHX3uXPFegxFbn/f7UxzI Ee6ACrqvipy7XK5aRjjdngiJ3WUPM3IoC/mqfpyvj741DanQJZDW8O/6CT GtGrMgkSDX9DUuyw6uLwXJHRh2LUmrFm3mw9ETrdFa9dLoWgy57n+glLw8 OPG+7HduELRM2grGqMO+xYF4cvFXIlIqsH71rkr7cXueG9eVbQ7eZsnPo9 31vyeBKYyMceyURmWNMZ+Sphfm2vJ/TtmWRczFzehZf9hSRJ9uXENQ== 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 C9488F99D; Fri, 24 May 2019 16:50:07 -0400 (EDT) Received: by fifthhorseman.net (Postfix, from userid 1000) id DD6E32011B; Fri, 24 May 2019 16:09:38 -0400 (EDT) From: Daniel Kahn Gillmor To: David Bremner , Notmuch Mail Subject: Re: [PATCH v2 4/4] cli/show: emit new whole-message crypto status output In-Reply-To: <87mujdsav0.fsf@tethera.net> References: <20190520032228.27420-1-dkg@fifthhorseman.net> <20190520032228.27420-5-dkg@fifthhorseman.net> <87mujdsav0.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: Fri, 24 May 2019 16:09:38 -0400 Message-ID: <87ef4n62d9.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: Fri, 24 May 2019 20:50:12 -0000 --=-=-= Content-Type: text/plain On Thu 2019-05-23 07:50:43 -0300, David Bremner wrote: > Daniel Kahn Gillmor writes: > >> headers: headers, >> + crypto?: crypto, # omitted if crypto disabled, or if no part was signed or encrypted. >> body?: [part] # omitted if --body=false >> } > > I'm wondering about the "upward compatible" aspect of this. If the > crypto key is ommitted, a client doesn't know whether to interpret that > as no part was signed or encrypted, or just an older version of notmuch. I understand your concern here. Would making notmuch_built_with("message_crypto_summary") return true solve the problem? --dkg --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iHUEARYKAB0WIQTJDm02IAobkioVCed2GBllKa5f+AUCXOhPggAKCRB2GBllKa5f +BBBAP4+oWI5GkTjyb5NK66runcCXCuWzAcG4MG/OdDgF+TddAD+JWx2QmG6sAWy 2mBaBAsvC9PXn2pWYx+SXBSmmujViQM= =tNMs -----END PGP SIGNATURE----- --=-=-=--