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

golang bindings for xmlsec

Results 15 go-xmlsec issues
Sort by recently updated
recently updated
newest added

The current tests fail (change in line numbers and naming)

The docker files didn't work anymore. Fixed with more recent versions and some command changes.

I think that these instructions could be useful for new users. I explain how to: 1. create a sample key 2. use a sample xml document to sign 3. run...

Can you give some tips to prevent this or fix it? ``` ================== WARNING: DATA RACE Write at 0x00c4203ef8f0 by goroutine 62: runtime.mapassign_fast64() /usr/local/go/src/runtime/hashmap_fast.go:510 +0x0 validator/vendor/github.com/gofly/go-xmlsec.startProcessingXML() /go/src/validator/vendor/github.com/gofly/go-xmlsec/error.go:65 +0x77 validator/vendor/github.com/gofly/go-xmlsec.Verify() /go/src/validator/vendor/github.com/gofly/go-xmlsec/xmldsig.go:96...

whenever a golang thread invokes startProcessingXML() we take over the libxmlsec error handler (which is process-global) and the libxml2 error handler (which is per-thread) If other packages are using cgo...

bug
help wanted

build with go version 1.11 then I got this errror go build github.com/crewjam/go-xmlsec: invalid flag in #cgo CFLAGS: -UXMLSEC_CRYPTO_DYNAMIC_LOADING

Building on linux with go 1.10 leads to: ``` github.com/crewjam/go-xmlsec: invalid flag in #cgo CFLAGS: -w ```

I am a bot. Please reach out to [@azillion](https://github.com/azillion) if you have any issues, or just close the PR.

Add an option to use DER as key format for signing & verifying.

Greetings, Under what circumstances will xmlsec1 and go-xmlsec arrive at different verdicts for verify? Probably handling go-xmlsec the wrong way, so I need some guidance. Data files: [bidt-root.pem.txt](https://github.com/crewjam/go-xmlsec/files/1022243/bidt-root.pem.txt) [test_signature.xml.txt](https://github.com/crewjam/go-xmlsec/files/1022246/test_signature.xml.txt) $...