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 448176DE1120 for ; Wed, 24 Apr 2019 15:16:31 -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 5kJF7EFKOAV3 for ; Wed, 24 Apr 2019 15:16:30 -0700 (PDT) Received: from che.mayfirst.org (che.mayfirst.org [162.247.75.118]) by arlo.cworth.org (Postfix) with ESMTPS id A74B06DE0F16 for ; Wed, 24 Apr 2019 15:16:30 -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 : date : message-id : in-reply-to : references : mime-version : content-transfer-encoding : from; bh=BYG3OItRjweJQLY4kYvgGwCvSgFqbKQHv/bovL0PbKA=; b=XfWgWDOpXXAoJ213wn69XzwGVxZdbEG2R4CASvGyseHa/USvAgRd8Bc2 mGpPyRw8ByySe2PEGrE7UeZ+dYEuAQ== 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 : date : message-id : in-reply-to : references : mime-version : content-transfer-encoding : from; bh=BYG3OItRjweJQLY4kYvgGwCvSgFqbKQHv/bovL0PbKA=; b=er5VCdO9HiVCgaiyWLkazxiAD9Noda3eOyQH3NwlGOMsIpXJPPWyPuKF 1H+1gLMyOyzIRrd/PGMIF2YnyvzitEoAkyFvAKiDHKPmKWp/vph4oC9QUr +eqJY9SpRYz2cZVc5YCrkig4DDhQdK0npTSGmJzeD105uzF8d7Fx0LoLiq iML4YuWeDelIrxXEIhpWouI6c5xr8xKOkROIcDQKF+nvcbXJPATn4y46Js jqx2UjxBUm0u5E5i26FAu8LAouOEAITdcrmI6/+ov0FVq/n75heyCPgJIF Ng902MS5afUKatqwVpmE+pObHRtr7HMl7qBCdHbyHck5uDJv0DlXgw== 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 AA090F9A2 for ; Wed, 24 Apr 2019 18:16:29 -0400 (EDT) Received: by fifthhorseman.net (Postfix, from userid 1000) id AE0D520CBD; Wed, 24 Apr 2019 18:15:15 -0400 (EDT) From: Daniel Kahn Gillmor To: Notmuch Mail Subject: [PATCH v2] test: add_gnupg_home should have ultimate trust on "its own" key Date: Wed, 24 Apr 2019 18:15:15 -0400 Message-Id: <20190424221515.25994-1-dkg@fifthhorseman.net> X-Mailer: git-send-email 2.20.1 In-Reply-To: <87ftq7rr04.fsf@fifthhorseman.net> References: <87ftq7rr04.fsf@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: Wed, 24 Apr 2019 22:16:31 -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 70d7dcfe..89f84bbe 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-ownertrust } # Each test should start with something like this, after copyright notices: -- 2.20.1