From bb216ed164e319e44f459839f2dbabe54b82c061 Mon Sep 17 00:00:00 2001 From: Felix Fontein Date: Mon, 23 Mar 2026 21:12:53 +0100 Subject: [PATCH] Document bcrypt dependency. (#989) --- plugins/modules/openssh_keypair.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/plugins/modules/openssh_keypair.py b/plugins/modules/openssh_keypair.py index 2e2db9d3..3a26475b 100644 --- a/plugins/modules/openssh_keypair.py +++ b/plugins/modules/openssh_keypair.py @@ -15,6 +15,7 @@ description: requirements: - ssh-keygen (if O(backend=openssh)) - cryptography >= 3.3 (if O(backend=cryptography)) + - bcrypt (if O(backend=cryptography) and O(passphrase) is used) extends_documentation_fragment: - ansible.builtin.files - community.crypto._attributes @@ -72,6 +73,7 @@ options: - Passphrase used to decrypt an existing private key or encrypt a newly generated private key. - Passphrases are not supported for O(type=rsa1). - Can only be used when O(backend=cryptography), or when O(backend=auto) and a required C(cryptography) version is installed. + Note that depending on the cryptography version, the C(bcrypt) package is also needed. type: str version_added: 1.7.0 private_key_format: