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 602FB6DE138C for ; Wed, 24 Apr 2019 15:16:34 -0700 (PDT) X-Virus-Scanned: Debian amavisd-new at cworth.org X-Spam-Flag: NO X-Spam-Score: -0.155 X-Spam-Level: X-Spam-Status: No, score=-0.155 tagged_above=-999 required=5 tests=[AWL=0.046, 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 87B57j_1JBVw for ; Wed, 24 Apr 2019 15:16:32 -0700 (PDT) Received: from che.mayfirst.org (che.mayfirst.org [162.247.75.118]) by arlo.cworth.org (Postfix) with ESMTPS id A71B36DE0F16 for ; Wed, 24 Apr 2019 15:16:31 -0700 (PDT) DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/simple; d=fifthhorseman.net; i=@fifthhorseman.net; q=dns/txt; s=2019; t=1556144189; h=from : to : subject : in-reply-to : references : date : message-id : mime-version : content-type : from; bh=24ZJQzC1njNW9kzoBEw9wfYz5X1I23YFXtVAt3lM6cs=; b=9opqw1NlLlpW4/lbb7WIe1Wt+/W42iUwoD4TukCRt6xpdNQcvgVVgO0Q hUe6gZrNOnbBRDIg893fFPY2gw2yBA== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=fifthhorseman.net; i=@fifthhorseman.net; q=dns/txt; s=2019rsa; t=1556144189; h=from : to : subject : in-reply-to : references : date : message-id : mime-version : content-type : from; bh=24ZJQzC1njNW9kzoBEw9wfYz5X1I23YFXtVAt3lM6cs=; b=DkMRUI+DCV5sbjkR15UWwsryFbij4GKmVjRSx6SKHNZoL3swdgBwR+MN ENOZoA9DdYautQSycKt9CpWziLa/wl/6XG179dO/QfRKWN4vWbEZTAznWi +kgRB2bHXCdjIfCQHjYHdjn2ljVwsT+mnwSmf/27DcXz9yBxp5GH9MvFGb 4BltOfFZS6x1Zc0ofpqFLmXwjlZmm/VR3ZgzLqsjNJUGMZy4GYlsSy9Iy8 YFwFVXUf55hfjvyYyChsg/zzS5bhQKe+/cRjSSZ7NadtyR2e9VrNDEncwy GnaLmMmYSCUV0FzSRwZ+TgV18n+bqCFRJU2P8ntxFEQZe9cHhLH5uQ== 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 C10BBF9A4 for ; Wed, 24 Apr 2019 18:16:29 -0400 (EDT) Received: by fifthhorseman.net (Postfix, from userid 1000) id 2F82720A1F; Wed, 24 Apr 2019 18:13:32 -0400 (EDT) From: Daniel Kahn Gillmor To: Notmuch Mail Subject: Re: [PATCH] test: add_gnupg_home should have ultimate trust on "its own" key In-Reply-To: <20190424220644.23775-1-dkg@fifthhorseman.net> References: <20190424220644.23775-1-dkg@fifthhorseman.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: Wed, 24 Apr 2019 18:13:31 -0400 Message-ID: <87ftq7rr04.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: Wed, 24 Apr 2019 22:16:34 -0000 --=-=-= Content-Type: text/plain Content-Transfer-Encoding: quoted-printable On Wed 2019-04-24 18:06:44 -0400, Daniel Kahn Gillmor wrote: > The typical use case for gpg is that if you control a secret key, you > mark it with "ultimate" ownertrust. > > This bizarrely opaque --import-ownertrust mechanism is GnuPG's > standard mechanism to set up ultimate ownertrust (the ":6" means > "ultimate", for whatever reason). > --- > test/test-lib.sh | 1 + > 1 file changed, 1 insertion(+) > > diff --git a/test/test-lib.sh b/test/test-lib.sh > index 58909ee7..6e383c85 100644 > --- a/test/test-lib.sh > +++ b/test/test-lib.sh > @@ -120,6 +120,7 @@ add_gnupg_home () >=20=20 > # Change this if we ship a new test key > FINGERPRINT=3D"5AEAB11F5E33DCE875DDB75B6D92612D94E46381" > + printf '%s:6\n' "$FINGERPRINT" | gpg --import-trustdb sigh. this should of course be "--import-ownertrust", not "--import-trustdb". i'll send a fixed patch shortly. Sorry for the noise. --dkg --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iHUEARYKAB0WIQTJDm02IAobkioVCed2GBllKa5f+AUCXMDfiwAKCRB2GBllKa5f +OWkAP4q2j2cXrJF0zdXNLh23oSgPXWfE9xHumcSYCiiiusUOAEAqozVcZa1kia0 ZN0Uz875E253q2YWVQLOOWHDNNpwkAk= =JveY -----END PGP SIGNATURE----- --=-=-=--