if key is not unicode then leave it alone
add unit test
Merge pull request #6 from jkarneges/master

allow non-ascii keys
Merge pull request #1 from kumar303/master

Minor enhancements
Merge branch 'master' of git://github.com/michaelrhanson/pyjwt into michaelrhanson-master

Conflicts:
	jwt/__init__.py
	tests/test_jwt.py
Conform to more current draft specs

The 'none' algorithm is classified as MUST in
http://tools.ietf.org/html/draft-ietf-oauth-json-web-token-02#section-8
Add test for "none" algo
Use TestCase's builtins instead of assert
Ignore vim swap files
RSA require M2Crypto now.
Timing attack avoidance

Addresses problem noted in https://github.com/progrium/pyjwt/issues/7
I'm an idiot and can't copy and paste
Avoid UnboundLocalError
Whoops!
Add a length test

I forgot that zip() will happily truncate a longer sequence
Emacs hates trailing whitespace
Ignore emacs temp files
Add support for arbitrary headers

The more recent drafts of the JWS specification define reserved words for the
signature header object but allow that the user can include any other data
they want.  Permit that to happen in a fairly rough way.
Continued repair

I can not patch and merge well, it appears.  Define the EncodeError
exception so that we don't blow up even worse than expected.
make pypi package