Skip to content

Ensure Minimal DER Encoding #40

@Srayman

Description

@Srayman

ASN1 encoding should be valid DER, which has stricter requirements than BER. Node project was updated to validate that encoding integers after decoding results in the same original input to verify that the input was encoded properly. See https://github.com/KeetaNetwork/node/pull/955 for how it handles validating integer decoding.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions