To run the script follow the steps:
- Copy the entire
MCSDecrypter_jar
directory to a suitable location and cd into the directorycd Disarm-Automation-Scripts/MCSDecrypter/out/artifacts/MCSDecrypter_jar
- Output Folder should contain a folder named tempDecrypt
- Run the MCSDecrypter.jar script
Example:
java -jar MCSDecrypter.jar <path to /Working/SurakshitKml directory> <decrypted destination directory> <path to volunteer private key> <path to volunteer public key>
java -jar MCSDecrypter.jar /home/bishakh/DMS/Working/SurakshitKml /home/bishakh/DMS/decrypted /home/bishakh/DMS/Working/pgpKey/pri_volunteer.bgp /home/bishakh/DMS/Working/pgpKey/pub_volunteer.bgp
java -jar DiffPatcher.jar <path to SurakshitDiff> < path to LatestKML Output> < path to SurakshitKml - decrypted folder>