Skip to content

JSON output missing certificatePolicies and ctlPoisonByte #85

@cccs-hpham

Description

@cccs-hpham

I noticed that logs are missing the certificatePolicies and ctlPoisonByte fields from X509 extensions. I see that both fields are defined in the models: https://github.com/d-Rickyy-b/certstream-server-go/blob/master/internal/models/certstream.go#L133

The parser is missing a case for x509.OIDExtensionCertificatePolicies, but includes the case for x509.OIDExtensionCTPoison. https://github.com/d-Rickyy-b/certstream-server-go/blob/master/internal/certificatetransparency/ct-parser.go#L189

I can restore the certificatePolicies field by adding in a case statement to handle it. But for some reason, ctlPoisonByte never seems to show up.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions