-
-
Notifications
You must be signed in to change notification settings - Fork 4.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Primary S3 Storage Backend + Encryption problem with file size, mimetype and first download failed #3748
Comments
Facing same issue in 11.0.2. I think this is related to #3294. |
Does this use KMS or HSM for the encryption? Or does Nextcloud handle the encryption itself and just shove ciphertext into S3? |
We "shove" the encrypyted content to S3 @hungnvz can you reproduce the same problem when not using external storage? |
Do you have to bring the object back to the nextcloud server then to decrypt into cleartext in order to serve it to the user? If so, doesn't that kind of make the whole point of using AWS a little silly? Well, no... I guess you could store a copy of your key used to encrypt it in AWS, which is in turn encrypted by a second key that you can use in a Lambda function to decrypt it on demand, I guess. |
@SpiraMirabilis I used S3 with no KMS or HSM module |
I'm using Openstack Swift as primary storage on a fresh install of Nexcloud 12.0.0 and I'm experiencing the following problems as well:
|
I have to correct myself. I have the problems listed above with Nextcloud version 11.0.3. With Nextcloud version 12.0.0 I don't get Swift storage working at all as discussed here: |
The issue still exists with Nextcloud 12.0.3, but it's a bit different. I still have no preview and the wrong icon and file size listed after upload. But the first download does not fail and downloads the correct file content. After this the file size is shown correctly, but still the wrong icon and no preview. |
This was improved recently |
Steps to reproduce
Expected behaviour
Actual behaviour
Image
File prepare upload
File uploaded show incorrect
Download failed at first
Download again success and file size correct
Server configuration
Operating system: Debian 8.7
Web server: Apache 2.4.10
Database: MariaDB 10.1.21
PHP version: 7.0.15
Nextcloud version: 11.0.2
Updated from an older Nextcloud/ownCloud or fresh install: fresh install
Where did you install Nextcloud from: git
List of activated apps:
App list
The content of config/config.php:
Config report
Are you using external storage, if yes which one: no
Are you using encryption: yes
Are you using an external user-backend, if yes which one: no
Client configuration
Browser: Firefox 51.0.1 64 bit
Operating system:
Logs
Web server error log
Web server error log
Nextcloud log (data/nextcloud.log)
Nextcloud log
The text was updated successfully, but these errors were encountered: