diff --git a/plugins/modules/openssh_keypair.py b/plugins/modules/openssh_keypair.py index 7f4bd678..33e4c6f8 100644 --- a/plugins/modules/openssh_keypair.py +++ b/plugins/modules/openssh_keypair.py @@ -21,6 +21,7 @@ requirements: - ssh-keygen (if O(backend=openssh)) - cryptography >= 2.6 (if O(backend=cryptography) and OpenSSH < 7.8 is installed) - cryptography >= 3.0 (if O(backend=cryptography) and OpenSSH >= 7.8 is installed) + - bcrypt (if O(backend=cryptography) and O(passphrase) is used) extends_documentation_fragment: - ansible.builtin.files - community.crypto.attributes @@ -78,6 +79,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: