AlphaWallet / alpha-wallet-ios

An advanced Ethereum/EVM mobile wallet
https://www.alphawallet.com
MIT License
595 stars 367 forks source link

DAPP Failed to authorize NFT SignPersonalMessage #2922

Open EvnLi opened 3 years ago

EvnLi commented 3 years ago

When I entered (https://www.ibox.com/zh-cn/) in the DAPP browser to authorize the purchase, I found the SignPersonalMessage signature data, but the authorization failed heco

hboon commented 3 years ago

Thanks for reporting, @EvnLi. Signing itself seems to be ok. But when the dapp tries to verify the signature, it seems to fail here:

const e = await a.a.linkWallet({
    walletAddress: t,
    signature: s.data
});

with:

{"code":120,"data":null,"message":"验签失败","msgId":"","success":false}

I can't figure out what's wrong with this. Are you the developer or do you know how to reach the developer with this message?

EvnLi commented 3 years ago

Thank you for your reply. There is no problem in other wallets. Maybe it is a compatibility problem

hboon commented 3 years ago

I'll try to contact the developers and work this out. Stay tuned.