capybara/virtualenv/lib/python2.7/site-packages/itsdangerous.py
def verify_signature(self, value, sig):
        """Verifies the signature for the given value."""
        key = self.derive_key()
        try:
            sig = base64_decode(sig)
        except Exception:
            return False
        return self.algorithm.verify_signature(key, value, sig)
def verify_signature(self, value, sig):
        key = self.derive_key()
        try:
            sig = base64_decode(sig)
        except Exception:
            return False
        return self.algorithm.verify_signature(key, value, sig)
def verify_signature ( self , value , sig ) : key = self . derive_key ( ) try : sig = base64_decode ( sig ) except Exception : return False return self . algorithm . verify_signature ( key , value , sig )
Verifies the signature for the given value.
Verifies the signature for the given value .