go-saml icon indicating copy to clipboard operation
go-saml copied to clipboard

EncodedSignedString error

Open bjm88 opened this issue 6 years ago • 1 comments

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 avatar Apr 09 '19 20:04 bjm88

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

bjm88 avatar Apr 09 '19 20:04 bjm88