From patchwork Fri Oct 30 16:02:58 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: pukkamustard X-Patchwork-Id: 24886 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 2B5EA27BBF3; Fri, 30 Oct 2020 17:00:13 +0000 (GMT) X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on mira.cbaines.net X-Spam-Level: X-Spam-Status: No, score=-2.8 required=5.0 tests=BAYES_00,DKIM_SIGNED, MAILING_LIST_MULTI,RCVD_IN_MSPIKE_H4,RCVD_IN_MSPIKE_WL,T_DKIM_INVALID, URIBL_BLOCKED autolearn=unavailable autolearn_force=no version=3.4.2 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mira.cbaines.net (Postfix) with ESMTPS id D769227BBF2 for ; Fri, 30 Oct 2020 17:00:12 +0000 (GMT) Received: from localhost ([::1]:47676 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kYXl5-0006dA-T8 for patchwork@mira.cbaines.net; Fri, 30 Oct 2020 13:00:11 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:60220) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kYXkx-0006bW-Ba for guix-patches@gnu.org; Fri, 30 Oct 2020 13:00:03 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:48005) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1kYXkw-0005BJ-Vm for guix-patches@gnu.org; Fri, 30 Oct 2020 13:00:03 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1kYXkw-0001RI-VR for guix-patches@gnu.org; Fri, 30 Oct 2020 13:00:02 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#44332] [PATCH] gnu: Add mkp224o. Resent-From: pukkamustard Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Fri, 30 Oct 2020 17:00:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 44332 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 44332@debbugs.gnu.org Cc: pukkamustard X-Debbugs-Original-To: guix-patches@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.16040771885481 (code B ref -1); Fri, 30 Oct 2020 17:00:02 +0000 Received: (at submit) by debbugs.gnu.org; 30 Oct 2020 16:59:48 +0000 Received: from localhost ([127.0.0.1]:59551 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kYXki-0001QL-36 for submit@debbugs.gnu.org; Fri, 30 Oct 2020 12:59:48 -0400 Received: from lists.gnu.org ([209.51.188.17]:46790) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kYWsg-0006Gn-KA for submit@debbugs.gnu.org; Fri, 30 Oct 2020 12:03:59 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:45154) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kYWsg-0005Qm-DU for guix-patches@gnu.org; Fri, 30 Oct 2020 12:03:58 -0400 Received: from mout01.posteo.de ([185.67.36.65]:45863) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kYWsd-0005Nh-RM for guix-patches@gnu.org; Fri, 30 Oct 2020 12:03:57 -0400 Received: from submission (posteo.de [89.146.220.130]) by mout01.posteo.de (Postfix) with ESMTPS id 7784516008C for ; Fri, 30 Oct 2020 17:03:39 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.net; s=2017; t=1604073819; bh=jSV676TbFKD3RVsNlYztGCUZbWRL3zAFwAcVfz3W3G0=; h=From:To:Cc:Subject:Date:From; b=l2qZsghtYncHvoFHu/8CqdQEES0uZ4m/vJFoonrfsABN11k7IcVGRLLOznkmTzqMJ H2ADnDwOIreY+81HUOYchJDsyWYV09dWtFzHdoEun2/91pSqXnZQx2XCpbzJLa2Bl4 VvoF//kFhQLZ+3DnQiKXVX1sWfF98T2OcdzbCz0JVGDq60fAMaDnuuGcTPycUr0dXH XOF7I2//gsym2FJunE+60zC/4uOWCamNkzwAAq67vLxXT9qCNFbVNqTsJCUySYTb77 FsjajXG2eRobJnEQYCwufHm3GyGkghZSNFPS8ElSTrsz8iCKw8aMlyiAIJyTWOgic6 ewbC8q2ItHqOQ== Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 4CN6YQ6zKVz6tm8; Fri, 30 Oct 2020 17:03:38 +0100 (CET) From: pukkamustard Date: Fri, 30 Oct 2020 17:02:58 +0100 Message-Id: <20201030160258.19447-1-pukkamustard@posteo.net> X-Mailer: git-send-email 2.28.0 MIME-Version: 1.0 Received-SPF: pass client-ip=185.67.36.65; envelope-from=pukkamustard@posteo.net; helo=mout01.posteo.de X-detected-operating-system: by eggs.gnu.org: First seen = 2020/10/30 11:46:34 X-ACL-Warn: Detected OS = Linux 3.11 and newer [fuzzy] X-Spam_score_int: -43 X-Spam_score: -4.4 X-Spam_bar: ---- X-Spam_report: (-4.4 / 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, RCVD_IN_DNSWL_MED=-2.3, RCVD_IN_MSPIKE_H4=0.001, RCVD_IN_MSPIKE_WL=0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-Mailman-Approved-At: Fri, 30 Oct 2020 12:59:46 -0400 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/crypto.scm (mkp224o): New variable. --- gnu/packages/crypto.scm | 37 +++++++++++++++++++++++++++++++++++++ 1 file changed, 37 insertions(+) diff --git a/gnu/packages/crypto.scm b/gnu/packages/crypto.scm index a45d2741e6..c2f7e97619 100644 --- a/gnu/packages/crypto.scm +++ b/gnu/packages/crypto.scm @@ -18,6 +18,7 @@ ;;; Copyright © 2020 Jakub Kądziołka ;;; Copyright © 2020 Brice Waegeneire ;;; Copyright © 2020 Hendur Saga +;;; Copyright © 2020 pukkamustard ;;; ;;; This file is part of GNU Guix. ;;; @@ -1287,3 +1288,39 @@ length extension attacks supporting MD4, MD5, RIPEMD-160, SHA-0, SHA-1, SHA-256, SHA-512, and WHIRLPOOL hashes.") (home-page "https://github.com/iagox86/hash_extender") (license license:bsd-3)))) + +(define-public mkp224o + (package + (name "mkp224o") + (version "1.5.0") + (source (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/cathugger/mkp224o") + (commit (string-append "v" version)))) + (sha256 + (base32 + "0b2cn96wg4l8jkkqqp8l2295xlmm2jc8nrw6rdqb5g0zkpfmrxbb")) + (file-name (git-file-name name version)))) + (build-system gnu-build-system) + (arguments + `(#:tests? #f ; no test suite + #:phases + (modify-phases %standard-phases + (replace 'install + (lambda* (#:key outputs #:allow-other-keys) + (let* ((outdir (assoc-ref outputs "out")) + (bindir (string-append outdir "/bin"))) + (install-file "mkp224o" bindir) + #t)))))) + (native-inputs + `(("autoconf" ,autoconf) + ("automake" ,automake))) + (inputs + `(("libsodium" ,libsodium))) + (synopsis "Tor hidden service v3 name generator") + (description "@code{mkp224o} generates valid ed25519 (hidden service +version 3) onion addresses. It allows one to produce customized vanity .onion +addresses using a brute-force method.") + (home-page "https://github.com/cathugger/mkp224o") + (license license:cc0)))