Last modified: 2012-07-26 15:44:54 UTC

Wikimedia Bugzilla is closed!

Wikimedia migrated from Bugzilla to Phabricator. Bug reports are handled in Wikimedia Phabricator.
This static website is read-only and for historical purposes. It is not possible to log in and except for displaying bug reports and their history, links might be broken. See T40699, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 38699 - captcha seems broken, don't allow new accounts
captcha seems broken, don't allow new accounts
Status: RESOLVED FIXED
Product: Wikimedia Labs
Classification: Unclassified
deployment-prep (beta) (Other open bugs)
unspecified
All All
: High normal
: ---
Assigned To: Nobody - You can work on this!
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2012-07-26 08:09 UTC by Antoine "hashar" Musso (WMF)
Modified: 2012-07-26 15:44 UTC (History)
7 users (show)

See Also:
Web browser: ---
Mobile Platform: ---
Assignee Huggle Beta Tester: ---


Attachments

Description Antoine "hashar" Musso (WMF) 2012-07-26 08:09:30 UTC
Ryan Kaldari reported that the captcha seems to be broken and will not allow the creation of new accounts. Need to be investigated.
Comment 1 Antoine "hashar" Musso (WMF) 2012-07-26 09:40:11 UTC
CCing Erik since I have seen him try to create an account on labs.


The captcha were generated using a private key which was not filled in the beta mediawiki configuration which caused ConfirmEdit to never match the user input with the captcha that was shown.

I have set $wmgCaptchaSecret in common/wmf-config/PrivateSettings.php to some random key. Then deleted all captcha from /mnt/upload/private/captcha and regenerate the captcha by passing the key to captcha.py.


Command used to regenerate the captcha:

python php-master/extensions/ConfirmEdit/captcha.py \
  --wordlist=/usr/share/dict/words \
  --font=/usr/share/fonts/truetype/ttf-dejavu/DejaVuSansMono.ttf \
  --key=******* \
  --output=/mnt/upload/private/captcha \
  --count=1000 --dirs=3

Captcha log is in /home/wikipedia/logs/captcha.log :

2012-07-26 09:33:35 deployment-apache32 commonswiki: ConfirmEdit: passed; new account 'HasharCaptcha3'

\O/
Comment 2 Platonides 2012-07-26 15:29:55 UTC
My fault, I didn't notice that mediawiki also needed the captcha key when enabling it. Any reason for choosing /usr/share/fonts/truetype/ttf-dejavu/DejaVuSansMono.ttf ?
I had (arbitrarily) used /usr/share/fonts/truetype/ttf-dejavu/DejaVuSans.ttf, i don't know if there's a difference.
Comment 3 Antoine "hashar" Musso (WMF) 2012-07-26 15:44:54 UTC
I have chosen DejaVuSansMono arbitrarily just like you :-D

Note You need to log in before you can comment on or make changes to this bug.


Navigation
Links