Skip to main content

ykpers-cffi

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.

Metadata

Release files for ykpers-cffi 0.14.0.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for ykpers-cffi 0.14.0.0
File Size Uploaded Provenance Actions
ykpers-cffi-0.14.0.0.tar.gz 3.3 kB Without provenance Details for ykpers-cffi-0.14.0.0.tar.gz

Release files / ykpers-cffi-0.14.0.0.tar.gz

Download URL ykpers-cffi-0.14.0.0.tar.gz
Size 3.3 kB
Tags Source
SHA-256 checksum
How to use checksums
06c943485c5dd0b495342647e139b4710a38aa3bfe6f09fe7901f7f447fa2de2
BLAKE2b-256 checksum
How to use checksums
526faa9e518d8d1c2e6541dfcdfb035bbaa6e1d712deeba0c67d726daa484bcc
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Security for ykpers-cffi 0.14.0.0

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page