로그인 시 그놈 키링이 잠금 해제됩니다.

로그인 시 그놈 키링이 잠금 해제됩니다.

저는 아치 리눅스를 사용하고 있습니다. 내 gnome-keyring의 비밀번호는 내 사용자 계정과 동일합니다.

로그인 시 gnome-keyring이 자동으로 잠금 해제되도록 하고 싶습니다. 저는 WDM과 ZSH를 사용하고 있습니다. 나는 다음에 설명된 단계를 따랐습니다.아치스 위키.

내 것에는 .zprofile다음이 있습니다.

# initialising gnome keyring
if [ -n "$DESKTOP_SESSION" ];then
  eval $(gnome-keyring-daemon --start)
  export SSH_AUTH_SOCK
fi

내부에는 /etc/pam.d/login다음이 있습니다.

#%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
password   include      system-local-login

그러나 일단 로그인하면 키링이 잠겨 있습니다.

잡지에는 다음과 같은 내용이 있습니다.

~ ❯ journalctl -b | grep "keyring"
Jul 30 22:35:31 desktop kernel: Initialise system trusted keyrings
Jul 30 22:35:37 desktop audit[354]: USER_AUTH pid=354 uid=0 auid=4294967295 ses=4294967295 msg='op=PAM:authentication grantors=pam_securetty,pam_shells,pam_faillock,pam_permit,pam_faillock,pam_gnome_keyring acct="j" exe="/usr/bin/login" hostname=desktop addr=? terminal=/dev/tty1 res=success'
Jul 30 22:35:37 desktop audit[354]: CRED_ACQ pid=354 uid=0 auid=4294967295 ses=4294967295 msg='op=PAM:setcred grantors=pam_securetty,pam_shells,pam_faillock,pam_permit,pam_faillock,pam_gnome_keyring acct="j" exe="/usr/bin/login" hostname=desktop addr=? terminal=/dev/tty1 res=success'
Jul 30 22:35:37 desktop audit[354]: USER_START pid=354 uid=0 auid=1000 ses=1 msg='op=PAM:session_open grantors=pam_loginuid,pam_keyinit,pam_limits,pam_unix,pam_permit,pam_mail,pam_systemd,pam_env,pam_gnome_keyring acct="j" exe="/usr/bin/login" hostname=desktop addr=? terminal=/dev/tty1 res=success'
Jul 30 22:35:37 desktop audit[354]: CRED_REFR pid=354 uid=0 auid=1000 ses=1 msg='op=PAM:setcred grantors=pam_securetty,pam_shells,pam_faillock,pam_permit,pam_faillock,pam_gnome_keyring acct="j" exe="/usr/bin/login" hostname=desktop addr=? terminal=/dev/tty1 res=success'
Jul 30 22:35:37 desktop login[354]: gkr-pam: gnome-keyring-daemon started properly and unlocked keyring
Jul 30 22:39:24 desktop gnome-keyring-daemon[1820]: couldn't access control socket: /run/user/1000/keyring/control: No such file or directory
Jul 30 22:39:24 desktop gnome-keyring-d[1820]: couldn't access control socket: /run/user/1000/keyring/control: No such file or directory
Jul 30 22:39:24 desktop gnome-keyring-daemon[1820]: no private keys found in file
Jul 30 22:39:24 desktop gnome-keyring-d[1820]: no private keys found in file
Jul 30 22:39:24 desktop gnome-keyring-daemon[1820]: invalid or unrecognized private SSH key: j@desktop
Jul 30 22:39:24 desktop gnome-keyring-d[1820]: invalid or unrecognized private SSH key: j@desktop
Jul 30 22:39:24 desktop gnome-keyring-daemon[1820]: no private keys found in file
Jul 30 22:39:24 desktop gnome-keyring-d[1820]: no private keys found in file
Jul 30 22:39:24 desktop gnome-keyring-daemon[1820]: invalid or unrecognized private SSH key: j@desktop
Jul 30 22:39:24 desktop gnome-keyring-d[1820]: invalid or unrecognized private SSH key: j@desktop
Jul 30 22:39:24 desktop gnome-keyring-daemon[1820]: no private key present for public key: /home/j/.ssh/AWSUbuntuKeyPairDavid.pub
Jul 30 22:39:24 desktop gnome-keyring-d[1820]: no private key present for public key: /home/j/.ssh/AWSUbuntuKeyPairDavid.pub
Jul 30 22:39:24 desktop gnome-keyring-daemon[1820]: no private keys found in file
Jul 30 22:39:24 desktop gnome-keyring-daemon[1820]: invalid or unrecognized private SSH key: j@desktop
Jul 30 22:39:24 desktop gnome-keyring-d[1820]: no private keys found in file
Jul 30 22:39:24 desktop gnome-keyring-d[1820]: invalid or unrecognized private SSH key: j@desktop
Jul 30 22:39:24 desktop dbus-daemon[662]: [session uid=1000 pid=662] Activating service name='org.gnome.keyring.SystemPrompter' requested by ':1.14' (uid=1000 pid=1820 comm="/usr/bin/gnome-keyring-daemon --start --foreground")
Jul 30 22:39:24 desktop gcr-prompter[1827]: Gcr: bus acquired: org.gnome.keyring.SystemPrompter
Jul 30 22:39:24 desktop gcr-prompter[1827]: Gcr: bus acquired: org.gnome.keyring.PrivatePrompter
Jul 30 22:39:24 desktop dbus-daemon[662]: [session uid=1000 pid=662] Successfully activated service 'org.gnome.keyring.SystemPrompter'
Jul 30 22:39:24 desktop gcr-prompter[1827]: Gcr: acquired name: org.gnome.keyring.SystemPrompter
Jul 30 22:39:24 desktop gcr-prompter[1827]: Gcr: received BeginPrompting call from callback /org/gnome/keyring/Prompt/p2@:1.14
Jul 30 22:39:24 desktop gcr-prompter[1827]: Gcr: preparing a prompt for callback /org/gnome/keyring/Prompt/p2@:1.14
Jul 30 22:39:24 desktop gcr-prompter[1827]: Gcr: calling the PromptReady method on /org/gnome/keyring/Prompt/p2@:1.14
Jul 30 22:39:24 desktop gcr-prompter[1827]: Gcr: acquired name: org.gnome.keyring.PrivatePrompter
Jul 30 22:39:24 desktop gcr-prompter[1827]: Gcr: returned from the PromptReady method on /org/gnome/keyring/Prompt/p2@:1.14
Jul 30 22:39:24 desktop gcr-prompter[1827]: Gcr: received PerformPrompt call from callback /org/gnome/keyring/Prompt/p2@:1.14
Jul 30 22:39:24 desktop gcr-prompter[1827]: Gcr: starting password prompt for callback /org/gnome/keyring/Prompt/p2@:1.14
Jul 30 22:39:32 desktop gcr-prompter[1827]: Gcr: completed password prompt for callback :1.14@/org/gnome/keyring/Prompt/p2
Jul 30 22:39:32 desktop gcr-prompter[1827]: Gcr: calling the PromptReady method on /org/gnome/keyring/Prompt/p2@:1.14
Jul 30 22:39:32 desktop gcr-prompter[1827]: Gcr: returned from the PromptReady method on /org/gnome/keyring/Prompt/p2@:1.14
Jul 30 22:39:32 desktop gcr-prompter[1827]: Gcr: received PerformPrompt call from callback /org/gnome/keyring/Prompt/p2@:1.14
Jul 30 22:39:32 desktop gcr-prompter[1827]: Gcr: stopping prompting for operation /org/gnome/keyring/Prompt/p2@:1.14
Jul 30 22:39:32 desktop gcr-prompter[1827]: Gcr: stopping prompting for operation /org/gnome/keyring/Prompt/p2@:1.14
Jul 30 22:39:32 desktop gcr-prompter[1827]: Gcr: couldn't find the callback for prompting operation /org/gnome/keyring/Prompt/p2@:1.14
Jul 30 22:39:32 desktop gcr-prompter[1827]: Gcr: stopping prompting for operation /org/gnome/keyring/Prompt/p2@:1.14
Jul 30 22:39:32 desktop gcr-prompter[1827]: Gcr: couldn't find the callback for prompting operation /org/gnome/keyring/Prompt/p2@:1.14
Jul 30 22:39:32 desktop gcr-prompter[1827]: Gcr: stopping prompting for operation /org/gnome/keyring/Prompt/p2@:1.14
Jul 30 22:39:32 desktop gcr-prompter[1827]: Gcr: couldn't find the callback for prompting operation /org/gnome/keyring/Prompt/p2@:1.14
Jul 30 22:39:32 desktop gcr-prompter[1827]: Gcr: calling the PromptDone method on /org/gnome/keyring/Prompt/p2@:1.14, and ignoring reply

내가 무엇을 놓치고 있나요?

관련 정보