maptek.encrypt_script utility

`-------------------------------------------------------------------------`

Vulcan - Python Script Encryption Utility

`-------------------------------------------------------------------------`

This tool allows the encryption of a Python script so that it can be run in Vulcan but is no longer editable. This utility will allow a portion at the beginning of the script to be unencrypted so that global variables, headers, setup or usage information can be publicly exposed.

The utility will automatically switch between encryption and decryption by detection of keys in the file.

Encryption key of MAPTEK will only be encryptable/decryptable by Maptek.

To perform a partial encryption on a script, put the comment # BEGIN_ENCRYPT on the line before the start of encrypted data. Multiple comments will be ignored and the first instance will be used.

usage: encrypt_script [-h] [-m MODE] source output

Positional Arguments

source

Source file to encrypt.

output

Output name for encrypted script.

Named Arguments

-m, --mode

Mode to encrypt (determines key to use) Modes: “MAPTEK”, “CLIENT”