-
-
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
S3 as primary storage encryption security #17561
Comments
Nobody is concerned about this issue ? "S3 as primary storage" is supposed to be an "enterprise solution" ... |
As pointed out in the documentation, serverside encryption does not prevent users' files from access by nextcloud administrators. So: This is intentional behavior and no bug, I think. |
I agree it's not a bug, I didn't tag it. |
What the... I trust myself and my server, but I don't trust Amazon or any S3 provider. Encrypting the file is a way for me to have them securely stored and unreadable by thirds party, while still having their quite useful "unlimited capacity". We should have a way to define where we want to store the keys imho, either on the database or on a federated configuration server if sharing the key is the point of this config This make encryption a non feature in this case, what's the point of having a lock if the key is in the keyhole?? |
Very poor security design here. I am shocked. |
I'm looking at this too and pretty confused for the same reasons as others. I'd like to be able to store the key in either the database, or a specific filesystem location. |
I have not verified it, but have a look here, keys are encrypted with secret found in instance-config... |
cc @nextcloud/security any feedback on this? Sounds like a bad security design to me. If not, please close this issue. |
botbump |
Why are legitimate issues being closed by your bots? If you cant fix it you cant fix it but don't mark these issues as closed. |
@nextcloud/security can you please have a look into this issue and provide any feedback if it is really a bad security design or not? Thanks! |
I am totally disagreed on this, do you leave your key at the door lock and hope no one going to break in? What is the logic behind? I want to confirm this after near 3 years of this ticket being opened: Does S3 encryption key still store in S3 space? |
AFAIK yes the encryption keys are still stored in the S3 bucket. |
Another year and couple of months later encryption keys are still stored in the S3 bucket, despite a very clear warning in the official documentation. I checked it on version 26.0.3 |
tbh I currently don't really understand why there is no option to store the key on the Nextcloud host, so Files are not readable for the external storage provider... |
WarningIf you have evidence of a legitimate security matter, please report it through the appropriate channel (noted at the end of this message). This thread seems to be driven by a misunderstanding over terminology. Unless I'm missing something it's creating unnecessary panic. Please read the encryption details document or at least ask questions to clarify understanding before jumping to conclusions. Unfortunately some earlier more formal responses might have prevented a vacuum of misunderstanding from continuing - or at least turned this into a more productive conversation. Alas, people get busy and this is an open source project so you either have to be patient or look for yourself (or pay Nextcloud GmbH if you need a personalized and timely response). The other reason probably for a lack of a response here is because there is already an appropriate channel for bringing up legitimate security vulnerability concerns. That is fairly typical for any large project these days. This is not that channel. With that out of the way... I am in no way speaking for anyone or officially or for any organization, but I'll give this a shot... So: There is a hierarchy of keys and key files. You can even see where what most people are thinking of as the actual keys are stored (or derived from) here: P.S. Any evidence to the contrary should not be reported here, but through the appropriate channel for security matters: |
Hi,
When we set-up Nextcloud 17 with S3 as primary storage and we enable encryption, the encryption keys are stored on the S3 space.
What is the point of encrypting files on an unsecure place, and storing the encryption key at the same place ?
Will it be fixed ? Is there a workaround about this ?
Thank you.
Flo
The text was updated successfully, but these errors were encountered: