RobotsAndPencils / go-saml

A just good enough SAML client library written in Go.
MIT License
132 stars 82 forks source link

EncodedSignedString error #36

Open bjm88 opened 5 years ago

bjm88 commented 5 years ago

Doing this... authnRequest := sp.GetAuthnRequest() b64XML, err := authnRequest.EncodedSignedString(sp.PrivateKeyPath)

getting this error EncodedSignedString, error=&{%!e(string=exec: \"xmlsec1\": executable file not found in $PATH : )}","sta

the file exists and has a valid private key content in it....any ideas?

bjm88 commented 5 years ago

ug just realized this lib requires an external xml lib, brew install libxmlsec1 libxml2 pkg-config . or brew install xmlsec1 which had to install all kinds of stuff like sqllite, python, weird, unfortunate for this dependency vs native go.xml