Skip to main content

Useful functions for working with IEEE 2030.5 (SEP2)

Project description

SEP2-Tools

This library provides some useful functions for working with IEEE 2030.5 (SEP2).

Install

pip install sep2tools

Certificate Creation

Note the below CLI commands are only approproiate for testing purposes. For production certificates, use the actual functions to set appropriate policies and settings.

Create a SERCA, and a MICA.

python -m sep2tools create-serca
python -m sep2tools create-mica certs/serca.pem certs/serca.key

To create a device certificate, first create a Key and CSR. And then sign using the MICA.

python -m sep2tools create-key --key-file certs/dev-ABC.key
python -m sep2tools create-cert certs/dev-ABC.csr certs/mica.pem certs/mica.key --pen 12345 --serno ABC

Certificate Inspection

Get the LFDI for a certificate. It will also do some validation checks.

python -m sep2tools cert-lfdi certs/dev-ABC-cert.pem

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

sep2tools-0.2.1.tar.gz (15.8 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

sep2tools-0.2.1-py3-none-any.whl (14.0 kB view details)

Uploaded Python 3

File details

Details for the file sep2tools-0.2.1.tar.gz.

File metadata

  • Download URL: sep2tools-0.2.1.tar.gz
  • Upload date:
  • Size: 15.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: python-requests/2.25.1

File hashes

Hashes for sep2tools-0.2.1.tar.gz
Algorithm Hash digest
SHA256 79a1c6213aa2e682d4f1c7e9a872b05627ec22e9160f64b7b1d0bae02d11eb9c
MD5 4a43d4c436578cdb0c1d3fd9dc11d5e4
BLAKE2b-256 0e3523e3e7e7a59e203d262b529459dbe119a9731c0f88b7ece1646b505422b6

See more details on using hashes here.

File details

Details for the file sep2tools-0.2.1-py3-none-any.whl.

File metadata

  • Download URL: sep2tools-0.2.1-py3-none-any.whl
  • Upload date:
  • Size: 14.0 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: python-requests/2.25.1

File hashes

Hashes for sep2tools-0.2.1-py3-none-any.whl
Algorithm Hash digest
SHA256 6da5acf5597e17c5620f7d35ca790c81635e3f0888649a98e41eb4dc5a3ced6c
MD5 ceb87d2cb80a055e6a681423b115e105
BLAKE2b-256 561aa8668ec2220da98430ac554c62135cf5626c33471dd372d3fe529ab53f09

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page