Skip to content

X509Extension constructor documentation is misleading #1173

Description

@davidben

X509Extension documentation says it takes a "value (bytes) – The value of the extension.", which reads as it if takes the raw bytes of the extension. (The relevant field in X.509 is even called extnValue.) However, it seems to actually pass it into OpenSSL's ad-hoc string-based config-file syntax for specifying extensions.
https://www.pyopenssl.org/en/stable/api/crypto.html#x509extension-objects

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions