Skip to content

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

License

Notifications You must be signed in to change notification settings

aguinane/SEP2-Tools

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

27 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

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

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages