Skip to content

Commit

Permalink
feat: remove redundant conversion
Browse files Browse the repository at this point in the history
  • Loading branch information
mehditeymorian committed Aug 31, 2022
1 parent c9877fd commit 4d90f46
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion internal/cmd/key/rsa.go
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ func rsa(c *cobra.Command, _ []string) {
bits = flagRsaOptions(c)
}

publicKey, privateKey := keyGenerator.GenerateRsaKeys(int(bits))
publicKey, privateKey := keyGenerator.GenerateRsaKeys(bits)

publicBox := pterm.DefaultBox.WithTitle("Public Key").Sprint(publicKey)
privateBox := pterm.DefaultBox.WithTitle("Private Key").Sprint(privateKey)
Expand Down

0 comments on commit 4d90f46

Please sign in to comment.