Method for secure installation of software updates
By verifying and comparing the indication values and reference information of the software update module in the device processor, ensuring authorized access to the resource collection, solving the security and coherence problems of the device during the update process, and achieving safe and legal resource usage and System stability.
Patent Information
- Application Number
- CN202410670606.X
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Priority Date
- 2024-05-15
- Filing Date
- 2024-05-28
- Publication Date
- 2024-12-03
AI Technical Summary
During the reception and installation of the software update module, devices connected to the network are in an unsafe environment, and the device manufacturer lacks control over the programming of the update module, making it difficult to ensure post-update system consistency and security.
By receiving and comparing the indication values of the software update module with stored reference information in the device's processor, verifying the authenticity and integrity of the update module, and decrypting the encrypted data before installation, ensuring authorized access to the resource collection, only in the resource Install it at the corresponding time, and verify resource usage permissions after update, and disable unauthorized resources.
It ensures the security of the device and system coherence during the software update process, ensures the legal use of updated resources, and prevents potential security threats and functional failures.
Smart Images

Figure CN119066648A_ABST
Abstract
Description
[0001] CROSS-REFERENCE TO RELATED APPLICATIONS
[0002] This application claims priority to French patent application number FR 2305373, filed on May 30, 2023, which is incorporated herein by reference to the maximum extent permitted by law. Technical Field
[0003] The present disclosure generally relates to methods of installing application updates on devices connected to a network, such as devices connected to the Internet of Things. Background Art
[0004] A device connected to a network, such as an IOT device connected to the Internet, is configured to receive a software update module. The software update module can be used, for example, to update an application in a memory of the device.
[0005] However, during the receipt of the software update modules and during their installation, the electronic device is not in a secure environment. In fact, the electronic device is, for example, used and in the hands of the end user. In addition, the device manufacturer has no control, for example, over the programming of the software update modules.
[0006] It is generally desired that after installation, the entire system defining the device will remain consistent. It may also be desired to ensure that the device operates correctly after an update while ensuring that the update does not grant additional privileges to the updated application. Summary of the invention
[0007] One embodiment provides a method, the method comprising:
[0008] - receiving, by the electronic device, data comprising a software update module for an application of the device, the software update module comprising a first part, the first part comprising first update information and an indication value; - comparing, by a processor of the device, the first information with reference information, the reference information being stored in a memory of the device in association with the indication value; and
[0009] When the first information corresponds to the reference information, the processor installs the second part of the application update module.
[0010] According to one embodiment, the indication value is an identifier of the application.
[0011] According to one embodiment, the indication value is a value identifying an application category.
[0012] According to one embodiment, the method further comprises: before comparing the first update information with the reference information, verifying the authenticity and / or integrity of the software update module.
[0013] According to one embodiment, the first information is unencrypted data.
[0014] According to one embodiment, the second part of the software update module includes encrypted data, and the method further comprises: decrypting the encrypted data by a cryptographic circuit of the device before installation.
[0015] According to one embodiment, the first information indicates a set of resources of the device that are used during execution of the updated application.
[0016] According to one embodiment, the resource is a peripheral circuit of the electronic device and / or a bus of the electronic device and / or a software code stored in a non-volatile memory of the electronic device.
[0017] According to one embodiment, the reference information associated with the indication value indicates an authorized resource set for the indication value, and when the resources in the resource set belong to the authorized resource set, the first update information corresponds to the reference information.
[0018] According to one embodiment, the method further comprises, after installing the software update module, executing a recording phase of recording the software update module, the recording phase comprising:
[0019] - sending an indication to the processor of a set of resources required during execution of the updated application;
[0020] - comparing, by the processor, the required set of resources with the set of resources indicated in the first part of the software module; and
[0021] - When the resource set corresponds, the indication value is stored in association with the application.
[0022] According to one embodiment, the method further comprises, during execution of the updated application by the processor:
[0023] - Sending a request for use of a resource of an electronic device;
[0024] - Verifying whether use of the device is authorized based on an indication value stored in association with the application.
[0025] According to one embodiment, the method further comprises, if the first and second information do not correspond, deleting the software update module.
[0026] According to one embodiment, the method further comprises: after the installation of the software update module and when the updated application is activated, deactivating resources that are not included in the set of resources authorized for the indication value.
[0027] According to one embodiment, the set of authorized resources is stored in association with the indication value in a memory of the security circuit.
[0028] An embodiment provides an electronic device, the electronic device comprising:
[0029] - an interface configured to receive data, the data comprising a software update module for an application stored in a memory of the device, the software update module comprising a first part, the first part comprising first information and an indication value;
[0030] a processor configured to compare the first information with reference information, the reference information being stored in a memory of the device in association with the indication value, and the processor being further configured to command installation of the software update module when the first information corresponds to the reference information. BRIEF DESCRIPTION OF THE DRAWINGS
[0031] The foregoing features and advantages and other features and advantages will be presented by way of illustration and not limitation in the following description of specific embodiments with reference to the accompanying drawings, in which:
[0032] Figure 1 is a block diagram showing an example of an electronic device according to an embodiment of the present specification;
[0033] Figure 2 The structure of the header of the software update module according to the embodiment of this specification is shown;
[0034] Figure 3 is a flowchart illustrating steps in a method of installing a software update module according to an embodiment of the present description;
[0035] Figure 4 is a block diagram illustrating installation of a software update module according to an embodiment of the present specification; and
[0036] Figure 5 is a flowchart showing steps in a recording method of a software update module according to an embodiment of the present description. DETAILED DESCRIPTION
[0037] In the various drawings, the same features are represented by the same reference numerals. In particular, common structural and / or functional features in various embodiments may have the same reference numerals and may be provided with the same structure, size, and material properties.
[0038] For the sake of clarity, only the operations and elements useful for understanding the embodiments described herein are described in detail and described. Specifically, methods for verifying the authenticity and / or integrity of received software modules are not described in detail, and these methods are known to those skilled in the art.
[0039] Unless otherwise specified, when referring to two elements being connected together, this means a direct connection without any intermediate elements except conductors, and when referring to two elements being coupled together, this means the two elements may be connected or they may be coupled via one or more other elements.
[0040] In the following disclosure, unless otherwise stated, when referring to absolute position qualifiers, such as the terms "front", "back", "top", "bottom", "left", "right", etc., or when referring to relative position qualifiers, such as the terms "upper", "lower", "higher", "lower", etc., or when referring to orientation qualifiers, such as "horizontal", "vertical", etc., it refers to the orientation shown in the figure.
[0041] Unless otherwise indicated, the expressions "about", "approximately", "substantially" and "on the order of" mean within 10%, preferably within 5%.
[0042] Figure 1 1 is a block diagram showing an example of an electronic device according to an embodiment of the present specification. Specifically, the electronic device 100 includes a circuit 102.
[0043] As an example, the device 100 is a smart phone, a connected object such as a smart watch, an element of a home automation system, etc. Typically, the device 100 is an Internet of Things device connected to a network. The integrated circuit 102 also includes, for example, an interface 103 (Interface Interface). The interface 103 is, for example, configured to receive a data stream through the network to which the device 100 is connected.
[0044] The circuit 102 includes, for example, a processor 104 (CPU). The circuit 102 also includes a non-volatile memory 106 (NVMEM) and / or a volatile memory 108 (RAM). For example, the non-volatile memory 106 is a flash memory type memory. For example, the volatile memory 108 is a random access memory. The memories 106 and 108 are coupled to the processor 104, for example, via a bus 110. For example, the non-volatile memory 106 includes a storage unit for storing application programs. When they are executed, the application programs use, for example, resources of the circuit 102, such as peripheral circuits (not shown), such as I2C type buses (Inter-Integrated Circuit), interfaces, or UART (Universal Asynchronous Receiver-Transmitter) interfaces. As an example, the device 100 includes a circuit implementing a camera, a circuit implementing a global positioning system (GPS), etc., and some application programs use a camera and / or GPS and / or other types of peripheral circuits. When they are executed, the application programs also use, for example, software codes stored in the non-volatile memory 106.
[0045] The circuit 102 further comprises a cryptographic circuit 112 (CRYPTO), for example, coupled to the bus 110. The cryptographic circuit 112 is configured to encrypt and / or decrypt data received, for example, via the bus 110, for example, according to a symmetric encryption algorithm or according to an asymmetric encryption algorithm.
[0046] According to one embodiment, the interface 103 is configured to receive a software update module, such as a firmware module, sent via a network to which the device 100 is connected. For example, the software module is sent wirelessly, such as via a radio frequency (RF) signal. As an example, the software update module is used to update one of the application codes stored in the non-volatile memory 106. However, in most cases, the software update module sent to the device 100 is not programmed by the same entity as the entity that programmed the application code and / or designed the circuit 102.
[0047] For example, the software update module takes the form of a binary logical object (BLOB). Specifically, the software update module includes a header in which a plurality of information is indicated. The software update module also includes an update code. As an example, the update code is an encrypted code, and the cryptographic circuit 112 is configured to decrypt it.
[0048] For example, the information included in the header is not encrypted. In another example, the information included in the header is encrypted, and the cryptographic circuit 112 is configured to decrypt it.
[0049] Figure 2 The structure of the header 200 (header HEADER) of the software update module according to the embodiment of this specification is shown.
[0050] As an example, header 200 includes information 202 (CRYPTO SETTINGS), 204 (AUTH.TAG), 206 (INTEGRITY TAG) and 208 (FW INFORMATION). Information 202 is, for example, information related to the encryption settings of the update code. Information 204 includes, for example, an authentication value. For example, the authentication value is generated during the programming of the software update module. As an example, the authentication value is, for example, a digital signature associated with the application code involved in the update. Information 206 includes, for example, an integrity value. For example, the integrity value is generated during the programming of the software update module. For example, the integrity value is a hash value. As an example, the hash value is obtained by applying the SHA-256 algorithm to the update code and the binary logic object defining the update module. A signature associated with the hash value and an asymmetric key are added after the hash value. When the update module is received, the integrity of the module is verified by calculating the hash value based on the received code and the binary logic object and comparing it with the hash value included in the information 206. The module is authenticated, for example, after a signature check based on a public key. For example, the public key is pre-stored in a non-volatile memory of the device 100. As an example, the public key is stored in the device 100 during the manufacture of the device 100. As an example, the public key is associated with a private key that has been used to calculate the signature of the hash value. The information 208 includes, for example, information such as the application to which the update and / or update version relates. For example, when the update module is received, the version is compared with the software version already installed on the device 100. For example, if the update module version is an older version than the installed software, the software is not updated, for example to avoid introducing security defects. For example, an indication of the version is also included in the hash value.
[0051] According to one embodiment, the header 200 also includes information 210 (resource information). The information 210 includes, for example, an indication of one or more resources of the electronic device 100, which will be used during the execution of the application once updated. As an example, the resources include peripheral circuits, such as interfaces (e.g., UART type interfaces), ports (e.g., GPIO (general purpose input / output) type ports), buses (e.g., I2C type buses), or other types of peripheral circuits (e.g., cryptographic circuits, cameras, etc.). Resources also include, for example, software code stored in the non-volatile memory 106.
[0052] According to one embodiment, the information 210 also includes an indication value. As an example, the indication value is an identification value of the application involved in the update. In another example, the indication value identifies a category associated with one or more applications. In another example, the indication value is included in the information 208.
[0053] According to one embodiment, the circuit 102 also includes a data table or list, for example, stored in the non-volatile memory 106. The data table or list includes an indication of a set of resources authorized for the indication value, which is associated with the indication value. As an example, each application is identified by an indication value, and the data table or list includes a set of values associated with each application and therefore associated with each indication value, each value identifying, for example, one or more resources of a device. In another example, the applications are grouped into categories, each category being associated with an indication value. In this example, the data table or list includes a set of values for each category, and therefore associated with each indication value, each value identifying, for example, one or more resources of a device. For each indication value, the associated resource set represents a resource of the device 100 for which access is authorized to the application identified or classified by the indication value.
[0054] According to one embodiment, upon receiving the software update module, the circuit 102, in particular the processor 104, is configured to extract the indication value from the header 200. The circuit 102 is also configured to compare the one or more resources indicated in the information 210 with the resources in the resource set included in the data table or list associated with the indication value.
[0055] As an example, the information segments 202, 204, 206, 208, and 210 of the header 200 are not encrypted. In another example, one or more of the information 202 to 210 are encrypted.
[0056] In the case where the software update module includes multiple software submodules, information 210 includes, for example, an indication of global resources, i.e., the entirety of the software module. Information 210 also includes, for example, an indication of resources for each software submodule. The resources indicated for each software submodule belong to a global resource set. Similarly, if a software submodule includes a level lower than other software submodules, information 210 also includes an indication of resources for each of these lower-level other software modules. In addition, each resource indicated for each software submodule of a lower level belongs to a resource set indicated for the software submodule.
[0057] Figure 3 FIG. 1 is a flowchart showing steps in a process of installing a software update module according to an embodiment of the present description. The process is implemented by the processor 104, for example.
[0058] In step 300, the electronic device 100 receives, for example, via the interface 103, a software update module for an application of the device 100. The software update module comprises a header whose structure is the structure of the header 200. The software update module also comprises a second part, which comprises, for example, a code for updating the associated application. For example, the update code is encrypted. For example, the software update module is then temporarily stored in a volatile memory of the circuit 102.
[0059] After step 300, the process continues in step 301 (OK?). As an example, step 301 includes verifying the authenticity and / or integrity of the software update module by the processor 104. As an example, the verification of the authenticity of the software module is performed based on the authenticity value included in the information 204. As an example, the verification of the integrity of the software module is performed based on the integrity value included in the information 206. Methods for verifying the authenticity and / or integrity of software modules are known to those skilled in the art.
[0060] If the verification(s) performed in step 301 fail (branch N), the process ends in step 302 (installation rejected). Step 302 comprises deleting the software update module, for example from a volatile memory temporarily storing the software update module.
[0061] If the verification performed in step 301 is successful (branch Y at the output of block 301), the process continues in step 303 (is the policy comparison OK?).
[0062] When executing step 303 , the processor 104 extracts the indication value of the header, for example, and compares the resource indicated in the information 210 with the resource set stored in the data table or list associated with the indication value.
[0063] If the at least one resource indicated by the information 210 is not included in the set of resources stored in the table or list of data associated with the indicated value (branch N), the process ends with completion of step 302. The application is then not updated.
[0064] In the case where the software update module includes multiple software sub-modules, step 303 is, for example, further performed by the software sub-module on the software sub-module.
[0065] If all resources indicated by the information 210 are included in the set of resources stored in the data table or list associated with the indicated value (branch Y at the output of block 303 ), the process ends at step 304 (install).
[0066] When the update code is encrypted, step 304 includes decryption of the code by cryptographic circuit 112. Step 304 also includes execution of the update code by processor 104 resulting in an application update.
[0067] Figure 4 is a block diagram illustrating the installation of a software update module according to an embodiment of the present specification. Specifically, Figure 4 shows a configuration to implement about Figure 3 An example of an apparatus 400 for describing the process.
[0068] The device 400 comprises a download circuit 402 (BLOB downloader) configured to receive a software update module. For example, the download circuit 402 is similar to the interface 103.
[0069] The software update module is downloaded from the server, for example, by the download circuit 402. The software module then includes a header, for example, Figure 2 The header structure 200 described above. Specifically, the header of the software module includes an indication value associated with information such as an indication of resources of the device 400. For example, the header also includes an indication of the application involved in the update and an indication of the program version, for example. The header also includes, for example, an authenticity value and / or an integrity value of the module.
[0070] The device 400 further comprises a memory 404 (storage slot) configured to temporarily store the software update module after being downloaded by the circuit 402 .
[0071] The device 400 also includes a secure installation circuit 406 (secure installer). As an example, the installation circuit 406 is a circuit similar to the processor 104. The installation circuit 406 is, for example, configured to perform the authenticity and / or integrity verification of the software update module stored in the memory 404 as described in step 301. For example, the authenticity and / or integrity verification is performed based on the authenticity value and / or integrity value. For example, the authenticity and / or integrity verification is further performed based on the encryption key 408, for example, stored in the internal memory of the installation circuit 406.
[0072] The device 400 also includes a safety circuit 410 (safety circuit), which includes Figure 2 and Figure 3 The installation circuit 406 is further configured to perform the comparison step described with respect to step 303. In other words, the installation circuit 406 is further configured to extract the indication value from the header and compare, for example, the resources indicated in the header with the resources indicated in the list or table 412, the resources indicated in the list or table 412 being given in association with the indication value.
[0073] Thus, for each application of the device, or for each class of programs, a list or table of data includes an indication of the resources that can be used during the execution of the program. The programming of the list or table of data is performed, for example, during the design of the circuit 102 and the devices 100 and 400. In other words, the content of the list or table is decided before receiving the software update module. Thus, a person skilled in the art will be able to select, for each program or each class of programs, the resources of the device that he agrees to make accessible to the program or class of programs.
[0074] As an example, the security circuit 410 includes a memory 413 (MEM) configured to store other elements such as an OBK key (Option Byte Key).
[0075] Device 400 also includes non-volatile memory 414. For example, non-volatile memory 414 is similar to memory 106. Non-volatile memory 414 includes, for example, memory location 416 (slot A) and memory location 418 (slot B). When the comparison described with respect to step 303 is successful, installation circuit 406 is configured to install the software update module in one of locations 416 or 418. As an example, location 418 is configured to store the application involved in the update, and then the software update module is installed in location 418. As an example, before installing the software update module, the installation circuit is configured to command the decryption of the encrypted portion of the software module, for example, by a cryptographic circuit such as circuit 112.
[0076] Figure 5 is a flow chart illustrating steps in a recording process of a software update module according to an embodiment of the present description.
[0077] Once installed, i.e., after completing step 304, step 500 (resource declaration) is performed, for example. Step 500 includes declaring one or more resources required for its execution by the installed software module. The declaration is performed, for example, by the processor 104 under the control of the installed software module. As an example, the installed software module sends an indication of the required one or more resources to the security circuit 410.
[0078] In step 501 (Compare with metadata OK?), the required resources are compared, for example by the security circuit 410, with the resources indicated in the header of the software update module still stored in the memory 404. As an example, the software update module is saved in the memory 404 after it is installed at the location of the memory 414.
[0079] When at least one of the declared required resources is not among the resources indicated in the header of the software update module (branch N), the process ends (inhibits) at step 502. In step 502, the software update module and its installation are deleted from the memories 404 and 414.
[0080] When, in step 501, it is determined that all the required resources are among the resources indicated in the header (branch Y at the block output), the process continues in step 503 (REGISTRATION). Step 503, for example, comprises recording the software module by the security circuit 401. More specifically, the recording of the software module comprises, for example, storing in the security circuit 410 an identifier of an application associated with a set of resources, such as the required resources.
[0081] Completion of steps 500 to 503 then ensures exclusive use of the resource declared as required.
[0082] As an example, when a software module includes multiple software sub-modules, steps 500 to 503 are also performed by the sub-module on the software sub-module.
[0083] In step 504 (Load) following step 503 , the updated application installed in location 416 or 418 is loaded into, for example, a volatile memory such as memory 108 , and executed by a general purpose processor such as processor 104 .
[0084] Then, for example, in step 505, security circuit 410 is configured (deactivation of non-listed resources) to command deactivation of all resources not in the list of resources required by the loaded application. After the resources are deactivated, the updated application is executed, for example, by a general purpose processor such as processor 104.
[0085] For example, during execution of the update program, each time access to a resource is requested, the security circuit 410 is configured to verify that the resource is in the required resources stored in association with the identifier of the program. If the resource is not in the set of required resources stored in association with the identifier of the program, the security circuit 410 is configured to prohibit access to the resource, for example.
[0086] In another embodiment, as for Figure 5 In an alternative to the described embodiment, when the updated application is executed, each time access to a resource is requested, the security circuit 410 is configured to verify that the resource belongs to a set of resources stored in a data table or list in combination with the indication value. In the event that the resource does not belong to the set, access to the resource is denied, for example.
[0087] Registration of the application is optional, but the hints associated with the application are saved in memory, for example after an update, to verify that any resources required for use during application execution are resources authorized by the data table or list associated with the hint.
[0088] Combination Figure 5The advantage of the described embodiments is that they provide double protection for accessing the resources of the device. In fact, when a resource is requested during the execution of an application, they allow to verify that the resource has been indicated as authorized to be required by the application before installing the update.
[0089] An advantage of the described embodiments is that they enable controlling access to resources of a device for updates coming from the outside.
[0090] Various embodiments and variations have been described. Those skilled in the art will appreciate that certain features of these embodiments may be combined, and those skilled in the art will readily conceive of other variations. Specifically, the encryption and decryption methods used may vary. Similarly, the implementation of the list or table as indication 412 may vary.
[0091] Finally, actual implementation of the embodiments and variants described herein is within the capabilities of a person skilled in the art based on the functional description provided above, particularly with regard to the implementation of the safety circuit 410 .
Claims
1. A method comprising: Receiving, by an electronic device, data including an application update module for an application, the application update module including a first part, the first part including first update information and an indication value, the first update information indicating a resource set used when executing an updated application; comparing, by a processor of the electronic device, the first update information with reference information associated with the indication value and stored in a memory of the electronic device, wherein the reference information associated with the indication value indicates a set of authorized resources for the indication value; When the first update information corresponds to the reference information, installing, by the processor, a second portion of the application update module, thereby generating the updated application program; and During execution of the updated application by the processor: sending a request to use a given resource of the electronic device; and Based on the indication value stored in association with the application, it is verified whether the use of the given resource is authorized. The method according to claim 1 , wherein the indication value is an identifier of the application. The method according to claim 1 , wherein the indication value is a value identifying a category of an application program.
4. The method according to claim 1, further comprising: Before comparing the first update information with the reference information, the authenticity of the application update module is verified.
5. The method according to claim 1, further comprising: Before comparing the first update information with the reference information, the integrity of the application update module is verified. The method according to claim 1 , wherein the first update information is non-encrypted data.
7. The method of claim 1, wherein the second portion of the application update module comprises encrypted data, the method further comprising: Prior to the installation of the second part of the application update module, the encrypted data is decrypted using a cryptographic circuit of the electronic device. The method of claim 1 , wherein the set of resources comprises peripheral circuits of the electronic device.
9. The method of claim 1, wherein the set of resources comprises a bus of the electronic device.
10. The method of claim 1, wherein the collection of resources comprises software code stored in the memory of the electronic device.
11. The method according to claim 1, wherein if the resources in the resource set belong to the authorized resource set, the first update information corresponds to the reference information.
12. The method of claim 1 , further comprising, after the installation of the second part of the application update module, performing a recording phase of recording the application update module, the recording phase comprising: sending to the processor an indication of the set of resources to be used during execution of the updated application; comparing, by the processor, the set of resources to be used during execution of the updated application with the set of resources indicated in the first update information; as well as When a set of resources to be used during execution of the updated application corresponds to the set of resources indicated in the first update information, the indication value is stored in association with the application.
13. The method according to claim 12, further comprising: If the first update information does not correspond to the reference information, the application update module is deleted.
14. The method according to claim 12, further comprising: After installation of the application update module, and while the updated application is active, resources not included in the set of resources authorized for the indication value are disabled.
15. The method of claim 12, further comprising storing the authorized set of resources in association with the indicator value in a memory of a secure circuit in the electronic device.
16. An electronic device comprising: an interface configured to receive data, the data comprising an application update module for an application stored in a memory, the application update module comprising a first part, the first part comprising first update information and an indication value, the first update information indicating a set of resources used when executing an updated application; as well as a processor configured to compare the first update information with reference information associated with the indication value stored in the memory, the reference information associated with the indication value indicating an authorized set of resources for the indication value, the processor further configured to command installation of the application update module if the first update information corresponds to the reference information, thereby generating an updated application program; The processor is further configured to: during the execution of the updated application, send a request for use of a given resource of the electronic device, and verify whether the use of the given resource is authorized based on the indication value. 17 . The electronic device according to claim 16 , wherein if the resources in the resource set belong to the authorized resource set, the first update information corresponds to the reference information.
18. The electronic device of claim 16, wherein the processor is further configured to, after the installation of the second part of the application update module, perform a recording phase of recording the application update module, the recording phase comprising: sending to the processor an indication of the set of resources to be used during execution of the updated application; comparing, by the processor, the set of resources to be used during execution of the updated application with the set of resources indicated in the first update information; as well as When the set of resources to be used during execution of the updated application corresponds to the set of resources indicated in the first update information, the indication value is stored in association with the application.
19. The electronic device of claim 18, wherein the processor is further configured to, during the execution of the updated application: sending a request for use of a given resource of the electronic device; and Whether the use of the given resource is authorized is verified based on the indication value stored in association with the application. 20 . The electronic device of claim 18 , wherein the processor is configured to delete the application update module if the first update information does not correspond to the reference information.
21. The electronic device of claim 16, wherein the processor is configured to, after installation of the application update module and when the updated application is active, disable resources that are not included in the set of resources authorized for the indication value.
22. The electronic device of claim 16, wherein the processor is further configured to store the authorized set of resources in association with the indication value in a memory of a secure circuit.
