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

Support cryptography 35.0.0 for the openssl_pkcs12 module #296

Merged

Conversation

felixfontein
Copy link
Contributor

@felixfontein felixfontein commented Oct 3, 2021

SUMMARY

Follow-up to #294, which right now includes #294. Will rebase once #294 is merged.

Fixes #293.

Due to the friendly name being stored as the 'alias' of the X.509 cert, which isn't supported by cryptography's Rust code, we need to re-parse the PKCS#12 and extract the friendly name from the OpenSSL X.509 object directly. Once pyca/cryptography#6348 or something similar lands in cryptography we can get rid of this crutch...

ISSUE TYPE
  • Bugfix Pull Request
COMPONENT NAME

openssl_pkcs12

@felixfontein felixfontein changed the title [WIP] Support cryptography 35.0.0 for the openssl_pkcs12 module Support cryptography 35.0.0 for the openssl_pkcs12 module Oct 3, 2021
@felixfontein
Copy link
Contributor Author

ready_for_review

Copy link
Collaborator

@Ajpantuso Ajpantuso left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@felixfontein felixfontein merged commit d6c0d53 into ansible-collections:main Oct 3, 2021
@felixfontein felixfontein deleted the fix-cryptography-pkcs12 branch October 3, 2021 18:25
@felixfontein
Copy link
Contributor Author

@Ajpantuso thanks for reviewing this!

@patchback
Copy link

patchback bot commented Oct 3, 2021

Backport to stable-1: 💚 backport PR created

✅ Backport PR branch: patchback/backports/stable-1/d6c0d53442f0b93a659eccc3ea7400bc6b7e68a9/pr-296

Backported as #299

🤖 @patchback
I'm built with octomachinery and
my source is open — https://github.com/sanitizers/patchback-github-app.

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.

Various breakages with cryptography 35.0.0
2 participants