From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp2 ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms11 with LMTPS id X/rfEEsn7l7sIgAA0tVLHw (envelope-from ) for ; Sat, 20 Jun 2020 15:12:11 +0000 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp2 with LMTPS id mHNqDEsn7l4dFwAAB5/wlQ (envelope-from ) for ; Sat, 20 Jun 2020 15:12:11 +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 EAC73940DEA for ; Sat, 20 Jun 2020 15:12:10 +0000 (UTC) Received: from localhost ([::1]:34992 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jmfA9-0003B5-TG for larch@yhetil.org; Sat, 20 Jun 2020 11:12:09 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:60968) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1jmfA3-0003A6-7X for guix-patches@gnu.org; Sat, 20 Jun 2020 11:12:03 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:47087) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1jmfA2-0001Zn-Uc for guix-patches@gnu.org; Sat, 20 Jun 2020 11:12:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1jmfA2-0004AZ-QT for guix-patches@gnu.org; Sat, 20 Jun 2020 11:12:02 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#41964] [PATCH 2/2] gnu: Add 'pass-tomb'. Resent-From: Brice Waegeneire Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Sat, 20 Jun 2020 15:12:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 41964 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 41964@debbugs.gnu.org Received: via spool by 41964-submit@debbugs.gnu.org id=B41964.159266588715974 (code B ref 41964); Sat, 20 Jun 2020 15:12:02 +0000 Received: (at 41964) by debbugs.gnu.org; 20 Jun 2020 15:11:27 +0000 Received: from localhost ([127.0.0.1]:58632 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jmf9T-00049a-7Z for submit@debbugs.gnu.org; Sat, 20 Jun 2020 11:11:27 -0400 Received: from relay8-d.mail.gandi.net ([217.70.183.201]:59671) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jmf9Q-000496-8P for 41964@debbugs.gnu.org; Sat, 20 Jun 2020 11:11:25 -0400 X-Originating-IP: 78.237.113.178 Received: from localhost (luy13-1-78-237-113-178.fbx.proxad.net [78.237.113.178]) (Authenticated sender: brice@waegenei.re) by relay8-d.mail.gandi.net (Postfix) with ESMTPSA id CCFE71BF209 for <41964@debbugs.gnu.org>; Sat, 20 Jun 2020 15:11:17 +0000 (UTC) From: Brice Waegeneire Date: Sat, 20 Jun 2020 17:11:11 +0200 Message-Id: <20200620151111.28385-2-brice@waegenei.re> X-Mailer: git-send-email 2.26.2 In-Reply-To: <20200620150912.27001-1-brice@waegenei.re> References: <20200620150912.27001-1-brice@waegenei.re> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Score: -0.7 (/) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-Spam-Score: -1.7 (-) 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: uNfprZQlG9m9 * gnu/packages/password-utils.scm (pass-tomb): New variable. --- gnu/packages/password-utils.scm | 41 +++++++++++++++++++++++++++++++++ 1 file changed, 41 insertions(+) diff --git a/gnu/packages/password-utils.scm b/gnu/packages/password-utils.scm index 6bd1e94c91..c356dba309 100644 --- a/gnu/packages/password-utils.scm +++ b/gnu/packages/password-utils.scm @@ -1210,3 +1210,44 @@ desired length. It can also generate their corresponding hashes for a given encryption algorithm if so desired.") (home-page "https://github.com/khorben/makepasswd") (license license:gpl3)))) + +(define-public pass-tomb + (package + (name "pass-tomb") + (version "1.2") + (source + (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/roddhjav/pass-tomb") + (commit (string-append "v" version)))) + (file-name (git-file-name name version)) + (sha256 + (base32 "1qj7vx7svk1ljwihj3kv310k17mafnf919n30n4qn1yxmmsvj924")))) + (build-system gnu-build-system) + (arguments + `(#:make-flags + (let ((out (assoc-ref %outputs "out"))) + (list (string-append "PREFIX=" out) + (string-append "BASHCOMPDIR=" out "/etc/bash_completion.d"))) + #:phases + (modify-phases %standard-phases + (add-after 'unpack 'set-tomb-path + (lambda* (#:key inputs #:allow-other-keys) + (let ((tomb (assoc-ref inputs "tomb"))) + (substitute* "tomb.bash" + ((":-tomb") + (string-append ":-" tomb "/bin/tomb")))))) + (delete 'configure) + ;; No test suite + (delete 'check)))) + (inputs + `(("tomb" ,tomb))) + (home-page "https://github.com/roddhjav/pass-tomb") + (synopsis "Pass extension keeping the tree of passwords encrypted") + (description "Pass-tomb provides a convenient solution to put your +password store in a Tomb and then keep your password tree encrypted when you +are not using it. It uses the same GPG key to encrypt passwords and tomb, +therefore you don't need to manage more key or secret. Moreover, you can ask +pass-tomb to automatically close your store after a given time.") + (license license:gpl3+))) -- 2.26.2