Skip to content

Commit

Permalink
Unlock gnome keyring on login (#29)
Browse files Browse the repository at this point in the history
* automatically unlock default gnome keyring on login

See https://wiki.archlinux.org/title/GNOME/Keyring#PAM_step

* automatically change the default gnome keyring password

when the user's password is changed
  • Loading branch information
heapifyman authored and Repo Update Bot committed Mar 12, 2024
1 parent 5022504 commit 36e9ef4
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 0 deletions.
9 changes: 9 additions & 0 deletions community/sway/desktop-overlay/etc/pam.d/greetd
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
#%PAM-1.0

auth required pam_securetty.so
auth requisite pam_nologin.so
auth include system-local-login
auth optional pam_gnome_keyring.so
account include system-local-login
session include system-local-login
session optional pam_gnome_keyring.so auto_start
5 changes: 5 additions & 0 deletions community/sway/desktop-overlay/etc/pam.d/passwd
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
#%PAM-1.0
auth include system-auth
account include system-auth
password include system-auth
password optional pam_gnome_keyring.so

0 comments on commit 36e9ef4

Please sign in to comment.