Skip to content

Commit

Permalink
Adding support for ecdsa ssh key types, take 5
Browse files Browse the repository at this point in the history
  • Loading branch information
cdchris12 committed Apr 4, 2022
1 parent 946aaf8 commit 0543f8f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cmd/users.go
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ func parseUser(flags pflag.FlagSet) api.User {
return parsedFlags
}

func parseSSHKeyFile(sshPubKey string, keyName string, keyValue string, userEmail string) api.SSHKey {
func parseSSHKeyFile(sshPubKey string, keyName string, keyValue string, userEmail string) api.SSHKey, error {
// if we haven't got a keyvalue
if keyValue == "" {
b, err := ioutil.ReadFile(sshPubKey) // just pass the file name
Expand Down

0 comments on commit 0543f8f

Please sign in to comment.