Attention is currently required from: neels.
Patch set 9:Code-Review +1
2 comments:
Patchset:
I think this patch looks ok. I would recommend to double check the code paths so that we can be sure that the luhn checksum of the ICCID is always correct.
File pySim/esim/saip/personalization.py:
Patch Set #9, Line 362: default_source = param_source.IncDigitSource
The ICCID has a luhn checksum at the end. A wrong checksum may cause the eUICC to just refuse the profile installation. As far as I know, the IncDigitSource just increments, it does not add a checksum or anything.
As far as I can see you are using enc_iccid to encode the value in apply_val. This function only does the nibble swap. sanitize_iccid would calculate the luhn if it is not yet present, but its only called in validate_val...
Maybe you calculate the luhn somewehere and everything is fine. I am just writing this to make sure you are aware of this.
To view, visit change 40200. To unsubscribe, or for help writing mail filters, visit settings.