You need pyjks package to use this script.
pip install pyjks
This program decrypts SAP SecStore.key and SecStore.properties
files and encrypted data from the J2EE_CONFIGENTRY table.
SecStoreDec.py can work in two modes:
dss: Decrypt SecStore (used to decyptSecStore.propertieswithSecStore.key)dd: Decrypt raw data
If SecStore.key and SecStore.properties files are located in the
same directory you can omit them as arguments:
python SecStoreDec.py dss
else you can set any path you like:
python SecStoreDec.py dss ../SecStore.properties ../SecStore.key
The second mode is used to decrypt encrypted data in
J2EE_CONFIGENTRY. You need the keyphrase and the encrypted data in
hex format. Example:
python SecStoreDec.py dd -k MYKEYPHRASE -d 01011c...
NB: The keyphrase is obtained via decryption of the
SecStore.properties file