saltedge/saltedge-examples

Python class lost its verify method

Closed this issue · 10 comments

Python class lost its verify method

@alisnic please put it back

Also the crypto.verify(self._public_key, base64.b64decode(signature), message, self.digest) code is wrong, since self._public_key is a PKey object and crypo.verify takes an _x509 object as its first parameter.

@Rested Hello,
Can you please specify why is pycrypto bad?

@Rested #37

take a look please,
how do you find that?

Still not working for me.

Is it still {url}|{body} as the message?

yep, {callback_url}|{post_body}. Can you provide more details?

Yes sure, do you have somewhere i can send you the data more privately?

andreil.lisnic at gmail. Can you send me a signature and request that you received so that we debug the example?