Fix the signature generation for GitHub payloads.

Review Request #6321 — Created Sept. 12, 2014 and submitted

Information

Review Board
release-2.0.x
55b4105...

Reviewers

GitHub payload signatures are encoded in SHA1, but we were encoding in
MD5. This updates our signature code and tests to encode in SHA1.

Unit tests pass.

Deployed a build with this fix and re-sent the webhook. The review request
submitted successfully.

reviewbot
  1. Tool: Pyflakes
    Processed Files:
        reviewboard/hostingsvcs/github.py
        reviewboard/hostingsvcs/tests.py
    
    
    
    Tool: PEP8 Style Checker
    Processed Files:
        reviewboard/hostingsvcs/github.py
        reviewboard/hostingsvcs/tests.py
    
    
  2. 
      
david
  1. Ship It!

  2. 
      
chipx86
Review request changed
Status:
Completed
Change Summary:
Pushed to release-2.0.x (0be4404)