User Details
- User Since
- Oct 28 2024, 10:36 AM (58 w, 2 d)
- Availability
- Available
- LDAP User
- Unknown
- MediaWiki User
- HArroyo-WMF [ Global Accounts ]
Today
I've tested this fix by manually changing the public key in the page DOM to one I control (similar to what would be done in a real site key tampering attack), and then submitting the form: The API returns an error and the edit is not saved.
Yesterday
Fri, Dec 5
Thu, Dec 4
Wed, Dec 3
The patch was marked as WiP while addressing things raised during the code review.
After recent changes introduced during the code review this is not working anymore: I've been able to send an edit, get redirected to the edit form, and then resubmit the form without actually being asked to solve a captcha (i.e. the "always challenge" key was not there the second time).
Mon, Dec 1
As per this comment, we will be adding support for carrying the "always challenge" sitekey into other pages when it is first triggered as the consequence from another, so that if an AbuseFilter first triggers the captcha when editing page A and then the user edits page B wthout solving A's captcha, a new captcha is shown when trying to save page B (i.e. the "Always challenge" key is used on the first load of page B's edit form).
Thu, Nov 27
Wed, Nov 26
@EMill-WMF confirmed that the new messages are correct (the new messages are the same as before but without commas, i.e. "Please try again" instead of "Please, try again").
Tue, Nov 25
This is being fixed as part of T410657: hCaptcha: Improve support for SiteKey verification, os moving this ticket to code review since patches for that patch are currently being reviewed.
QA completed, closing this task.
The main patch (ConfirmEdit #1208333) was reviewed and merged yesterday, a backport (ConfirmEdit #1210737) is scheduled, a patch updating config (mediawiki-config #1210627) exists and a follow-up (ConfirmEdit #1210771) is being reviewed now, so moving this ticket to In Review.
Mon, Nov 24
I've updated the patch
@hector.arroyo Is this still blocking the patch?
Fri, Nov 21
Moving to 'In progress' since this is being worked on.
Updating the i18n message here: https://gerrit.wikimedia.org/r/c/mediawiki/extensions/CentralAuth/+/1208301
Thu, Nov 20
Moving this to QA in the team's board given that all patches have been merged and it is already in QA in the WE4.2 board
Note that a concerns have been raised about the inability of sending the form if the connection is lost after loading the edit form but before the used interacts with it (i.e. before there is a chance to load hCaptcha's SDK). This discussion is blocking merging that patch.
Wed, Nov 19
Patches have now been merged, so moving this to QA in the team board.
Tue, Nov 18
I've updated the patch https://gerrit.wikimedia.org/r/c/mediawiki/extensions/ConfirmEdit/+/1205186 to keep using the generic message for these cases ("There was an error while loading the form. To continue, you will need to reload the page.") while still allowing the user to resubmit the form.
Mon, Nov 17
@Niharika @EMill-WMF I was thinking on using these messages for the errors raised during the hCaptcha execution:
I've updated https://gerrit.wikimedia.org/r/c/mediawiki/extensions/ConfirmEdit/+/1205186, which is ready for review.
Fri, Nov 14
An initial patch (pending tests) was submitted to cover the case when the hCaptcha client lib reports a network error, so that the user is able to resubmit the form in this scenario: https://gerrit.wikimedia.org/r/c/mediawiki/extensions/ConfirmEdit/+/1205186
Alternatively, you can switch the browser to Offline mode in the dev tools after the captcha popup has been shown but before hitting the Verify button.
