boatbod / op25

Fork of osmocom OP25 by boatbod
311 stars 97 forks source link

P25: Log encryption info with leading zeroes #212

Closed ilyacodes closed 2 months ago

ilyacodes commented 2 months ago

Logging the MI in particular (but also algID and keyID) without leading zeroes can be very confusing - it's a long number, so it's hard to tell if it's off by one digit. However using a value that's off by a digit results in a wrong keystream.