SmartTokenLabs / TokenScript

TokenScript schema, specs and paper
http://tokenscript.org
MIT License
242 stars 71 forks source link

adding xmldsigvierification sample golang code #370

Open SmartLayer opened 4 years ago

SmartLayer commented 4 years ago

Work in progress.

7th April 2021: -- note this is aimed to solve https://github.com/TokenScript/TokenScript/issues/418

SmartLayer commented 3 years ago

Some problem might be in @samuelhbne after apt-install all the go components

$ GOPATH=/usr/share/gocode go run xmldsignverify.go 
verifying github.com/beevik/etree@v1.1.0/go.mod: github.com/beevik/etree@v1.1.0/go.mod: open /usr/share/gocode/pkg/sumdb/sum.golang.org/latest: no such file or directory

I added a solution to README (which is just to delete go.mod)