desktop icon indicating copy to clipboard operation
desktop copied to clipboard

Normal desktop appearance even when key is not generated

Open lordi opened this issue 5 years ago • 2 comments

Even though the daemon returns identity_state = "uninitialized", syncrypt-desktop shows a normal view. Ideally it would show the key generation wizard again.

image

lordi avatar Jul 02 '19 17:07 lordi

stats endpoint returns:

{
   "identity_state" : "uninitialized",
   "slots" : {
      "closed" : 0,
      "idle" : 1,
      "total" : 1
   },
   "stats" : {
      "downloads" : 0,
      "uploads" : 0
   },
   "user_key_state" : "uninitialized"
}

lordi avatar Jul 02 '19 17:07 lordi

Looks like we don't even have a type & decoder for the identity_state property in the desktop yet. Did this get added recently? Right now the desktop code is only looking at the user_key_state property.

What are all the valid states (besides uninitialized) it can be set to? I assume its the same as user_key_state?

bakkdoor avatar Jul 03 '19 01:07 bakkdoor