You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
does not increase the value of self.signing.stream_timestamps[stream_key] after initially setting it on the first message received per logical stream.
The documentation says that a packet should be rejected if
Timestamp is older than the previous packet from the same logical stream - where a logical stream is defined as the sequence of MAVLink packets with the same (SystemID, ComponentID, LinkID) tuple.
but since the value is never updated this comparison is only done against the first packet of the stream.
The text was updated successfully, but these errors were encountered:
Hello @tridge, thanks for the response.
I just noticed the issue when comparing the c implementation, this python implementation and the documentation. While I was reasonably confident that there is something wrong with this implementation I am not sufficiently confident to write the security critical code of a codebase I am not familiar with.
The function
check_signature(..) -> bool
inmavutil.py
generated frommavgen_python.py
pymavlink/generator/mavgen_python.py
Line 963 in e192ad8
self.signing.stream_timestamps[stream_key]
after initially setting it on the first message received per logical stream.The documentation says that a packet should be rejected if
but since the value is never updated this comparison is only done against the first packet of the stream.
The text was updated successfully, but these errors were encountered: