diff --git a/xmlsec.go b/xmlsec.go index 484a940..da7d441 100644 --- a/xmlsec.go +++ b/xmlsec.go @@ -91,7 +91,7 @@ func verify(xml string, publicCertPath string, id string) error { //fmt.Println("xmlsec1", "--verify", "--pubkey-cert-pem", publicCertPath, "--id-attr:ID", id, samlXmlsecInput.Name()) _, err = exec.Command("xmlsec1", "--verify", "--pubkey-cert-pem", publicCertPath, "--id-attr:ID", id, samlXmlsecInput.Name()).CombinedOutput() if err != nil { - return errors.New("error verifing signature: " + err.Error()) + return errors.New("error verifying signature: " + err.Error()) } return nil }