From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp0 ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms11 with LMTPS id yMIhNbB1LF/HfAAA0tVLHw (envelope-from ) for ; Thu, 06 Aug 2020 21:27:12 +0000 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp0 with LMTPS id kKQIMbB1LF8FQQAA1q6Kng (envelope-from ) for ; Thu, 06 Aug 2020 21:27:12 +0000 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 9642194062F for ; Thu, 6 Aug 2020 21:27:11 +0000 (UTC) Received: from localhost ([::1]:58376 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1k3nPo-0006OS-Ni for larch@yhetil.org; Thu, 06 Aug 2020 17:27:08 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:43932) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1k3nPi-0006OD-TD for guix-patches@gnu.org; Thu, 06 Aug 2020 17:27:02 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:43443) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1k3nPi-0006H9-JW for guix-patches@gnu.org; Thu, 06 Aug 2020 17:27:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1k3nPi-00049m-FG for guix-patches@gnu.org; Thu, 06 Aug 2020 17:27:02 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#42732] [PATCH] gnu: Add age. Resent-From: Jakub =?UTF-8?Q?K=C4=85dzio=C5=82ka?= Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Thu, 06 Aug 2020 21:27:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 42732 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 42732@debbugs.gnu.org X-Debbugs-Original-To: guix-patches@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.159674918815912 (code B ref -1); Thu, 06 Aug 2020 21:27:02 +0000 Received: (at submit) by debbugs.gnu.org; 6 Aug 2020 21:26:28 +0000 Received: from localhost ([127.0.0.1]:54989 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1k3nP9-00048a-Rn for submit@debbugs.gnu.org; Thu, 06 Aug 2020 17:26:28 -0400 Received: from lists.gnu.org ([209.51.188.17]:60786) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1k3nP5-00048Q-Lr for submit@debbugs.gnu.org; Thu, 06 Aug 2020 17:26:27 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:43828) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1k3nP5-0006JC-Es for guix-patches@gnu.org; Thu, 06 Aug 2020 17:26:23 -0400 Received: from pat.zlotemysli.pl ([37.59.186.212]:39528) by eggs.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1k3nP2-0006DM-Gv for guix-patches@gnu.org; Thu, 06 Aug 2020 17:26:23 -0400 Received: (qmail 11960 invoked by uid 1009); 6 Aug 2020 23:26:11 +0200 Received: from 188.123.215.55 (kuba@kadziolka.net@188.123.215.55) by pat.zlotemysli.pl (envelope-from , uid 1002) with qmail-scanner-2.08st (clamdscan: 0.98.6/25895. spamassassin: 3.4.0. perlscan: 2.08st. Clear:RC:1(188.123.215.55):. Processed in 0.034474 secs); 06 Aug 2020 21:26:11 -0000 Received: from unknown (HELO localhost.localdomain) (kuba@kadziolka.net@188.123.215.55) by pat.zlotemysli.pl with AES256-SHA encrypted SMTP; 6 Aug 2020 23:26:11 +0200 From: Jakub =?UTF-8?Q?K=C4=85dzio=C5=82ka?= Date: Thu, 6 Aug 2020 23:26:06 +0200 Message-Id: <20200806212606.28269-1-kuba@kadziolka.net> X-Mailer: git-send-email 2.28.0 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Qmailux-2.08st: added fake Content-Type header Content-Type: text/plain Received-SPF: none client-ip=37.59.186.212; envelope-from=kuba@kadziolka.net; helo=pat.zlotemysli.pl X-detected-operating-system: by eggs.gnu.org: First seen = 2020/08/06 17:26:11 X-ACL-Warn: Detected OS = Linux 3.11 and newer X-Spam_score_int: -18 X-Spam_score: -1.9 X-Spam_bar: - X-Spam_report: (-1.9 / 5.0 requ) BAYES_00=-1.9, SPF_HELO_PASS=-0.001, SPF_NONE=0.001, URIBL_BLOCKED=0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-Spam-Score: -2.3 (--) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-Spam-Score: -3.3 (---) X-BeenThere: guix-patches@gnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+larch=yhetil.org@gnu.org Sender: "Guix-patches" X-Scanner: scn0 Authentication-Results: aspmx1.migadu.com; dkim=none; dmarc=none; spf=pass (aspmx1.migadu.com: domain of guix-patches-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=guix-patches-bounces@gnu.org X-Spam-Score: 3.99 X-TUID: glSMxk4faL2L * gnu/packages/crypto.scm (age): New variable. --- gnu/packages/crypto.scm | 31 +++++++++++++++++++++++++++++++ 1 file changed, 31 insertions(+) diff --git a/gnu/packages/crypto.scm b/gnu/packages/crypto.scm index 5532f7e9f8..1aa5127799 100644 --- a/gnu/packages/crypto.scm +++ b/gnu/packages/crypto.scm @@ -1185,3 +1185,34 @@ 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 age + (package + (name "age") + (version "1.0.0-beta4") + (source (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/FiloSottile/age") + (commit (string-append "v" version)))) + (sha256 + (base32 + "0pp6zn4rdypyxn1md9ppisiwiapkfkbh08rzfl3qwn0998wx6gnb")) + (file-name (git-file-name name version)))) + (build-system go-build-system) + (arguments + `(#:import-path "filippo.io/age/cmd/..." + #:unpack-path "filippo.io/age" + #:install-source? #f)) + (inputs + `(("x-crypto" ,go-golang-org-x-crypto))) + (synopsis "Encrypt files with a password or public key") + (description "@command{age} is a simple, modern and secure file encryption +tool. It features small explicit keys, no config options, and UNIX-style +composability. + +Files can be encrypted with passphrases, as well as with age-specific or SSH +public keys. A single encrypted container can be efficiently encrypted to +multiple recipients.") + (home-page "https://age-encryption.org/") + (license license:bsd-3))) -- 2.28.0