Leaving aside the fact that this setup does not look like itâs supported in any way, Iâm still wondering whatâs the point of all this? If you use the same database, and copy/sync all files, whatâs the reason of having 2 instances?!
I donât have experience with SSE, so I canât help you there, sorry.
The server side encryption is only useful if you use storage at an external hoster you do not trust. If you host the data for your own and the same admins (Nextcloud and data), there is no security advantage even if this is what people like to sell it as. Admins of the Nextcloud can get the encrypted data and decrypt it.
The primary purpose of the Nextcloud server-side encryption is to protect usersâ files on remote storage, such as Dropbox and Google Drive, and to do it easily and seamlessly from within Nextcloud.
Server-side encryption separates encryption of local and remote storage. This allows you to encrypt remote storage, such as Dropbox and Google, without having to also encrypt your home storage on your Nextcloud server.
For real security you must use End to End Encryption. Then you will not be able to share the files via the listed way. Also you can only use it in Nextcloud clients and not in Nextcloud Web GUI. Unlike other software providers, there is no Javascript-based encryption and decryption in the web-based Nextcloud application for security reasons.
How sync encryption keys? so that NC over VPN and NC that is public can see same shared files. As mentioned earlier, without server side encryption both Talk are working fine and seems like same.
Agreed. Our self managed VPS is hosted over the cloud in hosting provider. As cases of hacking of servers are increasing, so we have decided to use Server Side Encryption. In case server is access by some hacker, at least our files secured. Everything can happen actually despite of all security measures firewalls etc.
That is not true. If the hacker hacks your Nextcloud server he can decrypt all files. Maybe first he must copy all (files and database) to another server to be less noticeable. Not tested if it works also.