Linux PAM module for authentication with German ID card
Go to file
Gitea f49f7731aa Initial GIT version 2024-10-29 13:39:15 +01:00
debian Initial GIT version 2024-10-29 13:39:15 +01:00
.gitignore Initial commit 2024-10-29 13:36:04 +01:00
COPYRIGHT Initial GIT version 2024-10-29 13:39:15 +01:00
Changelog Initial GIT version 2024-10-29 13:39:15 +01:00
INSTALL Initial GIT version 2024-10-29 13:39:15 +01:00
LICENSE Initial GIT version 2024-10-29 13:39:15 +01:00
Makefile Initial GIT version 2024-10-29 13:39:15 +01:00
README.md Initial GIT version 2024-10-29 13:39:15 +01:00
add-eid.c Initial GIT version 2024-10-29 13:39:15 +01:00
auth.c Initial GIT version 2024-10-29 13:39:15 +01:00
auth.h Initial GIT version 2024-10-29 13:39:15 +01:00
authorized_eid.c Initial GIT version 2024-10-29 13:39:15 +01:00
authorized_eid.h Initial GIT version 2024-10-29 13:39:15 +01:00
automatic.patch Initial GIT version 2024-10-29 13:39:15 +01:00
client.c Initial GIT version 2024-10-29 13:39:15 +01:00
client.h Initial GIT version 2024-10-29 13:39:15 +01:00
file Initial GIT version 2024-10-29 13:39:15 +01:00
pam-config-eid Initial GIT version 2024-10-29 13:39:15 +01:00
pam_eid.8 Initial GIT version 2024-10-29 13:39:15 +01:00
pam_eid.c Initial GIT version 2024-10-29 13:39:15 +01:00
pam_eid.h Initial GIT version 2024-10-29 13:39:15 +01:00

README.md

This is a Linux PAM module for use with german id cards. You can use card readers with or without pinpad. With card readers that have a pinpad, the PIN must be entered on the pad, while with card readers without pinpad the PIN is entered the same way as a classic UNIX password. In any case, you must have an appropriate driver for your card reader installed.

Before a user can authenticate with an id card, the contents of the card must be saved in a file. First start program AusweisApp and configure your card and your reader. Then start program add-eid (without closing AusweisApp before) to add id card data to the file (multiple cards can be added).

This software was inspired by Frank Morgner's eid-pam (https://github.com/frankmorgner/eid-pam) and contains parts of his code.

Required software

ausweisapp (>= 2.2.0) curl glib2.0 pam pkgconf

Building and installing pam-eid

Run from the command line:

make && make install

Patching AusweisApp

To make automatic AusweisApp mode (required for pam-eid) work for card readers with pinpad, you have to build and install a patched version of AusweisApp. The patch is in file automatic.patch, which is part of this software. To apply the patch, go the the AusweisApp source directory and type

patch -p1 < automatic.patch