Skip to content

samveen/WebAuthnLinux

 
 

Repository files navigation

WebAuthnLinux (WebDevAuthn Derivative)

Note

This fork (WebAuthnLinux) extends the original tool with Native Messaging support for Linux Fingerprint integration. Current Version: 1.0.0-Alpha


Description

This project enables Linux System Integration for WebAuthn/FIDO2. It features a Python-based Native Messaging Host that bridges the gap between the browser and the Linux system's biometric services (via fprintd).

This allows the extension to leverage your laptop's built-in fingerprint reader for user verification events, bypassing the need for external hardware or specific web services.

Key Features

  • Linux Fingerprint Integration: Use fprintd for biometric authentication directly in the browser.
  • Native Messaging Support: Secure communication between the extension and the local system.
  • Multi-Browser Compatibility: Installation script supports Chrome, Chromium, and Firefox.
  • Manifest V3: Modern extension architecture for improved security and performance.
  • Dynamic Security: Uses a unique, dynamically generated 256-bit master key and unique installation salts (no hardcoded secrets).
  • Hardware Agnostic: Designed to bridge system biometrics for development, even on systems where the browser doesn't natively expose the fingerprint reader as a "platform" authenticator.

Quick Setup

  1. System Dependencies: Ensure fprintd and python3 are installed and configured.
  2. Setup Extension: Sideload the extension/ folder in your browser (chrome://extensions for Chrome/Chromium).
  3. Install Native Host:
    cd native
    ./install.sh

For detailed, browser-specific instructions, see LINUX_SETUP.md.

Project Structure

  • extension/: The Web Extension source code (Manifest V3). Includes logic for triggering native messaging and handling biometric responses.
  • native/: Python-based Native Messaging Host (webauthnlinux_host.py) and multi-browser installer (install.sh).

Contact & Hosting

This derivative work is hosted at https://github.com/samveen/WebAuthnLinux

The original work can be found by navigating to this fork's parent.

Modified by Samveen, largely thanks to AntiGravity

The Derivative Work is Copyright (c) 2026 Onwards, Projects by Samveen.

The Copyright of all unmodified work remains Copyright (c) The Original Authors.


ORIGINAL CONTENT

WebDevAuthn

A tool to test & analyze FIDO2/WebAuthn requests and responses


Description

WebDevAuthn is a web tool for testing and analyzing FIDO2/WebAuthn requests and responses. The web application can work as a playground, letting developers experiment and understand the WebAuthn internals while also allowing the testing and experimentation of FIDO2 authenticator devices. Furthermore, developers may use this tool's injector (embedded code or an extension) to hijack WebAuthn calls and analyse them. The tool also features an advanced virtual authenticator that can emulate WebAuthn responses.

This repository is part of the research conducted for the papers:

Analyser Features:

  • Capture WebAuthn requests
  • Analyse WebAuthn options (show info, warnings & errors)
  • Unpack/Decode WebAuthn authenticator responses
  • Virtual Authenticator Device (for custom responses)

Virtual Authenticator Device:

  • OS independent
  • Supports packed attestation
  • Supports wrapped keys to credentials ID
  • Access to the private key of the generated credentials
  • Testing mode to assess implementations
  • Multiple supported algorithms

Contact me

Please feel free to contact me to leave me your feedback or to express your thoughts.

You can open an issue or send me a mail


About

This web application was developed as part of my thesis for the postgraduate programme "Digital Systems Security" and research conducted as part of the Systems Security Laboratory

University of Piraeus, Department of Digital Systems, Digital Systems Security

Copyright (c) 2021-2025 Grammatopoulos Athanasios-Vasileios


GramThanos

About

A fork of https://gramthanos.github.io/WebDevAuthn/ to implement fprintd based WebAuthn on linux without the availability of a real plaform authentication layer.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Contributors

Languages

  • JavaScript 93.0%
  • HTML 5.8%
  • Other 1.2%