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

Race condition in PANDA #170

Closed
burdges opened this issue Mar 5, 2015 · 2 comments
Closed

Race condition in PANDA #170

burdges opened this issue Mar 5, 2015 · 2 comments

Comments

@burdges
Copy link
Contributor

burdges commented Mar 5, 2015

There are odd race conditions when users are trying to connect using PANDA, seemingly repeatedly miss-typing the shared secret, and deleting the spurious contacts before the other exchange takes place.

I've managed to have a two contacts for the same person both showing as paired correctly on my end :

  • The first was deleted by the other person but I've his correct generation and can send to the server although he cannot receive from me.
  • I get DELIVERY_SIGNATURE_INVALID when sending to the second, but no generation update.

Is there maybe a race condition between PANDA and the generation update?

@burdges
Copy link
Contributor Author

burdges commented Mar 5, 2015

I reproduced the DELIVERY_SIGNATURE_INVALID with another person by deleting a contact in the middle of a PANDA key exchange, but it "healed" after one failed attempt. I'll need to read the code to figure out what's going on here.

@burdges
Copy link
Contributor Author

burdges commented Mar 28, 2015

I'll close this since it's likely whatever happened here : #135 (comment)

@burdges burdges closed this as completed Mar 28, 2015
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

1 participant