-
Notifications
You must be signed in to change notification settings - Fork 25
Description
From #448:
Currently, Gridsync operates under the assumption that Recovery Keys will not to be shared between multiple devices -- in other words, that a given Recovery Key will be loaded/used only in situations in which the original device (i.e., the one on which the Recovery Key was created) has been lost or is otherwise inaccessible to the user. Nevertheless, it remains possible for the original device to be restored -- or for the same Recovery Key to be loaded on multiple devices -- such that multiple separate devices could end up writing to the same remote location. Given Tahoe-LAFS's known limitations with uncoordinated writes, this could lead to errors or data-loss.
In addition to merely warning users about the risks of using the same Recovery Key across multiple/separate devices, Gridsync should implement additional measures to prevent the the same Recovery Key (and/or the underlying collection of writecaps that comprise it) from being written to by multiple parties. This might involve a strongly-enforced Recovery Key rotation scheme (in which users might be prompted to create a new Recovery Key -- and/or unlink or otherwise destroy the contents of the old one -- upon completing the recovery process).