Skip to content

Discovering identities fails if the target user has multiple claims #181

@aryanjassal

Description

@aryanjassal

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

  1. Authenticate with Github
  2. Claim identity
  3. Discovery works fine
  4. Claim identity again
  5. Discovery fails
  6. Delete gist resultant from second claiming
  7. Discovery works

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)

  • Device: Acer Spin 3 (SP314-54N)
  • OS: Arch Linux (Kernel 6.8.5-arch1-1 64-bit)
  • Version: 1.2.3-alpha.4

Additional context

I think this can be a solution

image

Notify maintainers

@tegefaulkes @amydevs

  • Also notify @CryptoTotalWar once this bug is fixed so a mention can be made in the pk docs

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions