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.0.7

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.0.7
File Size Uploaded
optigatrust-1.0.7.tar.gz 35.0 kB Details

Built distribution (wheel)

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

Total release size: 440.1 kB

Release files / optigatrust-1.0.7.tar.gz

Download URL optigatrust-1.0.7.tar.gz
Size 35.0 kB
Tags Source
SHA-256 checksum
How to use checksums
a2e8e3f83f73063e9a9b1672ad79ff04473093295b7169415e90d402c3176de2
BLAKE2b-256 checksum
How to use checksums
cfecd62ee25cdb5f355184f41945ee8654236be176a7bcf5f7732cc4812a0fd8
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.3.0 pkginfo/1.7.0 requests/2.24.0 setuptools/41.2.0 requests-toolbelt/0.9.1 tqdm/4.57.0 CPython/3.8.1

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

Download URL optigatrust-1.0.7-py3-none-any.whl
Size 405.1 kB
Tags Python 3
SHA-256 checksum
How to use checksums
329affda3740c31d088c8c83d631bab6e8cf1b1f378062cbe5d020b976de7df1
BLAKE2b-256 checksum
How to use checksums
9fdcd5accc2acf524aaa9018c234e6654cda7b10eddca0d161fcb4eee2405957
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.3.0 pkginfo/1.7.0 requests/2.24.0 setuptools/41.2.0 requests-toolbelt/0.9.1 tqdm/4.57.0 CPython/3.8.1

Release history Release notifications | RSS feed

1.5.1

2 release files

1.5.0

2 release files

1.4.3

2 release files

1.4.2

2 release files

1.4.1

2 release files

1.4.0

2 release files

1.3.8

2 release files

1.3.7

2 release files

1.3.6

2 release files

1.3.5

2 release files

1.3.4

2 release files

1.3.3

2 release files

1.3.2

2 release files

1.3.1

2 release files

1.3.0

2 release files

1.2.7

2 release files

1.2.6

2 release files

1.2.4

2 release files

1.2.3

2 release files

1.2.2

2 release files

This release

1.0.7 This release

2 release files

1.0.6

1 release file

1.0.5

1 release file

1.0.4

2 release files

1.0.3

2 release files

0.6.11

2 release files

0.6.10

2 release files

0.6.9

2 release files

0.6.8

2 release files

0.6.7

2 release files

0.6.6

2 release files

0.6.5

2 release files

0.6.3

2 release files

0.6.2

2 release files

0.6.1

2 release files

0.4.7

2 release files

0.4.6

1 release file

0.4.5

2 release files

0.4.4

2 release files

0.4.3

2 release files

0.3.8

2 release files

0.3.7

2 release files

0.3.6

2 release files

0.3.5

2 release files

0.3.4

2 release files

0.3.3

2 release files

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