Jean-Hugues de Raigniac
8d615eac2a
minor PEP 8 fixes, expired signature check ( #26 )
2021-04-27 06:47:50 -07:00
Georg Krause
606fd8f891
Set correct Scheme for HTTPSignatureHeaderAuth.verify ( #25 )
2021-04-25 16:10:21 -07:00
Georg Krause
d1129fdd9a
Allow missing created field ( #23 )
...
* Do not add created field if algorithm is rsa, hmac or ecdsa
* Disable check for W504
This is mutually exclusive with W503, but it seems to check for both. So
no matter where the linebreak is, the linter says its wrong. This fixes
this behavior and allows to use at least one option.
* Allow github actions to run on pull request
* Make created field optional on verification
2021-04-25 16:10:03 -07:00
Georg Krause
7f668ef084
Remove deprecated setuptools entrypoint of flake8 ( #24 )
2021-04-25 16:08:08 -07:00
Andrey Kislyuk
fbd98984ce
Use twine for uploading releases
2020-08-29 13:15:52 -07:00
Andrey Kislyuk
f19154d774
v0.2.0
2020-08-29 12:50:02 -07:00
Ashwin Ramaswami
f2ca109baa
Fix typo ( #21 )
2020-08-29 12:46:13 -07:00
Andrey Kislyuk
c0c8fd7255
Merge branch 'master' of github.com:kislyuk/requests-http-signature
2020-04-25 14:03:39 -07:00
Andrey Kislyuk
6b415c19f2
Fix handling of readme example
...
Fixes #5
2020-04-25 14:02:36 -07:00
Alberto Coletta
a330eff250
Update keyword argument name in README ( #3 )
2020-04-25 07:45:04 -07:00
Arjen Brouwer
ed24c9a04c
Implemented support for (created) and (expires) special headers ( #14 )
2020-04-25 07:20:06 -07:00
Andrey Kislyuk
f1ced58164
Revert "Use one-shot signing. Fixes #16"
...
This reverts commit 053678a22e
.
2020-04-25 07:18:14 -07:00
Andrey Kislyuk
c29461aa4a
Update RFC links
2020-04-25 07:15:51 -07:00
Andrey Kislyuk
053678a22e
Use one-shot signing. Fixes #16
2020-04-25 06:58:40 -07:00
Andrey Kislyuk
b6d74a46e0
Switch to github actions
2020-04-24 21:13:04 -07:00
Andrey Kislyuk
f814088b6a
Adjust python tested versions
2020-04-24 21:07:14 -07:00
Andrey Kislyuk
2824b9b6e5
Add test for HTTPSignatureHeaderAuth
2020-04-24 12:56:20 -07:00
Andrey Kislyuk
d7770e3ae9
Raise informative error when unable to compute body digest
2020-04-24 09:11:44 -07:00
Andrey Kislyuk
e3a2e2d631
Fix release manager script version regexp
2019-05-01 08:20:50 -07:00
Andrey Kislyuk
92d203ce65
Fix tests
2018-11-06 02:46:30 -08:00
Andrey Kislyuk
bb88d15a55
v0.1.0
2018-11-05 18:52:16 -08:00
Andrey Kislyuk
8d1c0d07f3
Merge pull request #2 from kevingill1966/master
...
Changes to support Irish Revenue Modernisation Project
2018-10-22 10:55:27 -07:00
Kevin Gill
be44d4f19f
Support https://tools.ietf.org/html/draft-cavage-http-signatures-08#section-4 ,
...
which uses a Signature header instead of Authorization header.
2018-10-19 21:36:45 +01:00
Kevin Gill
80c9bb8c14
Added RSA512 algorithm.
2018-10-19 16:38:40 +01:00
Andrey Kislyuk
7f8f69116d
v0.0.3
2017-09-19 09:58:31 -07:00
Andrey Kislyuk
ea8d82cf0d
HTTPSignatureAuth.verify: Rely only on request.url, not path_url
...
This allows broader compatibility with request objects: in addition to
requests.PreparedRequest, we can now support requests.Request or any
object that has the method, url, and headers attributes.
2017-09-19 09:54:48 -07:00
Andrey Kislyuk
cd28a779b1
Add Sphinx docs for RTD
2017-08-29 10:05:10 -07:00
Andrey Kislyuk
692070feb2
Merge pull request #1 from kennethreitz/patch-1
...
cleaned up the readme a little bit ✨ 🍰 ✨
2017-08-28 23:47:20 -07:00
Kenneth Reitz
14c8ea6645
cleaned up the readme a little bit ✨ 🍰 ✨
2017-08-29 02:03:51 -04:00
Andrey Kislyuk
6bc1823fef
Update README.rst
2017-08-24 07:43:04 -07:00
Andrey Kislyuk
91313a6d43
Test suite update
2017-08-22 19:54:51 -07:00
Andrey Kislyuk
546cf1f82e
Docs
2017-08-22 15:02:25 -07:00
Andrey Kislyuk
738b1664e7
Docs
2017-08-22 15:00:54 -07:00
Andrey Kislyuk
d0ae69d004
Update README.rst
2017-08-22 14:51:33 -07:00
Andrey Kislyuk
2240873aff
v0.0.2
2017-08-22 14:50:09 -07:00
Andrey Kislyuk
9c5a122925
Require key ID
2017-08-22 14:49:25 -07:00
Andrey Kislyuk
a04e79cbe8
Update README.rst
2017-08-22 14:44:25 -07:00
Andrey Kislyuk
6ef4bedbde
Make requests dep explicit
2017-08-22 13:43:36 -07:00
Andrey Kislyuk
e4e19c1d3c
Encode passphrase if not bytes
2017-08-22 13:40:41 -07:00
Andrey Kislyuk
59384e29b9
Add verify example
2017-08-22 13:06:21 -07:00
Andrey Kislyuk
d37125f0a6
Fix coverage reporting
2017-08-22 12:44:21 -07:00
Andrey Kislyuk
56c7d4f839
Drop Python 3.3
2017-08-22 12:40:36 -07:00
Andrey Kislyuk
999b41fa9d
Machine readable cryptography dependency
2017-08-22 12:40:07 -07:00
Andrey Kislyuk
812475df32
Document dependency on cryptography
2017-08-22 12:09:30 -07:00
Andrey Kislyuk
2b18831866
v0.0.1
2017-08-22 12:07:16 -07:00
Andrey Kislyuk
c474f2a888
Begin requests-http-signature
2017-08-22 12:05:04 -07:00