-
Notifications
You must be signed in to change notification settings - Fork 16
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
10 changed files
with
260 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
40 changes: 40 additions & 0 deletions
40
cardano-cli/test/cardano-cli-golden/files/golden/help/key.cli
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,40 @@ | ||
Usage: cardano-cli key | ||
( verification-key | ||
| non-extended-key | ||
| convert-byron-key | ||
| convert-byron-genesis-vkey | ||
| convert-itn-key | ||
| convert-itn-extended-key | ||
| convert-itn-bip32-key | ||
| convert-cardano-address-key | ||
) | ||
|
||
Key utility commands. | ||
|
||
Available options: | ||
-h,--help Show this help text | ||
|
||
Available commands: | ||
verification-key Get a verification key from a signing key. This | ||
supports all key types. | ||
non-extended-key Get a non-extended verification key from an extended | ||
verification key. This supports all extended key | ||
types. | ||
convert-byron-key Convert a Byron payment, genesis or genesis delegate | ||
key (signing or verification) to a corresponding | ||
Shelley-format key. | ||
convert-byron-genesis-vkey | ||
Convert a Base64-encoded Byron genesis verification | ||
key to a Shelley genesis verification key | ||
convert-itn-key Convert an Incentivized Testnet (ITN) non-extended | ||
(Ed25519) signing or verification key to a | ||
corresponding Shelley stake key | ||
convert-itn-extended-key Convert an Incentivized Testnet (ITN) extended | ||
(Ed25519Extended) signing key to a corresponding | ||
Shelley stake signing key | ||
convert-itn-bip32-key Convert an Incentivized Testnet (ITN) BIP32 | ||
(Ed25519Bip32) signing key to a corresponding Shelley | ||
stake signing key | ||
convert-cardano-address-key | ||
Convert a cardano-address extended signing key to a | ||
corresponding Shelley-format key. |
11 changes: 11 additions & 0 deletions
11
cardano-cli/test/cardano-cli-golden/files/golden/help/key_convert-byron-genesis-vkey.cli
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
Usage: cardano-cli key convert-byron-genesis-vkey --byron-genesis-verification-key BASE64 | ||
--out-file FILEPATH | ||
|
||
Convert a Base64-encoded Byron genesis verification key to a Shelley genesis | ||
verification key | ||
|
||
Available options: | ||
--byron-genesis-verification-key BASE64 | ||
Base64 string for the Byron genesis verification key. | ||
--out-file FILEPATH The output file. | ||
-h,--help Show this help text |
35 changes: 35 additions & 0 deletions
35
cardano-cli/test/cardano-cli-golden/files/golden/help/key_convert-byron-key.cli
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,35 @@ | ||
Usage: cardano-cli key convert-byron-key [--password TEXT] | ||
( --byron-payment-key-type | ||
| --legacy-byron-payment-key-type | ||
| --byron-genesis-key-type | ||
| --legacy-byron-genesis-key-type | ||
| --byron-genesis-delegate-key-type | ||
| --legacy-byron-genesis-delegate-key-type | ||
) | ||
( --byron-signing-key-file FILEPATH | ||
| --byron-verification-key-file FILEPATH | ||
) | ||
--out-file FILEPATH | ||
|
||
Convert a Byron payment, genesis or genesis delegate key (signing or | ||
verification) to a corresponding Shelley-format key. | ||
|
||
Available options: | ||
--password TEXT Password for signing key (if applicable). | ||
--byron-payment-key-type Use a Byron-era payment key. | ||
--legacy-byron-payment-key-type | ||
Use a Byron-era payment key, in legacy SL format. | ||
--byron-genesis-key-type Use a Byron-era genesis key. | ||
--legacy-byron-genesis-key-type | ||
Use a Byron-era genesis key, in legacy SL format. | ||
--byron-genesis-delegate-key-type | ||
Use a Byron-era genesis delegate key. | ||
--legacy-byron-genesis-delegate-key-type | ||
Use a Byron-era genesis delegate key, in legacy SL | ||
format. | ||
--byron-signing-key-file FILEPATH | ||
Input filepath of the Byron-format signing key. | ||
--byron-verification-key-file FILEPATH | ||
Input filepath of the Byron-format verification key. | ||
--out-file FILEPATH The output file. | ||
-h,--help Show this help text |
29 changes: 29 additions & 0 deletions
29
cardano-cli/test/cardano-cli-golden/files/golden/help/key_convert-cardano-address-key.cli
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,29 @@ | ||
Usage: cardano-cli key convert-cardano-address-key | ||
( --cc-cold-key | ||
| --cc-hot-key | ||
| --drep-key | ||
| --shelley-payment-key | ||
| --shelley-stake-key | ||
| --icarus-payment-key | ||
| --byron-payment-key | ||
) | ||
--signing-key-file FILEPATH | ||
--out-file FILEPATH | ||
|
||
Convert a cardano-address extended signing key to a corresponding | ||
Shelley-format key. | ||
|
||
Available options: | ||
--cc-cold-key Use a committee cold key. | ||
--cc-hot-key Use a committee hot key. | ||
--drep-key Use a DRep key. | ||
--shelley-payment-key Use a Shelley-era extended payment key. | ||
--shelley-stake-key Use a Shelley-era extended stake key. | ||
--icarus-payment-key Use a Byron-era extended payment key formatted in the | ||
Icarus style. | ||
--byron-payment-key Use a Byron-era extended payment key formatted in the | ||
deprecated Byron style. | ||
--signing-key-file FILEPATH | ||
Input filepath of the signing key. | ||
--out-file FILEPATH The output file. | ||
-h,--help Show this help text |
11 changes: 11 additions & 0 deletions
11
cardano-cli/test/cardano-cli-golden/files/golden/help/key_convert-itn-bip32-key.cli
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
Usage: cardano-cli key convert-itn-bip32-key --itn-signing-key-file FILEPATH | ||
--out-file FILEPATH | ||
|
||
Convert an Incentivized Testnet (ITN) BIP32 (Ed25519Bip32) signing key to a | ||
corresponding Shelley stake signing key | ||
|
||
Available options: | ||
--itn-signing-key-file FILEPATH | ||
Filepath of the ITN signing key. | ||
--out-file FILEPATH The output file. | ||
-h,--help Show this help text |
11 changes: 11 additions & 0 deletions
11
cardano-cli/test/cardano-cli-golden/files/golden/help/key_convert-itn-extended-key.cli
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
Usage: cardano-cli key convert-itn-extended-key --itn-signing-key-file FILEPATH | ||
--out-file FILEPATH | ||
|
||
Convert an Incentivized Testnet (ITN) extended (Ed25519Extended) signing key | ||
to a corresponding Shelley stake signing key | ||
|
||
Available options: | ||
--itn-signing-key-file FILEPATH | ||
Filepath of the ITN signing key. | ||
--out-file FILEPATH The output file. | ||
-h,--help Show this help text |
16 changes: 16 additions & 0 deletions
16
cardano-cli/test/cardano-cli-golden/files/golden/help/key_convert-itn-key.cli
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
Usage: cardano-cli key convert-itn-key | ||
( --itn-signing-key-file FILEPATH | ||
| --itn-verification-key-file FILEPATH | ||
) | ||
--out-file FILEPATH | ||
|
||
Convert an Incentivized Testnet (ITN) non-extended (Ed25519) signing or | ||
verification key to a corresponding Shelley stake key | ||
|
||
Available options: | ||
--itn-signing-key-file FILEPATH | ||
Filepath of the ITN signing key. | ||
--itn-verification-key-file FILEPATH | ||
Filepath of the ITN verification key. | ||
--out-file FILEPATH The output file. | ||
-h,--help Show this help text |
12 changes: 12 additions & 0 deletions
12
cardano-cli/test/cardano-cli-golden/files/golden/help/key_non-extended-key.cli
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
Usage: cardano-cli key non-extended-key --extended-verification-key-file FILEPATH | ||
--verification-key-file FILEPATH | ||
|
||
Get a non-extended verification key from an extended verification key. This | ||
supports all extended key types. | ||
|
||
Available options: | ||
--extended-verification-key-file FILEPATH | ||
Input filepath of the ed25519-bip32 verification key. | ||
--verification-key-file FILEPATH | ||
Output filepath of the verification key. | ||
-h,--help Show this help text |
11 changes: 11 additions & 0 deletions
11
cardano-cli/test/cardano-cli-golden/files/golden/help/key_verification-key.cli
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
Usage: cardano-cli key verification-key --signing-key-file FILEPATH | ||
--verification-key-file FILEPATH | ||
|
||
Get a verification key from a signing key. This supports all key types. | ||
|
||
Available options: | ||
--signing-key-file FILEPATH | ||
Input filepath of the signing key. | ||
--verification-key-file FILEPATH | ||
Output filepath of the verification key. | ||
-h,--help Show this help text |