From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp2 ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms11 with LMTPS id KB8KNvLdqV71QgAA0tVLHw (envelope-from ) for ; Wed, 29 Apr 2020 20:05:06 +0000 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp2 with LMTPS id OBTNCfvdqV7TOwAAB5/wlQ (envelope-from ) for ; Wed, 29 Apr 2020 20:05:15 +0000 Received: from arlo.cworth.org (arlo.cworth.org [50.126.95.6]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) server-signature RSA-PSS (4096 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id A69F59430FD for ; Wed, 29 Apr 2020 20:05:13 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by arlo.cworth.org (Postfix) with ESMTP id E4B166DE102B; Wed, 29 Apr 2020 13:05:11 -0700 (PDT) X-Virus-Scanned: Debian amavisd-new at cworth.org 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 lu0WD_ZNhXAg; Wed, 29 Apr 2020 13:05:11 -0700 (PDT) Received: from arlo.cworth.org (localhost [IPv6:::1]) by arlo.cworth.org (Postfix) with ESMTP id BF7BA6DE1372; Wed, 29 Apr 2020 13:05:10 -0700 (PDT) Received: from localhost (localhost [127.0.0.1]) by arlo.cworth.org (Postfix) with ESMTP id B17FA6DE1372 for ; Wed, 29 Apr 2020 13:05:09 -0700 (PDT) X-Virus-Scanned: Debian amavisd-new at cworth.org 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 mTKBOmmliQw9 for ; Wed, 29 Apr 2020 13:05:08 -0700 (PDT) Received: from lahtoruutu.iki.fi (lahtoruutu.iki.fi [212.16.98.55]) by arlo.cworth.org (Postfix) with ESMTPS id EDF226DE102B for ; Wed, 29 Apr 2020 13:05:07 -0700 (PDT) Received: from guru.guru-group.fi (unknown [IPv6:2a02:2380:1:9:5054:ff:feb7:a4bc]) (using TLSv1.2 with cipher AES256-SHA (256/256 bits)) (No client certificate requested) (Authenticated sender: too) by lahtoruutu.iki.fi (Postfix) with ESMTPSA id 835C31B00087; Wed, 29 Apr 2020 23:05:05 +0300 (EEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=iki.fi; s=lahtoruutu; t=1588190705; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=EPj5enc8EaakRtvAueEjZVqeoGH1KLdu8+o5tXvLTzk=; b=iPS6SmNKBsw16U6gte3Kc+9GiBnN7bF9adFJ546Y0PswGEvnv4DcQI/qLGl1w+ntRA/QhG UBdfcQNR1wo0nZpPBUm2EL9tWH9nEigx3JQdIAbi2ePU0Oo3SGrHW/lZtbPq2tqZLRH2pl xp3BQSJIUAc1MlpB6/nmD3JPuhx6zFFceNDYlI9Ue5FJxsbGVrsy69IfTtkQon7Z/qEGQT 3G+jMZIAh4bjD7DI+axk332uiB67Ioy03Gdrg0WpBgTHLjZxgpeXthqh6aPp6SKiKiUTR2 6RlJDU35G0UMmg3ylQhJn7kKYvBzl51I66qxrM+I6qTNBZI1ffhaLr3UILsygg== From: Tomi Ollila To: Daniel Kahn Gillmor , Notmuch Mail Subject: Re: [PATCH 08/15] tests/smime: include secret key material for Bob In-Reply-To: <20200428185723.660184-9-dkg@fifthhorseman.net> References: <20200428185723.660184-1-dkg@fifthhorseman.net> <20200428185723.660184-9-dkg@fifthhorseman.net> User-Agent: Notmuch/0.28.3+84~g41389bb (https://notmuchmail.org) Emacs/25.2.1 (x86_64-unknown-linux-gnu) X-Face: HhBM'cA~ MIME-Version: 1.0 ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=iki.fi; s=lahtoruutu; t=1588190705; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=EPj5enc8EaakRtvAueEjZVqeoGH1KLdu8+o5tXvLTzk=; b=m2VjxKa4QjEltJgt3g5pMgTeSjY0vvNizJqiw8CsKmUgC/NYubYVZNvAKSE74EiGr/DeZK yk7NhfXBzw4eMcmt0SzEd0/H0PknKURqOVYNcDmmYo7swSVFWuLjE5RXorGMCZD2AOH1Zc 2/tWUv2WFPVDyNyji/6uKBV0WgHToYfqXpdmRFqUgYqv4vE2KvEr+6qHVoqgq4eKbBOUFp IiOpCzdCvUi/Y50OH25MZWSb1igVrW47siI61l1nZ/pln40ky/NifSwp+puayF8LTvDTfX /JFEu/5CjK8JfrKSdjnUBXeHMxLb/utCrOwZfWXvxvxHkc80JMbky6oMCPAMxg== ARC-Seal: i=1; s=lahtoruutu; d=iki.fi; t=1588190705; a=rsa-sha256; cv=none; b=O9C6nsSF9cFbi1EwMT92N1B+rv/9vTrkA/T2mcqwtKX8goH/u+Nrh8iBkOEtzFOFkxvNOH S7AqJ8Kni7EtrPXfWgGwjYhKqPYsvmzTNq9uWGpAH6erH9h/Tak7TDIhJFvlh8bHadpSMl QvLe7OLD8Dgbsa3Ncxeh48SFNmlff3iK47a9pFc+Wuj1S51sJGietdD6T42tu4wivk+NHa MciLUd7YrmD5+gvdS3pkpB4rzBvFv1oukS/6KRXCcLPUxkS6dU62MP3j3PozqDcaABNiIF IhRdh70FfOaDaqGGYfGn2Z9JRwh7La+8hPOlkQ93aF/HPiulMYDbPO76vm1b+Q== ARC-Authentication-Results: i=1; ORIGINATING; auth=pass smtp.auth=too smtp.mailfrom=tomi.ollila@iki.fi 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: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Errors-To: notmuch-bounces@notmuchmail.org Sender: "notmuch" X-Scanner: scn0 X-Spam-Score: 3.49 Authentication-Results: aspmx1.migadu.com; dkim=fail (body hash did not verify) header.d=iki.fi header.s=lahtoruutu header.b=iPS6SmNK; dmarc=none; spf=pass (aspmx1.migadu.com: domain of notmuch-bounces@notmuchmail.org designates 50.126.95.6 as permitted sender) smtp.mailfrom=notmuch-bounces@notmuchmail.org X-Scan-Result: default: False [3.49 / 13.00]; RCVD_VIA_SMTP_AUTH(0.00)[]; GENERIC_REPUTATION(0.00)[-0.46145731636415]; MX_INVALID(1.00)[cached]; DWL_DNSWL_FAIL(0.00)[50.126.95.6:server fail]; IP_REPUTATION_HAM(0.00)[asn: 27017(-0.18), country: US(-0.00), ip: 50.126.95.6(-0.46)]; R_SPF_ALLOW(-0.20)[+a:c]; R_DKIM_REJECT(1.00)[iki.fi:s=lahtoruutu]; ARC_REJECT(2.00)[signature check failed: fail, {[1] = sig:iki.fi:reject}]; TO_DN_ALL(0.00)[]; DKIM_TRACE(0.00)[iki.fi:-]; RCPT_COUNT_TWO(0.00)[2]; MAILLIST(-0.20)[mailman]; RCVD_IN_DNSWL_FAIL(0.00)[50.126.95.6:server fail]; MIME_TRACE(0.00)[0:+]; RCVD_TLS_LAST(0.00)[]; ASN(0.00)[asn:27017, ipnet:50.126.64.0/18, country:US]; FROM_NEQ_ENVFROM(0.00)[tomi.ollila@iki.fi,notmuch-bounces@notmuchmail.org]; URIBL_BLOCKED(0.00)[notmuchmail.org:email,fifthhorseman.net:email,ietf.org:url]; FROM_HAS_DN(0.00)[]; MIME_GOOD(-0.10)[text/plain]; PREVIOUSLY_DELIVERED(0.00)[notmuch@notmuchmail.org]; DMARC_NA(0.00)[iki.fi]; HAS_LIST_UNSUB(-0.01)[]; RCVD_COUNT_SEVEN(0.00)[8]; FORGED_SENDER_MAILLIST(0.00)[] X-TUID: ZquZX25m1yoK On Tue, Apr 28 2020, Daniel Kahn Gillmor wrote: > This is taken from the same Internet Draft that test/smime/ca.crt > comes from. See that draft for more details. > https://www.ietf.org/id/draft-dkg-lamps-samples-02.html#name-pkcs12-object-for-bob > > We don't use it yet, but it will be used to decrypt other messages in > the test suite. > > Note that we include it here with an empty passphrase, rather than > with the passphrase "bob" that it is supplied with in the I-D. The > underlying cryptographic material is the same, but this way we can > import cleanly into gpgsm without having a passphrase set on it (gpgsm > converts an empty-string passphrase into no passphrase at all on > import). > > Signed-off-by: Daniel Kahn Gillmor > --- // stuff deleted // > diff --git a/test/test-lib.sh b/test/test-lib.sh > index d9997b27..dd7fdfaa 100644 > --- a/test/test-lib.sh > +++ b/test/test-lib.sh > @@ -145,6 +145,8 @@ add_gpgsm_home () > gpgsm --quiet --batch --no-tty --no-common-certs-import --disable-dirmngr --import < $NOTMUCH_SRCDIR/test/smime/ca.crt > echo "4D:E0:FF:63:C0:E9:EC:01:29:11:C8:7A:EE:DA:3A:9A:7F:6E:C1:0D S" >> "$GNUPGHOME/trustlist.txt" > echo include-certs::1 | gpgconf --output /dev/null --change-options gpgsm > + gpgsm --batch --no-tty --no-common-certs-import --pinentry-mode=loopback --passphrase-fd 3 \ > + --disable-dirmngr --import $NOTMUCH_SRCDIR/test/smime/bob.p12 >>"$GNUPGHOME"/import.log 2>&1 3<<<'' Now that I started w/ consistenly quotes -- "$NOTMUCH_SRCDIR/..." Or maybe not, is this variable consistently unquoted -- or something ;) Tomi > test_debug "cat $GNUPGHOME/import.log" > } > > -- > 2.26.2