dutchcoders / transfer.sh

Easy and fast file sharing from the command-line.
https://github.com/dutchcoders/transfer.sh
MIT License
15.08k stars 1.54k forks source link

Failed do encrypt file in server side. #621

Open popescuvitor opened 2 weeks ago

popescuvitor commented 2 weeks ago

Failed to encrypt the file server-side. When uploading, passing the header "X-Encrypt-Password: pass" the file goes corrupt to Google Drive.

The return is:

Could not decrypt file

And the encrypted file is shown corrupted as below:

-----BEGIN PGP MESSAGE-----

wy4ECQMITGz1PRKxfY7gG65P5KslUGKymjZ5oU1NV7DNysQUQB+A+yuDjO7ytV/S% 

this problem happens for files like pdf and jpeg. But for txt it works correctly.

The environment is running on docker.

apolzek commented 2 weeks ago

I am facing the same problem. The interesting thing is that all files are getting a static size upon upload in size: 93 bytes