Skip to content

WiSECURE/pam-fido2

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

This module is under development, and welcome to any contribution. Note that the contributions should be under GPLv3, which is shown in the LICENSE file.

PAM FIDO2

A PAM module using FIDO2, which enables Linux users to login (and to do much more) with a FIDO2-compatible token.

Prerequisite

Refer to libfido2 document to install the library.

sudo apt install libfido2-1 libfido2-dev libfido2-doc

or build it manually:

sudo apt install cmake pkg-config
git clone https://github.com/Yubico/libfido2
cd libfido2 && cmake -B build
sudo make -C build install
sudo apt install libpam0g-dev

How to Build the module

make

How to Setup

For example, we setup a service named 'myapp' with pam authentication:

# /etc/pam.d/myapp
auth	sufficient			/path/to/pam-fido2/build/pam_fido2.so

How to Run Example

sudo apt install python3-pip
sudo pip3 install python-pam

python3 example/app-authentication/app.py

Reference

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published