Skip to content

Commit

Permalink
Merge pull request #6864 from ipfs/fix/6861
Browse files Browse the repository at this point in the history
fix: make rsa the default key type
  • Loading branch information
Stebalien committed Feb 4, 2020
2 parents 4a03232 + 33861b0 commit 0f6d6c4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion core/commands/keystore.go
Original file line number Diff line number Diff line change
Expand Up @@ -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{
Expand Down

0 comments on commit 0f6d6c4

Please sign in to comment.