dutchcoders / dutchcoders/transfer.sh

Failed do encrypt file in server side.

Open
#621 1 comment 0 reactions 0 assignees View on GitHub
Dominant language
Go
Stars
15.9k
Forks
1.6k
PR merge metrics
No merged PRs in 30d

Description

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.

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.