Skip to content

usecallmanagernz/certutils

Repository files navigation

Python Lint Shell Lint Version Licence

Certificate Utilities

Utilities to manage .tlv, .sgn and .enc.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