コミットグラフ

10 コミット

作成者 SHA1 メッセージ 日付
blacktemplar 123cce4d32 add ecdsa support 2020-04-06 12:33:21 +02:00
Cory Slep 0ef28562fa Verify signatures with Host header
Golang promotes the "Host" header in a server-side request by removing
it from the Header map and putting it into the Host field, which had the
effect of removing the "Host" header and failing validation.

Now, we successfully validate HTTP Signatures that contain a "Host"
header.
2020-02-04 22:35:31 +01:00
Cory Slep 8d61ea6a9a Support signing and verifying the Digest header 2019-09-06 21:16:36 +02:00
Cory Slep 2555707168 Add test condition for auth-scheme, fix bug in HMAC 2019-03-09 23:56:49 +01:00
Cory Slep c86d639563 Add "Signature" for "auth-scheme" 2019-02-28 22:38:53 +01: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 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