unofficial mirror of guix-patches@gnu.org 
 help / color / mirror / code / Atom feed
From: wurt--- via Guix-patches via <guix-patches@gnu.org>
To: 63955@debbugs.gnu.org
Subject: [bug#63955] [PATCH 0/5] Add pam-gnupg support for Greetd
Date: Wed,  7 Jun 2023 19:13:53 +0200	[thread overview]
Message-ID: <20230607171353.8445-1-wurt@wurtshell.com> (raw)

Hi!

This series of patches permits to pass your login password to gpg-agent, starting the daemon at login. The needed PAM modules need to come after all PAM modules including pam-mount. So I change a gnu/services/pam-mount.scm to ensure this requisite. Maybe pam-gnupg should be an independent service that transforms all PAM login files (greetd, slim, login, gdm, etc) at the end, but I think that unix-pam-service has the #:gnupg? argument for a reason, so I did not change it.

I create a new function on guix/utils.scm that insert a list right before the first element that verify a predicate, maybe is wrong to create a new utility procedure or naming insert-before instead of append-before. I am a newbie using Guile and Guix, so I am probably making mistakes.

Carlos Durán Domínguez (5):
  utils: Add insert-before.
  system: pam: Add pam-gnupg-module?.
  services: pam-mount: Fix pam-gnupg incompatibility.
  services: greetd: Add pam-gnupg support.
  system: pam: Fix unix pam module order.

 doc/guix.texi              |  9 +++++++
 gnu/services/base.scm      | 48 ++++++++++++++++++++++----------------
 gnu/services/pam-mount.scm | 12 ++++++----
 gnu/system/pam.scm         | 14 ++++++++---
 guix/utils.scm             | 18 +++++++++++++-
 5 files changed, 73 insertions(+), 28 deletions(-)


base-commit: e8f9fb3e03ea8fee0e13f13706a6b16414f74a7b
-- 
2.40.1





             reply	other threads:[~2023-06-08 13:17 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-06-07 17:13 wurt--- via Guix-patches via [this message]
2023-06-08 15:14 ` [bug#63955] [PATCH 1/5] utils: Add insert-before wurt--- via Guix-patches via
2023-06-08 15:14   ` [bug#63955] [PATCH 2/5] system: pam: Add pam-gnupg-module? wurt--- via Guix-patches via
2023-06-08 15:14   ` [bug#63955] [PATCH 3/5] services: pam-mount: Fix pam-gnupg incompatibility wurt--- via Guix-patches via
2023-06-08 15:14   ` [bug#63955] [PATCH 4/5] services: greetd: Add pam-gnupg support wurt--- via Guix-patches via
2023-06-08 15:14   ` [bug#63955] [PATCH 5/5] system: pam: Fix unix pam module order wurt--- via Guix-patches via
2023-08-31  7:43 ` bug#63955: (no subject) guix-patches--- via

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://guix.gnu.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20230607171353.8445-1-wurt@wurtshell.com \
    --to=guix-patches@gnu.org \
    --cc=63955@debbugs.gnu.org \
    --cc=wurt@wurtshell.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/guix.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).