Commit 8194eedc by Diana Huang

Merge pull request #952 from edx/ormsbee/ss_msg_signing

Re-enable signature checking of Software Secure postbacks
parents a7cb28fc 221777e6
...@@ -180,8 +180,8 @@ def results_callback(request): ...@@ -180,8 +180,8 @@ def results_callback(request):
settings.VERIFY_STUDENT["SOFTWARE_SECURE"]["API_SECRET_KEY"] settings.VERIFY_STUDENT["SOFTWARE_SECURE"]["API_SECRET_KEY"]
) )
# if not sig_valid: if not sig_valid:
# return HttpResponseBadRequest(_("Signature is invalid")) return HttpResponseBadRequest(_("Signature is invalid"))
receipt_id = body_dict.get("EdX-ID") receipt_id = body_dict.get("EdX-ID")
result = body_dict.get("Result") result = body_dict.get("Result")
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment