same workaround for client

This commit is contained in:
Mario Fetka 2024-04-16 13:46:16 +02:00
parent 87cf2d7ade
commit 1972e7a428

View File

@ -98,8 +98,9 @@ if args.b or dump:
SignEVP = M2Crypto.EVP.load_key(c.privkey)
SignEVP.sign_init()
SignEVP.sign_update(signed_message)
StringSignature = SignEVP.sign_final().encode('hex')
encoded_signed_message = signed_message.encode('utf-8')
SignEVP.sign_update(encoded_signed_message)
StringSignature = binascii.hexlify(SignEVP.sign_final()).decode('utf-8')
signed_dict = {
#"protocolVersion": version.protocol,