https://wiki.archlinux.org/title/GNOME/Keyring
-
Install
gnome-keyringandseahorse. -
Reboot, a default keyring called
Loginshould be created. -
Change the password for this keyring, make sure the password of the default keyring is the same as the one used to login. if unable to change the password check if
journalctl --this-boot --no-pager | grep -i WARNINGshows that 'org.gnome.keyring.SystemPrompter' failed. If that is the case trysource /etc/X11/xinit/xinitrc.d/50-systemd-user.shand try again. -
Complete the PAM and xinitrc step
/etc/pam.d/login
auth optional pam_gnome_keyring.so
session optional pam_gnome_keyring.so auto_start
~/.xinitrc
eval $(gnome-keyring-daemon --start)
export SSH_AUTH_SOCK