These instructions are for setting up the GNU/Linux Fingerprint reader (TPE-F4500) on Nobara.
They have been vetted under Nobara 43 and will probably work for future releases as well.
Steps to enable the fingerprint reader at the KDE plasma login:
0. Connect the USB fingerprint reader to a USB port on your computer
1. Open a terminal (click on the KDE menu in lower left corner, search for konsole, and open konsole)
2. Type the following line into the terminal and hit enter:
sudo vi /etc/pam.d/plasmalogin
3. Tap the a key on the board to enter edit mode
4. Copy and paste the following lines
#%PAM-1.0
# Reduced timeout to 3 seconds so password works almost immediately if you don't swipe
auth sufficient pam_fprintd.so max-tries=1 timeout=3
# Fallback to Password
auth required pam_unix.so try_first_pass likeauth nullok
# System includes
account include password-auth
password include password-auth
session include password-auth
4. Hit the escape key on the keyboard and type the following, then hit enter:
:wq!
5.Set the correct permissions for the plasmalogin file:
sudo chmod 644 /etc/pam.d/plasmalogin
6. Click on the KDE menu in the lower left corner, type in users, then open Users app when it appears in the search results
7. Click the Configure Fingerprint Authentication... button
8. Click the Add button
9. Using your touchpad/mouse select the fingerprint from the picture on the screen you want to add and enter your login password when prompted and click the OK button
10. Place your finger on the fingerprint reader straight on
11. Repeat with the finger a little off to the right side
12. Repeat with the finger a little off to the left side
13. Repeat with the finger a little over the top of the fingerprint sensor
14. Repeat with the finger a little under the top of the fingerprint sensor
15. If you don't see Finger enrolled yet keep pressing your fingerprint against the sensor until you do
16. Go to the KDE menu in the lower left and click Session, then Log Out, and finally confirm by clicking the Log Out Now button
17. To login hit the enter button or > button and then the fingerprint reader should light up at which point you can use your finger to login.
Stop KDE Wallet from prompting for a password:
1. Open KWalletManager (search for it in the application menu).
2. Click the Change Password... button
Note: You may need to resize the window to see the change Password... button
3. Don't enter any passwords and simply click the OK button
4. It'll warn you about the password having 'low strength', and this is probably fine if your using a fingerprint reader as fingerprint readers are more of a convenience item and not something one should utilize in a situation where one needs real security. So just click the Yes button to confirm.
Result: KWallet will now open automatically on login (fingerprint or password) because it no longer requires a key to decrypt.
