Skip to content

NOTIFY_POLICY doesn't do anything #1212

@davidben

Description

@davidben

This can probably be removed, or at least set to zero. cryptography binds X509_V_FLAG_NOTIFY_POLICY and pyopenssl reexports it. But this doesn't do anything. All X509_V_FLAG_NOTIFY_POLICY does is call the verify callback to be called an extra time with ok=2. (Unclear why one would ever want this feature.)

But pyopenssl doesn't install a verify callback (cryptography doesn't even bind it as of pyca/cryptography#8358), so setting it is always a no-op.

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