Files
deb-python-oauth2client/oauth2client/crypt.py
Danny Hermes ad2fc50e95 Casting message to bytes in PyCrypto verifier.
Also
- Removing bare `except:` statements in both the PyCrypto and
  OpenSSL verifiers (in the `verify` method).
- Catching the only exception possible in the OpenSSL verifier
  (it is `OpenSSL.crypto.Error`).
- Converting the signature to bytes (if not already) in the
  OpenSSL verifier.
- Adding a test with both a unicode and bytes signature for
  each verifier.

Fixes #201.
2015-07-02 11:04:20 -07:00

14 KiB