enterprise: fix license check not using the proper JWT algorithm

Signed-off-by: Marc 'risson' Schmitt <marc.schmitt@risson.space>
This commit is contained in:
Marc 'risson' Schmitt 2023-07-25 11:58:16 +02:00 committed by risson
parent e51bef218a
commit 18472c231a

View file

@ -73,7 +73,7 @@ class LicenseKey:
decode(
jwt,
our_cert.public_key(),
algorithms=["ES521"],
algorithms=["ES512"],
audience=get_license_aud(),
),
)