From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp10.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms5.migadu.com with LMTPS id gHQyCx4GoWKougAAbAwnHQ (envelope-from ) for ; Wed, 08 Jun 2022 22:27:10 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp10.migadu.com with LMTPS id OL0ZCh4GoWLRMAEAG6o9tA (envelope-from ) for ; Wed, 08 Jun 2022 22:27:10 +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 C741AB238 for ; Wed, 8 Jun 2022 22:27:09 +0200 (CEST) Received: from localhost ([::1]:54848 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1nz2Gi-0001q1-U0 for larch@yhetil.org; Wed, 08 Jun 2022 16:27:08 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:48632) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nz2F5-0007Nl-DO for guix-devel@gnu.org; Wed, 08 Jun 2022 16:25:27 -0400 Received: from cascadia.aikidev.net ([2600:3c01:e000:267:0:a171:de7:c]:56932) by eggs.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1nz2F4-0006rW-0T for guix-devel@gnu.org; Wed, 08 Jun 2022 16:25:27 -0400 Received: from localhost (unknown [IPv6:2600:3c01:e000:21:7:77:0:20]) (Authenticated sender: vagrant@aikidev.net) by cascadia.aikidev.net (Postfix) with ESMTPSA id 675D41AB5A; Wed, 8 Jun 2022 13:25:24 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=reproducible-builds.org; s=1.vagrant; t=1654719924; bh=RmySIe7GrNrAfMOt5pQZGM1Jp+5sVmyhbDVJ1Z9hD6k=; h=From:To:Subject:In-Reply-To:References:Date:From; b=fvjD1CDubsu6NOrYMyA/wiiQsrObgee6CdsuyARajjegl1Fhd5MPCn0whbG2/veax iUfZPxAEtYIvJ36OyjRFeKeFgNrrrW1iS3fGb7LzIlGxhGDIG6Dr9PuewGvyyODwfp MGA2mj67YQoqI6sL1E2Ayq5ARVV1p/lq803IKvUG/f+PSUCjCG+u1kLhG4C6DKukRb EIovvHa5FuQ+er5WoHxdBEpP4pAhUYp/4hbv2cslZoxfZoWDEV19gY4p9/VjzgAXxr uKpitj8K9RHXowMHDIISZ+fcfB0AOEdG49EQ8clkEHfcjgLRKoHQtBfoUJAT479oYc 6M2Plbcmimytg== From: Vagrant Cascadian To: Arun Isaac , Guix Devel Subject: Re: maradns reproducibility fixes and the merits of picking a random number In-Reply-To: <87sfofkl8o.fsf@systemreboot.net> References: <87pmjlfdjl.fsf@contorta> <87sfofkl8o.fsf@systemreboot.net> Date: Wed, 08 Jun 2022 13:25:20 -0700 Message-ID: <87czfigaxb.fsf@contorta> MIME-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha512; protocol="application/pgp-signature" Received-SPF: none client-ip=2600:3c01:e000:267:0:a171:de7:c; envelope-from=vagrant@reproducible-builds.org; helo=cascadia.aikidev.net X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, SPF_HELO_NONE=0.001, SPF_NONE=0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=ham autolearn_force=no X-Spam_action: no action 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=1654720029; h=from:from:sender:sender: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:list-id:list-help:list-unsubscribe: list-subscribe:list-post:dkim-signature; bh=tWDvfE4XrSNryZHqW2oULNqU/Y7UqxF/F5H4Z0i3nUQ=; b=KRvlujI7Sj7MQT4HwmMENiqDbI08stXWmlA0un/zcTvBF3lPcUuxOXZbqx3x/zQOD0tZpd nejjF+co62/KcBfHBGcYrIJQ1QjbnZpeABYiHV+jizX7Fjg5d8VUUjS+3MjDdhzCwOSRRM LbQhAmC5rrrOlgDCUMdAHV2gw469rKTyO4RwqL+rCkUl3S//JvmM/w1585DeYRYAF1fNL1 A1+og30jaPKoa9MjtXV+W6xxUZgxwZhgwIBntbT7XeO71GN+j+SWnDbmoZi6sPB5K+mEy3 4dDa5vC4WxJN9L0s3mzkC6k3X0BSBv6h0pgtLOFvN6vqXnEfar5ooAFfdZw8zg== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1654720029; a=rsa-sha256; cv=none; b=qYVK401V1VqVOnxLyejqL5xOQtMtfABAMstuuMbEtgelh4fturGcGauU6ZEvLTHVAgjXHt 6BtNTvpQKhum9HkVBZqkauGxyD72ST6/SqLWchqFfjSF0nwo2oG3DvLEyaMR4AxVkAY3By NPBjohIVhzZ5b0gTkoD4KxJBckqil6FtKct1zd77Ie0JpcYiO6Q11RUQDwCt6OMvnmbDj/ hIKTzogqM1zTWgpg103UdtPFJVXyjvhAuVRHyZzpJyWFAXNE+2r3WLAwPJOWveaM6IibSw y9Pg6ughSDG5SXFwzYYVousStDnGKdS5Thi5lZKAMBaz2lK5gfn8Qg3UAxmRzg== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=reproducible-builds.org header.s=1.vagrant header.b=fvjD1CDu; dmarc=none; 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: -10.10 Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=reproducible-builds.org header.s=1.vagrant header.b=fvjD1CDu; dmarc=none; 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: C741AB238 X-Spam-Score: -10.10 X-Migadu-Scanner: scn0.migadu.com X-TUID: baMkPVYe/FST --=-=-= Content-Type: text/plain On 2022-06-09, Arun Isaac wrote: > Hi Vagrant, > >> 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! > > Wow, great find! Has this issue been reported to maradns upstream? If > upstream fixes it or provides us a compile flag to disable this > "feature", it would be even better in the long run. That does sound like the best long-term approach, definitely! Will take the issue upstream... live well, vagrant --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iHUEARYKAB0WIQRlgHNhO/zFx+LkXUXcUY/If5cWqgUCYqEFsAAKCRDcUY/If5cW qtPaAQD5+GZt7u/c6Hj+dgyJg7DFJddBU9ui5oj6kFWl4VwhvwEA12mZWOxLjYvN SNn/bnLKj6q3zFGjPT8OHg081NmAJw8= =X2xt -----END PGP SIGNATURE----- --=-=-=--