P1sec / pycrate

A Python library to ease the development of encoders and decoders for various protocols and file formats; contains ASN.1 and CSN.1 compilers.
GNU Lesser General Public License v2.1
381 stars 132 forks source link

I assuming OCT_STR is not working #176

Closed DVD-99 closed 2 years ago

DVD-99 commented 2 years ago

I have attempted to decode an uper encoded message; however, it failed to decode a key that utilizes OCT_STR() {'msgCnt': 11, 'id': **b'\x05\xedG\xa6'**, 'secMark'

Could you please confirm?

p1-bmu commented 2 years ago

OCT_STR has been perfectly working up to now... Please read https://github.com/P1sec/pycrate/blob/master/README.md, especially https://github.com/P1sec/pycrate/blob/master/README.md#filling-an-issue, and regarding the use of the ASN.1 runtime, read also the wiki: https://github.com/P1sec/pycrate/wiki/Using-the-pycrate-asn1-runtime. Then you can provide all the needed information for this issue, that may be useful not only to you, but to other users of the lib. Thanks