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

appPrivateKey returned from the extension, app, and Leather is different #853

Open
0xc22b opened this issue Feb 18, 2025 · 1 comment
Open
Assignees
Labels
bug Something isn't working

Comments

@0xc22b
Copy link

0xc22b commented Feb 18, 2025

Severity

  • Major (Unable to proceed on a journey)

Summary

Using Justnote as an example, when signing in with the Xverse extension, the Xverse app, and the Leather wallet, they return different appPrivateKey, causing different Gaia hub bucket addresses.

Reproduce steps

On the desktop, signing with the Xverse extension

  1. On Chrome, visit justnote.cc
  2. Click the Sign in button
  3. Choose Sign in with a Stacks Wallet

On Android or iOS, signing with the Xverse app

  1. Open Xverse app
  2. Choose the web view tab
  3. Enter justnote.cc in the URL bar
  4. Tap Sign in button
  5. Choose Sign in with a Stacks Wallet

Expected result

They provide the same appPrivateKey, so we have the same Gaia hub bucket address, and users can see the same data.

Actual result

They return different appPrivateKey.

Remark

The leather wallet also returns different appPrivateKey. I'm using [email protected].

@0xc22b 0xc22b added the bug Something isn't working label Feb 18, 2025
@m-aboelenein m-aboelenein self-assigned this Feb 19, 2025
@0xc22b
Copy link
Author

0xc22b commented Feb 20, 2025

I am also concerned about what would happen to current users. I believe it isn't difficult to fix the appPrivateKey to be the same between the Xverse app, extension, and Leather. But when current users upgrade their apps, they won't be able to access their current data anymore.

Is there a way to also mitigate this?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants