Skip to content

Missing sanity checks for "All spend paths must require a signature" in descriptor parsing #81

@erickcestari

Description

@erickcestari

Embit is missing validation to ensure that all spend paths in parsed descriptors require a signature, allowing potentially unsafe descriptors to be accepted that should be rejected.

When parsing descriptors, embit should validate that all spend paths require a signature. Currently, embit accepts descriptors that don't meet this requirement, while other implementations like Rustminiscript and bitcoin core correctly reject them.

test case:
wsh(ripemd160(4c6119129493f40c5332f07efd0dfb3eae005424))

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