コミットグラフ

55 コミット

作成者 SHA1 メッセージ 日付
守矢諏訪子 4b2f1ef9ff BSD→ISC 2024-04-10 14:14:18 +09:00
守矢諏訪子 30550d795d フォーク 2024-04-02 11:04:00 +09:00
守矢諏訪子 bc63631fd3 . 2024-04-02 10:19:12 +09:00
Cory Slep 5583674481 Add badge for Matrix chat room 2020-12-23 12:23:13 +01:00
Cory Slep 83c3d4b10e Add badges to the README 2020-12-22 22:00:09 +01:00
Cory Slep 2a46c50a66 Add travis.yml 2020-12-22 21:58:35 +01:00
Cory Slep dda7895774 Propagate error message for verifier when crypto algo not supported 2020-12-21 22:26:26 +01:00
Cory Slep aaea07ed54 Have test temporarily pass due to SHA1 inclusion 2020-12-21 22:20:30 +01:00
Cory Slep 724019526f Propagate error when crypto algorithm is not supported 2020-12-21 22:19:56 +01:00
Cory J Slep 812070f75b
Merge pull request #22 from 42wim/cert
Match on prefix for certificates
2020-07-11 13:31:12 +02:00
Wim 38d400649c Match on prefix for certificates
This also gives support for signing with ssh certificates
- ssh-rsa-cert-v01@openssh.com
- ssh-ed25519-cert-v01@openssh.com
2020-07-10 23:17:21 +02:00
Cory J Slep 10fde50588
Merge pull request #21 from 42wim/addrsa
Add RSA support to ssh key signing
2020-07-02 19:07:48 +02:00
Wim 17ff967c7f Add RSA support to ssh key signing 2020-07-02 17:49:57 +02:00
Cory J Slep 10b10290b7
Merge pull request #18 from 42wim/add-sshsigner
Add initial support for using ssh keys for signing
2020-06-29 08:46:42 +02:00
Wim 03551c9ef7 Add initial support for using ssh keys for signing
At the moment only ed25519 keys are supported.
The NewSSHSigner method takes a ssh.Signer which will
be used when actually signing the request/responses.
2020-06-28 22:44:46 +02:00
Cory J Slep 7fd2c4c487
Merge pull request #17 from 42wim/add-ed25519
Add ed25519 signing support
2020-06-17 07:47:30 +02:00
Wim 79a5cc3409 Add ed25519 signing support 2020-06-16 23:18:39 +02:00
Cory J Slep f49f146a4f
Merge pull request #16 from 42wim/fixtest
Make tests work again
2020-06-16 20:04:48 +02:00
Cory J Slep 6ade05f424
Merge pull request #19 from ejain/patch-1
Fix a typo in two error messages
2020-06-16 20:02:42 +02:00
Eric Jain 3123872e66
Fix a typo in two error messages 2020-06-15 16:26:37 -07:00
Wim c6fcdaf344 Make tests work again 2020-06-14 16:49:58 +02:00
Cory Slep d7a8424b0c Ran go fmt 2020-05-28 17:47:39 +02:00
Cory Slep 44df666a9d Ran go mod tidy 2020-05-28 17:44:23 +02:00
Cory J Slep 6ddae4c67c
Merge pull request #13 from Absolut-Ticket/created-expires
Adds support for crated and expires values
2020-05-26 08:18:33 +02:00
Cory J Slep 3052f08321
Merge pull request #14 from Absolut-Ticket/ecdsa
add ECDSA support
2020-05-26 08:16:37 +02:00
Cory J Slep 221cfc461e
Merge pull request #15 from Absolut-Ticket/hs2019
hide real algorithm
2020-05-26 08:15:25 +02:00
blacktemplar 338f1ed928 hide real algorithm 2020-04-07 12:17:26 +02:00
blacktemplar 9b1ac957d6 add checks for created and expires 2020-04-06 12:46:15 +02:00
blacktemplar 123cce4d32 add ecdsa support 2020-04-06 12:33:21 +02:00
blacktemplar 1583536095 add support for created and expires values 2020-04-06 12:32:25 +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 f4c3604119 Fix hashing sum bug for digests 2019-09-24 19:10:22 +02:00
Cory Slep c2de3672e5 Add IsSupportedDigestAlgorithm 2019-09-14 13:39:40 +02:00
Cory Slep 8d61ea6a9a Support signing and verifying the Digest header 2019-09-06 21:16:36 +02:00
Cory Slep 90d9db90fb Fix Appendix C test; add Appendix C verifying tests 2019-09-05 00:01:59 +02:00
Cory Slep d685ff0472 improve digest test and run go fmt 2019-09-05 00:01:36 +02:00
Cory Slep 1307faeb98 Add functions for handling Digest headers.
These are not yet integrated into the rest of the library.
2019-09-04 23:35:07 +02:00
Cory Slep 50b0c670ec Add IsSupportedHttpSigAlgorithm 2019-09-03 19:40:51 +02:00
Cory J Slep 34143e88f2
Merge pull request #5 from ewilde/ewilde-appendix-c
Add appendix C tests
2019-03-11 22:00:19 +01:00
Edward Wilde dc3a2641b9
Add appendix C tests
Signed-off-by: Edward Wilde <ewilde@gmail.com>
2019-03-10 08:56:13 +00:00
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