From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp11.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms5.migadu.com with LMTPS id 2Aj8NufmRWM2cwEAbAwnHQ (envelope-from ) for ; Tue, 11 Oct 2022 23:57:59 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp11.migadu.com with LMTPS id sGcQN+fmRWNbRAEA9RJhRA (envelope-from ) for ; Tue, 11 Oct 2022 23:57:59 +0200 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 632A130A77 for ; Tue, 11 Oct 2022 23:57:59 +0200 (CEST) Received: from localhost ([::1]:33892 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1oiNGA-0004KG-Hb for larch@yhetil.org; Tue, 11 Oct 2022 17:57:58 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:36766) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oiMyo-0007nu-BJ for guix-patches@gnu.org; Tue, 11 Oct 2022 17:40:02 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:55957) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1oiMyo-0000bf-2V for guix-patches@gnu.org; Tue, 11 Oct 2022 17:40:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1oiMyn-0005tk-R6 for guix-patches@gnu.org; Tue, 11 Oct 2022 17:40:01 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#58386] [PATCH v2] gnu: Add passage. References: <87h70edjjs.fsf@ngraves.fr> Resent-From: Nicolas Graves Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Tue, 11 Oct 2022 21:40:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 58386 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: To: Tobias Geerinckx-Rice Cc: 58386@debbugs.gnu.org X-Debbugs-Original-Cc: guix-patches@gnu.org, 58386@debbugs.gnu.org Received: via spool by 58386-submit@debbugs.gnu.org id=B58386.166552439922658 (code B ref 58386); Tue, 11 Oct 2022 21:40:01 +0000 Received: (at 58386) by debbugs.gnu.org; 11 Oct 2022 21:39:59 +0000 Received: from localhost ([127.0.0.1]:55034 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oiMyk-0005tN-Ie for submit@debbugs.gnu.org; Tue, 11 Oct 2022 17:39:58 -0400 Received: from 7.mo583.mail-out.ovh.net ([178.32.124.100]:60357) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oiMyg-0005tC-CE for 58386@debbugs.gnu.org; Tue, 11 Oct 2022 17:39:57 -0400 Received: from player697.ha.ovh.net (unknown [10.109.146.82]) by mo583.mail-out.ovh.net (Postfix) with ESMTP id 31D2423B0C for <58386@debbugs.gnu.org>; 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) X-OVh-ClientIp: 213.44.161.47 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: gggruggvucftvghtrhhoucdtuddrgedvfedrfeejjedgtddvucetufdoteggodetrfdotffvucfrrhhofhhilhgvmecuqfggjfdpvefjgfevmfevgfenuceurghilhhouhhtmecuhedttdenucenucfjughrpefhvfevufgjfffkgggtgfesthhqredttddtjeenucfhrhhomheppfhitgholhgrshcuifhrrghvvghsuceonhhgrhgrvhgvshesnhhgrhgrvhgvshdrfhhrqeenucggtffrrghtthgvrhhnpeelhffgheetueehkedtjedvheejheevgfeigfdvvddvgeeiteehheduueeuvddvjeenucffohhmrghinhepghhithhhuhgsrdgtohhmnecukfhppeduvdejrddtrddtrddupddvudefrdeggedrudeiuddrgeejnecuvehluhhsthgvrhfuihiivgeptdenucfrrghrrghmpehinhgvthepuddvjedrtddrtddruddpmhgrihhlfhhrohhmpeeonhhgrhgrvhgvshesnhhgrhgrvhgvshdrfhhrqedpnhgspghrtghpthhtohepuddprhgtphhtthhopeehkeefkeeiseguvggssghughhsrdhgnhhurdhorhhgpdfovfetjfhoshhtpehmohehkeefpdhmohguvgepshhmthhpohhuth 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+larch=yhetil.org@gnu.org Sender: "Guix-patches" Reply-to: Nicolas Graves X-ACL-Warn: , Nicolas Graves via Guix-patches From: Nicolas Graves via Guix-patches via X-Migadu-Flow: FLOW_IN X-Migadu-Country: US ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1665525479; h=from:from:sender:sender:reply-to:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding:resent-cc: resent-from:resent-sender:resent-message-id:in-reply-to:in-reply-to: references:references:list-id:list-help:list-unsubscribe: list-subscribe:list-post; bh=hF1W5hoiF7HyERzMy5QUbYY4wcJu0iFHWzlHQbottbI=; b=YBCmrzdunMj7SfQ+lZD5wx7jaOg2r1OvqEqLOOsQQQIeHun8EbmuDTKU8b0dGbrocFNUZt tJcQXY4DDAlERFqX0FLX8Eb/t80WEYiN6VzS2YJc5Lg5LrCyx7AIYCaH+xAJievJx/5Scj zBVRH37KwelDv+X77AIDg331R/GQsA6a6bzwWRzV51XXN9Q6WWaex30WHPpzBQOcPrYHvn RvstFObCptvrXhkZZzTKHdK07X9/SDrvUXvCdwcR2h37BXdUoWVTfV4fMKyhSz1tNOUezU Faq52f8L04PFJxYZALb64tWAHZelbu91MJ0FpRmChb7g4LoToxLnl0BFRH6ufg== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1665525479; a=rsa-sha256; cv=none; b=PMKuMD0u4Vd6FdnZA144RQP09Vi8bdcisvEe4lnkS54fcB01WlXSquAxYvIhki/XqF1yCi 8IuUpN/Quv92XIySE8mQE9uG3idoxysfJmFAYLe1nyMwoQD1OT8xNzV8xQcRs4ouloc2LY mCtrmqvIYj8dUIFZVWNGaEXGRp2wVowIRRUMs3VHtyPR5i1RJh/qJElfOV01+UrvSZT/ch n7zCii0I6GOEwrRj3RAc2d/Sv+YRiYupWaDC6lU1NWpmB8ghyuc/eCpO2bhnzfZ3t3B04A Ju1U50mVqP41tBK/w5OAkAC5zuQBaI9dbFERsgObglBrgVYw8fkEpwo2xpoa+g== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=none; dmarc=pass (policy=none) header.from=gnu.org; spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org" X-Migadu-Spam-Score: -3.89 Authentication-Results: aspmx1.migadu.com; dkim=none; dmarc=pass (policy=none) header.from=gnu.org; spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org" X-Migadu-Queue-Id: 632A130A77 X-Spam-Score: -3.89 X-Migadu-Scanner: scn0.migadu.com X-TUID: TN7Caov7bOvq * 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