libykpers bindings for python via cffi
Project description
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.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Close
Hashes for ykpers-cffi-0.13.0.0a1.dev2.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | b502dbacced02ede744961daced7709afefd9df69d369621bf0bce5e492093d2 |
|
MD5 | b409edbcfe4690adf73f28be9221d7e5 |
|
BLAKE2b-256 | 3b37734c9ad7d2cc93a733c59e6f87a3b5b483a7db0d94919615d952c83d3a76 |