Skip to main content

optigatrust Python library

A ctypes based Python wrapper to work with the OPTIGA™ Trust security solutions.

PyPI

Features

optigatrust is a library which helps to manage the OPTIGA Trust family of security solutions Find more about these products here:

Documentation

Required Hardware

  • Any of the following
    • OPTIGA™ Trust M/Charge Evaluation Kit
    • OPTIGA™ Trust Personalisation Board (SP005405452), or any FTDI USB-HID/I2C Converter board
    • Raspberry Pi + Shield2Go RPi Adapter
  • OPTIGA™ Trust X/M/Charge sample or a Security Shield2Go

Installation

$ pip install optigatrust

Examples

import optigatrust as optiga
from optigatrust import objects, crypto
import json

chip = optiga.Chip()
chip.current_limit = 15

ecc_key_0 = objects.ECCKey(0xe0f0) 

print('Pretty metadata: {0}'.format(json.dumps(ecc_key_0.meta, indent=4)))

public_key, private_key = crypto.generate_pair(ecc_key_0, curve='secp256r1', export=True)

print('Pulic Key = {0}, Privat key = {1}'.format(public_key, private_key))

License

optigatrust is licensed under the terms of the MIT license. See the LICENSE file for the exact license text.

Metadata

Release files for optigatrust 1.2.3

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

Source distribution (sdist)

Source distribution for optigatrust 1.2.3
File Size Uploaded Provenance Actions
optigatrust-1.2.3.tar.gz 404.9 kB Without provenance Details for optigatrust-1.2.3.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for optigatrust 1.2.3
File Interpreter ABI Platform Actions
optigatrust-1.2.3-py3-none-any.whl Python 3 none any Details for optigatrust-1.2.3-py3-none-any.whl

Total release size: 817.7 kB

Release files / optigatrust-1.2.3.tar.gz

Download URL optigatrust-1.2.3.tar.gz
Size 404.9 kB
Tags Source
SHA-256 checksum
How to use checksums
0a1194c30ed2bd1f8e448d8f1b5b85c0eeb35ea3d3bd051e6a91131e05ac424b
BLAKE2b-256 checksum
How to use checksums
0a8cd1b7fec951c4e261172d6e1cda8d8ef13b21783df1b16894986c7f2fcb5d
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.4.2 importlib_metadata/4.6.4 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.1 CPython/3.9.6

Release files / optigatrust-1.2.3-py3-none-any.whl

Download URL optigatrust-1.2.3-py3-none-any.whl
Size 412.8 kB
Tags Python 3
SHA-256 checksum
How to use checksums
d1837ebe2496ac80160bb4908da797d0a4f8c1760515a1dc16ca2c29a4c2364a
BLAKE2b-256 checksum
How to use checksums
5ee059d12058b8f333c285a4893f1c2412b72f650f697b12f52e8ec8cc035df8
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.4.2 importlib_metadata/4.6.4 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.1 CPython/3.9.6

Security for optigatrust 1.2.3

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.

Release history Release notifications | RSS feed

This release

1.2.3 This release

2 release files No provenance

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