Skip to content

Instantly share code, notes, and snippets.

#! /usr/bin/env python
# hg658c.wordpress.com
"""
To decrypt encrypted values in the config, use
echo -n "Lp0xkiAANwcYpVPbI3D/Mg==" | base64 -d | openssl enc -d -aes-128-cbc
-K DBAF3361E81DA0EF5358A1929FC90A80 -iv 629EA150533376741BE36F3C819E77BA -nopad
"""
import sys
import os
from binascii import hexlify, unhexlify