Application integrity verification

By verifying the system-generated confirmation on the computing device, using secure circuits and encryption keys to sign the integrity of the application, it solves the problem of the application being modified or the location information being forged, ensuring the integrity of the application and user trust, reducing The risk of bad actors receiving undue rewards.

CN113039544BActive Publication Date: 2024-10-15APPLE INC
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN201980074808.5
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Priority Date
2019-11-13
Filing Date
2019-11-15
Publication Date
2024-10-15
Estimated Expiration
2039-11-15

AI Technical Summary

Technical Problem

On computing devices, applications can be modified by bad actors to circumvent functionality limitations or falsify location information, causing them to not operate as the developer intended and thus receive inappropriate rewards.

Method used

Ensure that the application has not been modified without authorization by implementing a verification system on the computing device that utilizes secure circuitry to generate attestations, utilize cryptographic keys to sign the application's integrity, and validate the application's certificates and keys through a remote server , to reduce the possibility of incorrect modifications.

Benefits of technology

It effectively prevents unauthorized modification of applications and forgery of location information, ensuring the integrity of applications and user trust, and reducing the risk of bad actors receiving improper rewards.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN113039544B_ABST
    Figure CN113039544B_ABST
Patent Text Reader

Abstract

The present invention discloses technologies related to application authentication. In various embodiments, a computing device includes a security circuit configured to maintain multiple encryption keys of the computing device. In such embodiments, the computing device receives a request for a confirmation that can be used to confirm the integrity of the application from the application, instructs the security circuit to use one of the multiple encryption keys to provide confirmation for the application, and provides the confirmation to a remote computing system in communication with the application. In some embodiments, the security circuit is configured to verify the received metadata related to the identity of the application and use the encryption key to generate a confirmation indicating the identity of the application.
Need to check novelty before this filing date? Find Prior Art

Description

Background Art Technical Field

[0002] The present disclosure relates generally to computing devices, and more particularly to authenticating applications executing on computing devices.

[0003] Related technical description

[0004] In some cases, a bad actor may attempt to modify an application running on a computing device so that it does not operate as the developer intended. For example, before the bad actor purchases a license, the application may impose restrictions on various functions supported by the application. To avoid purchasing a license, the bad actor may modify the application to circumvent these restrictions. As another example, the application may provide various rewards based on location data provided by the device. The bad actor may then attempt to modify the application (or install a modified version of the application) that allows the bad actor to falsify location information in order to obtain additional rewards. BRIEF DESCRIPTION OF THE DRAWINGS

[0005] Figure 1A is a block diagram illustrating an example of a system for generating a confirmation for a verified application.

[0006] Figure 1B is a block diagram illustrating another example of a system for generating a confirmation for a verified application.

[0007] Figure 2A is a block diagram illustrating an example of an application requesting validation from a secure enclave processor within a computing device of a system.

[0008] Figure 2B is a block diagram illustrating an example of an application requesting certification from a certification server of the system.

[0009] Figure 2C is a block diagram illustrating an example of an application requesting a certification associated with an application-generated key.

[0010] Figure 2D is a block diagram illustrating an example of an application requesting a confirmation generated by an operating system of a computing device within a system.

[0011] Figure 2E is a block diagram illustrating an example of an application requesting a certification generated using a certified key.

[0012] Figure 3 is a block diagram illustrating an example of a secure area processor.

[0013] FIG. 4A to FIG. 4D is a flow chart illustrating an example of a method for using validation.

[0014] Figure 5 is a block diagram illustrating an exemplary computer system.

[0015] This disclosure includes references to "one embodiment" or "an embodiment." The appearance of the phrase "in one embodiment" or "in an embodiment" does not necessarily refer to the same embodiment. The particular features, structures, or characteristics may be combined in any suitable manner consistent with the present disclosure.

[0016] Within the present disclosure, different entities (which may be variously referred to as "units", "circuits", other components, etc.) may be described or claimed as being "configured to" perform one or more tasks or operations. This expression - [an entity] configured to [perform one or more tasks] - is used herein to refer to a structure (i.e., a physical thing, such as an electronic circuit). More specifically, this expression is used to indicate that this structure is arranged to perform one or more tasks during operation. A structure may be said to be "configured to" perform a task even if the structure is not currently being operated. "Configured to generate a certified safety circuit" is intended to cover, for example, an integrated circuit having a circuit system that performs that function during operation, even if the integrated circuit in question is not currently being used (e.g., a power source is not connected to it). Therefore, an entity described or stated as "configured to" perform a task refers to a physical thing used to implement the task, such as a device, a circuit, a memory storing executable program instructions, etc. The phrase is not used herein to refer to an intangible thing. Therefore, a "configured to" structure is not used herein to refer to a software entity, such as an application programming interface (API).

[0017] The term “configured to” is not intended to mean “configurable to.” For example, an unprogrammed FPGA would not be considered “configured to” perform a particular function, although it may be “capable of being configured to” perform that function and may be “configured to” perform that function after being programmed.

[0018] The recitation of a structure in the appended claims as "configured to" perform one or more tasks is expressly intended to define the claim element. No Invoking 35 U.S.C. § 112(f). Thus, no claim in this application as filed is intended to be interpreted as having means-plus-function elements. If the applicant wishes to invoke section 112(f) during the prosecution of the application, it will use the “means for [performing the function]” construction to phrase the claim elements.

[0019] As used herein, the terms "first," "second," and the like serve as labels for the nouns that follow them and do not imply any type of ordering (e.g., spatial, temporal, logical, etc.) unless explicitly stated. For example, a mobile device may have a first user and a second user. The term "first" is not limited to the initial user of the device. The term "first" may also be used when there is only one user of the mobile device.

[0020] As used herein, the term "based on" is used to describe one or more factors that influence a determination. The term does not exclude that there may be additional factors that may influence the determination. That is, the determination may be based only on the specified factors or on the specified factors and other unspecified factors. Consider the phrase "determining A based on B." This phrase specifies that B is a factor used to determine A or that B influences the determination of A. This phrase does not exclude that the determination of A may also be based on some other factor such as C. The phrase is also intended to cover embodiments in which A is determined based only on B. As used herein, the phrase "based on" is therefore synonymous with the phrase "based at least in part on." DETAILED DESCRIPTION

[0021] The present disclosure describes an embodiment in which a computing device can provide a confirmation indicating the integrity / validity of an application. As used herein, the term "integrity" is used to describe an application that has not been modified in an unauthorized manner. Therefore, if, for example, an application has been modified by a bad actor to operate in a manner that the developer did not expect, the application will be considered to lack integrity. As will be discussed in more detail below, an application executed on a computing device can be connected to a remote service in order to perform certain functions. In order to confirm its integrity, in various embodiments, the application can request confirmation from a computing device provided based on the verification of the application. In some embodiments, the verification is performed in part by the security circuit of the computing device. If the verification is successful, the security circuit generates the requested confirmation, which is signed using an encryption key maintained by the security circuit. In various embodiments, the encryption key is specific to the application and / or the current user of the application. After the confirmation has been issued by the security circuit, the application can provide the confirmation to the remote service to confirm that the application has not been modified incorrectly. In other embodiments discussed below, verification and confirmation generation can be handled by the operating system of the computing device, a remote server, a security circuit, or a combination thereof. In many cases, implementing a verification system in this way can reduce the possibility that a computing device is executing an incorrectly modified application.

[0022] Now turn to Figure 1A, which shows a block diagram of an authentication system 10A. In the illustrated embodiment, the system 10A includes a computing device 100, which includes a central processing unit (CPU) 110, a memory 120, and a secure area processor (SEP) 130 coupled together via an interconnect 140. The memory 120 includes an application 122 and an operating system (OS) 126. The system 10A also includes a remote server 150. In some embodiments, the system 10A can be implemented differently than shown - for example, the system 10A can include the following with respect to Figure 1B As discussed above, the computing device 100 may include the following with respect to the authentication server: Figure 5 The component or components discussed, etc.

[0023] In various embodiments, the application 122 can be executed to connect to a remote service, which in the illustrated embodiment is provided by a remote server 150. The application 122 can correspond to any suitable application that may be susceptible to undesired modifications. Similarly, the remote server 150 can correspond to any suitable computer system and can provide any suitable service. For example, the application 122 can be an application that attempts to retrieve content from the server 150 in order to present the content to the user. As another example, the application 122 can be a multiplayer game that attempts to connect to the server 150 so that the user can play with other users. In some embodiments, the remote server 150 is operated by the developer of the application 122; in other embodiments, the server 150 can be operated by some other entity.

[0024] As described above, in various embodiments, the application 122 may provide a certificate 134 to the remote server 150 in order to verify its integrity—for example, that it has not been modified in some unauthorized manner. In some embodiments, the remote server 150 may request the certificate 134 as a prerequisite for establishing a connection with the application 122 (or providing any service requested by the application 122). As will be discussed below, in some embodiments, the certificate 134 is a signed challenge issued by the remote server 150 and signed using the application key 132 maintained by the SEP 130. After receiving the certificate 134, the remote server 150 may then attempt to verify the certificate 134. In some embodiments, the remote server 150 may also perform user authentication that is different from the verification of the received certificate 134. As shown, the application 122 may issue a request 124 to the OS 126 in order to generate the certificate 134.

[0025] In various embodiments, OS 126 is executable to manage various operations of computing device 100. In the illustrated embodiment, OS 126 facilitates interfacing application 122 with SEP 130, which may be provided by an application programming interface (API) supported by OS 126. Thus, application 122 may issue request 124 as an API call to OS 126, which in turn may provide request 124 to SEP 130. OS 126 may also return a confirmation 134 generated in response to the request to application 122 via the API for delivery to remote server 150. In some embodiments, OS 126 also participates in authentication of application 122, as will be discussed below, and in some embodiments, even generates confirmation 134.

[0026] In various embodiments, SEP 130 is a secure circuit configured to perform cryptographic services of computing device 100. As used herein, the term "secure circuit" refers to one of a class of circuits configured to perform one or more services and return an authenticated response to an external requester. The result returned by the secure circuit is considered to have a trust mark that exceeds the circuit that only returns the result without any form of authentication. In some embodiments, the response from SEP 130 is authenticated by the use of cryptography such as providing a digital signature or encrypting data. In some embodiments, the response from SEP 130 is authenticated by communicating via a trusted communication channel such as a dedicated bus between SEP 130 and another party or a mailbox mechanism discussed below. In contrast, circuits such as hardware accelerators that only operate on certain received values ​​and return results will not be considered as secure circuits within the meaning of this disclosure. By authenticating the returned result, such as by signing with a digital signature that can be verified, the secure circuit can therefore provide an anti-spoofing function. In addition, in some cases, the secure circuit may be referred to as "tamper-proof", which refers to a special term for a mechanism that prevents the execution of one or more services of the secure circuit from being damaged.

[0027] In some embodiments, SEP 130 is configured to generate a certificate 134 for application 122 and to verify application 122 before providing certificate 134. As will be described below with respect to FIG. 2A to FIG. 2EAs discussed in more detail, the verification may include receiving various metadata from the application 122 to verify the identity of the application 122 and its integrity. In various embodiments, the metadata includes an application certificate, which is provided by the developer and includes one or more signed hash values ​​generated from a valid copy of the application 122. In some embodiments, the certificate may also include the identity of the application and various other criteria defined by the developer. Thus, in response to receiving the metadata, the SEP 130 may verify the application certificate and verify that the hash values ​​generated from the application 122 match those in the application certificate. In some embodiments, the verification may be performed in part (or in full) by the operating system 126. For example, in one embodiment, the OS 126 may generate one or more hash values ​​from the application 122 and provide them to the SEP 130, which compares them to the signed hash values ​​provided by the developer. In another embodiment, the OS 126 performs the comparison and indicates the result of the comparison to the SEP 130, which verifies the result before generating the verification 134. (In still other embodiments, the verification and / or generation may be handled by a verification server, as will be discussed below with respect to Figure 1B ) In various embodiments, this verification may be performed during registration of the application 122 and / or during generation of the certification 134.

[0028] In some embodiments, before a request 124 for a certificate can be issued, the application 122 can perform an initial registration in which the SEP 130 generates an application key 132 for use in the subsequent generation of the certificate 134. In some embodiments, the registration can be performed when the application 122 is installed or updated (or in the case of adding a new user). During the registration, the SEP 130 can derive a public key pair having a public key and a private key corresponding to the application key 132. In some embodiments, these derived keys are unique to a given device 100 (or SEP 130) - therefore, two devices 100 will include different keys. In some embodiments, these derived keys are unique to the application 122 on the device 100 (or even unique to the version of the application 122). In some embodiments discussed below, the derived keys are also unique to a specific user - therefore, an application 122 with two users will provide a certificate 134 generated using separate keys 132. In various embodiments, registration may also include SEP 130 generating a certificate for the public key pair - in doing so, SEP 130 may act as a certificate authority (CA). The certificate may include the public key and is transmitted to remote server 150 along with certification 134 so that remote server 150 can verify certification 134 using the public key. In some embodiments, the certificate may include additional content, such as a reference to a developer certificate used in the verification, a signed hash value from the certificate, etc. In some embodiments, this certificate (and other certificates described herein) conform to the requirements of X.509.

[0029] After registration, application 122 may issue a request 124 for a certificate 134—for example, when it intends to establish a connection with remote server 150. In response to successful authentication of application 122, SEP 130 is configured in some embodiments to retrieve the corresponding application key 132 and generate a corresponding certificate 134. As described above, in some embodiments, the generation includes signing a challenge issued by remote server 150. However, SEP 130 may sign other information to generate the certificate 134, such as a hash value generated from application 122, a timestamp, etc. Although not described in detail for simplicity, Figure 1A 1, but SEP 130 may provide proof 134 to application 122 via OS 126, which may deliver the proof to remote server 150 for verification. Application 122 may also provide a certificate obtained during enrollment and including a public key that cannot be used to verify proof 134. In some embodiments, the application certificate and / or a root certificate associated with the manufacturer of device 100 may also be transmitted to remote server 150 to facilitate verification of proof 134.

[0030] Now turn to Figure 1B , which shows a block diagram of the verification system 10B. As described above, application verification and / or certification generation can be performed by an external server. Therefore, in the illustrated embodiment, the verification system 10B includes the above-mentioned Figure 1A The computing system 160 may be implemented differently than shown. Although labeled as a server, the computing system 160 may correspond to any suitable computing device, such as a neighboring device of the computing device 100, a device associated with the same cloud-based account as the device 100, or a device described below with respect to the computing device 100. Figure 5 Any computing device among the listed computing devices, etc.

[0031] In embodiments where verification is performed by verification server 160, verification server 160 may receive request 124 that includes metadata about application 122 to be verified by server 160. In the illustrated embodiment, SEP 130 signs request 124 using request key 136 to verify that request 124 is from valid device 100 (and also the device including SEP 130). In such embodiments, verification server 160 verifies the signature of request 124 and the accompanying metadata, which may be verified in a manner similar to that discussed above and discussed in more detail below. In some embodiments, the metadata provided to server 160 may be obfuscated so that server 160 can verify the metadata without knowing the full content of the metadata. For example, metadata in request 124 may include a hash value of the name of application 122 (rather than the actual name) to obfuscate the name to server 160. In various embodiments, any metadata transmitted to server 160 is transmitted in a manner consistent with recognized privacy policies and / or privacy practices. Users may also "opt out" of participation, as discussed below. In some embodiments where server 160 is not responsible for generating attestation 134, server 160 may send the results of the verification to SEP 130 (or more generally, device 100), which may generate attestation 134 based on the received results. In still other embodiments, SEP 130 (or OS 126) may maintain application keys 132, but server 160 may attest to those keys 132 in response to receiving and verifying request 124. Specifically, request 124 may be a certificate signing request (CSR) that includes a public key corresponding to application key 132 (in such embodiments, key 132 is a private key) and a signature generated from key 132. After verifying the information in request 124, server 160 may issue a corresponding certificate for key 132. The certificate may then be presented to server 150 along with attestation 134, which may use the certificate to verify attestation 134.

[0032] In embodiments where verification server 160 performs generation of verification 134, verification server 160 may retrieve application key 132 and generate verification 134 by generating a digital signature using key 132, as discussed above and discussed in more detail below. In embodiments where server 160 performs application verification, verification 134 may be generated based on the verification results of server 160. In other embodiments, SEP 130 and / or OS 126 may perform the verification and indicate the results of the verification to server 160 to cause it to provide verification 134. Figure 2CIn still other embodiments discussed, server 160 may generate a public key pair and provide the pair to device 100 (specifically, OS 126 ) to enable it to generate certificate 134 .

[0033] Now turn to Figure 2A , which shows a block diagram of an interaction 200A for obtaining a certification 134 generated by a SEP 130. In the illustrated embodiment, the application 122 includes program instructions 210, data 220, and metadata 230, which can be used to authenticate the application 122 and obtain the certification 134, as will be discussed below. In some embodiments, the interaction 200A can be implemented in different ways—for example, the metadata 230 may not be included in the application 122, the metadata 230 may include more (or fewer) elements, the request 124 may include the metadata 230, etc.

[0034] In various embodiments, metadata 230 is information about application 122 and can be used to authenticate application 122. In the illustrated embodiment, metadata 230 includes an application identifier 232 and an application certificate 234, which includes one or more signed hash values ​​236 and a key threshold 238. In various embodiments, application identifier 232 is a value that uniquely identifies application 122 (such as a name, version number, random value, or combination thereof of application 122). In some embodiments, identifier 232 may be included in certificate 234. In various embodiments, application certificate 234 is a certificate issued by a developer of application 122 (or an application store that sells application 122) with hash value 236 generated by applying a hash function to program instructions 210 of a valid copy of application 122 and signing the hash value using a private key, which may have a corresponding public key included in certificate 234. Therefore, if program instructions 210 are subsequently modified, any subsequently generated hash value from instructions 210 may then deviate from signed hash value 236.

[0035] In various embodiments, the key threshold 238 is a set of one or more criteria related to the application key 132. As described above, in some embodiments, an application key 132 may be generated for each user of a particular application 122. In such embodiments, the key threshold 238 may limit the number of keys 132 that may be generated for users of the application 122. For example, the threshold 238 may specify that keys 132 may be generated for a maximum of five users. If a request 242 is received to generate a sixth key 132 for a sixth user, the SEP 130 may deny the request (or replace one of the keys 132 that have been generated, such as removing a previously generated key 132 for a particular user in response to receiving a request to generate a new key for a particular user). In another embodiment, the key threshold 238 may limit the number of keys 132 that may be generated based on the number of versions of the application 122. For example, if a developer has released two versions of an application (e.g., version 1.0 and version 2.0), the key threshold 238 may indicate that a maximum of two keys 132 may be generated—assuming that version 1.0 is initially installed and then updated to version 2.0. In some embodiments, the key threshold 238 may also be used to limit the number of issued certificates that are valid at a given point in time for the application 122. In some cases, placing limits on keys 132 (and / or certificates 246) may prevent malicious actors from achieving certain benefits by creating multiple keys 132 (such as those tied to fraudulent versions of user accounts), etc.

[0036] As described above, a registration exchange 202A may be performed to establish an application key 132 that can be used to generate a subsequent attestation 134. As shown, the exchange 202A may include an application 122 sending a registration request 242 to the SEP 130. In the illustrated embodiment, the request 242 includes metadata 230 and a user identifier 244. In some embodiments, the user identifier 244 is an index value that is used to look up which key 136 should be used for a given application 122 when multiple keys have been generated for multiple users. Thus, the user identifier 244 may correspond to any suitable value that can be used to distinguish a key 136 for one user from a key 136 for another user. For example, in one embodiment, the identifier 244 is a random value assigned to a user to distinguish it from other users. In other embodiments, the identifier 244 may be some value known to the server 150. For example, in one embodiment, the identifier 244 is a hash value of a user account used by a user of the application 122 to access the remote server 150. In other embodiments, other types of index values ​​may be used to look up a key 136 associated with a particular application 122. In response to receiving the metadata 230, the SEP 130 may verify that it correctly corresponds to the application 122. As described above, this may include the SEP 130 (or OS 126) reading the program instructions and / or data 220 to generate one or more hash values, which are compared to the signed hash value 236. In some embodiments, the SEP 130 may also confirm that the generation of the new key 132 meets the key threshold 238. If the verification is successful, the SEP 130 may generate a public key pair and return a corresponding key certificate 246. In various embodiments, the key certificate 246 includes a public key in the public key pair and a signature generated using a private key, which is the application key 132. In some embodiments, the key certificate 246 may also include at least a portion of the metadata 230, such as the application identifier 232 and / or the signed hash value 236. In some embodiments, the certificate 246 may include a reference to the application certificate 234, such as a digital signature from the certificate 234. In some embodiments, credentials 246 may include user identifier 244—e.g., to enable remote server 150 to also rely on attestation 134 to authenticate a particular user associated with application key 132. In many cases, enrollment 202A may be performed only once, in order to allow for multiple subsequent performances of usage exchange 204A.

[0037] Once the registration exchange 202A has been performed, the application 122 may perform a use exchange 204A when it wants to verify 134. In some embodiments, the exchange 202A may begin with the application receiving a challenge 252, which may include random data or some other value provided by the remote server 150 to prevent potential replay attacks. As shown, the application 122 may then transmit the challenge 252 and the user identifier 244 in the request 124 to obtain the verification 134. In the illustrated embodiment, the request 124 does not include the metadata 230 because it is verified in the registration. However, in other embodiments, the metadata 230 may be included in the request 124 and verified by the SEP 130. In response to receiving the request 124, the SEP 130 may retrieve the appropriate key 132 for the application 122 based on the user identifier 244 (or some other type of key index). The SEP 130 may then use the key 132 to generate a digital signature from the challenge 252 and provide the signature as the verification 134 to the application 122. Application 122 may then provide key certificate 246 and certification 134 to remote server 150, which uses key certificate 246 to verify certification 134. If verification is successful (meaning that application 122 has been verified by SEP 130 to correspond to application certificate 234), remote server 150 may proceed to provide the requested service to application 122.

[0038] Now turn to Figure 2B, which shows a block diagram of an interaction 200B for obtaining a certification 134 generated by a server 160. As discussed above with respect to interaction 200A, interaction 200B may include a registration exchange 202B and one or more usage exchanges 204B. In the illustrated embodiment, registration exchange 202B includes application 122 sending a registration request 242 to SEP 130, which signs request 242 using request key 136 and sends the request to server 160. As shown, in some embodiments, request 242 includes metadata 230 and a user identifier 244 that are verified by server 160. As described above, in some embodiments, metadata 230 and / or user identifier 244 may be obfuscated (e.g., by hashing the information) to prevent server 160 from knowing, for example, application identifier 232. In response to successful verification, server 160 may return key certificate 246 to application 122. In the illustrated embodiment, usage exchange 204B includes application 122 sending request 124 to SEP 130, which signs the request using request key 136 and sends it to server 160. In some embodiments, request 124 includes user identifier 244 and challenge 252 (and metadata 230, which may be obfuscated in some embodiments). In response to receiving request 124 (and performing another verification in some embodiments), server 160 may generate proof 134 by signing challenge 252 (or challenge 252 including information). Server 160 may then return the generated proof 134 to application 122, which may deliver proof 134 along with key certificate 246 to remote server 150.

[0039] Now turn to Figure 2C, which shows a block diagram of an interaction 200C for obtaining a certification 134 generated by SEP 130 and associated with an application-generated key. In the illustrated embodiment, interaction 200C includes a registration exchange 202C in which application 122 sends a registration request 242 as described above, and SEP 130 uses key request 136 to sign the content in request 242, such as metadata 230 and user ID 244. This signed content can then be transmitted to server 160 for verification. In response to successful verification, server 160 can issue a certificate certifying application key 132. However, as part of performing registration exchange 202C, application 122 can also generate an encryption key (illustrated as application-generated key 222), which the application can use in its interactions with remote server 150. In the illustrated embodiment, application 122 further sends a certificate request 224, requesting that SEP 130 issue a corresponding certificate 226 for application-generated key 222. (Although shown separately for purposes of illustration, in some embodiments, the certificate request 224 may be part of or sent with the enrollment request 242.) In some embodiments, the SEP 130 signs the requested key certificate 226 using the newly certified application key 132. During the usage exchange 204C, the SEP 130 may use the application key 132 as described above to generate the confirmation 134 for the issued challenge 252. However, the usage exchange 204C may also include the application 122 providing the certificate 226 for the application-generated key 222 and using the key 222 for some purpose. In the illustrated embodiment, the application-generated key 222 is used to establish a secure exchange 254 with the remote server 150, such as using the key 222 in an Elliptic Curve Diffie-Hellman (ECDH) exchange to establish a shared key; however, in other embodiments, the application-generated key 222 may be used by the application 122 for various other purposes.

[0040] Now turn to Figure 2D, which shows a block diagram of an interaction 200D for obtaining a certification 134 generated by the OS 126. In the illustrated embodiment, the certification server 160 performs the verification of the metadata 230, but the OS 126 generates the certification 134. As shown, the interaction 200D may include a registration exchange 202D, which may transmit a request 242 and a key certificate 246 in a manner similar to the exchange 202B. However, in the illustrated embodiment, the certification server 160 generates a public key pair and provides the private application key 132 for subsequent use in the exchange 204D. Therefore, when the application 122 issues a subsequent request 124 in the exchange 204D, the OS 126 uses the private key 132 to generate the certification 134, such as discussed above.

[0041] Now turn to Figure 2E , which shows a block diagram of an interaction 200E for obtaining a certification 134 generated by the OS 126 and using a certified application key 132. In the illustrated embodiment, the OS 126 (or in other embodiments, the SEP 130) generates a public key pair such that the application key 132 is the private key of the pair. During the exchange 202E, the OS 126 includes the public key 262 of the pair in the request 242 and the signature generated from the private application key 132 in the request 242. Although not shown, the request 242 may be further signed by the SEP 130. The server 160 may then verify the request 242 and issue a corresponding certificate 246 for the application 122 in response to successful verification. The verification may be implemented in a manner similar to that discussed above with respect to other figures. In some embodiments, the server 160 limits the number of valid certificates 246 issued to the device 100 for a particular application 122 at a given time. Thus, the verification may include verifying that the number of issued certificates 246 does not exceed a threshold (such as the threshold identified by key threshold 238) before issuing a new certificate 246. In some embodiments, when the application private key 132 is maintained by the OS 126, the certificate 246 may be assigned a shorter validity period to further limit the number of valid certificates 246. When the usage exchange 204E is later performed, the OS 126 generates the certification 134 using the certified application key 132 and provides it along with the certificate 246 to the server 150 for verification.

[0042] In various embodiments, the registration exchange 202 may be performed as needed when an application 122 issues a request 242 and / or an older issued key certificate 246 expires. In some cases, when multiple applications 122 on multiple devices 100 are requesting certification 134, this may result in a large number of requests 242 being sent to the server 160. In other embodiments, multiple requests 242 may be grouped together and issued to the server 160 as periodic batch requests. For example, the OS 126 may transmit a single batch request once a day for all key certificates 246 requested by the applications 122. This asynchronous approach may result in fewer requests being received by the server 160. In some embodiments, the OS 126 may further track when the certification 134 associated with a particular application key 132 was last generated. If a certain amount of time (e.g., thirty days) has passed since the certification 134 associated with the particular application key 132 was issued, the OS 126 may forgo requesting to update the certificate 246 in an upcoming batch request. If the corresponding application 122 later requests certification 134 after the certificate 246 has expired and / or its corresponding private key 132 has potentially been deleted, the OS 126 can issue a request 242 for an updated certificate 246 as needed (or, in another embodiment, schedule the request to be included in the next batch of processing requests sent to the server 160). In some embodiments, the OS 126 can request an updated certificate 246 for an already existing, previously certified application key 132, rather than generating a new application key 132, in order to reduce the number of instances of generating new keys 132 - assuming such keys 132 are still available and have not been deleted. However, if the key 132 has been deleted, the OS 126 can generate a new key 132 and request a new certificate 246.

[0043] Now turn to Figure 3 , which shows a block diagram of SEP 130. In the illustrated embodiment, SEP 130 includes filter 310, secure mailbox mechanism 320, processor 330, secure ROM 340, cryptographic engine 350, key storage device 360, and biosensor pipeline 370 coupled together via interconnect 380. In some embodiments, SEP 130 may include Figure 3 More (or fewer) components are shown. As described above, SEP 130 is a secure circuit with tamper resistance. As discussed below, SEP 130 achieves tamper resistance by using filter 310 and secure mailbox 320.

[0044] Filter 310 is a circuit system configured to tightly control access to SEP 130 to increase the isolation of SEP 130 relative to the rest of computing device 100, and thus improve the overall security of device 100. More specifically, in one embodiment, filter 310 may allow read / write operations from CPU 110 (or other peripheral devices coupled to interconnect 140) to enter SEP 130 only if these operations are addressed to secure mailbox 320. Other operations may not proceed from interconnect 140 to SEP 130. Even more specifically, filter 310 may allow write operations to addresses assigned to the inbox portion of secure mailbox 320 and read operations to addresses assigned to the outbox portion of secure mailbox 320. Filter 310 may block / filter all other read / write operations. In some embodiments, filter 310 may respond to other read / write operations with an error. In one embodiment, filter 310 may receive write data associated with a filtered write operation without passing the write data to local interconnect 380. In one embodiment, filter 310 may provide nonce data as read data for a filtered read operation. Nonce data (e.g., "garbage") may generally be data that is not associated with an addressed resource within SEP 130. Filter 310 may provide any data as nonce data (e.g., all zeros, all ones, random data from a random number generator, data programmed into filter 310 to respond as read data, the address of a read transaction, etc.).

[0045] In various embodiments, filter 310 may filter only incoming read / write operations. Thus, components of SEP 130 may have full access to other components of computing device 100, such as memory 120. Thus, filter 310 may not filter responses from interconnect 140 provided in response to read / write operations issued by SEP 130.

[0046] The secure mailbox 320 is a circuit system that includes an inbox and an outbox in some embodiments. Both the inbox and the outbox can be first-in, first-out buffers (FIFOs) of data. The buffers can have any size (e.g., any number of entries, each of which can store data from a read / write operation). In particular, the inbox can be configured to store write data from a write operation originating from the interconnect 140. The outbox can store write data from a write operation originating from the processor 330. (As used herein, a "mailbox mechanism" refers to a memory circuit that temporarily stores 1) inputs to a secure circuit until they can be retrieved by the circuit and / or 2) outputs from a secure circuit until they can be retrieved by an external circuit.)

[0047] In some embodiments, software executing on CPU 110 may request services of SEP 130 via an application programming interface (API) supported by OS 126—that is, a requester may make API calls requesting services of SEP 130. These calls may cause corresponding requests to be written to mailbox mechanism 320, which is then retrieved from mailbox 320 and analyzed by processor 330 to determine whether it should service the request. Thus, the API may be used to facilitate, for example, exchanges 202 and 204 via mailbox 320. By isolating SEP 130 in this manner, the integrity of SEP 130 may be enhanced.

[0048] The SEP processor 330 is configured to process commands received from various sources in the computing device 100. The processor 330 may then execute instructions stored in the ROM 340 to implement the functionality described herein with respect to the SEP 130, which may include using various secure peripherals to implement the commands. Thus, the ROM 340 may include program instructions executable to perform operations using the keys 132 or 136 discussed above. For example, the ROM 340 may be programmed with executable instructions to authenticate the application 122 and / or generate the attestation 134. In the illustrated embodiment, the SEP processor 330 may execute the authentication application 342 to perform authentication of the user and provide appropriate commands to the biosensor sensor pipeline 370 to verify the biometric data 302 collected by the biosensors of the device 100. Such authentication may be performed, for example, to unlock the device 100, authenticate the user of the device 100 to the application 122, and the like. Among the program instructions executable by some embodiments, the program instructions executed by SEP processor 330 are signed by a trusted authority (eg, the manufacturer of device 10) to ensure their integrity.

[0049] The secure ROM 340 is a memory configured to store program instructions for booting the SEP 130. In some embodiments, the ROM 340 may only respond to a specific address range assigned to the secure ROM 340 on the local interconnect 380. The address range may be hardwired, and the processor 330 may be hardwired to fetch from that address range at boot time in order to boot from the secure ROM 340. The filter 310 may filter addresses within the address range assigned to the secure ROM 340 (as described above), thereby preventing access to the secure ROM 340 from components external to the SEP 130. In some embodiments, the secure ROM 340 may include other software that the SEP processor 330 executes during use. This software may include program instructions for processing inbox messages and generating outbox messages, etc.

[0050] Cryptographic engine 350 is a circuit system configured to perform cryptographic operations for SEP 130, including key generation and encryption and decryption using keys in key storage device 360. Cryptographic engine 350 can implement any suitable encryption algorithm, such as Data Encryption Standard (DES), Advanced Encryption Standard (AES), asymmetric cryptographic algorithm (Rivest Shamir Adleman (RSA)), etc. In some embodiments, engine 350 can also implement elliptic curve cryptography (ECC). In some embodiments, engine 350 is configured to generate certification 134 using key 132. In other embodiments, engine 350 is configured to sign request 242 and / or 124 using key 136, as discussed above.

[0051] The key storage device 360 ​​is a local memory (i.e., internal memory) configured to store cryptographic keys. As shown, in some embodiments, the storage device 360 ​​includes the key 132 or 136. The storage device 360 ​​may also include various metadata 362 about the key 132 or 136 and can be used to retrieve the key 132 or 136, such as its associated application identifier, user identifier, etc. The key storage device 360 ​​may include any type of memory, such as the following with respect to Figure 5 Various examples of volatile or non-volatile memory are listed. In some embodiments, storage device 360 ​​may also include a set of fuses that are burned during the manufacture of SEP 130 (or more generally, device 100) to record keys such as UID keys. Although shown as residing in storage device 360, key 132 or 136 may be stored external to SEP 130 but encrypted by one or more keys maintained by SEP 130 that may be stored in storage device 360.

[0052] In one embodiment, the biometric sensor pipeline 370 is a circuit system configured to compare the biometric data 302 captured by the biometric sensor from the user being authenticated with the biometric data 372 of the authorized user. (In another embodiment, the data 302 and 327 can be compared by software such as the authentication application 342.) The biometric data can be data that uniquely identifies the user (at least with a high degree of accuracy) among others based on the user's physical or behavioral characteristics. In some embodiments where the data 302 is collected from the user's face, the pipeline 370 can perform the comparison using a set of neural networks included in the pipeline 370, each of which is configured to compare the biometric data 302 captured in a single frame with the biometric data 372 of the authorized user captured in multiple frames. As shown, the pipeline 370 can be configured to read the biometric data 372 from the memory 120, which can be protected by encryption in some embodiments and / or stored in an associated portion of the memory 120 that can only be accessed by the SEP 130. (In another embodiment, SEP 130 may store data 372 internally.) Based on the comparison of biometric data 302 and 372, SEP 130 may provide an authentication result indicating whether the authentication was successful or failed.

[0053] Now turn to Figure 4A , which illustrates a flow chart of method 400. Method 400 is one embodiment of a method performed by a computing device executing an application, such as computing device 100. In many cases, execution of method 400 may ensure execution of a valid application.

[0054] In step 405 , the computing device receives a request (eg, request 124 ) from an application (eg, application 122 ) for a certificate (eg, certificate 134 ) that can be used to confirm the integrity of the application.

[0055] In step 410, the computing device directs the security circuit (e.g., SEP 130) to use one of the plurality of maintained encryption keys (e.g., application key 132 or request key 136) to provide a certification for the application. In some embodiments, the security circuit verifies the received metadata (e.g., metadata 230) related to the integrity of the application and uses the encryption key to generate a certification indicating the integrity of the application. In various embodiments, the metadata includes a certificate (e.g., application certificate 234) that identifies a hash value (e.g., hash value 236) signed by a developer of the application. In some embodiments, the security circuit performs a comparison of the signed hash value with a hash value generated from the application in response to the received request. In some embodiments, the security circuit generates a public key pair unique to the application so that the encryption key is a private key in the public key pair. In some embodiments, the security circuit provides a certificate (e.g., key certificate 246) including a public key in the public key pair to the application, which can be used by the remote computing system to verify the certification. In some embodiments, the certificate includes an identifier of the application (e.g., application identifier 232) and a hash value generated from the application (e.g., hash value 236). In some embodiments, the security circuit receives a challenge (e.g., challenge 252) issued by a remote computing system to the application to authenticate the application, and generates a confirmation by signing the challenge with a private key. In some embodiments, the public key pair is for a specific user of the computing device, and the request for confirmation identifies the specific user. In some embodiments, the security circuit receives an application certificate (e.g., application certificate 234) from the developer of the application, and the application certificate identifies a threshold number of users (e.g., key threshold 238) for which a public key pair is allowed to be generated. In such embodiments, the security circuit verifies that the generation of the public key pair meets the threshold number of users. In some embodiments, the operating system verifies metadata (e.g., metadata 230) obtained from the application and related to the integrity of the application, and the operating system performs guidance based on the verified metadata. In some embodiments, the security circuit uses an encryption key to establish a connection with a server configured to generate a confirmation (e.g., by signing a request 124), and receives the generated confirmation from the server.

[0056] In step 415, the computing device provides the certification to a remote computing system (eg, remote server 150) in communication with the application.

[0057] Now turn to Figure 4B , which shows a flow chart of method 430. Method 430 is one embodiment of a method performed by an application program that verifies its validity, such as application program 122. In many cases, execution of method 430 can ensure execution of a valid application program.

[0058] In step 435, the application sends a request (eg, request 124) for a confirmation (eg, confirmation 134) indicating that the application has been authenticated.

[0059] In step 440, the application provides metadata (e.g., metadata 230) indicating the identity of the application. In some embodiments, the metadata is provided to the security circuit (e.g., SEP 130), and the security circuit is configured to verify the metadata in response to the request. In some embodiments, the providing includes providing a signed hash value (e.g., signed hash value 236) generated by the developer for the authorized copy of the application, and the security circuit is configured to verify the hash value before generating the attestation.

[0060] In step 445, the application receives the requested confirmation from the security circuitry of the computing device, which is configured to provide the requested confirmation based on verification of the provided metadata. In some embodiments, the received confirmation is signed using a cryptographic key (e.g., application key 132) maintained by the security circuitry for the application. In some embodiments, the cryptographic key is one of a plurality of keys maintained by the security circuitry, and the request for confirmation includes an index value (e.g., user identifier 244) that can be used by the security circuitry to identify the cryptographic key.

[0061] In step 450, the application uses the received confirmation to establish a connection with a remote server (eg, remote server 150).

[0062] Now turn to Figure 4C , which illustrates a flow chart of method 460. Method 460 is one embodiment of a method performed by a server system that generates a certification for an application, such as certification server 160. In many cases, execution of method 460 can ensure execution of a valid application.

[0063] In step 465, the server system receives a signed request (e.g., signed request 124) from a security circuit (e.g., SEP 130) in a computing device (e.g., device 100) to provide a confirmation (e.g., confirmation 134) for an application (e.g., application 122) executed on the computing device. In various embodiments, the confirmation can be used to confirm that the application is valid. In various embodiments, the server system maintains a plurality of encryption keys (e.g., application key 132) for generating the confirmation for the computing device. In some embodiments, each of the plurality of encryption keys is associated with a corresponding application executed on the computing device. In some embodiments, the server system receives a request (e.g., signed request 242) from a security circuit to generate an encryption key for the application, and before generating the encryption key, the server system verifies that the generated encryption key complies with the restrictions set by the developer of the application. In such embodiments, the restriction (e.g., key threshold 238) is the number of encryption keys allowed to be generated for the application.

[0064] In step 470, the server system generates the requested confirmation using an encryption key maintained by the server system. In some embodiments, before generating the requested confirmation, the server system verifies metadata (e.g., metadata 230) provided with the request and related to the identity of the application. In some embodiments, the server system receives an indication from the secure circuit that the metadata provided by the application and related to the identity of the application has been verified, and generates the confirmation in response to the indication.

[0065] In step 475, the server system sends the generated confirmation to the computing device. In various embodiments, the confirmation is used by the application to establish communication with a service (eg, provided by remote server 150).

[0066] Now turn to Figure 4D , which shows a flow chart of method 490. Method 490 is an embodiment of a method performed by a computing device that generates a certification using a key certified by another computer system. In many cases, execution of method 490 can ensure execution of a valid application.

[0067] In step 492, the computing device receives a certificate (e.g., certificate 246) for an encryption key (e.g., application key 132) from a first computing system (e.g., attestation server 160), the encryption key being usable to generate an attestation (e.g., attestation 134) indicating that the application (e.g., application 122) has been authenticated. In various embodiments, the computing device performs registration of the application (e.g., registration 202), including: generating a public key pair for the application, the public key pair including an encryption key as a private key in the public key pair, and sending a request for a certificate to the first computing system, the request including a public key in the public key pair (e.g., public key 262) and a signature generated by the private key. In some embodiments, the performing includes requesting a security circuit (e.g., SEP 130) (e.g., using request key 136) to sign the request before sending the request to the first computing system.

[0068] In step 494, the computing device receives a request (eg, request 124) from an application to generate a confirmation.

[0069] In response to the authentication of the application, the computing device generates the requested confirmation using the cryptographic key in step 496. In some embodiments, the confirmation is generated by an operating system of the computing device (e.g., OS 126). In some embodiments, the confirmation is generated by security circuitry of the computing device (e.g., SEP 130).

[0070] In step 498, the computing device provides the generated confirmation and the received certificate to a second computing system (e.g., remote system 150) that interfaces with the application. In some embodiments, method 490 includes generating a plurality of encryption keys that can be used to generate confirmation for the application, each of the plurality of encryption keys being associated with a respective user of the application. In some embodiments, the computing device limits the number of encryption keys generated for users of the application based on a threshold value (e.g., key threshold value 238) specified by the developer of the application. In some embodiments, the limitation includes removing a key previously generated for a particular user in response to determining that a new key is generated for a particular user. In some embodiments, the computing device (or first computing system) limits the number of certificates issued relative to the application at a given time.

[0071] Exemplary Computer System

[0072] Now turn to Figure 5, which shows a block diagram of an exemplary embodiment of an example computing device 500, which can implement the functions of computing device 100, server 150 and / or server 160. Device 500 can correspond to any suitable computing device, such as a server system, a personal computer system, a desktop computer, a laptop or notebook computer, a mainframe computer system, a tablet computer, a handheld computer, a workstation, a network computer, a mobile phone, a music player, a personal data assistant (PDA), a wearable device, an Internet of Things (IoT) device, etc. In some embodiments, the elements of device 500 can be included in a system on a chip (SOC). In the illustrated embodiment, device 500 includes a structure 510, a processor complex 520, a graphics unit 530, a display unit 540, a cache / memory controller 550, and an input / output (I / O) bridge 560.

[0073] Structure 510 may include various interconnects, buses, MUXs, controllers, etc., and may be configured to facilitate communication between various elements of device 500. In some embodiments, portions of structure 510 may be configured to implement a variety of different communication protocols. In other embodiments, structure 510 may implement a single communication protocol, and elements coupled to structure 510 may be internally converted from the single communication protocol to other communication protocols. As used herein, the term "coupled to" may indicate one or more connections between elements, and a coupling may include intermediate elements. For example, in Figure 5 In FIG, graphics unit 530 may be described as being "coupled to" memory via structure 510 and cache / memory controller 550. In contrast, in Figure 5 In the illustrated embodiment, graphics unit 530 is "directly coupled" to structure 510 because there are no intervening elements.

[0074] In the illustrated embodiment, processor complex 520 includes bus interface unit (BIU) 522, cache 524, and cores 526A and 526B. In various embodiments, processor complex 520 may include various numbers of processors, processor cores, and / or caches. For example, processor complex 520 may include 1, 2, or 4 processor cores, or any other suitable number. In one embodiment, cache 524 is a group associative L2 cache. In some embodiments, cores 526A and / or 526B may include internal instruction and / or data caches. In some embodiments, a consistency unit (not shown) in structure 510, cache 524, or elsewhere in device 500 may be configured to maintain consistency between the various caches of device 500. BIU 522 may be configured to manage communications between processor complex 520 and other elements of device 500. A processor core such as core 526 may be configured to execute instructions of a specific instruction set architecture (ISA), which may include operating system instructions for OS 126 and user application instructions for application 122. These instructions may be stored in a computer readable medium, such as a memory coupled to a memory controller 550 discussed below. In some embodiments, complex 520 corresponds to CPU 110.

[0075] Graphics unit 530 may include one or more processors and / or one or more graphics processing units (GPUs). For example, graphics unit 530 may receive graphics-oriented instructions such as Metal or Instructions. Graphics unit 530 may execute dedicated GPU instructions or perform other operations based on the received graphics-oriented instructions. Graphics unit 530 may generally be configured to process large blocks of data in parallel and may build images in a frame buffer for output to a display. Graphics unit 530 may include transformation, lighting, triangle and / or rendering engines in one or more graphics processing pipelines. Graphics unit 530 may output pixel information for displaying an image.

[0076] The display unit 540 may be configured to read data from the frame buffer and provide a stream of pixel values ​​for display. In some embodiments, the display unit 540 may be configured as a display pipeline. In addition, the display unit 540 may be configured to blend multiple frames to produce an output frame. In addition, the display unit 540 may include one or more interfaces (e.g., a touch screen or an external display) for coupling to a user display (e.g., or embedded DisplayPort (eDP).

[0077] The cache / memory controller 550 may be configured to manage data transfers between the structure 510 and one or more caches and / or memories. For example, the cache / memory controller 550 may be coupled to an L3 cache, which in turn may be coupled to a system memory. In other embodiments, the cache / memory controller 550 may be directly coupled to the memory. In some embodiments, the cache / memory controller 550 may include one or more internal caches. The memory coupled to the memory 550 may be any type of volatile memory, such as a dynamic random access memory (DRAM), a synchronous DRAM (SDRAM), a double data rate (DDR, DDR2, DDR3, etc.) SDRAM (including a mobile version of SDRAM, such as mDDR3, etc., or a low power version of SDRAM, such as LPDDR4, etc.), a RAMBUS DRAM (RDRAM), a static RAM (SRAM), etc. One or more memory devices may be coupled to a circuit board to form a memory module, such as a single inline memory module (SIMM), a dual inline memory module (DIMM), etc. Alternatively, the device may be mounted with integrated circuits in a chip-on-chip structure, a package-on-package structure, or a multi-chip module structure. The memory coupled to the controller 550 may be any type of non-volatile memory, such as NAND flash memory, NOR flash memory, nano RAM (NRAM), magnetoresistive RAM (MRAM), phase change RAM (PRAM), racetrack memory, memristor memory, etc. As described above, the memory may store program instructions executable by the processor complex 520 to cause the device 500 to perform the functions described herein.

[0078] The I / O bridge 560 may include various elements configured to implement, for example, universal serial bus (USB) communications, security, audio, and / or low power always-on functionality. The I / O bridge 560 may also include interfaces such as pulse width modulation (PWM), general purpose input / output (GPIO), serial peripheral interface (SPI), and / or internal integrated circuit (I2C). Various types of peripherals and devices may be coupled to the device 500 via the I / O bridge 560. For example, these devices may include various types of wireless communications (e.g., wifi, Bluetooth, cellular, global positioning system, etc.), additional storage devices (e.g., RAM storage devices, solid-state storage devices, or disk storage devices), user interface devices (e.g., keyboards, microphones, speakers, etc.), etc.

[0079] ***

[0080] Although specific embodiments have been described above, these embodiments are not intended to limit the scope of the present disclosure, even when only a single embodiment is described with respect to specific features. The feature examples provided in this disclosure are intended to be illustrative, not limiting, unless otherwise stated. The above description is intended to cover such alternatives, modifications, and equivalents, which will be apparent to those skilled in the art who are aware of the effective effects of the present disclosure.

[0081] The scope of the present disclosure includes any feature or combination of features disclosed herein (explicitly or implicitly) or any generalization thereof, whether or not it mitigates any or all of the problems addressed herein. Accordingly, new claims may be made during the prosecution of this patent application (or a patent application claiming priority thereto) for any such combination of features. In particular, with reference to the appended claims, features of the dependent claims may be combined with features of the independent claims, and features from the corresponding independent claims may be combined in any appropriate manner and not just by the specific combinations listed in the appended claims.

[0082] Various embodiments described herein may collect and / or use data obtained from specific and legitimate sources to improve the delivery of inspirational content or any other content that may be of interest to users. The present disclosure contemplates that, in some instances, the collected data may include personal information data that uniquely identifies or can be used to identify a specific person. Such personal information data may include demographic data, location-based data, online identifiers, phone numbers, email addresses, home addresses, data or records related to a user's health or fitness level (e.g., vital signs measurements, medication information, exercise information), date of birth, or any other personal information.

[0083] The present disclosure recognizes that the use of such personal information data in the present technology can be used to benefit users. For example, personal information data can be used to deliver targeted content that users may be more interested in based on their preferences. Therefore, the use of such personal information data enables users to have greater control over the content delivered. In addition, the present disclosure also anticipates other uses of personal information data that benefit users. For example, health and fitness data can be used according to the user's preferences to provide insights into their overall health, or can be used as positive feedback to individuals who use technology to pursue health goals.

[0084] This disclosure envisions that entities responsible for collecting, analyzing, disclosing, transmitting, storing or otherwise using such personal information data will comply with established privacy policies and / or privacy practices. Specifically, such entities will be expected to implement and consistently apply privacy practices that are generally recognized as meeting or exceeding the requirements of the industry or government that maintain user privacy. Such information about the use of personal data should be prominently and easily accessible to users, and should be updated as the collection and / or use of data changes. The user's personal information should be collected only for legitimate use. In addition, such collection / sharing should only occur after receiving user consent or other legal basis specified in applicable law. In addition, such entities should consider taking any necessary steps to defend and safeguard access to such personal information data and ensure that others who have access to personal information data comply with their privacy policies and processes. In addition, such entities may subject themselves to third-party assessments to demonstrate their compliance with widely accepted privacy policies and practices. In addition, policies and practices should be adjusted for specific types of personal information data collected and / or accessed, and applied to applicable laws and standards, including specific considerations that are exclusive to jurisdictions that can be used to impose higher standards. For example, in the United States, collection or access to certain health data may be governed by federal and / or state laws, such as the Health Insurance Portability and Accountability Act (HIPAA); while health data in other countries may be subject to other regulations and policies and should be handled accordingly.

[0085] Regardless of the foregoing, the present disclosure also contemplates implementation schemes in which users selectively block the use or access of personal information data. That is, the present disclosure contemplates that hardware elements and / or software elements may be provided to prevent or block access to such personal information data. For example, with respect to an advertising delivery service, the technology of the present invention may be configured to allow a user to choose to "opt in" or "opt out" to participate in the collection of personal information data at any time during or after registration for the service. In another example, a user may choose not to provide emotion-related data for a target content delivery service. As another example, a user may choose to limit the length of time that emotion-related data is retained, or to completely block the development of basic emotional conditions. In addition to providing "opt-in" and "opt-out" options, the present disclosure contemplates providing notifications related to access or use of personal information. For example, a user may be notified that their personal information data will be accessed when downloading an application, and then reminded again just before the personal information data is accessed by the application.

[0086] In addition, it is an object of the present disclosure that personal information data should be managed and processed to minimize the risk of unintentional or unauthorized access or use. Risks can be minimized by limiting data collection and deleting data once it is no longer needed. In addition, and when applicable, including in certain health-related applications, data de-identification can be used to protect the privacy of users. De-identification can be facilitated by removing identifiers, controlling the amount or specificity of stored data (e.g., collecting location data at a city level rather than at an address level), controlling how data is stored (e.g., aggregating data across users), and / or other methods such as differential privacy, where appropriate.

[0087] Thus, while the present disclosure may broadly cover the use of personal information data to implement one or more of the various disclosed embodiments, the present disclosure also contemplates that various embodiments may also be implemented without access to such personal information data. That is, various embodiments of the present technology will not fail to function properly due to the lack of all or a portion of such personal information data. For example, content may be selected and delivered to a user based on aggregated non-personal information data or an absolute minimum amount of personal information, such as content processed only on the user's device or other non-personal information that may be used for content delivery services.

Claims

1. A computing device, comprising: a security circuit configured to maintain a plurality of cryptographic keys of the computing device; processor; a memory having program instructions stored therein, the program instructions being executable by the processor to cause the computing device to perform operations including: receiving, from an executing application, a request for a certificate usable to confirm the integrity of the executing application; directing the security circuitry to provide the certification for the executed application using one of the plurality of cryptographic keys based on verification of the integrity of the executed application, wherein the verification comprises performing a comparison of a signed hash value with a hash value generated from the executed application in response to the received request; and The proof is caused to be provided to a remote computing system in communication with the executing application.

2. The computing device of claim 1 , wherein the security circuit is configured to: verifying the received metadata related to the integrity of the executed application; and The certification indicative of the integrity of the executed application is generated using the cryptographic key.

3. The computing device of claim 2, wherein the metadata comprises a certificate identifying the signed hash value signed by a developer of the executed application, and wherein the security circuit is configured to: The comparing of the signed hash value to the hash value generated from the executed application is performed in response to the received request.

4. The computing device of claim 1 , wherein the security circuit is configured to: generating a public key pair unique to the executed application, wherein the encryption key is a private key in the public key pair; and A certificate including a public key of the public key pair is provided to the executing application, wherein the public key can be used by the remote computing system to verify the certification. 5 . The computing device of claim 4 , wherein the certificate comprises an identifier of the executed application and a hash value generated from the executed application.

6. The computing device of claim 4, wherein the security circuit is configured to: receiving a challenge issued by the remote computing system to the executing application; and The certification is generated by signing the challenge with the private key.

7. The computing device of claim 4, wherein the public key pair is for a specific user of the computing device, and wherein the request for authentication identifies the specific user.

8. The computing device of claim 7, wherein the security circuit is configured to: receiving an application certificate from a developer of the executed application, wherein the application certificate identifies a threshold number of users for whom public key pairs are permitted to be generated; and Verify that the public key pair is generated to meet the threshold number of users.

9. The computing device of claim 1 , wherein the program instructions comprise program instructions of an operating system of the computing device, and wherein the operating system is executable to: verifying metadata obtained from the executed application and related to the integrity of the executed application; and The directing is performed based on the verified metadata.

10. The computing device of claim 1, wherein the security circuit is configured to: using the encryption key to establish a connection with a server configured to generate the attestation; and The generated confirmation is received from the server.

11. A computer-readable medium having program instructions stored therein, the program instructions being executable by a computing device to cause the computing device to perform operations comprising: sending, by an executing application, a request for a certification indicating that the executing application has been authenticated; providing metadata by the executed application, the metadata indicating the identity of the executed application and being usable to verify the integrity of the application; receiving, by the executed application, the requested attestation from security circuitry of the computing device, wherein the security circuitry is configured to provide the requested attestation based on the provided metadata and verification of the integrity of the executed application, wherein the verification comprises a comparison performed by the computing device in response to the sent request between a signed hash value and a hash value generated from the executed application; as well as Use the received confirmation to establish a connection with the remote server.

12. The computer-readable medium of claim 11, wherein the metadata is provided to the security circuit, and wherein the security circuit is configured to verify the metadata in response to the request.

13. The computer-readable medium of claim 11, wherein the providing comprises providing the signed hash value generated by a developer for the executed authorized copy of the application, and wherein the security circuit is configured to verify the signed hash value before generating the attestation.

14. The computer-readable medium of claim 11, wherein the received attestation is signed using a cryptographic key maintained by the security circuitry for the executed application.

15. The computer-readable medium of claim 14, wherein the cryptographic key is one of a plurality of keys maintained by the security circuit, and wherein the request for the certification includes an index value that can be used by the security circuit to identify the cryptographic key.