Cory Slep
2555707168
Add test condition for auth-scheme, fix bug in HMAC
2019-03-09 23:56:49 +01:00
Cory Slep
3b55e318d3
Use URL.Path for (request-target)
2019-03-09 23:55:15 +01:00
Cory Slep
5460b04991
Merge remote-tracking branch 'origin/master'
2019-02-28 22:40:11 +01:00
Cory Slep
c86d639563
Add "Signature" for "auth-scheme"
2019-02-28 22:38:53 +01:00
Cory J Slep
dd4e9c8d71
Merge pull request #2 from yukimochi/fix_addRequestTarget
...
Fix addRequestTarget not affect anything.
2018-11-01 18:12:02 +01:00
Naoki Kosaka
2a591b5b3b
Fix addRequestTarget not effect anything.
2018-11-01 02:36:05 +09:00
Cory Slep
873e213d28
Fix vet lint
2018-05-30 21:11:34 +02:00
Cory Slep
513184c0c5
Add go.modverify for vgo
2018-05-30 21:03:05 +02:00
Cory Slep
37fb70b8da
Add go.mod file for vgo
2018-05-30 19:51:16 +02:00
Cory Slep
22b5f0dd8b
Finish core tests.
...
Includes bugfixes for things exposed in the testing process. With this
commit, the library should be good for first use.
2018-05-18 00:04:09 +02:00
Cory Slep
489109fd72
Add tests for core algorithms.
...
Tests cover:
- Obtaining all golang supported RSA / HMAC / MAC + hash combinations
- Signing with such algorithms
- Verifying with such algorithms
2018-05-17 22:24:53 +02:00
Cory Slep
961eebd53d
Fix wording in comment
2018-05-16 23:22:30 +02:00
Cory Slep
1cd441abe3
Update README and comments.
2018-05-16 23:20:53 +02:00
Cory Slep
0ec6ffdc22
Support HTTP Signature verification.
...
Note that the library includes the deprecated 'algorithm' HTTP Signature
parameter for backwards compatibility when creating a signature. However, upon
verification it ignores the 'algorithm' deprecated parameter and instead
relies on the new behavior of the application knowing which algorithm to
use.
2018-05-16 22:38:11 +02:00
Cory Slep
1ba820e45c
HTTP Signature signing in golang.
...
Next steps are:
- Signature verification
- Lots of tests
2018-05-15 23:03:43 +02:00