Skip to content
This repository has been archived by the owner on Jun 6, 2023. It is now read-only.

EncodedSignedString error #36

Open
bjm88 opened this issue Apr 9, 2019 · 1 comment
Open

EncodedSignedString error #36

bjm88 opened this issue Apr 9, 2019 · 1 comment

Comments

@bjm88
Copy link

bjm88 commented Apr 9, 2019

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
Copy link
Author

bjm88 commented Apr 9, 2019

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

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant