Using Automator or AppleScript to encrypt/decrypt with OpenSSL
3
votes
2
answers
6507
views
I would like to know how to use Automator or AppleScript to create a droplet that would compress/uncompress (tar.gz) and encrypt/decrypt with OpenSSL files and/or directories dropped in it. The workflow on what the droplet will do to encrypt would be something like this:
- Files/directory is dropped on droplet
- Files/directory is compressed
- A password prompt is presented
- OpenSSL is used to encrypt file, file is renamed to *.encrypted
To decrypt:
- File is dropped on droplet
- If file is named *.encrypted, a password prompt is presented. If not, do encrypt workflow
- File is decrypted, and renamed
- Files is uncompressed
Anyone?
Asked by user268
May 4, 2012, 10:17 AM
Last activity: Apr 10, 2020, 03:15 PM
Last activity: Apr 10, 2020, 03:15 PM