About
You're a developer. And you've spent the last 2 years working with Java sockets in an uninteresting trading app. But you also happen to support anonymity - but have no idea how to get involved. Or you're a security researcher who's spent the last two months understanding the padding oracle backwards and forwards. Wouldn't it be nice to see a personalized RSS feed of cryptography, anonymity, and privacy projects containing the keywords "java.net.Socket" or "CBC Mode"? Then you could skim commits, and if something interesting came up, you may be able to lend your expertise. That's exactly what the Code Peer Review is for.
How You Can Help Test the Code Peer Review
From easiest to most time-intensive
Help us add projects
- Without looking at setup.py think of all the crypto and privacy open source projects you can, and write them down.
- Check setup.py to see if you wrote down any we don't have yet
- Either fork and edit setup.py to include them, and submit a pull request, or just create an issue and link to the project.
Help us add tags
- Think of all the things you or someone else would be interested in code reviewing - crypto, threading, etc
- Check tags.txt and see if they're there.
- Either fork and submit a pull request, or just create an issue and tell us your tags
Help us add library tags
- Find the API documentation for a crypto library - like OpenSSL
- Make textfiles that group the API function calls together (either into subgroups under the library or just all as the single library)
- Follow the format of OpenSSL textfiles
- Fork and submit a pull request
Run your own instance, and inspect the commits:
- Either set up your own instance of the Feed, or ask in #cryptodotis for the beta url
- Put the raw RSS Feed in your favorite reader
- Review the commits to see if the code peer review missed a keyword, or see if you think of a new keyword should be added
- If you think of a UI feature that needs to be added, or something that's really missing, create an issue
Actively test the parser
- Set up your own instance of the Feed
- Change setup.py to contain your own test repositories
- ./setup.py --testpopulate
- Perform commits that should match tags, or perform commits on branches, or do strange commits (moves, renames, etc)
- ./cronjob -30 0 (for commits made 30 minutes ago)
- Make sure the Code Peer Review processes your test commits correctly.
Requirements
-
Python
-
MySQL
-
pysvn
-
GitPython. I'm using 0.3.2 RC1, I don't think 0.1 will work
-
PLY (Python Lex-Yacc library), I'm using 3.4
-
PyRSS2Gen - I'm using 1.0.0
-
Jinja - I'm using 2.6
-
Python-Graph - I'm using 1.8.0
-
google-diff-match-patch - I'm using 20111010
-
Tornado Webserver - I'm using 2.1.1
Installation
- Move config.sample.py to config.py and fill in variables
- Run ./setup.py --populate or --testpopulate
- Set up a cronjob to run nightly with ./cronjob.py -86400 0
- python rss.py to run the rss feed/webserver temporarily, or use something similar to the included gentoo-init-script to run permanently
- Browse to localhost:8888/rss/ for the RSS Feed.