From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp0 ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id +Jz+EVVCjmEQ4wAAgWs5BA (envelope-from ) for ; Fri, 12 Nov 2021 11:30:45 +0100 Received: from aspmx1.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp0 with LMTPS id kPjSDVVCjmHiMgAA1q6Kng (envelope-from ) for ; Fri, 12 Nov 2021 10:30:45 +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 E6D7A30060 for ; Fri, 12 Nov 2021 11:30:44 +0100 (CET) Received: from localhost ([::1]:59134 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mlTpU-0004R7-3r for larch@yhetil.org; Fri, 12 Nov 2021 05:30:44 -0500 Received: from eggs.gnu.org ([209.51.188.92]:46470) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mlSgA-0005Fj-CL for guix-patches@gnu.org; Fri, 12 Nov 2021 04:17:02 -0500 Received: from debbugs.gnu.org ([209.51.188.43]:60126) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1mlSgA-0001BT-3h for guix-patches@gnu.org; Fri, 12 Nov 2021 04:17:02 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1mlSgA-0005gW-09 for guix-patches@gnu.org; Fri, 12 Nov 2021 04:17:02 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#51785] pam-gnupg Resent-From: Nicolas Graves Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Fri, 12 Nov 2021 09:17:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 51785 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: To: 51785@debbugs.gnu.org X-Debbugs-Original-To: guix-patches@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.163670857821786 (code B ref -1); Fri, 12 Nov 2021 09:17:01 +0000 Received: (at submit) by debbugs.gnu.org; 12 Nov 2021 09:16:18 +0000 Received: from localhost ([127.0.0.1]:43436 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mlSfQ-0005fH-Ol for submit@debbugs.gnu.org; Fri, 12 Nov 2021 04:16:18 -0500 Received: from lists.gnu.org ([209.51.188.17]:35336) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mlRZd-0005ip-FY for submit@debbugs.gnu.org; Fri, 12 Nov 2021 03:06:16 -0500 Received: from eggs.gnu.org ([209.51.188.92]:58374) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mlRZd-0004ZH-3z for guix-patches@gnu.org; Fri, 12 Nov 2021 03:06:13 -0500 Received: from 4.mo583.mail-out.ovh.net ([178.33.111.247]:57175) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mlRZa-0008MB-GE for guix-patches@gnu.org; Fri, 12 Nov 2021 03:06:12 -0500 Received: from player774.ha.ovh.net (unknown [10.108.20.161]) by mo583.mail-out.ovh.net (Postfix) with ESMTP id 1EB3722CF7 for ; Fri, 12 Nov 2021 08:06:00 +0000 (UTC) Received: from ngraves.fr (201.238.0.109.rev.sfr.net [109.0.238.201]) (Authenticated sender: ngraves@ngraves.fr) by player774.ha.ovh.net (Postfix) with ESMTPSA id 8996F2448DB79 for ; Fri, 12 Nov 2021 08:05:59 +0000 (UTC) X-OVh-ClientIp: 109.0.238.201 User-agent: mu4e 1.6.9; emacs 28.0.50 Date: Fri, 12 Nov 2021 08:45:09 +0100 Message-ID: <87czn53ijd.fsf@ngraves.fr> MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="=-=-=" X-Ovh-Tracer-Id: 2334834934061720314 X-VR-SPAMSTATE: OK X-VR-SPAMSCORE: 0 X-VR-SPAMCAUSE: gggruggvucftvghtrhhoucdtuddrgedvuddrvddvgdduudeiucetufdoteggodetrfdotffvucfrrhhofhhilhgvmecuqfggjfdpvefjgfevmfevgfenuceurghilhhouhhtmecuhedttdenucenucfjughrpegfhffvufffkfggtgesmhdtreertdertdenucfhrhhomheppfhitgholhgrshcuifhrrghvvghsuceonhhgrhgrvhgvshesnhhgrhgrvhgvshdrfhhrqeenucggtffrrghtthgvrhhnpeefveduledtjeeiiefhiedugfegvdeggffhieegtedukeetkeejveegfeevleefhfenucffohhmrghinhepghhnuhdrohhrghenucfkpheptddrtddrtddrtddpuddtledrtddrvdefkedrvddtudenucevlhhushhtvghrufhiiigvpedtnecurfgrrhgrmhepmhhouggvpehsmhhtphhouhhtpdhhvghlohepphhlrgihvghrjeejgedrhhgrrdhovhhhrdhnvghtpdhinhgvtheptddrtddrtddrtddpmhgrihhlfhhrohhmpehnghhrrghvvghssehnghhrrghvvghsrdhfrhdprhgtphhtthhopehguhhigidqphgrthgthhgvshesghhnuhdrohhrgh Received-SPF: pass client-ip=178.33.111.247; envelope-from=ngraves@ngraves.fr; helo=4.mo583.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-Mailman-Approved-At: Fri, 12 Nov 2021 04:16:15 -0500 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-Mailman-Approved-At: Fri, 12 Nov 2021 05:30:36 -0500 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=1636713045; h=from:from:sender:sender:reply-to:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:mime-version:mime-version: content-type:content-type:resent-cc:resent-from:resent-sender: resent-message-id:list-id:list-help:list-unsubscribe:list-subscribe: list-post; bh=N8ByuAxcwPD/wIHFOpvmtvXtnlPOnA9B3dBOaHx4+fY=; b=j/BVw3pgGnp/wY+uqykbxSSd8qnfUgtxD0PfNHOzfuxYmbJPVarpJuax+EQw+7xiplWtUC Dren5Ku543Pg9ac4jjNWMIg9bb5lIKIF7Om6yBxGa6WeBsiMPbwsS1eF9bO4VSlzjifLFw 34q4vrD+FqIf6zPKCBOvMltS1wE/5w7vk2D9BUQzAzpLrjCDNAq/m9CVy4LDrMh62OQWhr TGp6LvBX57NSeCnOgu9PRx7Fy0o6tnAXPakCVXf54MldekXky8LD34olxpknoCxCqc3HvI lNPrSCXMhUT+599vZJouY0wm0OoHaADGLayaNHbAYsMwVz5jOW+zeFR4EvD5VQ== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1636713045; a=rsa-sha256; cv=none; b=PxxekvIP/j2wD5929dHrDUEKsz1JpKchIpANRcXafAItp2eTb6IWjE2BJ057/G8B+ar0SR dRsVguQxFs+frBFs23WALKyYi4Q3nWHHmbOaYy7OZwiEBGUg1ZqXjUkg5HAWfLrT5JRIy1 7S3XMPBdu5cjsmjCFt4fZMhhhAWwbYzCIvznzHaTDBeTwgQvmw94LYBoSAFrpx9oKo2fFS i1MNAKlZ/RWEKbNzi1ZixAly+a5pA1cnT4KK7CORyFMrrHqAWdV4lKTc38u4q0Xi1bGBdK vdp5dJHWJuw//ti+j94z+aaA2aZN0FN2zXUcnsJvmWvMIRjdsl+4HmjnQyQWIg== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=none; 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.03 Authentication-Results: aspmx1.migadu.com; dkim=none; 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: E6D7A30060 X-Spam-Score: -3.03 X-Migadu-Scanner: scn0.migadu.com X-TUID: lTwOFePBPY1h --=-=-= Content-Type: text/plain Hi ! I'm still discovering / experimenting with guix thanks to the videos of David Wilson. Sorry if it's not the appropriate place to discuss this. I'm trying to add pam-gnupg without having a graphical login manager. I figured out it should really be as simple as the few lines I added in the attached patch, since the feature has already been implemented for a few graphical login managers. It has been done here : https://issues.guix.gnu.org/47364 So I'm trying to test the patch, have downloaded guix source code, added it in a new branch, updated my channels, used guix shell for setting the environment, but now I get the following error when I try to pull to test my version : guix pull: erreur : Erreur Git : cannot locate remote-tracking branch 'origin/keyring' The patch is straightforward, might not need much testing, but if needed, I would be glad to received some smart advice :) Thanks in advance, thanks for the outstanding work on Guix ! Nicolas --=-=-= Content-Type: text/x-patch Content-Disposition: attachment; filename=0001-Adding-gnupg-to-pam-login-service.patch >From d8d3d8d7614d443dea805b46589f9b16f8558de2 Mon Sep 17 00:00:00 2001 From: Nicolas Graves Date: Fri, 12 Nov 2021 00:39:13 +0100 Subject: [PATCH] Adding gnupg to pam-login-service. --- gnu/services/base.scm | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/gnu/services/base.scm b/gnu/services/base.scm index 50865055fe..887213c52e 100644 --- a/gnu/services/base.scm +++ b/gnu/services/base.scm @@ -743,7 +743,9 @@ (define-record-type* ;; Allow empty passwords by default so that first-time users can log in when ;; the 'root' account has just been created. (allow-empty-passwords? login-configuration-allow-empty-passwords? - (default #t))) ;Boolean + (default #t)) ;Boolean + (gnupg? login-configuration-gnupg? + (default #f))) ;Boolean (define (login-pam-service config) "Return the list of PAM service needed for CONF." @@ -753,7 +755,8 @@ (define (login-pam-service config) #:allow-empty-passwords? (login-configuration-allow-empty-passwords? config) #:motd - (login-configuration-motd config)))) + (login-configuration-motd config) + #:gnupg? (login-configuration-gnupg? config)))) (define login-service-type (service-type (name 'login) -- 2.33.1 --=-=-=--