mirror of
https://code.eliotberriot.com/funkwhale/funkwhale.git
synced 2025-10-06 06:19:58 +02:00
Broadcast library updates (name, description, visibility) over federation
This commit is contained in:
parent
51457aa889
commit
4976981926
8 changed files with 185 additions and 1 deletions
|
@ -85,7 +85,7 @@ def verify_django(django_request, public_key):
|
|||
def get_auth(private_key, private_key_id):
|
||||
return requests_http_signature.HTTPSignatureAuth(
|
||||
use_auth_header=False,
|
||||
headers=["(request-target)", "user-agent", "host", "date", "content-type"],
|
||||
headers=["(request-target)", "user-agent", "host", "date"],
|
||||
algorithm="rsa-sha256",
|
||||
key=private_key.encode("utf-8"),
|
||||
key_id=private_key_id,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue