progrium/pyjwt — pull request #35 by tgs (2014-04-29 16:36:37+00:00)
Title: Allow algorithm names to be upper- or lower-case

The standard doesn't seem to specify whether algorithm names must be
capitalized or lower-case. I had an issue with spurious failures due to
a lower-case algorithm name ("hs256"), so here is a patch that converts
the incoming name to capital letters before looking it up in the
algorithm dictionary.