Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
Little script to encrypt + upload and download + decrypt files. Uses gpg and
transfer() {
echo $(gpg -ac --cipher-algo AES256 --sign --force-mdc < $1) | curl$1 -T -
recover() {
curl $1 | gpg -ad
alias transfer=transfer
alias recover=recover
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.