Extracting and decrypting encrypted logs requires the open source SECCURE ECC public key encryption toolset under the GNU Lesser General Public License v3 (LGPL).
Source packages and documentations can be found at: http://point-at-infinity.org/seccure/
See the installation instructions for the Python SECCURE library at:
The Authentic8 API returns encrypted log data as a serialized JSON object. The encrypted log data is returned as a key-value pair with “enc” as the key and the encrypted, base64 encoded log data as the value.
Steps to decrypt encrypted logs:
Refer to the details in Authentic8 API Log Extraction Reference Scripts for extracting encrypted logs using the Authentic8 API.
The output is base64 encoded so the “enc” value needs to be decoded before decryption.
base64 -D -i <inputfile> -o <outputfile>
Decrypt the encrypted log data using your private key:
seccure-decrypt -c p256 -m 80 -i <inputfile> -o <outputfile> -F <private_key.txt>
Please contact Support if you have any additional questions and/or require further information.