From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp11.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 uGq1NuT7oGLtLQAAbAwnHQ (envelope-from ) for ; Wed, 08 Jun 2022 21:43:32 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp11.migadu.com with LMTPS id ULeyNuT7oGK0xAAA9RJhRA (envelope-from ) for ; Wed, 08 Jun 2022 21:43:32 +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 8FC6A9BD3 for ; Wed, 8 Jun 2022 21:43:32 +0200 (CEST) Received: from localhost ([::1]:38472 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1nz1aV-0003KT-K7 for larch@yhetil.org; Wed, 08 Jun 2022 15:43:31 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:41994) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nz1aK-0003KI-Hg for guix-devel@gnu.org; Wed, 08 Jun 2022 15:43:20 -0400 Received: from mail-ed1-x542.google.com ([2a00:1450:4864:20::542]:43854) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1nz1aJ-0000qW-4v for guix-devel@gnu.org; Wed, 08 Jun 2022 15:43:20 -0400 Received: by mail-ed1-x542.google.com with SMTP id x62so28460195ede.10 for ; Wed, 08 Jun 2022 12:43:18 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=message-id:subject:from:to:date:in-reply-to:references:user-agent :mime-version:content-transfer-encoding; bh=po5Ma7FZSKHCTyglPSVtkLnv9jszxDIY/9NC+TgJqg8=; b=Wbn1qfj7fY4fRczpmbVdAjG5yNeFn+B5PGvdf6fRR9FurbByumPl/ueVVLT6UFAduU CPy1FoEAjjbg+wPtW8HV8dEZkKIcn+TckfrVi83lubwSSiZ+9ul2XFsO1ooQ/LGRefjp ynfBKce0+pdEilNtryMmsMSV2y+pvuT7TH55s9lMY34CZZBjaoCFZrdlYu5fam6vsurU aovyESeIxPwuqIqSPuvjtvqvL5lszjDjbSznQRTay7Y5BEELSqNqL7kzaANZksFaQErS BurwJZ3jTOqDwEH+M6+8kxHvIYdM6OjYRR8zuVmMHEJLA/YjSXQGSXMrlsKFtnt1xwpW ynuw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:message-id:subject:from:to:date:in-reply-to :references:user-agent:mime-version:content-transfer-encoding; bh=po5Ma7FZSKHCTyglPSVtkLnv9jszxDIY/9NC+TgJqg8=; b=t7iTLk9EODsRqvv8w+hqv3/6jpjjKOWPxHc2E/HDxT4c1/7MGgPQ6mHZC8v8NbmVhD Y9GXVjdLSMF5psl/EOlPOo5E87LIMd49XjZTeVDG4HhvCOzCfF0aKuikduDQacrEivfO f3wL7yR4JkR/NP5bouawp5DMgrs9Cmc7nDb0Iwma5RkKjmtPClS/aAPwVPQykY5/RPX7 X5kZqx1s7M5cLJKteggB4Tj6hxj+7XI7IPp/6iqi0jcfu6MsaZnqtpEbCLGTqGRKK9kI u9HErEDHCffKAaCkKPnnyVCZUq9Av5cw2keGIfDnc0N5V5O5p0ebZLeiAXomfOWNj2MR 03TQ== X-Gm-Message-State: AOAM531c0Wjo7/+xRQxZPb1zULjIsDfpxq7qEG325SHiJ8MRidxW/1xe g5EruhcFwhr1+66DMr8Wyo8= X-Google-Smtp-Source: ABdhPJyBcmwEn6y2HkJvB0brp9H7y+lPw22uFVHgswIHIkQ/J3xQeSTO8UZFrfjKCWRcf9k2f4RZEw== X-Received: by 2002:a05:6402:388b:b0:42b:5f20:c616 with SMTP id fd11-20020a056402388b00b0042b5f20c616mr41182479edb.50.1654717397339; Wed, 08 Jun 2022 12:43:17 -0700 (PDT) Received: from nijino.fritz.box (85-127-52-93.dsl.dynamic.surfer.at. [85.127.52.93]) by smtp.gmail.com with ESMTPSA id e2-20020a1709062d4200b006fec2097d53sm9673110eji.118.2022.06.08.12.43.16 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 08 Jun 2022 12:43:16 -0700 (PDT) Message-ID: <8edf50429401e456088d85317f1b43c6ba4859d0.camel@gmail.com> Subject: Re: maradns reproducibility fixes and the merits of picking a random number From: Liliana Marie Prikler To: Vagrant Cascadian , Guix Devel Date: Wed, 08 Jun 2022 21:43:15 +0200 In-Reply-To: <87pmjlfdjl.fsf@contorta> References: <87pmjlfdjl.fsf@contorta> Content-Type: text/plain; charset="UTF-8" User-Agent: Evolution 3.42.1 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Received-SPF: pass client-ip=2a00:1450:4864:20::542; envelope-from=liliana.prikler@gmail.com; helo=mail-ed1-x542.google.com 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, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-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=1654717412; 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: 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=po5Ma7FZSKHCTyglPSVtkLnv9jszxDIY/9NC+TgJqg8=; b=AB7N7Ht+QVmX4IsuV4l1zF1EmqyrOX7VNjeTk8ClpF6Jq0Rnxuco0jgxW53CAtkBmuaFxi /ttAdc/0JhX26sJLjLtWrTapSc4nJpX8K5RQm7dPwCHdTkac36CIe8A1BeaXg9WThTPQ6y jdaICa9rWTclBRpeCV+zM2J/CeOFUghUtpqk1i+OGprNMU39q9O3uMUHqtRVcqYfHAU67M 6aITrFhzqjddXDtYh9MUVdcMN+dxwcT/F688B+27YngUDfczA9tpITFMT2ki29KcM9Pt+Y a4XKG2kn9cCS2idCo1Kiqsy69sVuwHshMsGrdk11kVepH1mjiSPOQr3wrWwvIQ== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1654717412; a=rsa-sha256; cv=none; b=tX1+g9DeZxwm4EknKpo+k/TC7ML8okXzFf1YXwH3AWrYe9VJ2baPSP0FMBZ5dqJ6TSpXrP 5VCbK6lmQaBM4obnfCgUYHNvzhYrLMXx6MF28ugYdtPcWtFGDyEXa3BgUeToTt3WaKd0Kf bCzu9T4dY1G4xLSoCGHVYC+Fp2PF9wL23HyfVGSZusAn80Ee1iBAj+W89rdWccKsT+x4W0 d2mA+YCRUcBOHIj50ujTAhVs7cRMS6sKJww/bocBowrpu2nkIAsAq1GpG1FJgiGkzkeCZ3 REgr829P1BMbjEQ8TWtbHMzneaJ9F65AC2B54tPO6DJBgMardAts8H2VYQd/bg== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20210112 header.b=Wbn1qfj7; dmarc=pass (policy=none) header.from=gmail.com; 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: -4.00 Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20210112 header.b=Wbn1qfj7; dmarc=pass (policy=none) header.from=gmail.com; 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: 8FC6A9BD3 X-Spam-Score: -4.00 X-Migadu-Scanner: scn1.migadu.com X-TUID: XQvpBAZ+rk53 Am Montag, dem 06.06.2022 um 18:49 -0700 schrieb Vagrant Cascadian: > p.s. Obviously, I picked the best random number. I beg to differ. > +-RandomPrime:  RandomPrime.c > +-      $(CC) -O3 -o RandomPrime RandomPrime.c > +- > +-DwRandPrime.h: RandomPrime > +-      if [ -e /dev/urandom ] ; then ./RandomPrime > DwRandPrime.h ; > fi > ++DwRandPrime.h: > ++      echo '#define MUL_CONSTANT 1238145941' > DwRandPrime.h This does not satisfy requirement #221: chosen by a fair dice roll. Randomness can therefore not be guaranteed.