From unknown Wed Aug 20 01:21:25 2025 X-Loop: help-debbugs@gnu.org Subject: [bug#58457] [PATCH v2] gnu: Add passage. Resent-From: Nicolas Graves Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Tue, 11 Oct 2022 21:41:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 58457 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: Tobias Geerinckx-Rice Cc: 58457@debbugs.gnu.org, 58386@debbugs.gnu.org X-Debbugs-Original-Cc: guix-patches@gnu.org, 58386@debbugs.gnu.org Received: via spool by submit@debbugs.gnu.org id=B.166552440422710 (code B ref -1); Tue, 11 Oct 2022 21:41:02 +0000 Received: (at submit) by debbugs.gnu.org; 11 Oct 2022 21:40:04 +0000 Received: from localhost ([127.0.0.1]:55038 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oiMyq-0005uD-15 for submit@debbugs.gnu.org; Tue, 11 Oct 2022 17:40:04 -0400 Received: from lists.gnu.org ([209.51.188.17]:46720) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oiMyn-0005tf-FA for submit@debbugs.gnu.org; Tue, 11 Oct 2022 17:40:02 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:36764) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oiMyk-0007m3-9T for guix-patches@gnu.org; Tue, 11 Oct 2022 17:39:59 -0400 Received: from 18.mo582.mail-out.ovh.net ([46.105.73.110]:60717) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oiMyh-0000as-Qk for guix-patches@gnu.org; Tue, 11 Oct 2022 17:39:57 -0400 Received: from player697.ha.ovh.net (unknown [10.111.172.60]) by mo582.mail-out.ovh.net (Postfix) with ESMTP id 1206023140 for ; Tue, 11 Oct 2022 21:39:51 +0000 (UTC) Received: from ngraves.fr (met42-h01-213-44-161-47.dsl.sta.abo.bbox.fr [213.44.161.47]) (Authenticated sender: ngraves@ngraves.fr) by player697.ha.ovh.net (Postfix) with ESMTPSA id 42B762F961435; Tue, 11 Oct 2022 21:39:48 +0000 (UTC) Authentication-Results: garm.ovh; auth=pass (GARM-106R00637cb3228-fd42-4f92-a5e8-224e66961b79, CAD2B4A3459146A86F0B95563822EA9C8829CA61) smtp.auth=ngraves@ngraves.fr X-OVh-ClientIp: 213.44.161.47 From: Nicolas Graves In-Reply-To: <87fsfxdfwk.fsf@nckx> Date: Tue, 11 Oct 2022 23:39:45 +0200 Message-ID: <87y1tmujj2.fsf@ngraves.fr> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Ovh-Tracer-Id: 16331741099061601018 X-VR-SPAMSTATE: OK X-VR-SPAMSCORE: 0 X-VR-SPAMCAUSE: gggruggvucftvghtrhhoucdtuddrgedvfedrfeejjedgtddvucetufdoteggodetrfdotffvucfrrhhofhhilhgvmecuqfggjfdpvefjgfevmfevgfenuceurghilhhouhhtmecuhedttdenucenucfjughrpefhvfevufgjfffkgggtgfesthhqredttddtjeenucfhrhhomheppfhitgholhgrshcuifhrrghvvghsuceonhhgrhgrvhgvshesnhhgrhgrvhgvshdrfhhrqeenucggtffrrghtthgvrhhnpeelhffgheetueehkedtjedvheejheevgfeigfdvvddvgeeiteehheduueeuvddvjeenucffohhmrghinhepghhithhhuhgsrdgtohhmnecukfhppeduvdejrddtrddtrddupddvudefrdeggedrudeiuddrgeejnecuvehluhhsthgvrhfuihiivgeptdenucfrrghrrghmpehinhgvthepuddvjedrtddrtddruddpmhgrihhlfhhrohhmpeeonhhgrhgrvhgvshesnhhgrhgrvhgvshdrfhhrqedpnhgspghrtghpthhtohepuddprhgtphhtthhopehguhhigidqphgrthgthhgvshesghhnuhdrohhrghdpoffvtefjohhsthepmhhoheekvddpmhhouggvpehsmhhtphhouhht Received-SPF: pass client-ip=46.105.73.110; envelope-from=ngraves@ngraves.fr; helo=18.mo582.mail-out.ovh.net 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, RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_MSPIKE_H3=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-Spam-Score: -1.3 (-) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -2.3 (--) * gnu/packages/password-utils.scm (passage): New variable. --- gnu/packages/password-utils.scm | 38 +++++++++++++++++++++++++++++++++ 1 file changed, 38 insertions(+) diff --git a/gnu/packages/password-utils.scm b/gnu/packages/password-utils.= scm index 8e29bef484..36b0ae7537 100644 --- a/gnu/packages/password-utils.scm +++ b/gnu/packages/password-utils.scm @@ -37,6 +37,7 @@ ;;; Copyright =C2=A9 2022 Maxim Cournoyer ;;; Copyright =C2=A9 2022 Maxime Devos ;;; Copyright =C2=A9 2022 ( +;;; Copyright =C2=A9 2022 Nicolas Graves ;;; ;;; This file is part of GNU Guix. ;;; @@ -57,6 +58,7 @@ (define-module (gnu packages password-utils) #:use-module ((guix licenses) #:prefix license:) #:use-module (guix utils) #: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 python) @@ -589,6 +591,42 @@ (define-public password-store through the pass command.") (license license:gpl2+))) +(define-public pass-age + (package + (inherit password-store) + (name "pass-age") + (version "1.7.4a0") + (source + (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/FiloSottile/passage") + (commit version))) + (file-name (git-file-name name version)) + (sha256 + (base32 "17899whffnpqqx9x1nx2b8bfxbxlh1pwlglqa0kznl0cn6sb37ql")))) + (build-system copy-build-system) + (arguments + '(#:phases (modify-phases %standard-phases + (add-after 'unpack 'rename-script + (lambda _ + (rename-file "src/password-store.sh" + "src/passage")))) + #:install-plan + '(("src/passage" "/bin/") + ("src/completion/pass.bash-completion" + "/share/bash-completion/completions/") + ("src/completion/pass.zsh-completion" + "/share/zsh/site-functions/")))) + (propagated-inputs + (list util-linux git qrencode sed tree age)) + (home-page "https://github.com/FiloSottile/passage") + (synopsis "An encrypted password manager") + (description "This package provides an encrypted password manager, for= ked +from the @code{password-store} package. Files are encrypted with the +@command{age} encryption package with small explicit keys.") + (license license:gpl2+))) + (define-public pass-otp (package (name "pass-otp") -- 2.38.0 Thanks for the review! > OK, I've been looking at this for an embarrasingly long time > trying to figure out what you're trying to communicate with '(=E2=80=A6 > (list '(=E2=80=A6))). It seems very deliberate. Any hints? :-p Not deliberate, I probably misread the copy-build-system info manual. Fixed! > No, I don't think it is. Adding this script need not affect other > packages. I understand, although I would think that choices need to be made and that this one would not annoy a lot. Just as a reminder, this patch cannot be merged before 58340. -- Best regards, Nicolas Graves From unknown Wed Aug 20 01:21:25 2025 MIME-Version: 1.0 X-Mailer: MIME-tools 5.505 (Entity 5.505) X-Loop: help-debbugs@gnu.org From: help-debbugs@gnu.org (GNU bug Tracking System) To: Nicolas Graves Subject: bug#58457: closed (Re: [PATCH v2] gnu: Add passage.) Message-ID: References: <878rlbbnac.fsf@nckx> <87y1tmujj2.fsf@ngraves.fr> X-Gnu-PR-Message: they-closed 58457 X-Gnu-PR-Package: guix-patches X-Gnu-PR-Keywords: patch Reply-To: 58457@debbugs.gnu.org Date: Wed, 19 Oct 2022 19:57:02 +0000 Content-Type: multipart/mixed; boundary="----------=_1666209422-13183-1" This is a multi-part message in MIME format... ------------=_1666209422-13183-1 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="utf-8" Your bug report #58457: [PATCH v2] gnu: Add passage. which was filed against the guix-patches package, has been closed. The explanation is attached below, along with your original report. If you require more details, please reply to 58457@debbugs.gnu.org. --=20 58457: https://debbugs.gnu.org/cgi/bugreport.cgi?bug=3D58457 GNU Bug Tracking System Contact help-debbugs@gnu.org with problems ------------=_1666209422-13183-1 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit Received: (at 58457-done) by debbugs.gnu.org; 19 Oct 2022 19:56:15 +0000 Received: from localhost ([127.0.0.1]:60191 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1olFAl-0003Ph-Hr for submit@debbugs.gnu.org; Wed, 19 Oct 2022 15:56:15 -0400 Received: from tobias.gr ([80.241.217.52]:36948) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1olFAi-0003PW-CH for 58457-done@debbugs.gnu.org; Wed, 19 Oct 2022 15:56:14 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; s=2018; bh=UzgZHhY3lH+l4 Ic2Ou5k77h1eSCxcePk52yKfOEOE3I=; h=date:subject:to:from; d=tobias.gr; b=KOeEW67Aui4r21JeC0RBm9ViN525QZ/0IVto1FZLUEoZ/wQg9yxrl18JY6q5Rx/AvZXl 8oOwkTPVpnNOWg6Z2YaIojdCLHWPMVEPE0Ff6b1sBOGmUh73rGT8C8wnWHPKL3sDfFm0we kr7TuNK4kwlIcgyeZOBtRKYJjwcfeiyFMq3MuYI07URW3EhEBtdU3qRQ8VnnumOgwkAXxa CyL79CdTlmWT/5FA4U2Xyq14Ijdlkqg9axPeChZ6mF3jS6ZJnlni4Viy7B/pD+mJ1EU2qY XF1qDOTq94x31tIBK+KOBFmonL7cp/jgQl9sbjDdkkInPJNeC6ESOX2SGbschdpA== Received: by submission.tobias.gr (OpenSMTPD) with ESMTPSA id 134b2f27 (TLSv1.3:AEAD-AES256-GCM-SHA384:256:NO) for <58457-done@debbugs.gnu.org>; Wed, 19 Oct 2022 19:56:04 +0000 (UTC) From: Tobias Geerinckx-Rice To: 58457-done@debbugs.gnu.org Subject: Re: [PATCH v2] gnu: Add passage. Date: Wed, 19 Oct 2022 21:54:05 +0200 BIMI-Selector: v=BIMI1; s=default; Message-ID: <878rlbbnac.fsf@nckx> MIME-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha512; protocol="application/pgp-signature" X-Spam-Score: -0.0 (/) X-Debbugs-Envelope-To: 58457-done X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) --=-=-= Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: quoted-printable Closing as a duplicate of #58386. When sending patch rerolls, use =E2=80=98--to=3DNNN@debbugs.gnu.org=E2=80= =99 (NOT=20 the default guix-patches@gnu.org) to avoid opening a new bug=20 number. Kind regards, T G-R --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iIMEARYKACsWIQT12iAyS4c9C3o4dnINsP+IT1VteQUCY1BWWw0cbWVAdG9iaWFz LmdyAAoJEA2w/4hPVW15TFMA/AkXdhrf5kE64FtrKZKNny7zr+0g+YYBkGtOtD3l JoMWAP9+2/VwWAxIhkhmqjzbWkuNNo6WxC88eGQ2osPwYTa0CA== =9Ngn -----END PGP SIGNATURE----- --=-=-=-- ------------=_1666209422-13183-1 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit Received: (at submit) by debbugs.gnu.org; 11 Oct 2022 21:40:04 +0000 Received: from localhost ([127.0.0.1]:55038 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oiMyq-0005uD-15 for submit@debbugs.gnu.org; Tue, 11 Oct 2022 17:40:04 -0400 Received: from lists.gnu.org ([209.51.188.17]:46720) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oiMyn-0005tf-FA for submit@debbugs.gnu.org; Tue, 11 Oct 2022 17:40:02 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:36764) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oiMyk-0007m3-9T for guix-patches@gnu.org; Tue, 11 Oct 2022 17:39:59 -0400 Received: from 18.mo582.mail-out.ovh.net ([46.105.73.110]:60717) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oiMyh-0000as-Qk for guix-patches@gnu.org; Tue, 11 Oct 2022 17:39:57 -0400 Received: from player697.ha.ovh.net (unknown [10.111.172.60]) by mo582.mail-out.ovh.net (Postfix) with ESMTP id 1206023140 for ; Tue, 11 Oct 2022 21:39:51 +0000 (UTC) Received: from ngraves.fr (met42-h01-213-44-161-47.dsl.sta.abo.bbox.fr [213.44.161.47]) (Authenticated sender: ngraves@ngraves.fr) by player697.ha.ovh.net (Postfix) with ESMTPSA id 42B762F961435; Tue, 11 Oct 2022 21:39:48 +0000 (UTC) Authentication-Results: garm.ovh; auth=pass (GARM-106R00637cb3228-fd42-4f92-a5e8-224e66961b79, CAD2B4A3459146A86F0B95563822EA9C8829CA61) smtp.auth=ngraves@ngraves.fr X-OVh-ClientIp: 213.44.161.47 From: Nicolas Graves To: Tobias Geerinckx-Rice Subject: [PATCH v2] gnu: Add passage. In-Reply-To: <87fsfxdfwk.fsf@nckx> Date: Tue, 11 Oct 2022 23:39:45 +0200 Message-ID: <87y1tmujj2.fsf@ngraves.fr> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Ovh-Tracer-Id: 16331741099061601018 X-VR-SPAMSTATE: OK X-VR-SPAMSCORE: 0 X-VR-SPAMCAUSE: gggruggvucftvghtrhhoucdtuddrgedvfedrfeejjedgtddvucetufdoteggodetrfdotffvucfrrhhofhhilhgvmecuqfggjfdpvefjgfevmfevgfenuceurghilhhouhhtmecuhedttdenucenucfjughrpefhvfevufgjfffkgggtgfesthhqredttddtjeenucfhrhhomheppfhitgholhgrshcuifhrrghvvghsuceonhhgrhgrvhgvshesnhhgrhgrvhgvshdrfhhrqeenucggtffrrghtthgvrhhnpeelhffgheetueehkedtjedvheejheevgfeigfdvvddvgeeiteehheduueeuvddvjeenucffohhmrghinhepghhithhhuhgsrdgtohhmnecukfhppeduvdejrddtrddtrddupddvudefrdeggedrudeiuddrgeejnecuvehluhhsthgvrhfuihiivgeptdenucfrrghrrghmpehinhgvthepuddvjedrtddrtddruddpmhgrihhlfhhrohhmpeeonhhgrhgrvhgvshesnhhgrhgrvhgvshdrfhhrqedpnhgspghrtghpthhtohepuddprhgtphhtthhopehguhhigidqphgrthgthhgvshesghhnuhdrohhrghdpoffvtefjohhsthepmhhoheekvddpmhhouggvpehsmhhtphhouhht Received-SPF: pass client-ip=46.105.73.110; envelope-from=ngraves@ngraves.fr; helo=18.mo582.mail-out.ovh.net 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, RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_MSPIKE_H3=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-Spam-Score: -1.3 (-) X-Debbugs-Envelope-To: submit Cc: guix-patches@gnu.org, 58386@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -2.3 (--) * gnu/packages/password-utils.scm (passage): New variable. --- gnu/packages/password-utils.scm | 38 +++++++++++++++++++++++++++++++++ 1 file changed, 38 insertions(+) diff --git a/gnu/packages/password-utils.scm b/gnu/packages/password-utils.= scm index 8e29bef484..36b0ae7537 100644 --- a/gnu/packages/password-utils.scm +++ b/gnu/packages/password-utils.scm @@ -37,6 +37,7 @@ ;;; Copyright =C2=A9 2022 Maxim Cournoyer ;;; Copyright =C2=A9 2022 Maxime Devos ;;; Copyright =C2=A9 2022 ( +;;; Copyright =C2=A9 2022 Nicolas Graves ;;; ;;; This file is part of GNU Guix. ;;; @@ -57,6 +58,7 @@ (define-module (gnu packages password-utils) #:use-module ((guix licenses) #:prefix license:) #:use-module (guix utils) #: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 python) @@ -589,6 +591,42 @@ (define-public password-store through the pass command.") (license license:gpl2+))) +(define-public pass-age + (package + (inherit password-store) + (name "pass-age") + (version "1.7.4a0") + (source + (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/FiloSottile/passage") + (commit version))) + (file-name (git-file-name name version)) + (sha256 + (base32 "17899whffnpqqx9x1nx2b8bfxbxlh1pwlglqa0kznl0cn6sb37ql")))) + (build-system copy-build-system) + (arguments + '(#:phases (modify-phases %standard-phases + (add-after 'unpack 'rename-script + (lambda _ + (rename-file "src/password-store.sh" + "src/passage")))) + #:install-plan + '(("src/passage" "/bin/") + ("src/completion/pass.bash-completion" + "/share/bash-completion/completions/") + ("src/completion/pass.zsh-completion" + "/share/zsh/site-functions/")))) + (propagated-inputs + (list util-linux git qrencode sed tree age)) + (home-page "https://github.com/FiloSottile/passage") + (synopsis "An encrypted password manager") + (description "This package provides an encrypted password manager, for= ked +from the @code{password-store} package. Files are encrypted with the +@command{age} encryption package with small explicit keys.") + (license license:gpl2+))) + (define-public pass-otp (package (name "pass-otp") -- 2.38.0 Thanks for the review! > OK, I've been looking at this for an embarrasingly long time > trying to figure out what you're trying to communicate with '(=E2=80=A6 > (list '(=E2=80=A6))). It seems very deliberate. Any hints? :-p Not deliberate, I probably misread the copy-build-system info manual. Fixed! > No, I don't think it is. Adding this script need not affect other > packages. I understand, although I would think that choices need to be made and that this one would not annoy a lot. Just as a reminder, this patch cannot be merged before 58340. -- Best regards, Nicolas Graves ------------=_1666209422-13183-1--