mirror of https://github.com/OpenKMIP/PyKMIP.git
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:
parent
425b87938f
commit
0e6b599a6c
|
@ -373,11 +373,11 @@ CreateKeyPair
|
||||||
~~~~~~~~~~~~~
|
~~~~~~~~~~~~~
|
||||||
The CreateKeyPair operation is used to create asymmetric key pairs.
|
The CreateKeyPair operation is used to create asymmetric key pairs.
|
||||||
|
|
||||||
========== ==========
|
========== ===============
|
||||||
Algorithm Key Sizes
|
Algorithm Key Sizes
|
||||||
========== ==========
|
========== ===============
|
||||||
RSA 1024, 2048
|
RSA 512, 1024, 2048
|
||||||
========== ==========
|
========== ===============
|
||||||
|
|
||||||
All users are allowed to create asymmetric keys. There are no quotas currently
|
All users are allowed to create asymmetric keys. There are no quotas currently
|
||||||
enforced by the server.
|
enforced by the server.
|
||||||
|
|
|
@ -112,7 +112,7 @@ def build_cli_parser(operation=None):
|
||||||
type="str",
|
type="str",
|
||||||
default=None,
|
default=None,
|
||||||
dest="algorithm",
|
dest="algorithm",
|
||||||
help="Encryption algorithm for the secret (e.g., AES)")
|
help="Encryption algorithm for the secret (e.g., RSA)")
|
||||||
parser.add_option(
|
parser.add_option(
|
||||||
"-l",
|
"-l",
|
||||||
"--length",
|
"--length",
|
||||||
|
@ -120,7 +120,7 @@ def build_cli_parser(operation=None):
|
||||||
type="int",
|
type="int",
|
||||||
default=None,
|
default=None,
|
||||||
dest="length",
|
dest="length",
|
||||||
help="Key length in bits (e.g., 128, 256)")
|
help="Key length in bits (e.g., 512, 1024, 2048)")
|
||||||
parser.add_option(
|
parser.add_option(
|
||||||
"-n",
|
"-n",
|
||||||
"--name",
|
"--name",
|
||||||
|
|
Loading…
Reference in New Issue