[tor-bugs] #1836 [BridgeDB]: bridgedb captcha needs review

Tor Bug Tracker & Wiki torproject-admin at torproject.org
Sat Apr 2 00:26:45 UTC 2011


#1836: bridgedb captcha needs review
----------------------+-----------------------------------------------------
 Reporter:  aagbsn    |          Owner:  nickm                    
     Type:  task      |         Status:  needs_review             
 Priority:  normal    |      Milestone:  BridgeDB Upgrades Phase 1
Component:  BridgeDB  |        Version:                           
 Keywords:            |         Parent:                           
   Points:            |   Actualpoints:                           
----------------------+-----------------------------------------------------

Comment(by aagbsn):

 Replying to [comment:6 karsten]:
 > Code looks good.  Two comments:
 >
 >  - When rebasing your branch to origin/master, I'm running into
 conflicts.  I'd rather not break anything there.  Can you rebase to
 origin/master and make a new branch with only the recaptcha changes?  Feel
 free to squash commits if that facilitates rebasing.

 ah, squashing commits breaks stuff for people (nick) tracking the repo. I
 did rebase prior to submitting this for review but git is replaying the
 entire branch on top of master each time I rebase. What is the best course
 of action here? I have also attached a patch.

 >
 >  - Can you tell me what libraries I need and what files I should modify
 to run the recaptcha code?  I'm running Debian Lenny.

 you'll need recaptcha-client (pip install recaptcha-client) or:
 http://pypi.python.org/pypi/recaptcha-client

 and BeautifulSoup (pip install BeautifulSoup) or:
 http://pypi.python.org/pypi/BeautifulSoup/3.0.4

 and a recaptcha.net api key (it's IP-specific)

 The following bridgedb.conf options are required:
 RECAPTCHA_ENABLED = True
 RECAPTCHA_PUB_KEY = 'your_public_key_here'
 RECAPTCHA_PRIV_KEY = 'your_private_key_here'

 >
 > Thanks!

 Thanks for your feedback!

-- 
Ticket URL: <https://trac.torproject.org/projects/tor/ticket/1836#comment:7>
Tor Bug Tracker & Wiki <https://trac.torproject.org/>
The Tor Project: anonymity online


More information about the tor-bugs mailing list