Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Normal desktop appearance even when key is not generated #26

Open
lordi opened this issue Jul 2, 2019 · 2 comments
Open

Normal desktop appearance even when key is not generated #26

lordi opened this issue Jul 2, 2019 · 2 comments

Comments

@lordi
Copy link
Contributor

lordi commented Jul 2, 2019

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
Copy link
Contributor Author

lordi commented Jul 2, 2019

stats endpoint returns:

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

@bakkdoor
Copy link
Member

bakkdoor commented Jul 3, 2019

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?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants