From patchwork Wed Feb 17 16:38:42 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: =?utf-8?q?Ellis_Keny=C5=91?= X-Patchwork-Id: 27110 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 E6CDF27BC12; Wed, 17 Feb 2021 16:41:15 +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,SPF_HELO_PASS, 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 635B727BC47 for ; Wed, 17 Feb 2021 16:41:15 +0000 (GMT) Received: from localhost ([::1]:38526 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lCPt4-0005cp-C0 for patchwork@mira.cbaines.net; Wed, 17 Feb 2021 11:41:14 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:32902) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lCPru-0004oz-Ix for guix-patches@gnu.org; Wed, 17 Feb 2021 11:40:02 -0500 Received: from debbugs.gnu.org ([209.51.188.43]:33234) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1lCPru-0000a3-AJ for guix-patches@gnu.org; Wed, 17 Feb 2021 11:40:02 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1lCPru-0006Wu-4X for guix-patches@gnu.org; Wed, 17 Feb 2021 11:40:02 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#46591] [PATCH] Add transcrypt Resent-From: Ellis =?utf-8?b?S2VuecWR?= Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Wed, 17 Feb 2021 16:40:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 46591 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 46591@debbugs.gnu.org Cc: Ellis =?utf-8?b?S2VuecWR?= X-Debbugs-Original-To: guix-patches@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.161357994525030 (code B ref -1); Wed, 17 Feb 2021 16:40:02 +0000 Received: (at submit) by debbugs.gnu.org; 17 Feb 2021 16:39:05 +0000 Received: from localhost ([127.0.0.1]:44780 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lCPqz-0006Vd-8h for submit@debbugs.gnu.org; Wed, 17 Feb 2021 11:39:05 -0500 Received: from lists.gnu.org ([209.51.188.17]:36476) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lCPqw-0006VV-N8 for submit@debbugs.gnu.org; Wed, 17 Feb 2021 11:39:03 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:60900) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lCPqv-0003ro-Oa for guix-patches@gnu.org; Wed, 17 Feb 2021 11:39:02 -0500 Received: from mail.elken.dev ([165.22.120.78]:39457) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1lCPqs-00009A-7Q for guix-patches@gnu.org; Wed, 17 Feb 2021 11:39:01 -0500 Received: from authenticated-user (mail.elken.dev [165.22.120.78]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) (No client certificate requested) by mail.elken.dev (Postfix) with ESMTPSA id EB1FD3FBF1; Wed, 17 Feb 2021 17:38:54 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=elken.dev; s=mail; t=1613579935; bh=/SlXZwfBPfMQdzLqIy4dqkSibffhozw7bvMNiEDvraM=; h=From:To:Cc:Subject:Date:From; b=X2ZdahcAxAMuFNJ75ZF0a2yy4CGSUuxp6Lr+tcCg2QeM0Tw7r0ZS2DUvrqPDfnMqH FvYW8gOTbCNYD8MOXU0QwMiusKqwljJp07XncrStJwGwkYB0b7yqNyuyxCJzZRkSRI EnXX6+2DPsG4mxhGFFRtWUV2hqUCqjUmzso/eCiWTyxokpmtxtx4AVcU12l7EJyAML oJEghVdEjufEGR43cLyeJqDAjCRx8lQIhjx7VFVly3+hHDQUSYKrRJiG82IF75vvw+ M6pI9yLkdlSytXdFm1GvsoVo+NILFDZap92d+oQiDT4RDESAvFtRZ2P+uIe986xpX+ IvCP+H9fzo4MQ== Date: Wed, 17 Feb 2021 16:38:42 +0000 Message-Id: <20210217163842.8843-1-me@elken.dev> MIME-Version: 1.0 Received-SPF: pass client-ip=165.22.120.78; envelope-from=me@elken.dev; helo=mail.elken.dev 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_PASS=-0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action 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" Reply-to: Ellis =?utf-8?b?S2VuecWR?= X-ACL-Warn: , Ellis =?utf-8?b?S2VuecWR?= via Guix-patches X-Patchwork-Original-From: Ellis =?utf-8?b?S2VuecWR?= via Guix-patches via From: =?utf-8?q?Ellis_Keny=C5=91?= X-getmail-retrieved-from-mailbox: Patches --- gnu/packages/crypto.scm | 36 ++++++++++++++++++++++++++++++++++++ 1 file changed, 36 insertions(+) diff --git a/gnu/packages/crypto.scm b/gnu/packages/crypto.scm index 19041c7cbe..a66c88133a 100644 --- a/gnu/packages/crypto.scm +++ b/gnu/packages/crypto.scm @@ -19,6 +19,7 @@ ;;; Copyright © 2020 Brice Waegeneire ;;; Copyright © 2020 Hendur Saga ;;; Copyright © 2020 pukkamustard +;;; Copyright © 2021 Ellis Kenyő ;;; ;;; This file is part of GNU Guix. ;;; @@ -71,6 +72,7 @@ #:use-module (gnu packages sqlite) #:use-module (gnu packages tcl) #:use-module (gnu packages tls) + #:use-module (gnu packages version-control) #:use-module (gnu packages xml) #:use-module ((guix licenses) #:prefix license:) #:use-module (guix packages) @@ -78,6 +80,7 @@ #:use-module (guix git-download) #:use-module (guix build-system cargo) #:use-module (guix build-system cmake) + #:use-module (guix build-system copy) #:use-module (guix build-system gnu) #:use-module (guix build-system go) #:use-module (guix build-system perl) @@ -1335,3 +1338,36 @@ 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))) + +(define-public transcrypt + (package + (name "transcrypt") + (version "2.1.0") + (source (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/elasticdog/transcrypt") + (commit (string-append "v" version)))) + (sha256 + (base32 + "0bpz1hazbhfb6pqi68x55kq6a31bgh6vwij836slmi4jqiwvnh5a")) + (file-name (git-file-name name version)))) + (inputs + `(("git" ,git) + ("openssl" ,openssl))) + (build-system copy-build-system) + (arguments + `(#:install-plan + '(("transcrypt" "bin/transcrypt") + ("man/transcrypt.1" "share/man/man1/transcrypt.1") + ("contrib/bash/transcrypt" "share/bash-completion/completions/transcrypt") + ("contrib/zsh/_transcrypt" "share/zsh/site-functions/_transcrypt")))) + (home-page "https://github.com/elasticdog/transcrypt") + (synopsis "Transparently encrypt files within a git repository") + (description "A script to configure transparent encryption of sensitive +files stored in a Git repository. Files that you choose will be automatically +encrypted when you commit them, and automatically decrypted when you check +them out. The process will degrade gracefully, so even people without your +encryption password can safely commit changes to the repository's +non-encrypted files.") + (license license:expat)))