Skip to content
This repository was archived by the owner on Apr 23, 2023. It is now read-only.
This repository was archived by the owner on Apr 23, 2023. It is now read-only.

OIDs 2.40+ are not supported #78

@danielmarschall

Description

@danielmarschall

I have looked at your implementation of Object Identifiers and found out that there is following problem:

The modulo-40 code is not correct, since it does not support the case of OID 2.40, 2.41, etc. Your modulo-40 code would encode 2.40 as 3.0.

You can find a implementation which implements 2.40+ OIDs correctly here. Testcases/checks of the DER encoding can be done here.

(Update: Ignore my initial comment about 128bit UUIDs)

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