Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

pam-envoy: failed to get agent for user #73

Open
whoizit opened this issue Aug 28, 2016 · 0 comments
Open

pam-envoy: failed to get agent for user #73

whoizit opened this issue Aug 28, 2016 · 0 comments

Comments

@whoizit
Copy link

whoizit commented Aug 28, 2016

first install envoy. I try use gpg-agent for ssh keys and pam authorization with same login pass

/etc/pam.d/lxdm
#%PAM-1.0
auth        include     system-login
auth      optional    pam_envoy.so
-auth       optional    pam_gnome_keyring.so
account     include     system-login
password    include     system-login
session     include     system-login
session   optional    pam_envoy.so    gpg-agent
-session    optional    pam_gnome_keyring.so auto_start
~/.gnupg/gpg-agent.conf
use-standard-socket
pinentry-program /usr/bin/pinentry
enable-ssh-support
allow-preset-passphrase
journalctl -u lxdm
...
авг 28 03:19:11 atmx-pc systemd[1]: Started LXDE Display Manager.
авг 28 03:19:25 atmx-pc lxdm-session[848]: failed to fetch agent: Connection reset by peer
авг 28 03:19:25 atmx-pc lxdm-session[848]: pam-envoy: failed to get agent for user
авг 28 03:19:25 atmx-pc lxdm-session[848]: pam_unix(lxdm:session): session opened for user atommixz by (uid=0)

$ ps aux | egrep 'env|gpg|ssh'                                                                         
atommixz  1006  0.0  0.0  11152   316 ?        Ss   03:19   0:00 /usr/bin/ssh-agent -s
$ envoy                                                                                                
envoy: failed to fetch agent: Connection refused
$ gpg --version                                                                                        
gpg (GnuPG) 2.1.15
libgcrypt 1.7.3
...
$ envoy --version                                                                                      
envoy v14

ArchLinux distribution.
what I do wrong?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant