I would like to use my Solo key to login with gdm in my manjaro gnome with the
home encrypted with ecryptfs.
I followed the page Solo - ArchWiki and the key works fine
Then I followed the page Universal 2nd Factor - ArchWiki
and pam-u2f and I modified the file
/etc/pam.d/gdm-password (adding the third line)
auth include system-local-login
auth optional pam_gnome_keyring.so
auth sufficient pam_u2f.so authfile=/etc/u2f_mappings
account include system-local-login
password include system-local-login
password optional pam_gnome_keyring.so use_authtok
session include system-local-login
session optional pam_gnome_keyring.so auto_start
and the file /et/u2f_mappings
leandro:[many many characters]
This works but it still asks me for the password and then to press in the key.
But the worst is that if I did not insert the key it asks me for the password
and then the login is permitted.
I followed also the thread in
but it is quite old and many files in /etc/pam.d/ are different or do not exist enymore.
How could obtain to login only and exclusively with the key?