Golang, Kubernetes, Secrets, Cryptography.
func(cmd *cobra.Command, args []string) { text, err := hex.DecodeString(args[0]) if err != nil { log.Fatalf("Failed to covert hex to string:%v", err) } data, err := ioutil.ReadFile(privateKeyFile) if err != nil { log.Fatalf("Failed to read private key file:%v", err) } block, _ := pem.Decode(data)