Improve error message when lodaing corrupt private key or private key with wrong passphrase. (#939) (#940)

(cherry picked from commit f219cac94c)
This commit is contained in:
Felix Fontein
2025-07-25 17:08:45 +02:00
committed by GitHub
parent 71e9d2273a
commit b6887ab1f4
3 changed files with 87 additions and 2 deletions

View File

@@ -0,0 +1,4 @@
bugfixes:
- "Improve error message when loading a private key fails due to correct private key files or wrong passwords.
Also include the original cryptography error since it likely contains more helpful information
(https://github.com/ansible-collections/community.crypto/issues/936, https://github.com/ansible-collections/community.crypto/pull/939)."