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.