diff options
author | Nikos Mavrogiannopoulos <nmav@redhat.com> | 2017-06-02 09:41:56 +0200 |
---|---|---|
committer | Nikos Mavrogiannopoulos <nmav@redhat.com> | 2017-07-17 17:08:01 +0200 |
commit | 4f0e7e9a5048d5dbf22369aa475bcb0078b863f5 (patch) | |
tree | 557aacb1a82f30ff1f5ae6195fed2afecdd69c75 /src/certtool-args.def | |
parent | 916e65e5117ed2ef67e0fb51ded4d7ca030bcbe6 (diff) | |
download | gnutls-4f0e7e9a5048d5dbf22369aa475bcb0078b863f5.tar.gz |
certtool: introduced the --key-type option
This replaces the --rsa-pss and --eddsa options.
Signed-off-by: Nikos Mavrogiannopoulos <nmav@redhat.com>
Diffstat (limited to 'src/certtool-args.def')
-rw-r--r-- | src/certtool-args.def | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/src/certtool-args.def b/src/certtool-args.def index edc5aa3ff4..f83738ef20 100644 --- a/src/certtool-args.def +++ b/src/certtool-args.def @@ -417,18 +417,21 @@ flag = { name = rsa; descrip = "Generate RSA key"; doc = "When combined with --generate-privkey generates an RSA private key."; + description = "This option is equivalent to '--key-type rsa'."; }; flag = { name = dsa; descrip = "Generate DSA key"; doc = "When combined with --generate-privkey generates a DSA private key."; + description = "This option is equivalent to '--key-type dsa'."; }; flag = { name = ecc; descrip = "Generate ECC (ECDSA) key"; doc = "When combined with --generate-privkey generates an elliptic curve private key to be used with ECDSA."; + description = "This option is equivalent to '--key-type ecdsa'."; }; flag = { @@ -437,15 +440,12 @@ flag = { }; flag = { - name = eddsa; - descrip = "Generate EdDSA key"; - doc = "When combined with --generate-privkey generates an elliptic curve private key to be used with EdDSA."; -}; - -flag = { - name = rsa-pss; - descrip = "Generate RSA-PSS key or certificate"; - doc = "This option can be combined with --generate-privkey or --generate-certificate, to generate private key or certificate restricted to the use with the RSA-PSS padding scheme."; + name = key-type; + arg-type = string; + descrip = "Specify the key type to use on key generation"; + doc = "This option can be combined with --generate-privkey, to specify + the key type to be generated. Valid options are, 'rsa', 'rsa-pss', +'dsa', 'ecdsa', and 'ed25519'."; }; flag = { |