Skip to main content

Useful functions for working with IEEE 2030.5 (SEP2)

Project description

SEP2-Certs

Create and verify IEEE 2030.5 (SEP2) PKI certificates

Certificate Inspection

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

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

Certificate Creation

Note the below CLI commands are only intended for testing purposes. For production certificates, additional functions and policies may be required.

Signing Certificates

Create a SERCA, and a MICA.

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

Device Certificates

To create a device certificate, first create a Key and Certificate Signing Request (CSR).

python -m sep2cert create-key --key-file certs/dev-ABC.key

Once you have the CSR, build the cert by signing with the MICA.

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

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

sep2cert-0.1.0.tar.gz (8.6 kB view details)

Uploaded Source

Built Distribution

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

sep2cert-0.1.0-py3-none-any.whl (10.4 kB view details)

Uploaded Python 3

File details

Details for the file sep2cert-0.1.0.tar.gz.

File metadata

  • Download URL: sep2cert-0.1.0.tar.gz
  • Upload date:
  • Size: 8.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.11.6 {"installer":{"name":"uv","version":"0.11.6","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Fedora Linux","version":"43","id":"","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}

File hashes

Hashes for sep2cert-0.1.0.tar.gz
Algorithm Hash digest
SHA256 ff7daf4646d0bc68d0f8780073e8d1d24204890d845cbd4729812a2175d33470
MD5 fc4544910d0e6e3c72103c58e2b49166
BLAKE2b-256 13d88a98e9853bde68e17012e747bec2d618f4b023d1d4bbfb272a8bcdfe4260

See more details on using hashes here.

File details

Details for the file sep2cert-0.1.0-py3-none-any.whl.

File metadata

  • Download URL: sep2cert-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 10.4 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.11.6 {"installer":{"name":"uv","version":"0.11.6","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Fedora Linux","version":"43","id":"","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}

File hashes

Hashes for sep2cert-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 3a071bfa4a26067e3cef0d40c084f4dab984c58e5b409440a1d17d3bfbcf31d9
MD5 bf859ed6fe09c8dc799931b3ec71e6b9
BLAKE2b-256 2ce48b05e0f98c93852365f7e10374f7549b45c8bd34672631c2936682721257

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