Skip to main content
Pre-release

This release is a pre-release and may not be stable for production use.

Extremely small bindings to libykpers for communicating with a YubiKey over USB. The features are currently “whatever I need at the time.” Feel free to make suggestions about what to do next. Here’s approximately what it can do at the moment:

from ykpers import YubiKey

yk = YubiKey.open_first_key()
print 'yubikey {0.versionMajor}.{0.versionMinor}'.format(yk.get_status())
print 'slot 1:', yk.hmac_challenge_response('hi').encode('hex')
print 'slot 2:', yk.hmac_challenge_response('hi', slot=2).encode('hex')

Why not python-yubico?

It only runs on linux and reimplements what libykpers already does.

Download files

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

Source Distribution

ykpers-cffi-0.13.0.0a2.tar.gz (3.3 kB view details)

Uploaded Source

File details

Details for the file ykpers-cffi-0.13.0.0a2.tar.gz.

File metadata

File hashes

Hashes for ykpers-cffi-0.13.0.0a2.tar.gz
Algorithm Hash digest
SHA256 71d69725964efbc982ae005b49c3d35d0ebfa41a3c45251e2faea5a2a83ad00c
MD5 2f5504e2e054468a978a77512f407316
BLAKE2b-256 0a945d86d658a5fd5f433a0ce095cbe50bad97e869eb4b93f25c7fdeca6e0bac

See more details on using hashes here.

Supported by

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