Skip to content

Commit eb741fa

Browse files
committed
Add documention for --exportpubkey and --nolocalkeys to Signing.md
1 parent ca85bdc commit eb741fa

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

docs/Signing.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,11 +45,13 @@ to ensure that the dependencies are met.
4545
Usage: `keygen [OPTIONS] [-g new-keypair.der] [-i existing-pubkey.der] [...]`
4646

4747
`keygen` is used to populate a keystore with existing and new public keys.
48-
Two options are supported:
48+
The following options are supported:
4949

5050
- `-g privkey.der` to generate a new keypair, add the public key to the keystore and save the private key in a new file `privkey.der`
5151
- `-i existing.der` to import an existing public key from `existing.der`
5252
- `--der` save generated private key in DER format.
53+
- `--exportpubkey` to export the public key (corresponding to the private key generated with `-g`) to a DER file. This option only has an effect if used in conjunction with the `-g` option.
54+
- `--nolocalkeys` to generate a keystore entry with zeroized key material. This option is only useful on platforms that support using an external key by reference, such as wolfHSM. Only has an effect if used in conjunction with the `-g` option.
5355

5456
Arguments are not exclusive, and can be repeated more than once to populate a keystore with multiple keys.
5557

0 commit comments

Comments
 (0)