From patchwork Sat Sep 3 12:08:24 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: M X-Patchwork-Id: 42166 Return-Path: X-Original-To: patchwork@mira.cbaines.net Delivered-To: patchwork@mira.cbaines.net Received: by mira.cbaines.net (Postfix, from userid 113) id 1EB3627BBEA; Sat, 3 Sep 2022 13:09:29 +0100 (BST) X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on mira.cbaines.net X-Spam-Level: X-Spam-Status: No, score=-2.7 required=5.0 tests=BAYES_00,DKIM_INVALID, DKIM_SIGNED,FREEMAIL_FROM,MAILING_LIST_MULTI,SPF_HELO_PASS, URIBL_BLOCKED autolearn=unavailable autolearn_force=no version=3.4.6 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mira.cbaines.net (Postfix) with ESMTPS id A941427BBE9 for ; Sat, 3 Sep 2022 13:09:28 +0100 (BST) Received: from localhost ([::1]:35670 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1oURxn-0007dR-Sv for patchwork@mira.cbaines.net; Sat, 03 Sep 2022 08:09:27 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:53344) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oURxP-0007JH-F3 for guix-patches@gnu.org; Sat, 03 Sep 2022 08:09:03 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:52414) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1oURxP-0006ch-6f for guix-patches@gnu.org; Sat, 03 Sep 2022 08:09:03 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1oURxP-0002qv-2D for guix-patches@gnu.org; Sat, 03 Sep 2022 08:09:03 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#57560] [PATCH 1/4] hashcat: Don't embed timestamp, fixing reproducibility. References: <2fb077fe-19b5-bc02-fd36-4de31fe414fa@telenet.be> In-Reply-To: <2fb077fe-19b5-bc02-fd36-4de31fe414fa@telenet.be> Resent-From: Maxime Devos Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Sat, 03 Sep 2022 12:09:03 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 57560 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 57560@debbugs.gnu.org Cc: Maxime Devos Received: via spool by 57560-submit@debbugs.gnu.org id=B57560.166220691510904 (code B ref 57560); Sat, 03 Sep 2022 12:09:03 +0000 Received: (at 57560) by debbugs.gnu.org; 3 Sep 2022 12:08:35 +0000 Received: from localhost ([127.0.0.1]:41109 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oURwx-0002pn-0D for submit@debbugs.gnu.org; Sat, 03 Sep 2022 08:08:35 -0400 Received: from baptiste.telenet-ops.be ([195.130.132.51]:36460) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oURws-0002ox-Oi for 57560@debbugs.gnu.org; Sat, 03 Sep 2022 08:08:32 -0400 Received: from localhost.localdomain ([IPv6:2a02:1811:8c09:9d00:5dba:d409:33f7:a16]) by baptiste.telenet-ops.be with bizsmtp id FQ8U2800e20ykKC01Q8V2M; Sat, 03 Sep 2022 14:08:29 +0200 From: Maxime Devos Date: Sat, 3 Sep 2022 14:08:24 +0200 Message-Id: <20220903120827.25648-1-maximedevos@telenet.be> X-Mailer: git-send-email 2.37.2 MIME-Version: 1.0 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=telenet.be; s=r22; t=1662206909; bh=x1SSy3HbX1fJBZf79eOJF1Z3xt0+3kGRGd3GDCf1jK8=; h=From:To:Cc:Subject:Date; b=VbeTpbHpWaWTPNuRRzOioQZuA56g0MxTK+wNUJvUNFL8ZMOaoXFB84yUUMGrSRAtC 2odJNOfn8wqMtc+kznEiiJlzkeYZu/csT5u9nKR738pTNxnk+cJxmYfkwb3LadkLMz aOlK29zfMrZCgoCAr67aPELpB6YlZ70kxQHeZaYYLrm9yLxS4+SPjtg7QOZpOyt43n Il24Dz+5YUoQdE/LfMFxE/D+SdMTd+UqWZnmoannad42WlFi1YQm3Sp38xR1FRmtXA c4MwTuqxFJtyYf6YMI+dzJERDwfuTyOxumyQSKAcYyZaSj+JEzHZMaR8c+I0TDe0G1 c/tYkBRTmXchw== X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: guix-patches@gnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+patchwork=mira.cbaines.net@gnu.org Sender: "Guix-patches" X-getmail-retrieved-from-mailbox: Patches * gnu/packages/password-utils.scm (hashcat)[arguments]{#:phases}: Remove timestamp, fixing reproducibility. --- gnu/packages/password-utils.scm | 6 ++++++ 1 file changed, 6 insertions(+) base-commit: 57f8f69562e942557e3331bb81c7e4acd973d189 prerequisite-patch-id: 78c06b38a189109a5108a157d39ffe7eab8be109 prerequisite-patch-id: aaf0731113d36df901ed2186975e3bb872ec22c0 prerequisite-patch-id: 28e8223cfd59adf84007db9ceefd8a78c41fd10d prerequisite-patch-id: fb73228d99c36f50e2959c2303c7c707460fd147 prerequisite-patch-id: 7626f1464f4926416fb13daf3d846176aa93f51b prerequisite-patch-id: 445c6f624e99627959f2e54a6ee97337c44d9ea6 prerequisite-patch-id: 7a16c500faec9d58700a2b50b26bded079e9c3ac prerequisite-patch-id: f7d406c61e069c04c3b7da453192f51c04763db1 prerequisite-patch-id: 4674bf40052d97215f837c9dfd4e7e1ae999492d prerequisite-patch-id: 6259468375bfa157277521b17fdd97d6ab0748b7 prerequisite-patch-id: 9d14b38a33b68883c43d6b26dcdbdf7c28e417e7 prerequisite-patch-id: f0e3faffe768e9c660b0a9340042acfa0f790308 prerequisite-patch-id: 550485506255a67c0a1cb9ede7778d4d538b6e2a prerequisite-patch-id: 9282e95ff076cc2c742be8d2fede83ac14006f6f prerequisite-patch-id: 1503aa5c698f72ee47b7a987a95c0919efb203c4 prerequisite-patch-id: 24297940086a3780fd7e2e7fa345f262b12efb6f prerequisite-patch-id: c5f647b5472465666328b123f0f314a6138d6293 prerequisite-patch-id: 56386c4df9130221cad664ec161d1ad9713f4dc3 prerequisite-patch-id: f09ccfb7e53bc7934326af603a197344f4ef53f3 prerequisite-patch-id: 0c18c83d1f2da4639b43861103a028706a147022 prerequisite-patch-id: 066bfca8bf0c3d3bc57a14b48aa1e241555c1e86 prerequisite-patch-id: 13d9ac7b0fadc92b9351409df26b41443497a964 prerequisite-patch-id: ad831a04543475288aba1c938078dcc5ad05870e prerequisite-patch-id: ed9ec2d0bea23c2c2dbfa4c62290893f1a938f7f prerequisite-patch-id: 335ce9dbbb2b36b960203a79fdc8f6033ebda2fb prerequisite-patch-id: f2ca362056369913d0b8319187a8f46ea78b6dc7 prerequisite-patch-id: c02a17479ad4e01837fc307cf6defe0ae92e2435 prerequisite-patch-id: 3a794307f3bbd3641023d978f4b359eb2f5a46e4 prerequisite-patch-id: c545007535db365a29dc3a86e10866f5eef7b7d5 prerequisite-patch-id: 8b8fd18762282129e2d034f7cdceb368f53295d6 prerequisite-patch-id: d435d42bafa65f14049740a3d6cf1a163f855f97 prerequisite-patch-id: 27da1b857019b217b25b6795b84577fdc992a84c prerequisite-patch-id: aef95e76144ae5e92a41f81b11e84ddc7ececd91 prerequisite-patch-id: 95aa6b45d93026e4375b53a471f0f96e2016914e prerequisite-patch-id: 715d2bb93fe711e72388458846a0afde6babdc97 prerequisite-patch-id: 1851b8f26420465ac59f7447d9c8bd6698b77130 prerequisite-patch-id: 2bd6d4b30b6c71edef4bc6286a290f8eac5c18bd diff --git a/gnu/packages/password-utils.scm b/gnu/packages/password-utils.scm index 0069fdd74c..f64a205610 100644 --- a/gnu/packages/password-utils.scm +++ b/gnu/packages/password-utils.scm @@ -35,6 +35,7 @@ ;;; Copyright © 2020 Hartmut Goebel ;;; Copyright © 2021 David Dashyan ;;; Copyright © 2022 Maxim Cournoyer +;;; Copyright © 2022 Maxime Devos ;;; ;;; This file is part of GNU Guix. ;;; @@ -1129,6 +1130,11 @@ (define-public hashcat #:make-flags (list (string-append "PREFIX=" %output)) #:phases (modify-phases %standard-phases + ;; Don't embed timestamps, for bit-for-bit reproducibility. + (add-after 'unpack 'fix-reproducibility + (lambda _ + (substitute* "src/Makefile" + (("\\$\\(shell date \\+%s\\)") "0")))) (delete 'configure)))) (home-page "https://hashcat.net/hashcat/") (synopsis "Advanced password recovery utility")