https://github.com/chorusone/yubihsm
YubiHSM 2 connector service client
https://github.com/chorusone/yubihsm
Last synced: 11 months ago
JSON representation
YubiHSM 2 connector service client
- Host: GitHub
- URL: https://github.com/chorusone/yubihsm
- Owner: ChorusOne
- Created: 2018-06-25T14:48:41.000Z (almost 8 years ago)
- Default Branch: master
- Last Pushed: 2025-05-19T06:11:56.000Z (about 1 year ago)
- Last Synced: 2025-05-19T07:27:24.867Z (about 1 year ago)
- Language: Python
- Size: 41 KB
- Stars: 0
- Watchers: 24
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
Python library and tests for the YubiHSM 2.
This library is compatible with both Python 2 and 3.
This libary communicates with the YubiHSM 2 connector daemon, which must already be running.
See test/test_yubihsm.py for usage examples.
# Quick reference commands:
Run tests: `python setup.py test`
Run test group: `python setup.py test -s test.test_yubihsm.class_xxx`
Run test xxx: `python setup.py test -s test.test_yubihsm.class_xxx.test_yyy`
Access to the device requires proper permissions, so either use sudo or setup a udev rule.
Installation from the repository: `python setup.py install`
Installation from the repository using pip: `pip install .`
# Source releases for distribution:
Build a source release: `python setup.py sdist`
Installation from a source .tar.gz using pip: `pip install dist/yubihsm..tar.gz`