Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Deprecate usage of ComparableX509 in encoding and decoding functions #204

Closed
wants to merge 3 commits into from

Conversation

ohemorange
Copy link
Contributor

@ohemorange ohemorange commented Jan 15, 2025

Largely based on #202.

Marks json_util.decode_cert and json_util.decode_csr as deprecated, and creates json_util.decode_cert_cryptography and json_util.decode_csr_cryptography in their place.

Deprecates accepting ComparableX509 in json_util.encode_cert and json_util.encode_csr, and accepts the relevant cryptography.x509 objects in their place (either is accepted as input for now).

@ohemorange ohemorange force-pushed the encode-decode branch 4 times, most recently from f74c30b to d304042 Compare January 16, 2025 00:07
@ohemorange ohemorange changed the base branch from master to main January 16, 2025 19:15
@ohemorange ohemorange closed this Jan 16, 2025
@ohemorange ohemorange requested review from a team and bmw and removed request for a team and bmw January 16, 2025 21:19
@ohemorange
Copy link
Contributor Author

Sorry wrong PR

@jvanasco jvanasco mentioned this pull request Jan 23, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant