mcdope / pam_usb

Hardware authentication for Linux using ordinary flash media (USB & Card based).
GNU General Public License v2.0
191 stars 21 forks source link
linux pam usb

Build Packaging Functional testing CodeQL DevSkim Nightly builds (tar.gz, deb, rpm, zst)

pam_usb

pam_usb provides hardware authentication for Linux using ordinary removable media. Tested are flash sticks and storage cards, but it should work with harddrives, SSDs and even floppies (at least USB based) too.

It works with any application supporting PAM, such as su and login managers (GDM, KDM).

Features

Tools

Getting Started

History of this PAM module

This software was initially created by Andrea Luzzardi (https://github.com/aluzzardi/pam_usb/) but is unmaintained for quite some years by now. While the years passed the community continued to work on it but there was never a centralized place merging all those improvement. The goal of this repo is to provide exactly that, resulting in an up-to-date version. See Install for installation instructions and download options for prebuilt binaries.

This repo is mainly based on community improvements from

See the commit history for details. You can find a list of all contributors in the AUTHORS file.

The last official release was 0.5.0 btw, some private packages used 0.6.0 to override the upstream provided version but those varied in changes from 0.5.0. This repo started at 0.7.0 and includes all contributions up to this point I'm aware of (Python3 port, UDisks2 support, other smaller ones) or did myself.