Skip to main content

Library for verifying Yubikey One Time Passwords (OTPs)

Project description

Yubico Python Client

https://badge.fury.io/py/yubico-client.png https://secure.travis-ci.org/Kami/python-yubico-client.png?branch=master https://pypip.in/d/yubico-client/badge.png

Python class for verifying Yubico One Time Passwords (OTPs) based on the validation protocol version 2.0.

For more information and usage examples, please see the. documentation.

Documentation

Documentation is available at https://yubico-client.readthedocs.org/en/latest/

Installation

$ pip install yubico-client

Note: Package has been recently renamed from yubico to yubico-client and the main module has been renamed from yubico to yubico_client. This was done to avoid naming conflicts and make creation of distribution specific packages easier.

Running Tests

To run the tests use the tox command. This will automatically run the tests on all the supported Python versions.

$ tox

License

Yubico Client is distributed under the 3-Clause BSD License.

Changelog

1.8.0 - 2013-11-09

  • Modify verify_multi method to throw if otp_list argument contains less than two items

  • Modify max_time_window argument in the verify_multi method to be in seconds (#19)

  • Modify verify_multi method to throw if delta between the first and last OTP timestamp is smaller than zero

  • Allow user to pass api_urls argument to the Yubico class constructor. This argument can contain a list of API urls which are used to validate the token. https://github.com/Kami/python-yubico-client/pull/18

    Contributed by Dain Nilsson

  • Depend on newer version (1.2.3) of the requests library.

  • Update code and tests so they also work under Python 3.3

1.7.0 - 2013-04-06

  • Change PyPi package name from yubico to yubico-client.

    This was done to prevent naming collisions and make creation of distribution specific packages (e.g. debian packages) easier.

1.6.2 - 2013-04-02

  • If there are multiple interpretations for a given OTP, first try to find the one which matches the input OTP. If the one is found, use the input OTP, otherwise use random interpretation. - https://github.com/Kami/python-yubico-client/issues/14

    Reported by Klas Lindfors

1.6.1 - 2013-03-19

1.6.0 - 2013-01-24

Project details


Download files

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

Source Distribution

yubico-client-1.8.0.tar.gz (18.2 kB view details)

Uploaded Source

File details

Details for the file yubico-client-1.8.0.tar.gz.

File metadata

File hashes

Hashes for yubico-client-1.8.0.tar.gz
Algorithm Hash digest
SHA256 840c8ff8161750b298a1edcd7a855711057f71b34f0cda969dcc363728184c4b
MD5 10c16e7a43cca4b7bc1a1541a6996e6e
BLAKE2b-256 957ff1ec982a49e4b567ef7898381402a87beff30a50b93cc60f207d131e0c58

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page