Fix #876: use proper http-signature release

This commit is contained in:
Agate 2020-05-07 15:26:05 +02:00 committed by Georg Krause
parent b91c48a6ce
commit 7f80a86bc5
No known key found for this signature in database
GPG key ID: FD479B9A4D48E632
4 changed files with 5 additions and 6 deletions

View file

@ -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")