A triplesec wrapper (bash) for encrypting/decrypting files.
___________ .__ .__ _________ \__ ___/______|__|_____ | | ____ / _____/ ____ ____ | | \_ __ \ \____ \| | _/ __ \ \_____ \_/ __ \_/ ___\ | | | | \/ | |_> > |_\ ___/ / \ ___/\ \___ |____| |__| |__| __/|____/\___ >_______ /\___ >\___ > |__| \/ \/ \/ \/
You need to have the triplesec python library installed, to install it with pip:
$ pip install triplesec
You can get the script directly here.
The script doesn't need any superuser privileges, just access to the files.
To encrypt a file:
$ triplew enc p4ssw0rd confidential.md
To decrypt a file:
$ triplew dec p4ssw0rd confidential.md.triple
NOTE: The script automatically deletes your bash history to prevent the password to be found.
I don't know if this is a safe method of retrieving the password, so any help is appreciated.
This script is licensed with the MIT License.