From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp12.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms5.migadu.com with LMTPS id 0C1FK80YHmMUQwEAbAwnHQ (envelope-from ) for ; Sun, 11 Sep 2022 19:20:13 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp12.migadu.com with LMTPS id aEcMK80YHmMvSAAAauVa8A (envelope-from ) for ; Sun, 11 Sep 2022 19:20:13 +0200 Received: from mail.notmuchmail.org (yantan.tethera.net [135.181.149.255]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id 6755010EEF for ; Sun, 11 Sep 2022 19:20:13 +0200 (CEST) Received: from yantan.tethera.net (localhost [127.0.0.1]) by mail.notmuchmail.org (Postfix) with ESMTP id B915F5E022; Sun, 11 Sep 2022 17:20:10 +0000 (UTC) Received: from meesny.iki.fi (meesny.iki.fi [IPv6:2001:67c:2b0:1c1::201]) by mail.notmuchmail.org (Postfix) with ESMTPS id 4C8515E016 for ; Sun, 11 Sep 2022 17:20:08 +0000 (UTC) Received: from c53 (gw1.nor.fi [185.218.193.67]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange ECDHE (P-256) server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) (Authenticated sender: too) by meesny.iki.fi (Postfix) with ESMTPSA id A8B73203B5; Sun, 11 Sep 2022 20:20:06 +0300 (EEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=iki.fi; s=meesny; t=1662916806; 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=2JV8rOMlaAvbEHEZVpLO+Phrlcg6VN2SI/8zWmsSBzg=; b=Q4rsqLMA9B6BFpNsGSqWeFuoTETHNQe0/pDu69mMapApffmzWhsgBv+M/7Lngk6iXfQIst 8nY/L61xSCbTwe/THl6B6DUSH9QO+LklUq/ohV8UqwNyhJ/tcmStRNDS+CIluV0A8rocdI njk2lvegLugn/8ZCsWbSvlSI/F36Yvo= From: Tomi Ollila To: Justus Winter , notmuch@notmuchmail.org Subject: Re: [PATCH 1/2] test: compute expected keyid from fingerprint In-Reply-To: <20220909161250.715226-1-justus@sequoia-pgp.org> References: <20220909161250.715226-1-justus@sequoia-pgp.org> User-Agent: Notmuch/0.36+55~gfb9633d (https://notmuchmail.org) Emacs/27.1 X-Face: HhBM'cA~ MIME-Version: 1.0 ARC-Authentication-Results: i=1; ORIGINATING; auth=pass smtp.auth=too smtp.mailfrom=tomi.ollila@iki.fi ARC-Seal: i=1; s=meesny; d=iki.fi; t=1662916806; a=rsa-sha256; cv=none; b=KcdlHyAuy1yGlH+DtT5rmvwGPj89cExgNvtssXjlD4FwUXkThyH8JsSdx8xHRdXnOTwlxB Oe+UaI9clud2jQOxtRKP7PPw81OTo9EZJgkghPVfyOoqwjwvkVhrsDlrsdizbo+h71XUKp YRu/arCtKWbBqJq/Dxf++kBnTkEwaEg= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=iki.fi; s=meesny; t=1662916806; 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=2JV8rOMlaAvbEHEZVpLO+Phrlcg6VN2SI/8zWmsSBzg=; b=fs750ZHiQn5BKp/svHu8of3e9irnW2VLKBQHHxD/hgY1YfAtiSn/2nICQ8WEZf1vRTZpOT TuLtvRDEY/VsU1jqcT5bbJEAWMDLUifle0tsAXtIyA24JB9asklNsV/81/WowMqgp7ck9Y 2kHWZJtrbhGZAPcfyl+A6BlhR8uGmwk= Message-ID-Hash: JHK2D72AKFD3RLAEMXI4WCQOFEYQYOZQ X-Message-ID-Hash: JHK2D72AKFD3RLAEMXI4WCQOFEYQYOZQ X-MailFrom: tomi.ollila@iki.fi X-Mailman-Rule-Misses: dmarc-mitigation; no-senders; approved; emergency; loop; banned-address; member-moderation; header-match-notmuch.notmuchmail.org-0; nonmember-moderation; administrivia; implicit-dest; max-recipients; max-size; news-moderation; no-subject; digests; suspicious-header X-Mailman-Version: 3.3.3 Precedence: list List-Id: "Use and development of the notmuch mail system." List-Help: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Migadu-Flow: FLOW_IN X-Migadu-To: larch@yhetil.org X-Migadu-Country: DE ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1662916813; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references:list-id:list-help: list-owner:list-unsubscribe:list-subscribe:list-post:dkim-signature; bh=tM/mObpND0bSV1UyEIB4LKaKMEvcvFxIuAUh0bmvZxo=; b=OW5Sy9elMooqHpxSVZgW3Dbmeo+dvP8o9P7JHbCOCqEUP1jlqaCBuGk9GeYYLKEMfLwc54 c3TIUAUnP4uZetaM6E2169OCrWRo5wY0zDwaua5tuXNG9bw2Jy2dvFIsvbserF3maYJPHC 9T2iah1Jg7B3THJayhWf7jIBKmEix7ElyMWZYkm5a5Ocv5iYoJ51Vq+u3E6xFXUwpgXC3B uSn0I6phT0dARmYy9XRFt4jpJC2cowDuy6snZU/BnkaiFmuglAO59hldkHCDT6lHBDOS02 AkLlNU0ooTX1h+hdZnsWim3h92bJn6GemmmMQEX5Fyd86NOumEt5yre2GRwEOA== ARC-Seal: i=2; s=key1; d=yhetil.org; t=1662916813; a=rsa-sha256; cv=fail; b=X1z400tdfbq/eXL69Yo8Gum6a0aZElfw5dH9wqLsC4eXuSHC3zZNjCvypaZAEX0AmSha7+ tHQF7KzIpexfjAk08RZUMnsuOHAi6i2OoHZfWlF9yL7gEi+C1cXEPaRWQ9yqkXntvTueyI ptL2iGm8X94JQgtRWgAPIVi+63UeE4w3wY5kwzP/WOJAg0PKKqyyv1QYqo8dhzQ8hfxJem xqCCbDrr5+Kn3sJGE3pmDjfWs4KIQpggiJpbUaJ6Id2cCDtgyCKaK/QvpsppqXoA5M7VmW 2L9nDahKz95sEgID10LQP4DNX5Z15H2ZDFF/7944KbhIvbAI3Rs65eyktlhx3A== ARC-Authentication-Results: i=2; aspmx1.migadu.com; dkim=fail ("body hash did not verify") header.d=iki.fi header.s=meesny header.b=Q4rsqLMA; arc=reject ("signature check failed: fail, {[1] = sig:iki.fi:reject}"); dmarc=none; spf=pass (aspmx1.migadu.com: domain of notmuch-bounces@notmuchmail.org designates 135.181.149.255 as permitted sender) smtp.mailfrom=notmuch-bounces@notmuchmail.org X-Migadu-Spam-Score: 2.61 Authentication-Results: aspmx1.migadu.com; dkim=fail ("body hash did not verify") header.d=iki.fi header.s=meesny header.b=Q4rsqLMA; arc=reject ("signature check failed: fail, {[1] = sig:iki.fi:reject}"); dmarc=none; spf=pass (aspmx1.migadu.com: domain of notmuch-bounces@notmuchmail.org designates 135.181.149.255 as permitted sender) smtp.mailfrom=notmuch-bounces@notmuchmail.org X-Migadu-Queue-Id: 6755010EEF X-Spam-Score: 2.61 X-Migadu-Scanner: scn1.migadu.com X-TUID: 5RNZf9MOeCsN On Fri, Sep 09 2022, Justus Winter wrote: > --- > test/T350-crypto.sh | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/test/T350-crypto.sh b/test/T350-crypto.sh > index 3c6626b4..721cbfdd 100755 > --- a/test/T350-crypto.sh > +++ b/test/T350-crypto.sh > @@ -467,7 +467,7 @@ expected='[[[{"id": "XXXXX", > "Date": "Sat, 01 Jan 2000 12:00:00 +0000"}, > "body": [{"id": 1, > "sigstatus": [{"status": "error", > - "keyid": "6D92612D94E46381", > + "keyid": "'$(echo $FINGERPRINT | cut -c 25-)'", The "bashism" (works also in zsh) ${FINGERPRINT:24} works here (and has been used in other lines in this file Tomi > "errors": {"key-revoked": true}}], > "content-type": "multipart/signed", > "content": [{"id": 2, > --