Project

General

Profile

Actions

Feature #5976

open

pySim-prog: do not program linked files multiple times

Added by dexter 11 months ago.

Status:
New
Priority:
Low
Assignee:
Category:
-
Target version:
-
Start date:
03/27/2023
Due date:
% Done:

0%

Spec Reference:

Description

In the card file system there are files that exist in DF.GSM and in ADF.USIM. In case the files share the same content there may be one physical file and one that is a link to that physical file. At the momen pySim-prog does not care about this. It just programs all files or it programs the file intentionally only in one of the two locations, the latter one is a problem in case the specification of one of the files evolves so that the link has to be removed for newer card revisions and two individual files have to be created. Then one of the two is no longer programmed.

This can be handled smarter. The FCP should tell if the file is a linked file or not. So we should check if the file in question is a linked file and if so, we would skip programming it. In case the file is a physical file we would program it. This would mean we would have to visit all files in all locations but we would be on the safe side in case we have to break up links in future card revisions.

(The topic came up while fixing #5830)

No data to display

Actions

Also available in: Atom PDF

Add picture from clipboard (Maximum size: 48.8 MB)