Neat idea, and props for the https. Are the files encrypted on the server?
# Encrypt files with password using gpg
$ cat /tmp/hello.txt|gpg -ac -o-|curl -X PUT --upload-file "-" https://transfer.sh/test.txt
# Download and decrypt
$ curl https://transfer.sh/1lDau/test.txt|gpg -o- > /tmp/hello.txt gpg ... < hello.txt | curl ...
Its stdin will be the file instead of a pipe, but few programs care about the difference and fewer still in such a way that you'd prefer to use the pipe.[1] https://github.com/dutchcoders/transfer.sh/blob/master/trans...
[2] https://github.com/dutchcoders/transfer.sh/blob/master/trans...