I've created a captcha system to work w/turbogears its not fully integrated yet - i need to figure out a way to widgetize it ( probably a complex widget that has an imageField + text field )
it uses a lot of code/inspiration from pyCaptcha, but also breaks with some of its conventions, and redoes sections of code to better work with a persistant environment (like caching ttf file names) These were my design requirements: - works in a clustered environment ( ie, does not save images , a key generates them ) - does not require database write handle use - if a database is supported in the future, it should be pluggable ( ie: configure the DB columns in the app so its not a 'TurboGears Only' app. also, the seed could be the item in the db that is private , so the functions wouldn't have to change ) the result is a captcha that works on this principle the human readable text is created by hashing a public key w/a timestamp the key is only valid for x time unfortunately, it lends to some weaknesses the coding is also quite bad, i've just been stabbing at in my spare time over the past 2 days in between phonecalls and mod_perl issues. i'd love it if some people would be open to helping me fix it up. everything is pretty well explained in the doc, as well as some example controller methods for generate/view/validate http://2xlp.com/misc/python_captcha.tar.bz2 --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "TurboGears" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/turbogears -~----------~----~----~----~------~----~------~--~---

