Skip to content

Issue with certain Pkeys causing an invalid Pkey error #190

@hmike96

Description

@hmike96

Hi we are running into a bug where our Pkeys that start with a letter for the hex value, 0xa30 for example, are causing an error on the cleanup functionality claiming the Pkey is invalid. I found the culprit code here

match := regexp.MustCompile(`0[xX]\d+`)
. If you see the regex is expecting only a leading digit such as 0x130.

Is this intended functionality? If not I will submit a bugfix for this.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions