diff --git a/main.go b/main.go index 8ffb79c..99f9c85 100644 --- a/main.go +++ b/main.go @@ -32,9 +32,10 @@ type ErrorResponse struct { } type ExternalSpecResponse struct { - Success bool `json:"success"` - Agent string `json:"agent"` - Specification string `json:"specification"` + Success bool `json:"success"` + Agent string `json:"agent"` + Specification string `json:"specification"` + Commands []string `json:"commands"` } type ExternalPublicKeyResponse struct { @@ -107,6 +108,10 @@ func buildExternalSpecCommand() *cli.Command { Success: true, Agent: "external-signer-pkc11/0.1.0", Specification: "External/1.0.0-alpha", + Commands: []string{ + "external_public_key", + "external_sign", + }, } printResponseSlient(externalSpecResponse) return nil