Failed do encrypt file in server side. #24

Open
opened 2026-01-19 18:28:39 +00:00 by michael · 1 comment
Owner

Originally created by @popescuvitor on GitHub.

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.

Originally created by @popescuvitor on GitHub. 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.
Author
Owner

@apolzek commented on GitHub:

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

@apolzek commented on GitHub: I am facing the same problem. The interesting thing is that all files are getting a static size upon upload in size: 93 bytes
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: dutchcoders/transfer.sh#24