|
|
|
@ -11,8 +11,17 @@ import json, jwt |
|
|
|
import base64 |
|
|
|
import base64 |
|
|
|
import os |
|
|
|
import os |
|
|
|
|
|
|
|
|
|
|
|
import app_store_notifications_v2_validator as asn2 |
|
|
|
from OpenSSL.crypto import ( |
|
|
|
from app_store_notifications_v2_validator import InvalidTokenError |
|
|
|
X509Store, |
|
|
|
|
|
|
|
X509StoreContext, |
|
|
|
|
|
|
|
X509StoreContextError, |
|
|
|
|
|
|
|
load_certificate, |
|
|
|
|
|
|
|
FILETYPE_ASN1, |
|
|
|
|
|
|
|
FILETYPE_PEM |
|
|
|
|
|
|
|
) |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
# import app_store_notifications_v2_validator as asn2 |
|
|
|
|
|
|
|
# from app_store_notifications_v2_validator import InvalidTokenError |
|
|
|
|
|
|
|
|
|
|
|
def index(request): |
|
|
|
def index(request): |
|
|
|
return HttpResponse("Hello, world. You're at the subs index.") |
|
|
|
return HttpResponse("Hello, world. You're at the subs index.") |
|
|
|
|