Device certification technology
By generating and distributing attestation identifiers and secret codes using hash functions, the method addresses the storage and security challenges of verifying small computing devices, ensuring secure and efficient device certification without storing sensitive information locally.
Patent Information
- Application Number
- JP2019194632
- Authority / Receiving Office
- JP · JP
- Patent Type
- Patents
- Current Assignee / Owner
- Priority Date
- 2018-11-01
- Filing Date
- 2019-10-25
- Publication Date
- 2024-08-20
- Estimated Expiration
- 2039-10-25
AI Technical Summary
Existing cryptographic techniques for verifying the authenticity of electronic devices, especially small computing devices like sensors and actuators in the IoT, require large memory storage and processing power, and are vulnerable to data theft and replication, making them unsuitable for secure device certification.
A method involving generating attestation identifiers and secret codes using hash functions, distributing these codes to separate entities, and storing proof identifiers away from the device, ensuring that only hash values are stored locally, thereby reducing storage needs and preventing data theft.
This approach enhances security by preventing the creation of fake devices, reduces storage requirements, and minimizes the risk of information theft, while allowing efficient verification of device assertions without storing sensitive information on the device.
Smart Images

Figure 0007536437000001 
Figure 0007536437000003 
Figure 0007536437000002
Abstract
Description
[Technical field]
[0001] The present technology relates to the field of electronic devices, and more particularly to providing attestations that allow devices to attest to assertions about the devices. [Background technology]
[0002] Electronic devices are increasingly being used to access services that may involve the handling of potentially sensitive information, such as mobile banking, accessing health care services or handling employment details. Also, with the development of the Internet of Things (IoT), it is becoming more common for systems such as heating, air conditioning or street lighting to be controlled based on information provided by electronic devices that may provide sensor information such as temperature data or proximity information that indicates whether a user is present or not. In these scenarios, it is important for service providers to be able to verify that an electronic device meets certain requirements in order to trust that interactions with the electronic device are secure. The service provider may need to be confident that a certain event has occurred during the manufacturing process used to produce the electronic device, or during the subsequent adaptation of the device during its lifecycle. For example, such events may include a system-on-chip being embedded in a component by the device manufacturer, the device going through a certain quality assurance step, or some specific software being provided to the device.
[0003] Cryptographic techniques may be provided that store detailed attestation information on the device that allows an external entity to verify that such an event has occurred. However, such techniques typically require storing large amounts of information on the device itself. For very small computing devices, such as sensors, actuators, or other devices in the IoT, memory storage capacity, processing power, and communication bandwidth may be very limited, making such an approach impractical. Furthermore, storing such information on the device may allow the information to be extracted and replicated on another device, creating a "fake" device that can falsely attest to having attested to an event.
[0004] At least certain embodiments of the present disclosure address one or more of these problems discussed above. Summary of the Invention
[0005] Particular aspects and embodiments are set out in the accompanying claims.
[0006] From one perspective, a method for providing attestation that enables a device to attest to an assertion about the device can be provided, comprising: generating an attestation identifier and a base private code corresponding to the attestation identifier; providing the attestation identifier and a verification private code to a verification device for storage with the assertion, the verification private code being based on the base private code; and providing the attestation identifier and a device private code to an adapter or manufacturer for providing to the device, the device private code being based on the base private code.
[0007] Providing different private codes to different entities mitigates the risk that a private code may be extracted from one entity and used to create a counterfeit version of another entity. For example, extracting the verification private code from the verification device does not allow one to determine which device private code was provided to the manufacturer or adapter, thus mitigating the impact of data theft from the verification device. Furthermore, this approach conserves storage space on the device, since the assertion itself can be stored away from the device. In some examples, the attestation identifier is generated using a attestation generator. The attestation generator may be a physically separate device from the verification device, or both the attestation generator and the verification device may be located on the same physical device. In some examples, the attestation generator generates the device private code and / or the verification private code.
[0008] In some examples, the certificate identifier and the device private code are provided to the device by the manufacturer or adapter, whereby the device private code is distributed to the device under the control of the manufacturer or adapter, and thus this distribution can be done without the direct involvement of the verification device or device (e.g., certificate generator) that generates the certificate identifier and the basic private code, or without providing any information regarding the distribution to the verification device or device (e.g., certificate generator) that generates the certificate identifier and the basic private code.
[0009] In some examples, the device private code is the same as the base private code, which avoids the need for additional processing to generate the device private code.
[0010] In some examples, the base secret code is not provided to the verification device, which prevents a malicious entity from generating a device secret code (based on the base secret code) by stealing information from the verification device, since the verification device does not have access to the base secret code, and therefore cannot use this information to create a counterfeit device.
[0011] In some examples, the verification private code is generated by hashing the base private code using a first predefined hash function. As such, by generating the verification private code using a one-way function (such as a hash function), it is generally not possible to reverse the hash function to generate the base private code from the verification private code. In some examples, this generation of the verification private code is performed by a proof generator before providing the verification private code to a verification device. In other examples, the base private code is provided to a proof generator, which generates the verification private code itself.
[0012] In some examples, the device private code is the same as the base private code, and in response to providing the attestation identifier and the device private code to the device, the device hashes the device private code using a first predefined hash function to generate a verification private code, whereby the device uses a one-way function (such as a hash function) to generate a derived private code (the verification private code), eliminating the need to store the base secret / device private code on the device, and thus preventing a malicious party from providing the base secret / device private code to a second device to create a counterfeit device due to theft of information from the device.
[0013] In some examples, the device further hashes the verification secret code in combination with one or more items of locally available information using a second predefined hash function to generate a hash value. The device thereby generates a further derived secret code (hash value) that can only be generated using the locally available information. This therefore means that the hash value can only be generated by a device that has access to the device's locally available information, limiting the devices that can generate the hash value. For purposes of verification (such as a verification device), the verification entity only needs to have access to the locally available information at the time of verification. This means that up until this point, the device can keep its locally available information private. Furthermore, since the device does not need to store the verification secret code, this means that theft of information from the device does not allow verification of the attestation on the device.
[0014] In some examples, the first predetermined hash function and the second predetermined hash function use the same computation function but operate on different data inputs, such that only a single computation hash function needs to be stored on the device, thus saving space and generally allowing further hardware / software optimization of the performance of the hash functions.
[0015] In some examples, if the certificate identifier and device private code are the initial certificate identifier and initial device private code provided to the device, the one or more items of locally available information include the device identifier, and if the certificate identifier and device private code are not the initial certificate identifier and initial device private code provided to the device, the one or more items of locally stored information include a previous hash value.
[0016] Thereby, use of the second predefined hash function on the initial certification identifier / device private code generates a hash value that is tied to the device itself by using the device's identifier. Furthermore, when using the second predefined hash function on a certification identifier / device private code after the initial certification identifier / device private code, by using the previous hash value, the further hash value generated is based in part on the previous hash value(s).
[0017] The further hash value thereby serves as a "digest" of all previous hash values that were directly or indirectly input (i.e., the second predefined hash function was applied iteratively to a chain of previous hash values corresponding to multiple previous certificate identifiers and device secret codes), so that the "digest" can be used to verify the certificates corresponding to all certificate identifiers / device secret codes that produced the digest, without the need to store all intermediate hash values on the device.
[0018] In some examples, the previous hash value is the most recent previous hash value, such that the second predefined hash function is iteratively applied to all previous hash values such that the final hash value can be used to verify all certificates corresponding to certificate identifiers / device secret codes received by the device.
[0019] In some examples, after generating the hash value, the device stores the hash value but does not store the device private code or the verification private code, so that even if a malicious individual gains access to information stored on the device, the stolen information cannot be used by the malicious individual to create a counterfeit device or verify attestations associated with the device.
[0020] In some examples, a device stores only the most recent hash value, because the most recent hash value can act as a "digest" of all previous hash values, which is sufficient to verify the proof corresponding to each of the previous hash values without having to consume storage on the device by storing the previous hash values themselves.
[0021] In some examples, the device further hashes the verification secret code in combination with the attestation identifier to generate a hash value, thereby enhancing security by making the hash more difficult to reverse by including more elements as inputs to the hash.
[0022] In some examples, after generating the hash value, the device stores the certificate identifier, allowing the device itself to directly provide the information necessary to identify which certificate(s) the hash value corresponds to and, in certain examples, to verify the certificates.
[0023] In some examples, one or more items of locally available information further include metadata, which can provide additional security by including more elements as inputs to the hash, making the hash more difficult to reverse. Additionally, the metadata can establish that certain information was available on the device when the hash value was generated (e.g., the device's internal status, the information payload, information received by the device from an external source). In some examples, the metadata may include some or all of the code present on the device and one or more public keys stored on the device. Additionally or alternatively, the metadata may include information about the state of the device software (e.g., software name, version, hash / public key used to sign the software), the time / date the hash value was generated, the human / machine action(s) involved, or the geographic location where the action occurred.
[0024] In some examples, after generating the hash value, the device stores the metadata, which in certain examples allows the device itself to directly provide the metadata needed to verify the certificate(s).
[0025] From one perspective, a method for verifying attestations from a device in which a verifier attests to assertions about the device can be provided, comprising: retrieving one or more entries from a attestation database, each entry including an attestation identifier, a verification secret code, and an assertion; retrieving one or more attestation identifiers and hash values from the device; performing a verification operation on the one or more attestation identifiers retrieved from the device together with the corresponding verification secret code retrieved from the attestation database to verify the hash values retrieved from the device; and determining whether or not one or more assertions associated with the one or more attestation identifiers retrieved from the device are valid with respect to the device depending on the verification result of the verification operation. In other words, in some examples, the device simply provides the one or more attestation identifiers and hash values to the verifier, but does not provide the assertions themselves (i.e., the actual semantic meaning of the attestation) retrieved from a separate attestation database. It is also expressly contemplated that in certain examples, assertions may additionally or alternatively be stored on the device itself.
[0026] By obtaining the attestation identifier from both the attestation database and the device, a hash value from the device can be matched against the verification secret code and the attestation received from the attestation device, allowing the verification device to verify whether various attestations are correct for the device without having to store the verification secret code or assertions on the device itself, thus saving space. This further reduces the risk of theft of information from either the device or the attestation database, as neither entity stores information that, alone or in combination, allows the creation of a counterfeit device. Furthermore, verifying a attestation requires obtaining information from both the device and the attestation database. In some examples, the attestation database is located on the same physical device as the verification device and / or is part of the verification device. In other examples, the attestation database is located on a separate physical device from the verification device.
[0027] In some examples, a device identifier is further obtained from the device and a validation operation is further performed on the device identifier, such that an assertion can be determined to be specifically valid with respect to a particular device identifier, and typically at least the manufacturer / adapter knows which physical device the device identifier belongs to.
[0028] In some examples, metadata is further obtained from the device and a verification operation is further performed on the metadata, such that as part of the verification process the verification device can attest that the metadata was known at the time the hash value was generated. Additionally or alternatively, metadata can be obtained from the device to attest that the metadata was known at the time an attempt is made to verify the attestation from the device.
[0029] In some examples, the verifying operation includes at least one hash function for each attestation identifier obtained from the device, each hash function operating iteratively on a result of a previous hash function, with each successive hash function taking as input at least an attestation identifier not previously used as input in a previous hash function, such that by taking the result(s) of the previous hash function(s), it can be verified that multiple attestations were generated in a particular sequence as a result of the hash functions being computationally dependent on each other.
[0030] In some examples, multiple attestation identifiers are obtained from the device, and only one hash value corresponding to the most recent hash value is obtained from the device, and it is determined whether all of the multiple assertions associated with the multiple attestation identifiers obtained from the device are valid for the device according to a verification result from the verifying operation, or whether none of the multiple assertions associated with the multiple attestation identifiers obtained from the device are valid for the device according to a verification result from the verifying operation. This allows multiple assertions to be verified by receiving only a single hash value from the device, thereby conserving communication bandwidth and reducing the need for the device to store more than a single most recent hash value.
[0031] In some examples, multiple attestation identifiers are obtained from the device, multiple hash values are obtained from the device, and the verifying operation includes multiple verifying operations, whereby a subset of the multiple assertions associated with the multiple attestation identifiers obtained from the device is determined to be valid or not valid depending on the verification results of the multiple verifying operations. Thus, by receiving multiple hash values, the verifying device can individually verify the subset of assertions, so that in the case of a negative verification, it can at least partially identify which particular subset of assertion(s) is false. Thus, for example, it may be possible to narrow down the source of the false assertion (e.g., to a particular interacting device or entity). For example, in some examples, a hash value may be obtained for every two, three, or four attestation identifiers.
[0032] In some examples, the verification device retrieves multiple verification secret codes and assertions associated with a particular certificate identifier from a certificate database, and when a particular certificate identifier is retrieved from the device, a verification operation is attempted using each possible verification secret code. This allows for the use of short certificate identifiers (thus saving storage space on the device) while still enforcing the use of non-unique certificate identifiers and allowing the certificates to be verified in a reasonable amount of time. For example, if there are three verification secret codes and three assertions for each certificate identifier, then in the worst case scenario, the verification operation will need to be attempted three times to determine which assertions, if any, are valid. However, if the first assertion tested is shown to be valid, in some examples, the verification operation will not check the second and third assertions.
[0033] From one perspective, there may be provided a method of storing information on a device that enables the device to prove assertions about the device, comprising receiving, at the device, a base secret code and a corresponding attestation identifier; hashing, at the device, the base secret code using a first predefined hash function to generate a verification secret code; and hashing, at the device, the verification secret code in combination with one or more items of locally available information using the second predefined hash function to generate a hash value, wherein after generation of the hash value, the device stores the hash value.
[0034] By performing the two hashes on the device to generate the stored hash value, the device does not need to store either the base private code or the verification private code. This allows the device to save space, but is also resistant to cloning since if the hash value is stolen from the device (e.g., because only the hash value is stored on the device), a counterfeit device cannot be created. Because the two hash operations performed by the device are one-way operations, a counterfeit cannot be created since the base private code generally cannot be recreated from the hash value, and therefore the base private code cannot be provided to a second device to create a counterfeit.
[0035] In one aspect, a computer program may be provided for controlling a device to perform any of the above methods, hi some examples, the computer program is stored on a storage medium.
[0036] From one aspect, an apparatus can be provided, comprising processing circuitry for performing data processing, and data storage storing a computer program for controlling the processing circuitry to perform any of the methods described above.
[0037] Other aspects will become apparent upon consideration of this disclosure, particularly upon consideration of the Brief Description of the Drawings, Detailed Description, and the Claims.
[0038] Examples of the present disclosure will now be described, by way of example only, with reference to the accompanying drawings. [Brief description of the drawings]
[0039] [Figure 1] 1 illustrates generally an example system for implementing the disclosed examples. [Diagram 2] 1 illustrates generally how to provide proofs to enable a device to attest to assertions about the device. [Diagram 3] 1 illustrates generally a method for a verifier to verify a proof from a device that verifies an assertion regarding the device. [Figure 4] 2 illustrates a schematic example of the information content of a certificate database; [Diagram 5] 1 illustrates generally how a device can store information on the device and enable the device to attest to assertions about the device. [Figure 6] 1 illustrates a schematic diagram of an example electronic device; DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS
[0040] While the present disclosure is susceptible to various modifications and alternative forms, certain illustrative approaches have been shown by way of example in the drawings and are described in detail herein. It is to be understood, however, that the accompanying drawings and detailed description are not intended to limit the disclosure to the particular forms disclosed, and the disclosure is intended to cover all modifications, equivalents, and alternatives falling within the spirit and scope of the invention as claimed.
[0041] It will be appreciated that the features of the above-described examples of the present disclosure can be conveniently and interchangeably used in any suitable combination.
[0042] 1 shows a schematic diagram of a system 100 for implementing examples of the present disclosure. The system includes a certificate generator 110, a manufacturer / adapter 120, a device 130, a verification device 140, and a certificate database 150. Each of these elements can be implemented using electronic devices as shown in FIG. 6 and its corresponding description below.
[0043] Also shown in Figure 1 are several example linkages between various elements. These linkages represent communication channels between the elements. These communication channels may be implemented using wired electrical connections (such as Ethernet), using wired optical connections (such as fiber optic cables), wireless connections (such as Wi-Fi, Bluetooth, ZigBee, etc.), or using any other suitable technology that allows the elements to communicate data.
[0044] Although several primary linkages are shown, other linkages may also be present in certain instances. For example, manufacturer / adapter 120 may have a direct link to attestation database 150, or attestation generator 110 may be directly coupled to device 130. It will also be understood that in certain instances, not all linkages shown may be present. For example, a linkage between device 130 and verification device 140 may not be present, and instead device 130 may communicate with verification device 140 via manufacturer / adapter 120 and attestation generator 110.
[0045] It is also understood that in certain instances, not all linkages are permanent, but instead are temporary or periodic. For example, manufacturer / adapter 120 may be connected to device 130 only during manufacturing or adaptation, and as another example, the connection between device 130 and validation device 140 may only be available during validation of the device.
[0046] The attestation generator 110 is responsible for generating the attestation identifiers and the corresponding basic secret codes. In a particular example, the attestation generator is a central server controlled by a first party that has overall control over the attestation process.
[0047] The manufacturer / adapter 120 is an entity responsible for providing the authentication identifier(s) and corresponding master secret code(s) to the device 130. In certain examples, the manufacturer / adapter 120 corresponds to manufacturing, assembly, or adaptation equipment that is at least partially controlled by a second party responsible for creating the finished device 130.
[0048] The device 130 is an entity about which assertions about the device are being attested. In a particular example, the device corresponds to an Internet of Things (IoT) device. Such IoT devices are typically very small computing devices, such as sensors, actuators, or other devices in the IoT, that may have very limited memory storage capacity, processing power, and communication bandwidth.
[0049] The verifier 140 is an entity responsible for verifying whether assertions about a device are valid. In a particular example, the verifier is a server controlled by a first party (i.e., the same party as the attestation generator). In a particular example, the verifier is a cloud-hosted web service.
[0050] Attestation database 150 is an entity that stores information linking attestation identifiers with assertions and secret codes used to verify assertions about a device. In certain examples, the attestation database is located on the same physical device as the verification device and / or is part of the verification device. In other examples, the attestation database is located on a separate physical device from the verification device and is connected by a communication channel (linkage).
[0051] In addition to the choice of location of the attestation database, other factors may be combined. In certain instances, the factors may be implemented as software or hardware modules of a larger entity. For example, the attestation generator 110 and the verifier 140 may be located on the same physical / logical device. As another example, the manufacturer / adapter 120 and the verifier 140 may be located on the same physical / logical device.
[0052] It will also be appreciated that system 100 may include multiple different elements. For example, system 100 may operate on multiple devices 130 such that each may have assertions about itself verified. As another example, system 100 may include multiple manufacturers / adapters 120 that may all operate on a single device 130 or each operate on a different device 130.
[0053] FIG. 2 shows a schematic diagram of a method 200 for providing proofs to enable a device 130 to prove assertions about the device 130, comprising the following steps.
[0054] In step S210, a certificate identifier and a base secret code corresponding to the certificate identifier are generated. In a particular example, the generation is performed by the certificate generator 110.
[0055] In step S220, a certificate identifier and a verification private code are provided to the verification device 140, where the verification private code is based on the base private code. In a particular example, the certificate identifier and the verification private code are provided by the certificate generator 110. In a particular example, the base private code is not provided to the verification device 140.
[0056] In a particular example, the verification private code is generated by hashing the base private code using a first predefined hash function. The first predefined hash function may be a cryptographic hash function to further enhance the security of the "one-way" function. Examples of suitable hashing algorithms include MD5, SHA family (e.g., SHA-256), or other suitable hashing algorithms. It is also expressly contemplated that in some examples, the first predefined hash function may be a non-cryptographic hash function, such as a cyclic redundancy check. In a particular example, the verification private code is generated in the proof generator 110 and transmitted to the verification device 140 such that the verification device 140 never has access to the base private code. In another example, the base private code is transmitted to the verification device 140, which performs a hash using the first hashing algorithm to arrive at the verification private code.
[0057] In step S230, the certificate identifier and the device private code are provided to the manufacturer or adapter 120 for provision to the device 130. In a particular example, the certificate identifier and the device private code are provided by the certificate generator 110. In a particular example, the device private code is the same as the base private code.
[0058] In step S240, the certification identifier and the device private code are provided to the device 130 by the manufacturer or the adapter 120. In a particular example, the device private code is the same as the basic private code, and in response to providing the certification identifier and the device private code to the device 130, the device 130 hashes the device private code using a first predefined hash function to generate a verification private code. This first predefined hash function is the same as that used to provide the verification private code to the verification device 140, and thus both the verification device 140 and the device 130 end up with the same copy of the verification private code without distributing this code to both devices.
[0059] In a particular example, the device then further hashes the verification secret code in combination with one or more items of locally available information using a second predefined hash function to generate a hash value. The second predefined hash function may be the same computational function (e.g., SHA-256) as used for the first predefined hash function, but may simply operate on different inputs.
[0060] In certain examples, the device 130 may use different locally available information depending on whether the attestation identifier and device private code it receives are the initial (i.e., first) such attestation identifier and device private code received or a subsequently received attestation identifier and device private code. In certain examples, if the attestation identifier and device private code are the initial attestation identifier and initial device private code provided to the device 130, the one or more items of locally available information include the device identifier, and if the attestation identifier and device private code are not the initial attestation identifier and initial device private code provided to the device 130, the one or more items of locally stored information include a previous hash value. In other words, the second predefined hash function is applied repeatedly each time a new attestation identifier and device private code is received, taking a previous hash value of a previous iteration of the second predefined hash function. This can be thought of as making the final hash value a "digest" of at least some previous hash values and thus the corresponding attestation identifiers and device private codes that generated these previous hash values. In some examples, the previous hash values are previous hash values, and throughout this iterative operation, the final hash value serves as a digest of all hash values generated by the device 130. In some examples, after generating a given hash value, the hash value is stored by the device 130, but the corresponding device private code and verification private code are discarded and not stored by the device 130. Additionally, in some examples, only the most recent hash value is stored, and all previous hash values are discarded after the most recent hash value is generated. As discussed above, because the most recent hash value serves as a digest of all previous hash values, the validity of all previous hash values can still be verified even if the hash value itself is discarded.
[0061] In certain instances, other items of data may be included as inputs to the hash function to further enhance security. For example, in certain instances, the second predefined hash function may take as additional inputs the attestation identifier and / or metadata (e.g., information about the internal status of the device, the information payload, information received by the device from an external source). In some instances, the metadata may include some or all of the code present on the device and one or more public keys stored on the device. Additionally or alternatively, the metadata may include information about the state of the device software (e.g., software name, version, hash / public key used to sign the software), the time / date the hash value was generated, the human / machine action(s) involved, or the geographic location where the action took place. If these additional inputs are used, they may also be stored on the device 130 after the hash value is generated.
[0062] It will be appreciated that although the method steps are depicted in a particular order, it is expressly contemplated that the steps may be performed in any suitable order, for example, step S230 may be performed before step S220, and step S240 may be performed at any time after step S230 has been performed.
[0063] FIG. 3 shows a schematic diagram of a method 300 for a verifier 140 to verify attestations from a device 130 attesting to assertions regarding the device 130, comprising the following steps.
[0064] In step S310, the verification device 140 retrieves one or more entries from the attestation database 150, each entry including an attestation identifier, a verification secret code, and an assertion. In certain instances, multiple verification secret codes and assertions associated with a particular attestation identifier are retrieved by the verification device 140 from the attestation database 150. In other words, a attestation identifier may not uniquely identify a particular verification secret code and assertion.
[0065] In step S320, the verification device 140 obtains one or more certificate identifiers and hash values from the device 130. In certain examples, a device identifier and / or metadata are also obtained from the device. Additionally or alternatively, in some examples, multiple certificate identifiers are obtained from the device and only one hash value corresponding to the most recent hash value is obtained from the device 130. In other examples, multiple certificate identifiers are obtained from the device and multiple hash values are obtained from the device.
[0066] At step 330, the verification device 140 performs a verification operation on the one or more certificate identifiers obtained from the device 130 together with the corresponding verification private code obtained from the certificate database 150 to verify the hash value obtained from the device 130. In certain examples, if a device identifier and / or metadata are also obtained from the device, a verification operation is further performed on the device identifier and / or metadata.
[0067] In a particular example, the verification operation includes at least one hash function for each attestation identifier obtained from device 130. Each hash function operates iteratively on the result of a previous hash function, with each successive hash function taking as input at least an attestation identifier that has not previously been used as input in a previous hash function. In other words, for example, if the hash value received by verification apparatus 140 was generated by an iterative operation performed on device 130 (i.e., the transmitted hash value was generated on device 130 based in part on one or more previous hash values), the verification operation may operate iteratively on this "digest" hash value to successively verify each "layer" of the received hash value, and ultimately verify the entire chain of hash values.
[0068] In a particular example, multiple attestation identifiers are obtained from the device, and only one hash value corresponding to the most recent hash value is obtained from the device, and the verify operation determines whether all of the multiple assertions associated with the multiple attestation identifiers obtained from the device are valid for the device according to a verification result by the verify operation, or whether none of the multiple assertions associated with the multiple attestation identifiers obtained from the device are valid for the device according to a verification result by the verify operation.
[0069] In another example, a plurality of attestation identifiers are obtained from the device, a plurality of hash values are obtained from the device, and the verification operation includes a plurality of individual verification operations, whereby a subset of a plurality of assertions associated with the plurality of attestation identifiers obtained from the device is determined to be valid or not valid according to verification results of the plurality of verification operations.
[0070] In a further example, the verification device 140 retrieves multiple verification secret codes and assertions associated with a particular certificate identifier from the certificate database 150, and a verification operation is attempted in relation to the certificate identifier retrieved from the device using each possible verification secret code, in other words, a verification operation is attempted for all possible verification secret codes associated with the non-unique certificate identifier.
[0071] At step 340, the verification device 140 determines whether one or more assertions associated with one or more certificate identifiers obtained from the device 130 are valid with respect to the device 130 depending on the verification result of the verification operation.
[0072] It will be appreciated that although the method steps are depicted in a particular order, it is expressly contemplated that the steps may be performed in any suitable order. For example, step S320 may be performed before step S310.
[0073] 4 illustrates a schematic of an exemplary information content 400 of the attestation database 150. In the particular example shown, five fields are shown: attestation identifier, verification secret code, assertion, additional field 1, and additional field 2. Three sample entries are shown. In the first row, there is a attestation identifier of 1001, a verification secret code of AB47EF89, and an assertion of device property 1 (e.g., a security area 630 of data storage 620). In the second row, there is a attestation identifier of 1002, a verification secret code of 749DABE6, and an assertion of event 1 (e.g., a communications I / F 640 installed by a particular manufacturer / adapter 120). In the third row, there is a attestation identifier of 1003, a verification secret code of BF56DEF0, and an assertion of quality assurance 1 (e.g., the integrity of the OS stored in data storage 620 is verified).
[0074] Additionally, each row has two additional fields, 1 and 2. These may contain any additional information required, such as, for example, the particular manufacturer / adapter to which a particular certificate identifier has been assigned, the number of times a request has been made to verify a particular assertion, etc. It is contemplated that virtually any desired information may be stored in these fields. In some examples, the field(s) may include an identifier (e.g., a device identifier) for a device(s) on which the certificate was previously seen, and the field(s) is updated during validation of the certificate.
[0075] As noted above, this exemplary information content 400 of the attestation database 150 is only one possible format. For example, the information content may have fewer or more rows and columns. For example, the information content may have zero, one, three, four, or five additional fields. The information content may include virtually any number of rows required. It is further clearly recognized that the particular format displayed in the attestation identifier, verification secret code, and assertion entries is merely an example format. For example, the attestation identifier and verification secret code may be comprised of more or fewer symbols, which may be comprised of, for example, decimal, hexadecimal, or ASCII character sets.
[0076] FIG. 5 shows a schematic diagram of a method 500 for device 130 to store information on device 130 and enable device 130 to prove assertions about device 130, including the following steps.
[0077] In step S510, the master secret code and the corresponding certificate identifier are received at the device 130.
[0078] In step S520, the base private code is hashed in the device 130 using a first predefined hash function to generate a verification private code.
[0079] In step S530, the verification private code is hashed at the device in combination with one or more items of locally available information using a second predetermined hash function to generate a hash value.
[0080] In step S540, the hash value is stored in the device 130.
[0081] FIG. 6 illustrates in schematic form an example of an electronic device 600. The device has a processing circuit 610 for performing data processing in response to program instructions, a data storage 620 for storing data and instructions processed by the processing circuit 610. The data storage 620 may have a secure area 630 that is protected by hardware mechanisms (e.g., using a memory protection unit or security mechanism that provides a trusted execution environment) or software mechanisms (e.g., encryption), such that data stored in the secure area 630 is inaccessible to software not executing within the trusted environment. The device 600 has a communication interface 640 for communicating with external devices. For example, the communication interface 640 may use a range of different communication protocols such as Ethernet, WiFi, Bluetooth, ZigBee, etc. The device may have one or more sensors 650 for sensing certain external conditions such as temperature, pressure, the proximity of a nearby user, etc. The particular sensors 650 provided may depend on the purpose of the device. It will be understood that FIG. 6 is merely an example of possible hardware that may be provided in the device, and other components may also be provided. For example, some devices with which user interaction is expected may be provided with a display and / or user interface module to display information to the user and receive input from the user. Other types of devices may simply be sensors that capture data and transmit the data to an external device, so these types of devices may not require a user interface or display. It will be appreciated that more powerful processing circuitry and larger data storage may be required to implement any of the attestation generator 110, manufacturer / adapter 120, verifier 140 or attestation database 150 for electronic device 600 than for device 130.
[0082] The above-mentioned methods may be performed under the control of a computer program executed on an apparatus. Thus, the computer program may include instructions for controlling an apparatus to perform any of the above-mentioned methods (including methods executed on any of the attestation generator 110, manufacturer / adapter 120, device 130, verification device 140 and attestation database 150). The program may be stored on a storage medium. The storage medium may be a non-transitory recording medium or a transitory signal medium.
[0083] In this application, the term "configured to" is used to mean that elements of a device have a configuration that allows them to perform a defined operation. In this context, "configuration" refers to an arrangement or method of interconnection of hardware or software. For example, a device may have dedicated hardware that provides the defined operation, or a processor or other processing device may be programmed to perform the function. "Configured to" does not imply that device elements must be modified in any way to provide the defined operation.
[0084] Although exemplary teachings of the present disclosure have been described in detail with reference to the accompanying drawings, the present invention is not limited to these precise teachings, and various changes and modifications can be made within the scope of the present invention by those skilled in the art without departing from the scope and spirit of the present invention as defined by the appended claims.
Claims
1. 1. A method of providing attestation to enable a device to attest to assertions about said device, comprising: generating a certificate identifier and a base secret code corresponding to said certificate identifier; providing said attestation identifier and a verification private code to a verification device for storage with said assertion, said verification private code being based on said base private code; providing said certificate identifier and a device private code to an adapter or manufacturer for providing to the device, said device private code being based on said base private code; Including, The method of claim 1, wherein the verification private code is generated by hashing the base private code using a first predetermined hash function.
2. The method of claim 1 , wherein the certificate identifier and the device private code are provided to the device by the manufacturer or an adapter.
3. The method according to claim 1 or 2, wherein the device private code is the same as the primary private code.
4. The method according to any one of claims 1 to 3, wherein the basic secret code is not provided to the verification device.
5. 2. The method of claim 1, wherein the device private code is the same as the base private code, and in response to providing the device with the certificate identifier and the device private code, the device hashes the device private code using the first predetermined hash function to generate the verification private code.
6. The method of claim 5 , wherein the device further hashes the verification secret code in combination with one or more items of locally available information using a second predetermined hash function to generate a hash value.
7. 7. The method of claim 6, wherein the first and second predetermined hash functions use the same computational function but operate on different data inputs.
8. if the certificate identifier and device private code are initial certificate identifier and initial device private code provided to the device, the one or more items of locally available information include a device identifier; 8. The method of claim 6 or 7, wherein if the certificate identifier and device private code are not the initial certificate identifier and initial device private code provided to the device, the one or more items of locally stored information include a previous hash value.
9. The method of claim 8 , wherein the previous hash value is a most recent previous hash value.
10. 10. The method according to claim 8 or 9, wherein after generating the hash value, the device stores the hash value but does not store the device private code or the verification private code.
11. The method of claim 10 when dependent on claim 9, wherein the device stores only the most recent hash value.
12. The method of any one of claims 6 to 11, wherein the device further hashes the verification secret code in combination with the certification identifier to generate the hash value.
13. The method of claim 12 , wherein after generating the hash value, the device stores the certificate identifier.
14. A method according to any one of claims 6 to 13, wherein the one or more items of locally available information further comprise metadata.
15. The method of claim 14 , wherein after generating the hash value, the device stores the metadata.
16. 1. A method for verifying attestation from a device, in which a verification device attests to an assertion about the device, comprising: obtaining one or more entries from an attestation database, each entry including an attestation identifier, a verification secret code, and an assertion; obtaining one or more certificate identifiers and hash values from the device; performing a verification operation on the one or more certificate identifiers obtained from the device together with corresponding verification private codes obtained from the certificate database to verify the hash values obtained from the device; determining whether the one or more assertions associated with one or more attestation identifiers obtained from the device are valid with respect to the device in response to a verification result of the verifying operation; Including, The method of claim 1, wherein the verification private code is generated by hashing an underlying private code corresponding to the certificate identifier using a predefined hash function.
17. The method of claim 16 , wherein a device identifier is further obtained from the device, and the verification operation is further performed on the device identifier.
18. 18. The method of claim 16 or 17, further comprising obtaining metadata from the device and further performing the verification operation on the metadata.
19. A method according to any one of claims 16 to 18, wherein the verification operation comprises at least one hash function for each certificate identifier obtained from the device, each hash function operating iteratively on the result of a previous hash function, each successive hash function taking as input at least a certificate identifier not previously used as input in the previous hash function.
20. A plurality of certificate identifiers are obtained from the device, and only one hash value corresponding to a most recent hash value is obtained from the device; A method according to any one of claims 16 to 19, wherein it is determined whether all of the assertions associated with the plurality of certificate identifiers obtained from the device are valid for the device according to the verification result of the verification operation, or whether none of the assertions associated with the plurality of certificate identifiers obtained from the device are valid for the device according to the verification result of the verification operation.
21. 20. The method of claim 16, wherein a plurality of attestation identifiers are obtained from the device, a plurality of hash values are obtained from the device, and the verifying operation includes a plurality of verifying operations, whereby it is determined whether a subset of a plurality of assertions associated with the plurality of attestation identifiers obtained from the device is valid or not according to the verification results of the plurality of verifying operations.
22. A method according to any one of claims 16 to 21, wherein the verification device retrieves from the verification database a number of verification secret codes and assertions associated with a particular certificate identifier, and when the particular certificate identifier is retrieved from the device, the verification operation is attempted using each possible verification secret code.
23. 1. A method of storing information on a device that enables a device to attest to assertions about the device, comprising: receiving, at said device, a master secret code and a corresponding certificate identifier; hashing, at said device, said base secret code using a first predefined hash function to generate a verification secret code; hashing said verification secret code in combination with one or more items of locally available information using a second predefined hash function at said device to generate a hash value; Including, After generating the hash value, the device stores the hash value.
24. A computer program for controlling a device to carry out the method according to any one of claims 1 to 15.
25. A computer program for controlling a verification device to carry out the method according to any one of claims 16 to 22.
26. A computer program for controlling a device to carry out the method according to claim 23.
27. A storage medium storing the computer program according to claim 24.
28. A storage medium for storing the computer program described in claim 25.
29. A storage medium for storing the computer program according to claim 26.
30. processing circuitry for performing data processing; A data storage storing a computer program for controlling said processing circuitry to carry out the method according to any one of claims 1 to 15. An apparatus comprising:
31. A processing circuit for performing data processing; A data storage for storing a computer program for controlling said processing circuitry to carry out the method according to any one of claims 16 to 22. An apparatus comprising:
32. A processing circuit for performing data processing; A data storage device storing a computer program for controlling the processing circuitry to carry out the method of claim 23. An apparatus comprising:
Citation Information
Patent Citations
Equipment authentication information incorporating system, terminal, equipment authentication information processing method, equipment authentication information processing program, providing server, equipment authentication information providing method, equipment authentication information providing program and storage medium
JP2005038411A
Systems and methods for secure password transmission and verification
US20180191688A1
