1
0
mirror of https://github.com/azlux/pymumble synced 2025-01-18 08:03:28 +00:00
pymumble/pymumble_py3
Nicola C 2ee3f82744
UDP encryption fix (#133)
* Fixed encryption

Before the fix the whole last block encrypted were appended to the encrypted output.
This caused a wrong checksum calculation and resulted in a wrong tag prepended to the packet, which the Mumble server discarded most of the times (in some lucky cases the remaining length.

To fix this I took inspiration from: https://github.com/ianling/mumpy/blob/dev/mumpy/mumblecrypto.py

* Added a default decryption plain_length
* Renamed send_udp to the existing send_packet_udp
* Removed error-prone length parameter
2023-10-31 11:13:52 +01:00
..
2016-11-30 00:52:36 +01:00
2021-04-21 14:32:20 +02:00
2016-11-30 00:52:36 +01:00
2021-04-21 14:32:20 +02:00
2020-02-08 11:29:41 +01:00
2021-02-20 12:21:42 +01:00
2023-10-31 11:13:52 +01:00
2021-01-30 14:44:45 +01:00
2021-01-30 14:44:45 +01:00
2020-06-07 01:10:26 +02:00
2023-10-31 11:13:52 +01:00
2023-10-31 11:13:52 +01:00
2020-03-15 08:53:07 +08:00
2020-06-04 18:28:23 +03:00