Introduction
Driver for Microchip’s ATECCx08 cryptographic co-processors with secure hardware-based key storage.
Note: This library was developed and tested with an ATECC608A, but should work for ATECC508 modules as well.
Dependencies
This driver depends on:
Please ensure all dependencies are available on the CircuitPython filesystem. This is easily achieved by downloading the Adafruit library and driver bundle.
Installing from PyPI
Note
This library is not available on PyPI yet. Install documentation is included as a standard element. Stay tuned for PyPI availability!
On supported GNU/Linux systems like the Raspberry Pi, you can install the driver locally from PyPI. To install for current user:
pip3 install adafruit-circuitpython-atecc
To install system-wide (this may be required in some cases):
sudo pip3 install adafruit-circuitpython-atecc
To install in a virtual environment in your current project:
mkdir project-name && cd project-name
python3 -m venv .venv
source .venv/bin/activate
pip3 install adafruit-circuitpython-atecc
Usage Example
Examples of using this module are in examples folder.
Documentation
API documentation for this library can be found on Read the Docs.
For information on building library documentation, please check out this guide.
Contributing
Contributions are welcome! Please read our Code of Conduct before contributing to help this project stay welcoming.
Table of Contents
Examples
API Reference
- API
adafruit_atecc
ATECC
ATECC.counter()
ATECC.ecdsa_sign()
ATECC.gen_key()
ATECC.idle()
ATECC.info()
ATECC.lock()
ATECC.lock_all_zones()
ATECC.locked
ATECC.nonce()
ATECC.random()
ATECC.serial_number
ATECC.sha_digest()
ATECC.sha_start()
ATECC.sha_update()
ATECC.sign()
ATECC.sleep()
ATECC.version()
ATECC.wakeup()
ATECC.write_config()
EXEC_TIME
adafruit_atecc_asn1
get_issuer_or_subject()
get_name()
get_public_key()
get_sequence_header()
get_sequence_header_length()
get_signature()
get_signature_length()
get_version()
issuer_or_subject_length()
adafruit_atecc_cert_util
CSR