While we encrypt everything client-side in Brave, Chromium supports non-encrypted Sync as well. We should therefore add a server-side check to detect any client bugs that end up sending unencrypted data to the backend.
This could simply involve checking this field:
|
optional EncryptedData encrypted = 1; |