Commit Graph

82 Commits

Author SHA1 Message Date
Ross Kinder
064bef37e7 cleanup: add/fix comments 2015-12-23 14:44:38 -05:00
Ross Kinder
25d9ec2994 update readme 2015-12-23 14:26:26 -05:00
Ross Kinder
5b03fd7e58 travis: install golint 2015-12-23 14:15:16 -05:00
Ross Kinder
b31c1472a0 clean up, add documentation, fix lint errors 2015-12-23 14:11:29 -05:00
Ross Kinder
9cc70cf455 generalize expected error messages from libxmlsec 2015-12-23 12:09:17 -05:00
Ross Kinder
cccbc3e05b fix getting the current thread on linux & mac 2015-12-23 12:07:04 -05:00
Ross Kinder
b390a3e30a progress: enable xmldsig and do other cleanups 2015-12-23 11:31:54 -05:00
Ross Kinder
45f8aa9eeb refactor:
- merge xmldsig and xmlenc into a single package
- implement thread-safe error capture
- implement encryption using libxmlsec, discarding the go implementation
2015-12-23 10:47:07 -05:00
Ross Kinder
004226098f remove coveralls (it doesn't work/isn't worth it right now) 2015-11-30 20:46:02 -05:00
Ross Kinder
9f3ed8331d add coveralls trigger 2015-11-30 20:38:16 -05:00
Ross Kinder
dcd29e8f67 xmlenc: add tests 2015-11-30 20:35:34 -05:00
Ross Kinder
ded02b064c xmldsig: switch to using gocheck and add tests 2015-11-30 20:14:58 -05:00
Ross Kinder
7f65c2aa7b xmldsig: add test that we can handle XMLID properly for SAML 2015-11-30 19:16:24 -05:00
Ross Kinder
3564a0cc1c xmlenc: clear up the confusion about padding bytes and add tests for them 2015-11-30 19:16:01 -05:00
Ross Kinder
1f562a8ad1 update example 2015-11-30 16:53:20 -05:00
Ross Kinder
b0917aaed7 update README 2015-11-30 16:50:15 -05:00
Ross Kinder
f0631d11c8 xmlenc: Decrypt(): return the plaintext directly, don’t modify the source document. 2015-11-30 16:49:52 -05:00
Ross Kinder
a4571e8fd9 add support for specifying xml:id 2015-11-30 16:45:21 -05:00
Ross Kinder
af25076327 xmlenc: update test expectations for [83e3403ae1] 2015-11-30 15:37:51 -05:00
Ross Kinder
eb87bfef60 xmldsig: merge newContext into Sign() because that is the only caller, simplify implementation 2015-11-30 15:36:00 -05:00
Ross Kinder
83e3403ae1 xmlenc: strip weird trailing 0x01 byte found in SAML responses when decrypting (HACK) 2015-11-30 15:31:17 -05:00
Ross Kinder
c9c47bc396 xmldsig: add support for verifying signatures with a certificate (rather than the RSA private key) 2015-11-30 15:30:53 -05:00
Ross Kinder
720544b231 xmlenc: remove model.go which is not needed 2015-11-29 21:49:57 -05:00
Ross Kinder
84a6b8b42b xmlenc: add support for decryption 2015-11-29 21:49:26 -05:00
Ross Kinder
83593a6168 initial (broken) implementation of xmlenc 2015-10-21 15:07:57 -04:00
Ross Kinder
ec5ce6bec4 fix style nit 2015-10-06 12:42:23 -04:00
Ross Kinder
9af32b3cac merge 2015-10-06 12:42:03 -04:00
Ross Kinder
966c9d115a add a Signature struct that can be used to make Signature templates 2015-10-06 12:41:35 -04:00
Ross Kinder
673471166f fix Sign/Verify to take byte slices not strings 2015-10-06 12:41:06 -04:00
Ross Kinder
dcb754f3d4 Update README.md with travis and godoc buttons 2015-10-06 10:25:22 -04:00
Ross Kinder
109617ef26 clean up readme, add example 2015-10-06 10:18:59 -04:00
Ross Kinder
9cc696353d initial commit, xmldsig support 2015-10-06 09:59:36 -04:00