Skip to content

sig.verify(sigValueHex) returns true if sigValueHex contains extra non-hex chars #101

@undavide

Description

@undavide

Hello,
following the Signature tutorial I've found that the roundtrip check works as expected.
Yet, if I log the var sigValueHex = sig.sign(); before passing it on to the verification and add an extra char, say a z to it, the following sig.verify(sigValueHex) returns true anyway - which IMHO should not.
Thank you

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions