I'm setting up my yubikey for two factor auth in my machines. This is what I added to /etc/pam.d/{login,sudo} and it works perfectly:
Code:
auth required pam_yubico.so id=XXXX authfile=/etc/yubikey_mappings
Now it get's more complicated. I added the above to my xscreensaver pam.d config and I can't seem to get it to authorize! I have a theory that the problem is related to gnome-keyring, but I don't know that for sure. This is my .xinitrc:
Code:
nm-applet &
xcompmgr -cF &
eval `gnome-keyring-daemon`
exec awesome
I get the following error:
Code:
warning: gnome_keyring:: C_Initialize called twice from same process
and the yubikey part never authenticates. Can anyone help me fix this problem? I can turn on some kind of debugging but I'm not totally sure how