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

[PR #331/3f40795a backport][stable-1] Extension parsing: add new fallback code which uses the new cryptography API #345

Conversation

patchback[bot]
Copy link

@patchback patchback bot commented Nov 22, 2021

This is a backport of PR #331 as merged into main (3f40795).

SUMMARY

This adds a fallback to extension parsing which uses the new API from pyca/cryptography#6346. I've used the new code as a fallback since it is potentially a breaking change (as announced as upcoming eventually in the changelog for 2.0.0). Switching to it as a default should only happen in a new minor release, while this can (and should) go into a bugfix release.

ISSUE TYPE
  • Bugfix Pull Request
COMPONENT NAME

get_certificate
openssl_csr_info
x509_certificate_info

…phy API (#331)

* Add new code as fallback which re-serializes de-serialized extensions using the new cryptography API.

* Forgot Base64 encoding.

* Add extension by OID tests.

* There's one value which is different with the new code.

* Differences in CI.

* Working around older Jinjas.

* Value depends on which SAN was included.

* Force complete CI run now since cryptography 36.0.0 is out.

ci_complete

(cherry picked from commit 3f40795)
@felixfontein felixfontein merged commit 3e6815d into stable-1 Nov 22, 2021
@felixfontein felixfontein deleted the patchback/backports/stable-1/3f40795a98a7fae560ea2edd544276eb83a2cd45/pr-331 branch November 22, 2021 07:54
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