I am looking for an easy encryption program, usable from the linux command line. Preferably a single static binary. I tried scrypt (tarsnap), but it prompts for a password with no way to input as a flag. This means it cannot be used from a script.
Thank you for the help!
You could use
# Encrypt gpg --output file.gpg --encrypt --recipient email@example.com file # Decrypt gpg --output file --decrypt file.gpg
Before you can do that, you need to create a key pair and import it to your keyring. See the manual on how to do it: https://www.gnupg.org/gph/en/manual/book1.html