mozilla/openbadges — pull request #502 by brianloveswords (2013-02-08 19:07:02+00:00)
Title: Fix case sensitivity in recipient hash comparison

[fixes #501]

Previously the hash comparison was done on directly using the equality
operator. This proved to be too restrictive as hash implementations can
generate output of varying case. I changed the implementation so that
the generated hash and the expected hash are normalized to lowercase
before comparing.