From 4d1d6658dcfc26c9e937382cd3aaff8d48252562 Mon Sep 17 00:00:00 2001 From: Laurent Date: Mon, 15 Jan 2024 14:51:13 +0100 Subject: [PATCH] decode attempt --- subscriptions/views.py | 2 -- 1 file changed, 2 deletions(-) diff --git a/subscriptions/views.py b/subscriptions/views.py index 4cbe6fd..c2eda34 100644 --- a/subscriptions/views.py +++ b/subscriptions/views.py @@ -31,8 +31,6 @@ def app_store_webhook(request): with open(KEY_FILE,'r') as key_file: key = ''.join(key_file.readlines()) - key = 'MIGTAgEAMBMGByqGSM49AgEGCCqGSM49AwEHBHkwdwIBAQQgOzAYvVe2plgEO65IrzpfDiorOSshVWOZyYyYxKukiMOgCgYIKoZIzj0DAQehRANCAATr5XT5byC/B3CD3k5HZAVkcgnIpGIhLn/zcSoINnHpNoykKfNRcPAViyF5oPapP6dzdhzfXpPAschheKfajgao' - decodedPayload = jwt.decode(signedPayload, key, algorithms=['ES256']) #print('hell yeah!' + str(key))