Open maddenj-ie opened 7 months ago
Thanks for uncovering this bug, too. Same as with previous issue, a new repository has been setup, including new fixes. This repo will keep being maintained : https://github.com/pycrate-org/pycrate. It includes fixes for this specific 5G NAS module. Moreover, it will ease collaborative support !
If you checkout the last 0.7.1 version, this bug should be solved.
The 'Len' field of UPSISublist is not encoded when using 'to_bytes'
The issue may be reproduced using the following test
There is no 'init' method associated with the UPSISublist class.
https://github.com/P1sec/pycrate/blob/1824d90cd4815ccdf4070e76338009aa1a1e8097/pycrate_mobile/TS24501_UEPOL.py#L169
I've done some experimenting and the addition of the following code, resolves the issue.
I'm happy to assist with testing.
Thanks.