Skip to content

aelin-rebrain/certutils

 
 

Repository files navigation

Python Lint Shell Lint Version Licence

Certificate Utilities

Utilities to manage .tlv and .sgn files.

  • tlvfile - Parse or build .tlv files (eg: ITLFile.tlv).
  • sgnfile - Parse or build .sgn files.
  • stripsgn - Remove .sgn header from a firmware file.
  • certhash - Hash an x509 certificate and output as base64.
  • enccnf - Encrypt or decrypt SEPMAC.cnf.xml files.
  • mkcert - Make self-signed X509 certificates.

See Device Security for example usage.

Requirements

The following non-standard Python modules are required: crytography and lxml.

You can use the packages provided by your OS distribution or run sudo pip3 install -r requirements.txt to satisfy those dependancies.

Installation

sudo cp certhash enccnf mkcert sgnfile stripsgn tlvfile /usr/local/bin

Optionally, install the bash tab-completion helpers.

sudo cp bash_completion /etc/bash_completion.d/usecallmanagernz-certutils

About

Utilities to manage .tlv and .sgn files.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Python 89.3%
  • Shell 10.7%