Received: by 2002:a05:7412:b130:b0:e2:908c:2ebd with SMTP id az48csp137536rdb; Thu, 16 Nov 2023 14:18:53 -0800 (PST) X-Google-Smtp-Source: AGHT+IEdlhI6eR+cgW8sc4SiqR1t8YyN4fYEfozz6fgG+O+1eiYwo2VXefruldDYGxfbk3sKP3PO X-Received: by 2002:a17:902:ccc2:b0:1cc:5296:10fb with SMTP id z2-20020a170902ccc200b001cc529610fbmr14351188ple.46.1700173132879; Thu, 16 Nov 2023 14:18:52 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1700173132; cv=none; d=google.com; s=arc-20160816; b=ezdq9fKduz+UuZdoXndj5MrvbD1DFt2/PRzkWTC3oO+WiZxg9IFJnVR5hwuuGw/D6L hhMhN0nI7r2zdyk9mJbOt3yCu3Z3Ub68LMXtyX5PY4ApDj6zCvBLfVephWhaCiSdD/Ix gPMVQXQS+7K/NWygH8/5rnslHCmC8kDrS9M3YZqJ/SMtkwfLfheiau99kjgaBf+lLqM4 5vQwn64RG5VJTBHCdjadXk35AWSYez8JslJFz0cPbYR+mtWfrvn5Tx1MriD+LjCPnL2j 2GxTCOm7/sArdC9ORGTsHsJScCyi58/ppSHHTUUMs5E3vy/wfVUBXn4ldXK8S7RWFlkK ngXg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :message-id:date:subject:cc:to:from:dkim-signature; bh=fut2D9PGkyHE9fjVYm7r2SdMYSbTSM2K3xqc3g+d5jg=; fh=lxx0AEghTrjgRAMCwphkC6QsgYod93XXX3+PI6w5bOU=; b=YHoSygU7CryEgb5TZn93+bNNbhG4sw6MM5Rm7F7llRv1zcAHZtjW/Ttc4lrFw+2kGT 6XDSiZjo7f/VkAiOINaVMW73PL5Iz2YN/1aSs6aNCnzhPVzzfueQhRtKZE9qz3z+2ciu GN8pudMD9a4wN49aJugi30rGaEWPMMY6jI3yq5XXyznqqA3k7F8XzjfuU03rYXxzxc4d khWcdsLX5wEcs+93SMxVvoZkSRhgOIcm0b0F4pnz/2r4NBbX3NxMLVMWOXk3GW3TZjGL F+OKLsyq2nf55YMjR+zHv9BmDwB36CNdouI5hyibzRMR0J8gwnJvT1JTD9DOkSWbbrjN oR7Q== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@chromium.org header.s=google header.b=dxA8uGCQ; spf=pass (google.com: domain of linux-wireless-owner@vger.kernel.org designates 2620:137:e000::3:7 as permitted sender) smtp.mailfrom=linux-wireless-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=chromium.org Return-Path: Received: from snail.vger.email (snail.vger.email. [2620:137:e000::3:7]) by mx.google.com with ESMTPS id h3-20020a170902748300b001ce5b7bb236si318268pll.473.2023.11.16.14.18.51 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 16 Nov 2023 14:18:52 -0800 (PST) Received-SPF: pass (google.com: domain of linux-wireless-owner@vger.kernel.org designates 2620:137:e000::3:7 as permitted sender) client-ip=2620:137:e000::3:7; Authentication-Results: mx.google.com; dkim=pass header.i=@chromium.org header.s=google header.b=dxA8uGCQ; spf=pass (google.com: domain of linux-wireless-owner@vger.kernel.org designates 2620:137:e000::3:7 as permitted sender) smtp.mailfrom=linux-wireless-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=chromium.org Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by snail.vger.email (Postfix) with ESMTP id 85A58804B01E; Thu, 16 Nov 2023 14:18:50 -0800 (PST) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.11 at snail.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229707AbjKPWSl (ORCPT + 53 others); Thu, 16 Nov 2023 17:18:41 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:46752 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229379AbjKPWSk (ORCPT ); Thu, 16 Nov 2023 17:18:40 -0500 Received: from mail-pf1-x431.google.com (mail-pf1-x431.google.com [IPv6:2607:f8b0:4864:20::431]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id D0C49B2 for ; Thu, 16 Nov 2023 14:18:37 -0800 (PST) Received: by mail-pf1-x431.google.com with SMTP id d2e1a72fcca58-6b5cac99cfdso1270152b3a.2 for ; Thu, 16 Nov 2023 14:18:37 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=chromium.org; s=google; t=1700173117; x=1700777917; darn=vger.kernel.org; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:from:to:cc:subject:date:message-id:reply-to; bh=fut2D9PGkyHE9fjVYm7r2SdMYSbTSM2K3xqc3g+d5jg=; b=dxA8uGCQDvqm/0UJHMK9oTcoSJRFO14H1o/qLYEgcOyhQgeK+3sl42xZCDDYTYwjBE UeH1lwmJYxmzRqNBw15Lxl1T9AXsnF+RNBXKosBWsELnc5y5LYy19GOUSrdxBoCG5N6Z 9gP4ESErNLKx/UDz+ijvl8nfF0oeBsAdkngNc= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1700173117; x=1700777917; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=fut2D9PGkyHE9fjVYm7r2SdMYSbTSM2K3xqc3g+d5jg=; b=NKyXrIoP7ExgPjySK9sM/3csXmjB/DC2k6acZNEAcOFnza4XuRcyVQSQQSu2hj3IGo wJYKEXmo/84SFPF1E/47zMsXyEEqbDaeQ7NdvtILerlwhsrUhF9EgHeZu15gTxdTHeeT aH5wc3Qy/fvhXtbrSasz5QMtBH70Hod8YY4bf2nSdhr7FYcF88WfjdzIHih9DVDzj6ua CNju+phR1pnbknbd6PUEQ2CsvWttcG1CIkLW/+PuLnSh5TVU7VTwhnPxVsw5SRCO+Dav psb5nkZDhw6KcBLaIiTcXseaX7dKsIDbROyd/QmK0nIfxLYRf9U7tm8hL/Mwqxm+ESvM ypng== X-Gm-Message-State: AOJu0Yzu8peYucwkpXg/vU4VNBBCrPsy5OkYV3Dd4AaK9E4yIbKkTHr4 Es8zOZ3mSzGAeO/bnxlE1PH3mzOZ0w9WGmgATbo= X-Received: by 2002:a05:6a00:1d92:b0:6c3:60c2:8415 with SMTP id z18-20020a056a001d9200b006c360c28415mr16372044pfw.30.1700173117194; Thu, 16 Nov 2023 14:18:37 -0800 (PST) Received: from localhost ([2620:15c:9d:2:a5db:bb75:e3b:29d]) by smtp.gmail.com with UTF8SMTPSA id bn2-20020a056a00324200b006c4d4d5a197sm221428pfb.171.2023.11.16.14.18.36 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Thu, 16 Nov 2023 14:18:36 -0800 (PST) From: Brian Norris To: linux-wireless@vger.kernel.org Cc: Chen-Yu Tsai , wireless-regdb@lists.infradead.org, Brian Norris Subject: [PATCH] wireless-regdb: Makefile: Reproducible signatures Date: Thu, 16 Nov 2023 14:18:16 -0800 Message-ID: <20231116221828.301564-1-briannorris@chromium.org> X-Mailer: git-send-email 2.43.0.rc0.421.g78406f8d94-goog MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-2.2 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF, RCVD_IN_DNSWL_BLOCKED,SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE, URIBL_BLOCKED autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-wireless@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (snail.vger.email [0.0.0.0]); Thu, 16 Nov 2023 14:18:50 -0800 (PST) Per openssl-mime(1): -noattr Normally when a message is signed a set of attributes are included which include the signing time and supported symmetric algorithms. With this option they are not included. The signing time hurts reproducibility, even if the same database, key, and certificate are used. So, drop the extra attributes from the smime command. Signed-off-by: Brian Norris --- Makefile | 1 + 1 file changed, 1 insertion(+) diff --git a/Makefile b/Makefile index 02176ec7b717..ecd23309efb6 100644 --- a/Makefile +++ b/Makefile @@ -69,6 +69,7 @@ regulatory.db.p7s: regulatory.db $(REGDB_PRIVKEY) $(REGDB_PUBCERT) -signer $(REGDB_PUBCERT) \ -inkey $(REGDB_PRIVKEY) \ -in $< -nosmimecap -binary \ + -noattr \ -outform DER -out $@ sha1sum.txt: db.txt -- 2.43.0.rc0.421.g78406f8d94-goog