mirror of
https://github.com/openkmip/pykmip
synced 2025-12-14 23:33:19 +00:00
Fix help text for the CreateKeyPair demo
The help message for the CreateKeyPair demo shows an incorrect algorithm (AES) but for asymmetric keys PyKMIP only supports RSA with a minimum length of 512-bits. This change updates the PyKMIP documentation to correct this. Signed-off-by: Gaurav Kumar Garg <garg.gaurav52@gmail.com>
This commit is contained in:
committed by
Gaurav Kumar Garg
parent
425b87938f
commit
0e6b599a6c
@@ -112,7 +112,7 @@ def build_cli_parser(operation=None):
|
||||
type="str",
|
||||
default=None,
|
||||
dest="algorithm",
|
||||
help="Encryption algorithm for the secret (e.g., AES)")
|
||||
help="Encryption algorithm for the secret (e.g., RSA)")
|
||||
parser.add_option(
|
||||
"-l",
|
||||
"--length",
|
||||
@@ -120,7 +120,7 @@ def build_cli_parser(operation=None):
|
||||
type="int",
|
||||
default=None,
|
||||
dest="length",
|
||||
help="Key length in bits (e.g., 128, 256)")
|
||||
help="Key length in bits (e.g., 512, 1024, 2048)")
|
||||
parser.add_option(
|
||||
"-n",
|
||||
"--name",
|
||||
|
||||
Reference in New Issue
Block a user