mirror of
https://code.eliotberriot.com/funkwhale/funkwhale.git
synced 2025-10-03 23:59:15 +02:00
Fix #876: use proper http-signature release
This commit is contained in:
parent
b91c48a6ce
commit
7f80a86bc5
4 changed files with 5 additions and 6 deletions
|
@ -20,11 +20,10 @@ 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
|
||||
headers = ["(request-target)", "user-agent", "host", "date", "accept"]
|
||||
|
||||
class Meta:
|
||||
model = requests_http_signature.HTTPSignatureAuth
|
||||
model = requests_http_signature.HTTPSignatureHeaderAuth
|
||||
|
||||
|
||||
@registry.register(name="federation.SignedRequest")
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue