Go to file
Dain Nilsson 7f14673096
Prepare 0.1.0 prelease.
2018-03-16 14:10:30 +01:00
examples Initial import. 2018-03-16 12:13:15 +01:00
fido_host Fix some broken tests. 2018-03-16 12:38:21 +01:00
test Fix some broken tests. 2018-03-16 12:38:21 +01:00
.gitignore Initial import. 2018-03-16 12:13:15 +01:00
.pre-commit-config.yaml Initial import. 2018-03-16 12:13:15 +01:00
.travis.yml Don't run on Mac on Travis (python not supported). 2018-03-16 13:38:07 +01:00
COPYING Initial import. 2018-03-16 12:13:15 +01:00
COPYING.APLv2 Initial import. 2018-03-16 12:13:15 +01:00
COPYING.MPLv2 Initial import. 2018-03-16 12:13:15 +01:00
MANIFEST.in Don't run on Mac on Travis (python not supported). 2018-03-16 13:38:07 +01:00
NEWS Prepare 0.1.0 prelease. 2018-03-16 14:10:30 +01:00
README.adoc Clean up README a bit. 2018-03-16 13:49:07 +01:00
appveyor.yml Fix some broken tests. 2018-03-16 12:38:21 +01:00
setup.cfg Prepare 0.1.0 prelease. 2018-03-16 14:10:30 +01:00
setup.py Clean up README a bit. 2018-03-16 13:49:07 +01:00

README.adoc

== fido-host
image:https://travis-ci.org/Yubico/python-fido-host.svg?branch=master["Travis CI Status", link="https://travis-ci.org/Yubico/python-fido-host"]
image:https://ci.appveyor.com/api/projects/status/8orx9nbdfq52w47s/branch/master?svg=true["Appveyor Status", link="https://ci.appveyor.com/project/Yubico53275/python-fido-host/branch/master"]

Provides library functionality for communicationg with a FIDO device over USB.

WARNING: This project is in beta. Expect things to change or break at any time!

This library aims to support the FIDO U2F and FIDO 2.0 protocols for
communicating with a USB authenticator via the Client-to-Authenticator Protocol
(CTAP 1 and 2). In addition to this low-level device access, classes defined in
the `fido_host.client` implement higher level device operations.

For usage, see the `examples/` directory.

=== License
This project, with the exception of the files mentioned below, is licensed
under the BSD 2-clause license.
See the _COPYING_ file for the full license text.

This project contains source code from pyu2f (https://github.com/google/pyu2f)
which is licensed under the Apache License, version 2.0.
These files are located in `fido_host/pyu2f/` and `test/pyu2f/`.
See http://www.apache.org/licenses/LICENSE-2.0,
or the _COPYING.APLv2_ file for the full license text.

This project also bundles the public suffix list (https://publicsuffix.org)
which is licensed under the Mozilla Public License, version 2.0.
This file is stored as `fido_host/public_suffix_list.dat`.
See https://mozilla.org/MPL/2.0/,
or the _COPYING.MPLv2_ file for the full license text.

=== Installation
fido-host is installable by running the following command:

  # pip install fido-host

Under Linux you will need to add a Udev rule to be able to access the FIDO
device, or run as root. For example, the Udev rule may contain the following:

----
#Udev rule for allowing HID access to Yubico devices for FIDO support.

KERNEL=="hidraw*", SUBSYSTEM=="hidraw", \
  MODE="0664", GROUP="plugdev", ATTRS{idVendor}=="1050"
----

=== Dependencies
fido-host is compatible with CPython 2.7, 3.4 onwards, and is tested on
Windows, MacOS, and Linux.

This project depends on Cryptography. For instructions on installing this
dependency, see link:https://cryptography.io/en/latest/installation/.