PAM module for authentication against e.g. g10 smartcards via gpg.
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
LICENSE
Makefile
README.md
main.c

README.md

pam_gpg

PAM module for authentication against e.g. g10 smartcards via gpg.

Pin entry example

Use this at your own risk. Please verify&validate the source before usage.

Not yet implemented: Per user basis - currently you can log into every user by using the smartcard.

Setup:

  • GPG-PublicKeys for login have to be exported to /etc/authorized_pubkey.gpg.
  • The library pam_gpg.so must be copied to /lib/security.
  • Edit /etc/pam.d/system-auth, add the following before the pam_unix.so line.
auth		[success=1 default=ignore]	pam_gpg.so