Skip to content

EIPSigned response is not same as web and android #883

@shoaibhassan01

Description

@shoaibhassan01

What happened?

I am trying to sign a Key Value by converting it to Data but it has very different implementation as compared to android and python resulting into different r,s and v values,
Can we have a sample example for managing a struct or key value so that i can have same results.

What are the steps to reproduce?

Create Data fromKey Value

What is the expected behavior?

Corrent r,s and v values

What is the error thrown?

Not matching results.

What's the stack trace said?

nothing,

OS version

iOS 18

Library version

3.3.0

Activity

yaroslavyaroslav

yaroslavyaroslav commented on Feb 13, 2025

@yaroslavyaroslav
Collaborator

Thank you for filling this. We're still on our way to return from the oblivion, but we're not there yet. So the fix whatever it is would take month or two to be applied.

SYhotmail

SYhotmail commented on Apr 16, 2025

@SYhotmail

@shoaibhassan01 hi, can you elaborate. provide some sample code. I will take a look...
I made sample code in JS & on swift. Signatures of personal messages are different.
https://gist.github.com/SYhotmail/799d313eaf5edaf280f7f58f7de26384

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workinggood first issueGood for newcomers

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

      Development

      No branches or pull requests

        Participants

        @yaroslavyaroslav@shoaibhassan01@SYhotmail

        Issue actions

          EIPSigned response is not same as web and android · Issue #883 · web3swift-team/web3swift