Attention is currently required from: laforge, pespin, dexter.
3 comments:
File pySim/ota.py:
Patch Set #5, Line 347: apdu += otak.crypt._get_padding(len_cipher, otak.crypt.blocksize)
This should also set pad_cnt. Setting PCNT=0 often works in practice because the last intentional command produces output so the padding zeros aren't even read, but still that's probably not intended.
I'm not sure what the right behavior is with Gerrit here -- I've prepared a fix in the branch chrysn/for-29033 (but didn't push it to refs/change/29033 as that might create a new patchset rather than a proposed patch set if that's even a thing here).
Patch Set #5, Line 416: res = self.SmsResponsePacket.parse(remainder)
Do we trust this parsing step enought, to
(If both are "yes", please just mark as resolved).
Patch Set #5, Line 443: cc = otak.auth.check_sig(temp_data, res['cc_rc'])
Needless assign; check_sig is merely called for the exception it'd raise.
To view, visit change 29033. To unsubscribe, or for help writing mail filters, visit settings.