Bug: Invalid signature
elisealix22 opened this issue · comments
Describe the bug
Reported in Discord:
when I try to use XMTP as a user (no matter on which app), I will always get an "Invalid Signature" error in the console. Can anyone help me understand why this is happening? Or is there anyway to reset my xmtp identity?
- the address: 0xbDcb6419CcB21cEe2412cCed0ac4984b6A290bF0
- I created this address to transfer the lens profile to a rainbow wallet. But shortly after the transfer the DMs stopped working. I was able to use DMs 2-3 times though before it stopped working.
- I am basically experiencing this on any app that uses XMTP, These are the apps I tried: Orb, Butterfly and Converse (the messaging app)
We believe we found the root cause of the invalid signature being created in our Flutter SDK, however we should make the JS SDK more friendly to use those signatures so people can continue to use XMTP.
Related PR: xmtp/xmtp-flutter#67
Expected behavior
Allow v1 contact bundles to use either ecdsaCompact
or walletEcdsaCompact
signatures. The bug is that we have v1 contact bundles using walletEcdsaSignature
s on the network and we only accept ecdsaCompact
currently.
Steps to reproduce the bug
- Create a contact with a v1 bundle that has a
walletEcdsaCompact
signature (previously not allowed). - Ensure that contact's address can create a
Client
and use thexmtp-js
library as expected.
@elisealix22 is this user on Twitter running into the same issue?
@yash-luna yes, I can confirm they are in the same state in our xmtp-debug
tool. Working on a fix right now & this is my highest priority.