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 74A366DE0EC6 for ; Wed, 24 Apr 2019 15:06:53 -0700 (PDT) X-Virus-Scanned: Debian amavisd-new at cworth.org X-Spam-Flag: NO X-Spam-Score: -0.154 X-Spam-Level: X-Spam-Status: No, score=-0.154 tagged_above=-999 required=5 tests=[AWL=0.047, 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 yLktRAbwasfv for ; Wed, 24 Apr 2019 15:06:52 -0700 (PDT) Received: from che.mayfirst.org (che.mayfirst.org [162.247.75.118]) by arlo.cworth.org (Postfix) with ESMTPS id 565086DE0E83 for ; Wed, 24 Apr 2019 15:06:51 -0700 (PDT) DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/simple; d=fifthhorseman.net; i=@fifthhorseman.net; q=dns/txt; s=2019; t=1556143610; h=from : to : subject : date : message-id : mime-version : content-transfer-encoding : from; bh=50hg75SbYmeD8kTwqsQntOuQNc2K6tu/RGD+SgApKHk=; b=qInmbN8scUCYE4pEaHZCGgiExJGQW/zyiA+DZOAqh90LixZNU7gREP7Q TeUNhmPOekOWvIXB+RZJkME7RwTJDQ== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=fifthhorseman.net; i=@fifthhorseman.net; q=dns/txt; s=2019rsa; t=1556143610; h=from : to : subject : date : message-id : mime-version : content-transfer-encoding : from; bh=50hg75SbYmeD8kTwqsQntOuQNc2K6tu/RGD+SgApKHk=; b=cVcfajY0EEsL/OuWhmFLU7aRqzFAzECxF+qmMYMCTJURl+ih/aXF4cZh dJYt1Zlm+eIqIfVeuu2CSpl4Up2/TjP3KmMjcjHPvHOE9tBRK+4gzIf4Pg AiNyKhq6EoaMG1napTGyvECwqZRO64s4EAvG2Sq3OFnYOhqjMpnpniXx0B 5w9JDR8JIrnmcrMNk6ZJuAczU290Pw/iRmGik2FmiDiWKBbdDuFOPFFFty 6GIDsceJOaahiEPnzn6VkHhwCZ97DkDUk38aSee6UM7C8VwyQG7E+34+Vm 9jlcmWKNdx5JI4jBbYUWtkKXWxWtSGMMhhUc0BKi0Z8e3btNLhHO7Q== 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 C1AEBF99F for ; Wed, 24 Apr 2019 18:06:49 -0400 (EDT) Received: by fifthhorseman.net (Postfix, from userid 1000) id 7C31D203C8; Wed, 24 Apr 2019 18:06:44 -0400 (EDT) From: Daniel Kahn Gillmor To: Notmuch Mail Subject: [PATCH] test: add_gnupg_home should have ultimate trust on "its own" key Date: Wed, 24 Apr 2019 18:06:44 -0400 Message-Id: <20190424220644.23775-1-dkg@fifthhorseman.net> X-Mailer: git-send-email 2.20.1 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit 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:06:53 -0000 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 () # Change this if we ship a new test key FINGERPRINT="5AEAB11F5E33DCE875DDB75B6D92612D94E46381" + printf '%s:6\n' "$FINGERPRINT" | gpg --import-trustdb } # Each test should start with something like this, after copyright notices: -- 2.20.1