Python class lost its verify method
Closed this issue · 10 comments
Rested commented
Python class lost its verify method
Rested commented
Ideally not reintroducing the pycrypto dependency!
…On 16 Feb 2018 5:12 pm, "Ivan Danci" ***@***.***> wrote:
@alisnic <https://github.com/alisnic> please put it
<https://github.com/saltedge/saltedge-examples/pull/34/files#diff-065db89977e742fc425bbb79461eb7fdL60>
back
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
<#36 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AB6SmJXuJRphpNjxfLaieZYxyq0U-QDEks5tVajegaJpZM4SIg0L>
.
Rested commented
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.
mtkachenk0 commented
@Rested Hello,
Can you please specify why is pycrypto
bad?
mtkachenk0 commented
kueben commented
Still not working for me.
kueben commented
Is it still {url}|{body} as the message?
alisnic commented
yep, {callback_url}|{post_body}. Can you provide more details?
kueben commented
Yes sure, do you have somewhere i can send you the data more privately?
alisnic commented
andreil.lisnic at gmail. Can you send me a signature and request that you received so that we debug the example?