osmo-sim-auth.py:45:12: E711 comparison to None should be 'if cond is None:'
osmo-sim-auth.py:131:20: E712 comparison to True should be 'if cond is True:' or 'if cond:'
Change-Id: I959ea84b8369a0a37bb65c47824a4c4e8d4630cc
The method authenticate() of the class USIM may return None in some
error cases. Lets check this fore passing the return code into len()
Change-Id: Ic22f37931c13e7ec8bd1fa7872cd2a24faeea0ba
Related: OS#1967
While testing the sysmoUSIM, I found that I wanted to see errors more
prominently and some output for cases that lacked any response at all.
Change-Id: Ia2ac1215ae948558324627f76e28c72a23dc6a68
The below ASN1 was parsed as "long form" even if it is not the
long form. The highest bit indicates if it is the long form or
the indefinite form. The below was going through the long form
path but there is no long form in it. Change the long form code
but don't verify it. It might still be broken.
[98, 87, 130, 2, 120, 33, 131, 2, 127, 255, 132, 16, 160, 0, 0, 0, 135, 16, 2, 255, 255, 255, 255, 137, 7, 9, 0, 0, 165, 22, 131, 2, 127, 255, 203, 13, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 202, 1, 128, 138, 1, 5, 171, 21, 128, 1, 1, 164, 6, 131, 1, 10, 149, 1, 8, 128, 1, 64, 151, 0, 128, 1, 6, 144, 0, 198, 9, 144, 1, 64, 131, 1, 1, 131, 1, 129]