From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp11.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms5.migadu.com with LMTPS id QKmmH7Vrn2IlQwAAbAwnHQ (envelope-from ) for ; Tue, 07 Jun 2022 17:16:05 +0200 Received: from aspmx1.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp11.migadu.com with LMTPS id ANKaH7Vrn2LcwwAA9RJhRA (envelope-from ) for ; Tue, 07 Jun 2022 17:16:05 +0200 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id AD45AD91B for ; Tue, 7 Jun 2022 17:16:00 +0200 (CEST) Received: from localhost ([::1]:43012 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1nyaw2-0000x3-OC for larch@yhetil.org; Tue, 07 Jun 2022 11:15:58 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:36712) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nyavD-0000sp-DG for guix-devel@gnu.org; Tue, 07 Jun 2022 11:15:08 -0400 Received: from fencepost.gnu.org ([2001:470:142:3::e]:37892) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nyavB-0003s3-GP; Tue, 07 Jun 2022 11:15:06 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=MIME-Version:In-Reply-To:Date:References:Subject:To: From; bh=s3EPhynd3HS9GnwSiEQB7RqktVCgCXE7/nXMgiO41IE=; b=UpEeEq7ADc5SpI79ACtU bco0Oli043BIToxEu8bgx670Aut16leRiqWb+rKTbSS8+vS2zoPakWlNXmWi1Jmd/mZ7jzwjQyhyZ to0D4djwFNgRBKUDUZCGSVq2L/hdFU0olP43LSuPXNY4SNvG/9sct5LHuEoxE81DSzgBNyeMdPR+x QteECoX3LRtRPlvqnEaxRubGPJqiGGkHP5W6p7P0nQltjnxHIsTCSFOpm8pppK8uztNHhknqDWeYz PKYjztq2kx0T1dWx4oGz1SBSzlc2S7/j4agBUjhk2ubHZNODCBA54o90zRkahtgrAuGhnO/T3/YTQ j0UbV9uSvkv5Ag==; Received: from [193.50.110.183] (port=60894 helo=ribbon) by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nyav8-00028R-AJ; Tue, 07 Jun 2022 11:15:02 -0400 From: =?utf-8?Q?Ludovic_Court=C3=A8s?= To: Vagrant Cascadian Cc: Guix Devel Subject: Re: maradns reproducibility fixes and the merits of picking a random number References: <87pmjlfdjl.fsf@contorta> X-URL: http://www.fdn.fr/~lcourtes/ X-Revolutionary-Date: Nonidi 19 Prairial an 230 de la =?utf-8?Q?R=C3=A9vol?= =?utf-8?Q?ution=2C?= jour du Tilleul X-PGP-Key-ID: 0x090B11993D9AEBB5 X-PGP-Key: http://www.fdn.fr/~lcourtes/ludovic.asc X-PGP-Fingerprint: 3CE4 6455 8A84 FDC6 9DB4 0CFB 090B 1199 3D9A EBB5 X-OS: x86_64-pc-linux-gnu Date: Tue, 07 Jun 2022 17:15:00 +0200 In-Reply-To: <87pmjlfdjl.fsf@contorta> (Vagrant Cascadian's message of "Mon, 06 Jun 2022 18:49:34 -0700") Message-ID: <87ee00a4jv.fsf@gnu.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.1 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-BeenThere: guix-devel@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: "Development of GNU Guix and the GNU System distribution." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-devel-bounces+larch=yhetil.org@gnu.org Sender: "Guix-devel" X-Migadu-Flow: FLOW_IN X-Migadu-To: larch@yhetil.org X-Migadu-Country: US ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1654614960; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc: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-unsubscribe:list-subscribe:list-post:dkim-signature; bh=s3EPhynd3HS9GnwSiEQB7RqktVCgCXE7/nXMgiO41IE=; b=Qa8pKf5Rtmtc5o5zDqVDj9dZmXfOyeeDA9HGeXCnnuT14M2TKY7FkCboG2ErKWIt74J9s3 Omt5/mB+22rrP0f+klqeMwVx4CBCR94UEF/NpKDoz4KM5+kHcq3jHR+pAEdYj2pG/cQ/am 5XccFMobGbypuldhBim+EqMC2gOJdbwno3vu6ehDedLvQim8bnGwI/W3GD5MuoIJ9T1gnr +J3VpJO5M0jt/TbRctxrusdaF/QqBPysikCUpFAAiAmcaV8/XKbolBCzMPSCd8L5W5WZ9m vPH6s4kqYKOKxaLVGMyJp8O686DgVUtGdnZ5wiNED63uhHkmlNnbpg4udrM/fg== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1654614960; a=rsa-sha256; cv=none; b=nnA4znlVJdpJ8IS1eHp5uvNOonCl7soV0PdoJ2YPVqIvR+Grp/UamlKei0mir1+NbT3A+U jWY+bVGul6K+59RCxp8lixpWUEaGRwWhTU9wGEE24YMp6FQC29FO54k0FK5WfOxwk+Abnh kUZEEE1HhyHgnn5XH4yB3857YqNqZvbTDo99sTl+GPnwtD+72Qj+at9befa0s2151QGirA XYj5poMBy1UYGnL2nDdPKZV1hSFd7bTNmtleoCJpZ90E216bXgqT/np0KiR7iEv6bPy1tg VprkNrrwezo90BxJwJltfR4/dcCYhIb3YSc+AB7wMUhDUv/5GmnES6odWTtKFw== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=gnu.org header.s=fencepost-gnu-org header.b=UpEeEq7A; dmarc=pass (policy=none) header.from=gnu.org; spf=pass (aspmx1.migadu.com: domain of "guix-devel-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-devel-bounces+larch=yhetil.org@gnu.org" X-Migadu-Spam-Score: -9.51 Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=gnu.org header.s=fencepost-gnu-org header.b=UpEeEq7A; dmarc=pass (policy=none) header.from=gnu.org; spf=pass (aspmx1.migadu.com: domain of "guix-devel-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-devel-bounces+larch=yhetil.org@gnu.org" X-Migadu-Queue-Id: AD45AD91B X-Spam-Score: -9.51 X-Migadu-Scanner: scn0.migadu.com X-TUID: HcQ22ldnWIVp Hi, Vagrant Cascadian skribis: > But there's one nervous-making issue this revealed; maradns embeds a > random number at build time ... allegedly for systems that don't have > /dev/urandom... see > maradns-3.5.0020/deadwood-3.5.0020/src/Makefile.ubuntu2004: > > # Since some systems may not have /dev/urandom (Windows, *cough* *cough= *), we > # keep a randomly generated prime around > > So it's got some code to generate a random number at build time and > embed it in the binary. Now, if there's anything I know about good > practices about random numbers, this sort of thing is generally a very > large red flag! It also makes the package build differently every time! Woow. Reproducibility work lets you uncover issues you wouldn=E2=80=99t th= ink of! Ludo=E2=80=99.