Update reCaptcha library to API version 2

Bug #1470705 reported by Aaron Wells
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Mahara
Fix Released
Medium
Walter Lowe

Bug Description

Google introduced reCaptcha API version 2.0 in December 2014. While they haven't announced a deprecation date for reCaptcha version 1 yet, we should upgrade our system anyway, because the version 2 is a better user experience and more secure.

See https://developers.google.com/recaptcha/intro

Google's github repository has a reCaptcha 2 PHP library, so we should use that: https://github.com/google/recaptcha

If possible, we should do this in such a way that the usage of Mahara's "captcha" Pieform element (htdocs/lib/form/elements/captcha.php) doesn't change, nor do any of the site configuration elements.

Aaron Wells (u-aaronw)
summary: - Update reCaptcha library to use reCaptcha version 2
+ Update reCaptcha library to API version 2
Aaron Wells (u-aaronw)
tags: added: snack-sized
tags: added: academy
description: updated
Aaron Wells (u-aaronw)
Changed in mahara:
milestone: 15.10.0 → 16.04.0
Revision history for this message
Mahara Bot (dev-mahara) wrote : A patch has been submitted for review

Patch for "master" branch: https://reviews.mahara.org/5926

Changed in mahara:
assignee: nobody → Walter Lowe (brokenchiw4w4)
status: Confirmed → In Progress
Revision history for this message
Mahara Bot (dev-mahara) wrote : A change has been merged

Reviewed: https://reviews.mahara.org/5926
Committed: https://git.mahara.org/mahara/mahara/commit/8a97bfbad2831b622124c842d4449ad2afeb5a9f
Submitter: Robert Lyon (<email address hidden>)
Branch: master

commit 8a97bfbad2831b622124c842d4449ad2afeb5a9f
Author: Walter Lowe <email address hidden>
Date: Tue Jan 19 15:48:12 2016 +1300

Bug #1470705 updated the ReCaptcha API from v1 to v2

behatnotneeded

Change-Id: I6fd204b5fae3bf37c3fd20bf7890ccf2e3915821

Robert Lyon (robertl-9)
Changed in mahara:
status: In Progress → Fix Committed
Changed in mahara:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.