keymanager: define bootstrapping sequence
until now, soledad/keymanager bootstrapping were done in an online scenario. moving to the new backend, the offline possibility is contemplated.
however, there's a corner case in keymanager bootstrapping where we need to get online (to be sure that we won't be generating a second pair of keys).
I open this issue to discuss a bootstrapping protocol for keymanager.
What about the following:
HAS_LOCAL_KEY? YES: INIT COMPLETED. NO: INITIAL_SYNC_DONE? YES: GENERATE_KEY_PAIR NO: WAIT_UNTIL_CAN_SYNC
@meskio: do you think this will be enough?
(from redmine: created on 2016-03-01)