This repo contains code published by Yubico for various authentication mechanisms supported by Yubikey devices
Steps to configuration PAM U2F
Enable this copr repo
sudo dnf copr enable spartacus06/yubikey-utils
sudo dnf install pam-u2f -y
Associate the Yubikey U2F keys with the current user
pamu2fcfg > ~/.config/Yubico/u2f_keys
Add the pam_u2f.so module into any PAM chain (/etc/pam.d) to use U2F
Example for /etc/pam.d/sudo
auth substack system-auth auth required pam_u2f.so cue account include system-auth password include system-auth session optional pam_keyinit.so revoke session required pam_limits.so session include system-auth
Demo video: sudo 2FA using Yubikey U2F
Upstream project: pam-u2f
The following unofficial repositories are provided as-is by owner of this project. Contact the owner directly for bugs or issues (IE: not bugzilla).
* Total number of packages downloaded in the last seven days.