Skip to main content
PyCon US is happening May 14th-22nd in Pittsburgh, PA USA.  Learn more

A library for verifying YubiKey OTP tokens, both locally and through a Yubico web service.

Project description

PyPI Documentation Source

This is a library for verifying YubiKey OTP tokens. It includes both the low-level implementation for verifying tokens locally and clients for multiple versions of the Yubico validation web service. The primary audience is developers who wish to verify YubiKey tokens in their applications, presumably as part of a multi-factor authentication scheme.

For testing and experimenting, the included yubikey script simulates one or more YubiKey devices using a config file. It also includes utility commands such as a modhex converter. See yubikey -h for details.

This also includes a command-line web service client called yubiclient. See yubiclient -h for details.

Supported by

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