Unverified Commit 0f6d6c47 authored by Steven Allen's avatar Steven Allen Committed by GitHub

Merge pull request #6864 from ipfs/fix/6861

fix: make rsa the default key type
parents 4a032326 33861b0d
......@@ -63,7 +63,7 @@ var keyGenCmd = &cmds.Command{
Tagline: "Create a new keypair",
},
Options: []cmds.Option{
cmds.StringOption(keyStoreTypeOptionName, "t", "type of the key to create [rsa, ed25519]"),
cmds.StringOption(keyStoreTypeOptionName, "t", "type of the key to create [rsa, ed25519]").WithDefault("rsa"),
cmds.IntOption(keyStoreSizeOptionName, "s", "size of the key to generate"),
},
Arguments: []cmds.Argument{
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment