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 D31386DE0F76 for ; Wed, 24 Apr 2019 17:07:02 -0700 (PDT) X-Virus-Scanned: Debian amavisd-new at cworth.org X-Spam-Flag: NO X-Spam-Score: -0.201 X-Spam-Level: X-Spam-Status: No, score=-0.201 tagged_above=-999 required=5 tests=[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 CPt9FDu7kp5V for ; Wed, 24 Apr 2019 17:07:02 -0700 (PDT) Received: from che.mayfirst.org (che.mayfirst.org [162.247.75.118]) by arlo.cworth.org (Postfix) with ESMTPS id 176AF6DE0F4A for ; Wed, 24 Apr 2019 17:07:01 -0700 (PDT) DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/simple; d=fifthhorseman.net; i=@fifthhorseman.net; q=dns/txt; s=2019; t=1556150820; h=from : to : subject : date : message-id : in-reply-to : references : mime-version : content-transfer-encoding : from; bh=vTWWIh34SZ21+5Bgwsnfr4y+q6M2NVg/Mtn7/h2/Gqw=; b=tN1wkahV9ljU5IwWAQ3sMYOlM0eyJfkJG9KjbIDnU+hXENQ/4SQ/keOS 8EJt+HiOM9PdeXm581OsP7kbq9nuAA== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=fifthhorseman.net; i=@fifthhorseman.net; q=dns/txt; s=2019rsa; t=1556150820; h=from : to : subject : date : message-id : in-reply-to : references : mime-version : content-transfer-encoding : from; bh=vTWWIh34SZ21+5Bgwsnfr4y+q6M2NVg/Mtn7/h2/Gqw=; b=32W0qDqKP5dXW71DB0hlm3eQ21osfAaM+tbhOtjt21ixo+ZIghKBRS6n ITx2fheFayN8PyD4+bdaSHlx9t7f1CpuRmg1tqT7CgP8wOzQ13Zcqmaszi pSBDjFB3NaPWzUYBnZZ502ButeI9d07eJt5MpCrOunOGe/DEueDvSLIQNw ABpPEkeHWkhHj+FG2OsSDtrTDk7UX6ze9LLHoa9bi890aMYsrKZIsAgHsy NTeAG4+y+1CQc+M29h1GXWzCY/W2trCZm2vNXP0jpRWtAhFcA289UhTna0 isTykBEfJOLm4JkK3mvwzpqdlJoUpoUhy6JJuK2z8SUghx9aOu1gJA== Received: from fifthhorseman.net (unknown [12.246.51.142]) (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 3EB21F9A0 for ; Wed, 24 Apr 2019 20:06:59 -0400 (EDT) Received: by fifthhorseman.net (Postfix, from userid 1000) id 8346520A1F; Wed, 24 Apr 2019 19:23:43 -0400 (EDT) From: Daniel Kahn Gillmor To: Notmuch Mail Subject: [PATCH v3] test: add_gnupg_home should have ultimate trust on "its own" key Date: Wed, 24 Apr 2019 19:23:43 -0400 Message-Id: <20190424232343.32373-1-dkg@fifthhorseman.net> X-Mailer: git-send-email 2.20.1 In-Reply-To: <20190424221515.25994-1-dkg@fifthhorseman.net> References: <20190424221515.25994-1-dkg@fifthhorseman.net> 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: Thu, 25 Apr 2019 00:07:02 -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(+) This differs from v2 in that it adds the --quiet flag, so that the tests don't have noisy output like "gpg: inserting ownertrust of 6" diff --git a/test/test-lib.sh b/test/test-lib.sh index 70d7dcfe..db3ffd8d 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 --quiet --import-ownertrust } # Each test should start with something like this, after copyright notices: -- 2.20.1