8000 Should we remove der_lax decoding? · Issue #168 · rust-bitcoin/rust-secp256k1 · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content
Should we remove der_lax decoding? #168
Open
@elichai

Description

@elichai

The exact implementation in the der_lax() function is very bitcoin specific, and it's a "demo code" in libsecp256k1.

I do not think this library is meant for bitcoin's consensus verification. if someone wants to verify an old bitcoin signature he can either implement the weird strict der_lax we have or just grab some DER deserializer off the shelf that won't match bitcoin's consensus but will do the job.

@apoelstra any thoughts?

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

      0