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

get_certificate: add get_certificate_chain option #784

Merged

Conversation

felixfontein
Copy link
Contributor

SUMMARY

Fixes #568.

ISSUE TYPE
  • Feature Pull Request
COMPONENT NAME

get_certificate

Copy link

github-actions bot commented Jul 9, 2024

Docs Build 📝

Thank you for contribution!✨

This PR has been merged and the docs are now incorporated into main:
https://ansible-collections.github.io/community.crypto/branch/main

@felixfontein
Copy link
Contributor Author

It looks like the Python 3.13 API is somewhat broken, which makes the tests fail: python/cpython#118658

There is a fix for it already: python/cpython#118669

@felixfontein
Copy link
Contributor Author

It might be worth to include a similar hack as in https://github.com/pypa/pip/pull/12707/files#diff-5c235fa5de9ea9d116494690fc0e484c45501486f276649200c7e612c2477f88R285 to fix the Python 3.13 issues.

@felixfontein
Copy link
Contributor Author

felixfontein commented Jul 10, 2024

ede3e54 makes tests pass with the current Python 3.13 pre-releases. It should also work fine once the bug has been fixed.

@felixfontein felixfontein merged commit d50c3cc into ansible-collections:main Jul 10, 2024
143 checks passed
@felixfontein felixfontein deleted the get_certificate-chain branch July 10, 2024 19:51
@felixfontein
Copy link
Contributor Author

@markuman thanks for reviewing this!

felixfontein added a commit that referenced this pull request Jul 11, 2024
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.

Get a certificate chain with crypto.get_certificate module
2 participants