mirror of
https://code.eliotberriot.com/funkwhale/funkwhale.git
synced 2025-10-03 21:59:16 +02:00
Use own requests-http-signing to be compatible with Signature header
This commit is contained in:
parent
7191a2a2c0
commit
c63b7f929d
4 changed files with 26 additions and 23 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue