feisty meow concerns codebase  2.140
one_line_cert_to_pem Namespace Reference

Functions

None split_lines (str unsplit_line)
 
None main ()
 

Detailed Description

Takes a certificate from the awful, often used form of a single line of text and turns
it into a real PEM file.
This assumes the input file has one single line of text that needs to be formatted
appropriately.

author: chris koeritz

Function Documentation

◆ main()

None one_line_cert_to_pem.main ( )
Main function

Definition at line 34 of file one_line_cert_to_pem.py.

References open, and split_lines().

Referenced by versions::version_ini.one_stop_version_stamp().

◆ split_lines()

None one_line_cert_to_pem.split_lines ( str  unsplit_line)
Takes text as input and breaks it up at the prescribed 64 character boundaries
used by PEM files.

Definition at line 18 of file one_line_cert_to_pem.py.

Referenced by main(), and filesystem::directory_tree.text_form().