diff options
| author | Mohammad Reza Karimi <m.r.karimi.j@gmail.com> | 2025-12-16 13:27:11 -0500 |
|---|---|---|
| committer | Mohammad Reza Karimi <m.r.karimi.j@gmail.com> | 2025-12-16 13:27:11 -0500 |
| commit | 5a41da5881a11ba3fdc3890c342aa3b7eb53e0cf (patch) | |
| tree | 92b7f7af29ed4a9dcc0eab33490c6225cce9b14a /gpg | |
| parent | 856e361d56c201cbb1b1521c8b93b747163b1376 (diff) | |
add initial version (incomplete)
Diffstat (limited to 'gpg')
| -rw-r--r-- | gpg/.stow-local-ignore | 1 | ||||
| -rw-r--r-- | gpg/dot-config/pam-gnupg | 2 | ||||
| -rw-r--r-- | gpg/dot-gnupg/gpg-agent.conf | 6 | ||||
| -rw-r--r-- | gpg/pambase_system-login.diff | 15 |
4 files changed, 24 insertions, 0 deletions
diff --git a/gpg/.stow-local-ignore b/gpg/.stow-local-ignore new file mode 100644 index 0000000..fc31db4 --- /dev/null +++ b/gpg/.stow-local-ignore @@ -0,0 +1 @@ +pambase_system-login.diff diff --git a/gpg/dot-config/pam-gnupg b/gpg/dot-config/pam-gnupg new file mode 100644 index 0000000..364d89b --- /dev/null +++ b/gpg/dot-config/pam-gnupg @@ -0,0 +1,2 @@ +8F55CFC45CAC18892A739C1F2B8BA796C07BFF8C +F029032D6539C360008FE088112ED8AF2D23F502 diff --git a/gpg/dot-gnupg/gpg-agent.conf b/gpg/dot-gnupg/gpg-agent.conf new file mode 100644 index 0000000..87f944f --- /dev/null +++ b/gpg/dot-gnupg/gpg-agent.conf @@ -0,0 +1,6 @@ +allow-preset-passphrase +enable-ssh-support +default-cache-ttl 60480000 +max-cache-ttl 60480000 +default-cache-ttl-ssh 60480000 +max-cache-ttl-ssh 60480000 diff --git a/gpg/pambase_system-login.diff b/gpg/pambase_system-login.diff new file mode 100644 index 0000000..10749bb --- /dev/null +++ b/gpg/pambase_system-login.diff @@ -0,0 +1,15 @@ +--- - 2025-11-25 13:45:42.634133151 -0500 ++++ /etc/pam.d/system-login 2025-11-25 13:37:28.156022632 -0500 +@@ -3,6 +3,7 @@ + auth required pam_shells.so + auth requisite pam_nologin.so + auth include system-auth ++auth optional pam_gnupg.so store-only + + account required pam_access.so + account required pam_nologin.so +@@ -19,3 +20,4 @@ + session optional pam_umask.so + -session optional pam_systemd.so + session required pam_env.so ++session optional pam_gnupg.so |
