Use own requests-http-signing to be compatible with Signature header

This commit is contained in:
Eliot Berriot 2018-03-30 21:59:58 +02:00
parent 7191a2a2c0
commit c63b7f929d
No known key found for this signature in database
GPG key ID: DD6965E2476E5C27
4 changed files with 26 additions and 23 deletions

View file

@ -15,6 +15,7 @@ class SignatureAuthFactory(factory.Factory):
algorithm = 'rsa-sha256'
key = factory.LazyFunction(lambda: keys.get_key_pair()[0])
key_id = factory.Faker('url')
use_auth_header = False
class Meta:
model = requests_http_signature.HTTPSignatureAuth