Update patch set 9

Patch Set 9: Code-Review+1

(2 comments)

Patch-set: 9
Reviewer: Gerrit User 1000028 <1000028@035e6965-6537-41bd-912c-053f3cf69326>
Label: Code-Review=+1, 87365eab2160adc81a9664794d1ac15edf849e4d
This commit is contained in:
Gerrit User 1000028
2026-03-06 12:32:33 +00:00
committed by Gerrit Code Review
parent c73f5f9d45
commit 0278c303a9

View File

@@ -0,0 +1,38 @@
{
"comments": [
{
"unresolved": false,
"key": {
"uuid": "7cde62f4_23cc3170",
"filename": "/PATCHSET_LEVEL",
"patchSetId": 9
},
"lineNbr": 0,
"author": {
"id": 1000028
},
"writtenOn": "2026-03-06T12:32:33Z",
"side": 1,
"message": "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.",
"revId": "c9c5bd24701b3d880530775ee3a9c6b45ac57a94",
"serverId": "035e6965-6537-41bd-912c-053f3cf69326"
},
{
"unresolved": true,
"key": {
"uuid": "96a9a801_96a414a3",
"filename": "pySim/esim/saip/personalization.py",
"patchSetId": 9
},
"lineNbr": 362,
"author": {
"id": 1000028
},
"writtenOn": "2026-03-06T12:32:33Z",
"side": 1,
"message": "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.\n\nAs 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...\n\nMaybe you calculate the luhn somewehere and everything is fine. I am just writing this to make sure you are aware of this.",
"revId": "c9c5bd24701b3d880530775ee3a9c6b45ac57a94",
"serverId": "035e6965-6537-41bd-912c-053f3cf69326"
}
]
}