-
Notifications
You must be signed in to change notification settings - Fork 3
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
Discovering identities fails if the target user has multiple claims #181
Comments
How is it failing? Are you only getting that logger warning? That only means a single discovery task is failing. This is not a failure of the whole discovery process. Were you missing any of the vertices in the gestalt after discovery? Did the process crash? What did it fail to do that it should be doing? Keep in mind, logger warnings are not explicit errors. I need more details because right now all I can see is that you had a claim to a node that was not running and just failed to process that one node. That's not a problem in the current design. |
Yes only the warning appears. And then nothing happens. The GG is not being updated for whatever reason. The discovery command completes by then doesn't do the right now. Then vault sharing could not be achieved. Whatever the problem is, it should result in a task timeout. However the program is running it should succeed with this process being understood: |
Yes a single task timeout.
The entire sharing the vault process could not be accomplished. Only after DELETING all claims except 1 did the sharing process complete. I believe the GG did not update at all. When listing the identities on the GG, it never showed
All nodes were running. There was only 2 nodes. My node and aryanjassal's node. And multiple claims from Aryan's node to his Github identity. The same node ID was used multiple times, there was no change over or rotation of the public key. |
@aryanjassal just a note your reproduction isn't the best, as this requires 2 parties to replicate. Best way to do this in the future is to just take a asciicast of the 2 parties. (You can simulate with 2 github identities). |
My diagram is actually important for achieving gestalt revocation (in MatrixAI/Polykey#715) - the discovery process must be capable of using the IdPs to query things from recent to oldest (failing that, it needs to be capable of changing its mind as it discovers new information). |
Describe the bug
If the user has claimed their github identity multiple times, then discovering the user fails with the following error:
WARN:polykey.PolykeyAgent.task v0phkmdj0tlo0146ppc9ce79g0k:Failed - Reason: ErrorTaskTimeOut
However, when I delete the second claimed gist, then the discovery command works fine once again.
To Reproduce
Expected behavior
The discovery command should work regardless of there being multiple claims.
Should it even be possible to perform multiple claims?
Screenshots
Platform (please complete the following information)
Additional context
Notify maintainers
@tegefaulkes @amydevs
The text was updated successfully, but these errors were encountered: