Skip to content

Remove unused CFFI bindings without specific consumer#14798

Open
alex wants to merge 1 commit intopyca:mainfrom
alex:remove-unused-cffi-bindings
Open

Remove unused CFFI bindings without specific consumer#14798
alex wants to merge 1 commit intopyca:mainfrom
alex:remove-unused-cffi-bindings

Conversation

@alex
Copy link
Copy Markdown
Member

@alex alex commented May 4, 2026

Drops bindings whose git history shows no specific user/consumer request — they were added in bulk during the cffi 1.0 conversion or as generic library setup, and are no longer referenced by cryptography itself. Bindings that were explicitly requested by external consumers (pyOpenSSL, mitmproxy, Tribler, etc.) are retained.

Also removes the now-unused USE_CONST_X509 env var plumbing in build.rs, since the X509V3_CTX struct that depended on it is gone.

Drops bindings whose git history shows no specific user/consumer
request — they were added in bulk during the cffi 1.0 conversion or as
generic library setup, and are no longer referenced by cryptography
itself. Bindings that were explicitly requested by external consumers
(pyOpenSSL, mitmproxy, Tribler, etc.) are retained.

Also removes the now-unused USE_CONST_X509 env var plumbing in
build.rs, since the X509V3_CTX struct that depended on it is gone.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
@alex alex force-pushed the remove-unused-cffi-bindings branch from f82d82f to 5006e58 Compare May 5, 2026 11:23
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

1 participant