Install libpam-p11 by entering the following commands in the terminal:
sudo apt update sudo apt install libpam-p11
PAM module for using PKCS#11 smart cards
A Pluggable Authentication Module for PKCS#11 based smart cards. Useful for enabling smart card based user login to a system.