Metadata-Version: 2.1
Name: pypicohsm
Version: 1.0
Summary: Pico HSM for Python
Home-page: https://github.com/polhenarejos/pypicohsm
Author: Pol Henarejos
Author-email: pol.henarejos@cttc.es
License: GPLv3
Classifier: Development Status :: 5 - Production/Stable
Classifier: Environment :: Plugins
Classifier: Intended Audience :: System Administrators
Classifier: License :: OSI Approved :: GNU General Public License v3 (GPLv3)
Classifier: Operating System :: POSIX :: Linux
Classifier: Programming Language :: Python
Classifier: Programming Language :: Python :: 2
Classifier: Programming Language :: Python :: 2.7
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.6
Classifier: Programming Language :: Python :: 3.7
Classifier: Programming Language :: Python :: 3.8
Classifier: Programming Language :: Python :: 3.9
Classifier: Topic :: Security
Classifier: Topic :: System :: Installation/Setup
Classifier: Topic :: System :: Networking
Classifier: Topic :: System :: Systems Administration
Classifier: Topic :: Utilities
Requires-Python: >=2.7, !=3.0.*, !=3.1.*, !=3.2.*, !=3.3.*, !=3.4.*, !=3.5.*
Description-Content-Type: text/markdown
Requires-Dist: setuptools
Requires-Dist: cryptography>=3.3
Requires-Dist: base58
Requires-Dist: pyusb
Requires-Dist: pycvc
Requires-Dist: pyscard

# pypicohsm
Pico HSM tools for Python

## Introduction

Pico HSM firmware allows to convert a Raspberry Pico into a Hardware Security Module (HSM), to store private and secret keys, perform signing and ciphering operations, without exposing the key.

Pico HSM is compatible with PKCS-11 interface and it can be used with multiple tools, such as OpenSC or SmartCardShell 3. Nevertheless, pypicohsm is an extended interface to perform advanced operations, such as ChaChaPoly encryption, HMAC, PBHKDF2 or AES CBC, ECB, CFG, OFB and XTS, amongst others.

## Install

```
pip install pypicohsm
```

## Usage

pypicohsm can be used as a Python module (PicoHSM.py) or through command line.
