<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Authentication on Documentation</title><link>https://docs.daper.io/install-linux/authentication/index.html</link><description>Recent content in Authentication on Documentation</description><generator>Hugo -- gohugo.io</generator><language>en-us</language><atom:link href="https://docs.daper.io/install-linux/authentication/index.xml" rel="self" type="application/rss+xml"/><item><title>Fingerprint</title><link>https://docs.daper.io/install-linux/authentication/fingerprint/index.html</link><pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate><guid>https://docs.daper.io/install-linux/authentication/fingerprint/index.html</guid><description>Configure fingerprint reader Install fprintd. Then add the following to the top of /etc/pam.d/system-auth
auth sufficient pam_unix.so try_first_pass likeauth nullok auth sufficient pam_fprintd.so Then issue fprintd-enroll and tap the sensor until the command exits. After enrollment succeeded verify it with fprintd-verify.</description></item><item><title>Yubikey PAM</title><link>https://docs.daper.io/install-linux/authentication/yubikey-pam/index.html</link><pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate><guid>https://docs.daper.io/install-linux/authentication/yubikey-pam/index.html</guid><description>Configure yubikey for PAM authentication Install pam-u2f. And then create a file on your home folder:
mkdir ~/.config/Yubico pamu2fcfg -o pam://$HOSTNAME -i pam://$HOSTNAME &amp;gt; ~/.config/Yubico/u2f_keys Then for sudo, edit /etc/pam.d/sudo. Add there on the top the pam_u2f module.
#%PAM-1.0 auth required pam_env.so auth sufficient pam_u2f.so cue auth sufficient pam_fprintd.so auth sufficient pam_unix.so try_first_pass likeauth nullok auth required pam_deny.so ... You might also want to edit the /etc/pam.d/polkit-1 in the same way.</description></item><item><title>Yubikey Firefox</title><link>https://docs.daper.io/install-linux/authentication/yubikey-firefox/index.html</link><pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate><guid>https://docs.daper.io/install-linux/authentication/yubikey-firefox/index.html</guid><description>Configure yubikey for Firefox PKCS11 Follow the instructions on https://wiki.archlinux.org/title/Common_Access_Card
Install ccid and opensc.
Execute
systemctl enable --now pcscd.socket Navigate to Edit &amp;gt; Preference &amp;gt; Advanced &amp;gt; Certificates &amp;gt; Security Devices and click Load to load a module using /usr/lib/opensc-pkcs11.so or /usr/lib/pkcs11/opensc-pkcs11.so.</description></item><item><title>Yubikey GPG</title><link>https://docs.daper.io/install-linux/authentication/yubikey-gpg/index.html</link><pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate><guid>https://docs.daper.io/install-linux/authentication/yubikey-gpg/index.html</guid><description>It integrates seamlessly with the Systemd&amp;rsquo;s pre-defined units. But you might want to sign your commits automatically with GPG. For that purpose, create a .gitconfig on your home folder as follows.
[user] name = David Peralta email = david@daper.email signingkey = &amp;lt;signing-key-id&amp;gt; [pull] rebase = true [gpg] program = gpg2 [commit] gpgsign = true [init] defaultBranch = main [includeIf &amp;#34;gitdir:~/Software/&amp;lt;folder-to-exclude&amp;gt;/&amp;#34;] path = ~/.gitconfig_other [color] ui = auto The includeIf section is to exclude everything under the specified path from signing or to sign it with other key.</description></item><item><title>Yubikey SSH</title><link>https://docs.daper.io/install-linux/authentication/yubikey-ssh/index.html</link><pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate><guid>https://docs.daper.io/install-linux/authentication/yubikey-ssh/index.html</guid><description>Use Yubikey&amp;rsquo;s GnuPG to connect to SSH Add the following to .bashrc
export GPG_TTY=&amp;#34;$(tty)&amp;#34; echo &amp;#34;UPDATESTARTUPTTY&amp;#34; | gpg-connect-agent &amp;gt; /dev/null 2&amp;gt;&amp;amp;1 export SSH_AUTH_SOCK=$(gpgconf --list-dirs agent-ssh-socket)</description></item></channel></rss>