Install libpam-poldi by entering the following commands in the terminal:
sudo apt update sudo apt install libpam-poldi
Description:
PAM module allowing authentication using a OpenPGP smartcard
This PAM module will allow you to login, screenlock and validate to services using your GnuPG smartcard. You might have expected to find this with a name of libpam-pgp, libpam-gpg, libpam-openpgp or libpam-gnupg. . This code is considered experimental and needs more testing. It is, however, already used for the daily login.
Homepage: http://www.g10code.com/p-poldi.html
Version: 0.4.2+git20161115.553060d-1
Section: universe/admin