Skip to content

Check wallet signature#947

Merged
giurgiur99 merged 4 commits intomainfrom
support-for-checking-wallet-signature
May 29, 2025
Merged

Check wallet signature#947
giurgiur99 merged 4 commits intomainfrom
support-for-checking-wallet-signature

Conversation

@giurgiur99
Copy link
Contributor

Fixes #946

Changes proposed in this PR:

  • If users provides a message signature, check it
  • keep backward compatibility

@giurgiur99 giurgiur99 marked this pull request as ready for review May 28, 2025 10:55
Copy link
Member

@alexcos20 alexcos20 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm

Copy link
Contributor

@mariacarmina mariacarmina left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Maybe we can add 2 tests for validate ddo handler:

  • one for missing nonce and signature from request
  • one when nonce and signature are invalid
    Thanks!

Copy link
Contributor

@mariacarmina mariacarmina left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM!

@giurgiur99 giurgiur99 merged commit e25a483 into main May 29, 2025
13 checks passed
@giurgiur99 giurgiur99 deleted the support-for-checking-wallet-signature branch May 29, 2025 12:42
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Client signature is not validated/used

3 participants