From 1097371cf47543fa87966d3541b731644557f131 Mon Sep 17 00:00:00 2001 From: Felix Fontein Date: Sun, 27 Nov 2022 18:13:59 +0100 Subject: [PATCH] Be more precise about which private keys are supported in openssl_publickey. (#532) --- plugins/modules/openssl_publickey.py | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/plugins/modules/openssl_publickey.py b/plugins/modules/openssl_publickey.py index b97a4ebf..da01d1fb 100644 --- a/plugins/modules/openssl_publickey.py +++ b/plugins/modules/openssl_publickey.py @@ -14,8 +14,9 @@ DOCUMENTATION = r''' module: openssl_publickey short_description: Generate an OpenSSL public key from its private key. description: - - This module allows one to (re)generate OpenSSL public keys from their private keys. - - Keys are generated in PEM or OpenSSH format. + - This module allows one to (re)generate public keys from their private keys. + - Public keys are generated in PEM or OpenSSH format. Private keys must be OpenSSL PEM keys. + OpenSSH private keys are not supported, use the M(community.crypto.openssh_keypair) module to manage these. - The module uses the cryptography Python library. requirements: - cryptography >= 1.2.3 (older versions might work as well)