3 ms·
Neat idea, and props for the https. Are the files encrypted on the server?
by markbnj 11y ago
Neat idea, and props for the https. Are the files encrypted on the server?
- egor-n 11y agoThere's an example on how to encrypt the files before sending them to 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
- dwetterau 11y agoIt doesn't appear so, no. The raw bytes seem to be dumped to temp files, local storage, or S3 [1][2] without mention of any sort of encryption step (or reading of a secret somewhere). As mentioned below, you could encrypt before uploading of course. Someone please correct me if I misread though. [1] https://github.com/dutchcoders/transfer.sh/blob/master/transfersh-server/handlers.go#L293 https://github.com/dutchcoders/transfer.sh/blob/master/trans... [2] https://github.com/dutchcoders/transfer.sh/blob/master/transfersh-server/storage.go#L72 https://github.com/dutchcoders/transfer.sh/blob/master/trans...