Skip to main content
Warning: You are using the test version of PyPI. This is a pre-production deployment of Warehouse. Changes made here affect the production instance of TestPyPI (
Help us improve Python packaging - Donate today!

A Flask plugin that adds FIDO U2F support.

Project Description

Flask plugin to simplify usage and management of U2F devices.

## Installation

`pip install flask-fido-u2f`

## Usage

from flask_fido_u2f import U2F

app = Flask(__name__)
app.config['U2F_APPID'] = ''
app.config['SECRET_KEY'] = 'SomeVeryRandomKeySetYouMust'

u2f = U2F(app)
def read():
# Returns users U2F devices object
def save(u2fdata):
# Saves users U2F devices object

def enroll_on_success():
# Executes on successful U2F enroll

def enroll_on_fail():
# Executes on failed U2F enroll

def sign_on_success():
# Executes on successful U2F authentication

def sign_on_fail():
# Executes on failed U2F authentication

# Development

## Install dev-dependencies

`pip install -r dev-requirements.txt`

## Run tests

`python -m unittest discover`

## Docs

* [API Docs](
* [Configuration Docs](
* [FIDO U2F](

## License

[MIT]( © [Yuriy Ackermann](
Release History

Release History

This version
History Node


History Node


History Node


Download Files

Download Files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

File Name & Checksum SHA256 Checksum Help Version File Type Upload Date
Flask-FIDO-U2F-0.4.2.tar.gz (8.1 kB) Copy SHA256 Checksum SHA256 Source Aug 15, 2016

Supported By

WebFaction WebFaction Technical Writing Elastic Elastic Search Pingdom Pingdom Monitoring Dyn Dyn DNS Sentry Sentry Error Logging CloudAMQP CloudAMQP RabbitMQ Heroku Heroku PaaS Kabu Creative Kabu Creative UX & Design Fastly Fastly CDN DigiCert DigiCert EV Certificate Rackspace Rackspace Cloud Servers DreamHost DreamHost Log Hosting