fireproof icon indicating copy to clipboard operation
fireproof copied to clipboard

key mismatch on connect

Open jchris opened this issue 1 year ago • 1 comments

We need to decide on the best practice for what to do when a user connects to a cloud database for the first time but already has local data. The local data will have a different key from the cloud database, so it throws an error.

The current best option I can think of is to have the remote connect to a new database, and then copy the events from the local into the new database. But without proper API consideration this could end up unexpectedly sharing user data with a shared cloud instance.

jchris avatar Sep 18 '23 17:09 jchris

defer to remote key should be the default option, but it should be document that security-concious apps should configure it otherwise

jchris avatar Oct 06 '23 13:10 jchris