Platform key authentication based on device category root of trust

Derive a root asymmetric key pair and obtain a certificate through the device category identification, which solves the problem of difficulty in efficiently verifying and confirming the platform public key in the existing technology, realizes the validity verification and confirmation of the key in different use cases, and ensures that the key Correctly derived in the intended use case, increasing the dynamics and flexibility of use of keys.

CN118613797APending Publication Date: 2024-09-06HUAWEI TECH CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202280090141.X
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2022-05-10
Publication Date
2024-09-06

AI Technical Summary

Technical Problem

In scenarios where multiple platform key pairs are derived from class keys and dynamic parameters, it is difficult to efficiently verify and confirm the platform public key, especially in dynamic settings where all valid keys cannot be known in advance and the confirmation process needs to be performed on the subject. It is carried out in a restricted environment and it is difficult to achieve convenient confirmation.

Method used

Derive a root asymmetric key pair based on a symmetric encryption key and a set of derivation parameters based on the device class identity, obtain a device class certificate, and register it on a public server so that any verifier can confirm the derived Keys, utilizing public key infrastructure for authentication and cross-certification, ensuring the keys are correctly derived for the intended use case.

Benefits of technology

Verification and confirmation of the validity of derived keys without the need for implicit trust or knowledge of the key derivation process, ensuring that keys are available across different use cases, and verification without the use of reference devices, Improved the dynamics and usage flexibility of keys.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118613797A
    Figure CN118613797A
Patent Text Reader

Abstract

In some examples, a method includes: a first device assigning a rooting asymmetric key pair based on a symmetric encryption key of a device category identifier and a derived parameter set, where the symmetric encryption key of the device category identifier is included in the first device; the first certificate authentication mechanism authenticates a public key in the derived root asymmetric key pair so as to obtain a device category certificate; the device category credentials are registered on a public server such that the device category credentials are publicly available.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention generally relates to an apparatus, server and improved mechanism for platform key authentication and validation. Background Art

[0002] In the secure manufacturing process of computing devices, it is usually necessary to configure encryption keys, digital certificates and configuration data to the device in a secure manner. Similar processes may also be required when manufacturing the various components of a computing device. For example, when manufacturing a mobile phone with a secure element (SE), some keys and data can be configured into the secure element by the secure element supplier, while other keys and data can be configured into a secure area of ​​the device after the secure element is integrated into the mobile device.

[0003] The most critical part of the security configuration process is to establish a secure channel from the protected server to the secure area of ​​the computing device or one of its components. Typically, a platform key pair derived from a class key is used to establish this secure channel. A class key is a symmetric encryption key that is configured by an integrated circuit (IC) vendor during the manufacturing process of chips such as system-on-chip (SoC) chips, secure elements, etc. Device vendors can use class keys to derive asymmetric key pairs (i.e., platform key pairs) to securely configure other keys and data for the device. It is called a class key because each class key is shared among a class of IC chips, for example, chips manufactured in the same batch, or chips that the same device vendor intends to deploy in the same class of devices.

[0004] In scenarios where multiple platform key pairs are derived from class keys and dynamic parameters (e.g., key derivation parameters and derivation factors), it can be difficult to efficiently verify and validate platform public keys. In particular, in such a dynamic setting, it is difficult to know all valid keys in advance, so it is impossible to create a list of known good keys for validation. Furthermore, if validation of derived platform keys requires the use of a reference device, validation can only be performed in a restricted environment such as a factory, which is not readily accessible to any party. Summary of the invention

[0005] The purpose of the present invention is to provide a platform key authentication and confirmation method.

[0006] These and other objects are achieved by the features of the independent claims.

[0007] Further implementations are apparent from the dependent claims, the description and the drawings.

[0008] The first aspect of the present invention provides a method, comprising: a first device derives a root asymmetric key pair based on a symmetric encryption key and a derived parameter set of a device category identifier, wherein the symmetric encryption key of the device category identifier is included in the first device; a first certificate certification authority authenticates a public key in the derived root asymmetric key pair to obtain a device category certificate; and registers the device category certificate on a public server so that the device category certificate is publicly available.

[0009] As a result, any validator can confirm derived keys without the use of a reference device, implicit trust, or knowledge of the key derivation process. Additionally, with dynamically derived keys, a variety of keys can be derived and used in different use cases. Importantly, a validator can confirm that a derived key has been correctly derived for the intended use case.

[0010] In an implementation of the first aspect, the derivation parameter set may include a key derivation parameter, an internal derivation factor, and an external derivation factor. Thus, a key pair may be derived such that the key derivation parameter and the external derivation factor have correct values ​​known to the verifier, and the internal derivation factor correctly reflects the expected use case.

[0011] The derivation parameter set may be statically programmed into the first device.Thus, the derivation and authentication of the root asymmetric key may be a one-time process for each device or chip class (ie, devices or IC chips loaded with the same class of keys).

[0012] The set of derived parameters may be provided to the first device by user input. Thus, the derived parameters may be provided from outside the device.

[0013] The symmetric encryption key identifying the device class may be securely programmed into the device during manufacturing.

[0014] Authenticating the public key in the derived first root asymmetric key pair may include the following steps: using a certificate enrollment method in a public key infrastructure PKI. Therefore, authentication may be obtained directly.

[0015] The device class certificate may include the derivation parameter set. Thus, an asymmetric key may be derived from the device class certificate.

[0016] The method may further include the following steps: a second certificate certification authority cross-certifies the public key in the derived first root asymmetric key pair. Therefore, further authentication of the platform key can be achieved.

[0017] The method may further include the following steps: a second device belonging to the same category as the first device derives the root asymmetric key pair based on the symmetric encryption key of the device category identifier and the derivation parameter set, wherein the symmetric encryption key of the device category identifier is included in the second device; the second device derives a configuration asymmetric key pair based on an input parameter set; generates a certificate, wherein the certificate includes a public key in the configuration asymmetric key pair and the input parameter set; a verifier obtains the certificate from the second device and obtains the device category certificate from the public server, thereby confirming the configuration asymmetric key pair derived by the second device. Therefore, the validity of the derived key can be verified by a third party without using a reference device.

[0018] The method may further comprise the step of extracting, by the verifier, the public key of the configured asymmetric key pair from the proof, so that the key can be used in the intended use case.

[0019] Confirming the configuration asymmetric key pair may include at least one of the following steps: the verifier verifies that the device category certificate is valid; the verifier verifies that the signature associated with the certificate is valid; the verifier verifies that the input parameter set in the certificate is valid. Therefore, the validity of the key parameters and the generated key can be proved and verified.

[0020] The second aspect of the present invention provides a device, comprising: a processor; a memory coupled to the processor, wherein the memory is used to store program code executable by the processor, the program code including one or more instructions, so that the user device: derives a root asymmetric key pair based on a symmetric encryption key and a derived parameter set of a device category identifier, wherein the symmetric encryption key of the device category identifier is included in the device; sends a public key in the derived root asymmetric key pair to a first certificate certification authority, thereby obtaining a device category certificate from the first certificate certification authority; sends the obtained device category certificate to a public server, thereby registering the device category certificate on the public server, so that the device category certificate is publicly available.

[0021] As a result, any validator can confirm derived keys without the use of a reference device, implicit trust, or knowledge of the key derivation process. Additionally, with dynamically derived keys, a variety of keys can be derived and used in different use cases. Importantly, a validator can confirm that a derived key has been correctly derived for the intended use case.

[0022] The set of derivation parameters may include key derivation parameters, internal derivation factors, and external derivation factors. Thus, a key pair may be derived such that the key derivation parameters and external derivation factors have correct values ​​known to the verifier, and the internal derivation factors correctly reflect the intended use case.

[0023] The memory may be used to store the derivation parameter set, which is statically programmed into the memory during the manufacturing process of the device. Thus, the derivation and authentication of the root asymmetric key may be a one-time process for each device or chip class (i.e., devices or IC chips loaded with the same class key).

[0024] The device may further comprise an interface for receiving a user input, the interface being coupled to the memory such that the memory is used to store the user input as the set of derived parameters.Thus, the derived parameters may be provided from outside the device.

[0025] The memory may be used to securely store the symmetric encryption key of the device, the symmetric encryption key of the device being programmed into the memory during the manufacturing process of the device.

[0026] The third aspect of the present invention provides a configuration server, comprising: a processor; a memory coupled to the processor, wherein the memory is used to store program code executable by the processor, the program code including one or more instructions, so that the configuration server: receives a request for data to be configured from a device, wherein the request includes a device category identifier; retrieves a device category certificate corresponding to the device category identifier from a certificate certification authority; sends a random challenge value, the device category certificate, a first derived parameter set, and a second derived parameter set for encryption to the device; receives a signature challenge and a certificate of a first configuration asymmetric key pair and a second configuration asymmetric key pair from the device; confirms that the signature challenge is correct using a public key in the first configuration asymmetric key pair extracted from the certificate; encrypts the data to be configured using a public key in the second configuration asymmetric key pair extracted from the certificate; and sends the encrypted data to the device.

[0027] As a result, the provisioning server can easily confirm the keys (including asymmetric keys) used in the provisioning process without the need for a reference device.

[0028] According to another exemplary embodiment, a system is provided, the system comprising the device as described herein and the configuration server as described herein. BRIEF DESCRIPTION OF THE DRAWINGS

[0029] Embodiments will now be described, by way of example only, with reference to the accompanying drawings, in which:

[0030] Figure 1 schematically depicts an apparatus according to an exemplary embodiment;

[0031] Figure 2 A method according to an exemplary embodiment is schematically described;

[0032] Figure 3 A method according to an exemplary embodiment is schematically described;

[0033] Figure 4 A configuration server according to an exemplary embodiment is schematically described. DETAILED DESCRIPTION

[0034] The exemplary embodiments will be described below in sufficient detail to enable one of ordinary skill in the art to embody and implement the systems and processes described herein.It is important to understand that the embodiments can be provided in many alternative forms and should not be construed as limited to only the examples described herein.

[0035] Therefore, although the embodiments may be modified in various ways and take various alternative forms, specific embodiments thereof are shown in the drawings and described in detail below as examples. It is not intended to be limited to the specific forms disclosed. On the contrary, all modifications, equivalents and alternatives within the scope of the appended claims should be included. Where appropriate, the elements of the exemplary embodiments are consistently represented by the same reference numerals in all drawings and detailed descriptions.

[0036] The terms used herein to describe the embodiments are not intended to limit the scope. The articles "a" and "the" are singular forms because they have only one referent, but the use of the singular form herein should not exclude the presence of more than one referent. In other words, unless the context otherwise clearly indicates, the elements mentioned in the singular form can be one or more in number. It should also be understood that the term "comprising" used herein is used to illustrate the presence of the features, items, steps, operations, elements and / or parts, but does not exclude the presence or addition of one or more other features, items, steps, operations, elements, parts and / or combinations thereof.

[0037] Unless otherwise defined, all terms (including technical and scientific terms) used in this article should be interpreted as customary usage in the art. It should also be understood that unless explicitly defined in this article, terms in common usage should also be interpreted as customary usage in the relevant art, and should not be interpreted as idealized or overly formal meanings.

[0038] Asymmetric encryption (also known as public key encryption) refers to an encryption technique that involves a pair of mutually related keys (i.e., a public key and a private key). The public key can be widely disseminated, while the private key is only known to its owner. Anyone can encrypt a message using the public key of the owner (i.e., the recipient of the message), but only the private key of the recipient can decrypt the encrypted message. In addition, the public key can be used for authentication, i.e., anyone can verify that the owner of the corresponding private key sent the message. Symmetric encryption refers to an encryption technique that uses the same encryption key to encrypt plaintext and decrypt ciphertext. In other words, the encryption key of symmetric encryption represents a shared secret between two or more parties.

[0039] To authenticate all valid platform public keys, a traditional public-key infrastructure (PKI) can be used, and a digital certificate can be registered for each valid platform public key. However, this approach requires repeated authentication every time a new platform pair is needed, for example, due to a new use case or a new device vendor. In some cases, this may be undesirable and / or infeasible. For example, to support a new use case on existing devices already deployed in the field, a new certificate needs to be registered for the new use case and then distributed to all devices that require the new use case.

[0040] According to an example, a mechanism is provided to allow any validator to confirm a derived platform key without using a reference device, requiring implicit trust, or having knowledge of the key derivation process. With dynamically derived platform keys, various platform keys can be derived and used in different use cases. In addition, the validator can confirm that the derived platform key is correctly derived in the intended use case.

[0041] Examples of the present invention may be provided as methods, systems or machine-readable instructions, such as any combination of software, hardware, firmware, etc. Such machine-readable instructions may be included in a computer-readable storage medium (including but not limited to disk storage, CD-ROM, optical storage, etc.) having a computer-readable program code therein or thereon.

[0042] The present invention is described with reference to the flow chart and / or block diagram of the method, device and system according to the example of the present invention. Although the flow chart described above shows a specific execution order, the execution order may be different from that described. The frame associated with a flow chart can be combined with the frame of another flow chart. In some examples, some frames of the flow chart may be unnecessary, and / or additional frames can be added. It should be understood that each flow chart and / or box in the flow chart and / or block diagram and the combination of the flow chart and / or the figure in the flow chart and / or the block diagram can be realized by the machine-readable instructions.

[0043] For example, machine-readable instructions can be executed by machines such as general-purpose computers, user devices such as smart devices (for example, processors of smart phones, special-purpose computers, embedded processors or other programmable data processing devices) to implement the functions described in the specification and the figures. In particular, a processor or a processing device can execute machine-readable instructions. Therefore, the modules of the device (for example, a module that implements a comparator unit or a firewall structure, etc.) can be implemented by a processor that executes machine-readable instructions stored in a memory, or by a processor that runs according to instructions embedded in a logic circuit. The term "processor" can be broadly interpreted to include a CPU, a processing unit, an ASIC, a logic unit or a programmable gate group, etc. These methods and modules can be executed by a single processor or by multiple processors.

[0044] Such machine-readable instructions may also be stored in a computer-readable memory, which may instruct a computer or other programmable data processing device to operate in a specific mode. For example, the instructions may be provided in a non-transitory computer-readable storage medium encoded with instructions, which may be executed by a processor.

[0045] Figure 1 The device according to the exemplary embodiment is schematically described. For example, the device 100 may be an electronic device such as a smart phone, a tablet computer, a smart watch, a laptop computer, an Internet of Things (IoT) device, etc. The device 100 includes a processor 103 and a memory 105 coupled to the processor 103, and the memory 105 is used to store instructions or program codes 107 that can be executed by the processor 103.

[0046] The device 100 is used to derive a root asymmetric key pair based on the symmetric encryption key of the device class identification and the derivation parameter set, wherein the symmetric encryption key of the device class identification is included in the device 100. The root asymmetric key pair may also be referred to as a "root platform key pair" or similar terms.

[0047] In one example, the device 100 (or an IC chip within the device 100) may include a secure area in which a symmetric encryption key of a device class identification is programmed and provided to a secure software component of the device 100. For example, the memory 105 may be used to securely store a symmetric encryption key of a device class identification, and the symmetric encryption key of the device is programmed into the memory 105 during the manufacturing process of the device. The secure software component may include a key derivation service, thereby enabling the device 100 to derive a root asymmetric key pair.

[0048] The device 100 here belongs to a class of devices. For example, devices with the same hardware specifications may belong to the same class. However, in some embodiments, hardware with different specifications may also have the same class identifier. The device class is uniquely identified by the associated device class identifier. In addition, each device class identifier is assigned its own class key. The class key is a symmetric encryption key that is the same for all hardware with the same class identifier. In other words, the class key is a secret encryption key shared by all hardware belonging to the same class manufactured by the hardware vendor. The class key is typically written to a secure memory area of ​​the device (e.g., a secure memory in memory 105), which can be accessed by the device's secure hardware. Ordinary application code cannot access the class key.

[0049] The root asymmetric key pair is derived in the same way as other asymmetric key pairs, but the derivation parameters and derivation factors used to derive the key are strictly controlled so that they can be implicitly trusted or authenticated together with the derived public key. The derivation parameters can include key derivation parameters, internal derivation factors, and external derivation factors.

[0050] The device 100 is used to send the public key in the derived root asymmetric key pair to the first certificate authority, thereby obtaining a device category certificate from the first certificate authority. The device 100 is used to send the obtained device category certificate to a public server, thereby registering the device category certificate on the public server, so that the device category certificate is publicly available. For example, the device category certificate can be obtained through a public cloud service.

[0051] The memory 105 may be used to store a derived parameter set that is statically programmed into the memory 105 during the manufacturing process of the device 100. That is, the derived parameter set may remain unchanged during the life cycle of the device 100.

[0052] The device 100 may include an interface 109 for receiving user input, the interface 109 being coupled to the memory 105 so that the memory 105 is used to store the user input as a derived parameter set. That is, the derived parameter set may be dynamically provided to the device 100 during the derivation process of the root asymmetric key pair.

[0053] Figure 2 A method according to an exemplary embodiment is schematically described. The method includes: in block 201, a first device derives a root asymmetric key pair based on a symmetric encryption key of a device category identifier and a derivation parameter set, wherein the symmetric encryption key of the device category identifier is included in the first device. For example, the first device may be the above Figure 1The device 100 is shown. In block 203, the method includes: the first certificate authority authenticates the public key in the derived root asymmetric key pair, thereby obtaining a device category certificate. In block 205, the device category certificate is registered on a public server, so that the device category certificate is publicly available.

[0054] In one example, when statically derived parameters are used, the process of root asymmetric key authentication can include three main steps. First, a root asymmetric key pair (or, in other words, a root platform key pair) is derived from a class key and static root parameters using a platform derivation service. The platform derivation service can be a software or hardware component within the first device responsible for key derivation. Secondly, the public key in the derived root asymmetric key pair (in other words, the root platform public key) is authenticated using an accredited authority. Any certificate registration method in a traditional public key infrastructure (PKI) can be used for authentication. Finally, the result of the authentication (called a device class certificate) is registered on a public server.

[0055] As above combined Figure 1 As discussed, the symmetric encryption key of the device class identification can be securely programmed into the first device (eg, device 100) during the manufacturing process. For the sake of brevity, it will not be described in detail.

[0056] It should be understood that the terms "certificate" and "authentication" are used in a broad sense. For example, X.509 digital certificates and the common certificate enrollment protocol may be used. Alternatively, or additionally, proprietary protocols or certificate formats may be used.

[0057] The set of derivation parameters may include key derivation parameters, internal derivation factors, and external derivation factors. These parameters may be statically programmed into the first device and remain the same during the lifecycle of the first device, or dynamically provided during root asymmetric key derivation, for example as user input.

[0058] The device class certificate may include a derived parameter set, whether the parameters are static or dynamic (i.e., externally provided). In one specific example, if the device class certificate is a traditional X.509 certificate, the parameters may be included as a certificate extension with a public designated object identifier. If the format of the device class certificate is a proprietary format, the format may support the inclusion of these parameters.

[0059] Figure 2The method may also include the following steps: after the public key in the derived first root asymmetric key pair has been authenticated by the first certificate authentication authority, the second certificate authentication authority cross-certifies the public key. This cross-authentication can be performed using standard methods in PKI, or any non-standard method, so that the cross-authentication result is verified by a verifier that wishes to confirm the root asymmetric key. Importantly, a reference device and / or IC chip is only required during the root asymmetric key authentication. The cross-authentication of the root asymmetric key can be performed at any time without using a reference device, and can be repeated when necessary.

[0060] Accordingly, after the root asymmetric key authentication process, the third-party verifier can confirm whether the root asymmetric key pair is derived according to a given specification by confirming the device class certificate and the derivation parameter set included in the certificate. The validity of such a root asymmetric key pair can then be used to further confirm other asymmetric key pairs, as described in more detail below. In other words, the authenticated root asymmetric key allows further authentication of other asymmetric keys, thereby efficiently establishing a trust chain starting from the first certificate authentication authority (or third-party certificate authentication authority), so that the validity of the derived asymmetric key can be verified by a third party without using a reference device.

[0061] Figure 3 A method according to an exemplary embodiment is schematically described. In particular, Figure 3 The method described in Figure 2 A continuation of the method described in , i.e., the steps described here take place in Figure 2 In other words, after the root asymmetric key is authenticated (via Figure 2 ), the root asymmetric key can be used to Figure 3 The method further proves (ie, authenticates) other asymmetric keys that are derived from the IC chip or devices belonging to the same device or chip class.

[0062] In box 301, the method may include: a second device belonging to the same category as the first device derives a root asymmetric key pair based on a symmetric encryption key and a derivation parameter set identified by the device category, wherein the symmetric encryption key identified by the device category is included in the second device. In box 303, the method may include: the second device derives a configuration asymmetric key pair based on an input parameter set. The input parameters may be the same as the derivation parameter set used by the first device. In one example, the input parameters include key derivation parameters and derivation factors provided statically or dynamically. In box 305, the method may include generating a proof, wherein the proof includes a public key in the configuration asymmetric key pair and an input parameter set. In box 307, the method may include: the verifier obtains the proof from the second device and obtains the device category certificate from a public server, thereby confirming the configuration asymmetric key pair derived by the second device.

[0063] After validation, the validator can extract the public key in the configuration asymmetric key pair from the attestation and use the public key in the intended use case. Validation of the configuration asymmetric key pair by the validator can include at least one of the following steps: verifying that the device category certificate is valid; verifying that the signature associated with the attestation is valid; and verifying that the set of input parameters in the attestation is valid. In the case of dynamic input parameters, the process of attestation and validation can include obtaining the device category certificate in advance so that the parameters can be retrieved and used to derive the configuration asymmetric key pair.

[0064] Figure 4 A configuration server according to an exemplary embodiment is schematically depicted. The configuration server 400 comprises a processor 403 and a memory 405 coupled to the processor 403 , the memory being used to store instructions or program code 407 executable by the processor 403 .

[0065] In particular, when a device that has been deployed on site (e.g., a device such as device 100) requires additional data to be configured by the configuration server 400, the device sends a request for the data to be configured, which includes a device class identifier. The configuration server 400 is used to retrieve a device class certificate corresponding to the device class identifier from a certificate certification authority or a public server that has registered the device class certificate. The configuration server 400 then responds with a random challenge value, a device class certificate, a first derived parameter set, and a second derived parameter set. In one example, the first derived parameter set can be used for identity authentication purposes, and the second derived parameter set can be used for encryption.

[0066] The configuration server 400 receives a signed challenge and a proof of a first configuration asymmetric key pair and a second configuration asymmetric key pair from a device. In one example, the first configuration asymmetric key pair may be derived using a first derivation parameter set, and the second configuration asymmetric key pair may be derived using a second derivation parameter set. Proofs may be generated for the first configuration asymmetric key pair and the second configuration asymmetric key pair and signed by a root asymmetric key. The first configuration asymmetric key may be used to sign the received challenge.

[0067] The configuration server 400 uses the public key in the first configuration asymmetric key pair extracted from the proof to confirm that the signature challenge is correct. For example, the configuration server 400 can confirm that the key is generated according to the parameters specified in the device category certificate and the first and second derived parameter sets, and use the public key in the first configuration asymmetric key pair to confirm that the signature challenge is correct. Afterwards, the configuration server 400 uses the public key in the second configuration asymmetric key pair extracted from the proof to encrypt the data to be configured and sends the encrypted data to the device.

[0068] According to one example, machine-readable instructions may be loaded onto a computer or other programmable data processing device so that the computer or other programmable data processing device performs a series of operations to produce a computer-implemented process, whereby the instructions executed on the computer or other programmable device provide operations for implementing the functions specified by the processes in the flowchart and / or the boxes in the block diagram.

[0069] Furthermore, the teachings herein may be implemented in the form of a computer or software product, such as a non-transitory machine-readable storage medium, where the computer software or product is stored in a storage medium and includes a plurality of instructions, such as machine-readable instructions, that enable a computer device to implement the method described in the examples of the present invention.

[0070] In some examples, some methods may be performed in a cloud-based or web-based environment. A cloud computing environment may provide various services and applications over the Internet. These cloud-based services (e.g., software as a service, platform as a service, infrastructure as a service, etc.) may be accessed through a web browser or other remote interface of a user device. The various functions described herein may be provided through a remote desktop environment or any other cloud-based computing environment.

[0071] Although various embodiments have been described and / or shown herein in the context of a fully functional computing system, one or more of these exemplary embodiments can be distributed as a program product in various forms, regardless of which specific type of computer-readable storage medium is used to actually perform the distribution. The embodiments disclosed herein can also be implemented using software modules that perform certain tasks. These software modules can include scripts, batch processing, or other executable files that can be stored on a computer-readable storage medium or in a computing system. In some embodiments, these software modules can configure a computing system to perform one or more exemplary embodiments disclosed herein. In addition, one or more modules described herein can convert the representation of data, physical devices, and / or physical devices from one form to another.

[0072] The above description is provided to enable those skilled in the art to better utilize the various aspects of the exemplary embodiments disclosed herein. The exemplary description is not exhaustive and is not limited to any precise form disclosed. Various modifications and changes may be made without departing from the spirit and scope of the present invention. The embodiments disclosed herein should be considered illustrative and not restrictive in all aspects. When determining the scope of the present invention, reference should be made to the attached claims and their equivalents.

Claims

1. A method, characterized in that include: The first device derives a root asymmetric key pair based on a symmetric encryption key and a derivation parameter set of a device category identifier, wherein the symmetric encryption key of the device category identifier is included in the first device; The first certificate certification authority authenticates the public key in the derived root asymmetric key pair, thereby obtaining a device category certificate; The device class certificate is registered on a public server so that the device class certificate is publicly available.

2. The method according to claim 1, characterized in that The derivation parameter set includes key derivation parameters, internal derivation factors and external derivation factors.

3. The method according to claim 2, characterized in that The derived parameter set is statically programmed into the first device.

4. The method according to claim 2, characterized in that: The set of derived parameters is provided to the first device via user input.

5. The method according to any one of the preceding claims, characterized in that The symmetric encryption key identifying the device class is securely programmed into the device during manufacturing.

6. The method according to any one of claims 1 to 5, characterized in that Authenticating the public key in the derived first root asymmetric key pair comprises the following steps: using a certificate enrollment method in a public-key infrastructure (PKI).

7. The method according to any one of the preceding claims, characterized in that The device class certificate includes the derived parameter set.

8. The method according to any one of the preceding claims, characterized in that The following steps are also included: A second certification authority cross-certifies the public key in the derived first root asymmetric key pair.

9. The method according to claim 1, characterized in that: The following steps are also included: A second device belonging to the same category as the first device derives the root asymmetric key pair based on the symmetric encryption key identified by the device category and the derivation parameter set, wherein the symmetric encryption key identified by the device category is included in the second device; The second device derives a configured asymmetric key pair based on the input parameter set; generating a certificate, wherein the certificate includes a public key in the configured asymmetric key pair and the input parameter set; The verifier obtains the attestation from the second device and obtains the device class certificate from the public server, thereby validating the configured asymmetric key pair derived by the second device.

10. The method according to claim 9, characterized in that The following steps are also included: The verifier extracts the public key of the configuration asymmetric key pair from the attestation.

11. The method according to claim 9 or 10, characterized in that: Confirming that the configured asymmetric key pair comprises at least one of the following steps: The verifier verifies that the device class certificate is valid; The verifier verifies that the signature associated with the certificate is valid; The verifier verifies that the set of input parameters in the proof is valid.

12. A device, characterized in that: include: processor; A memory coupled to the processor, wherein the memory is used to store a program code executable by the processor, the program code comprising one or more instructions, so that the user device: deriving a root asymmetric key pair based on a symmetric encryption key and a derivation parameter set of a device class identifier, wherein the symmetric encryption key of the device class identifier is included in the device; Sending the public key of the derived root asymmetric key pair to a first certificate authority, thereby obtaining a device category certificate from the first certificate authority; The obtained device class certificate is sent to a public server, thereby registering the device class certificate on the public server so that the device class certificate is publicly available.

13. The device according to claim 12, characterized in that The derivation parameter set includes key derivation parameters, internal derivation factors and external derivation factors.

14. The device according to claim 13, characterized in that The memory is used to store the derived parameter set, which is statically programmed into the memory during the manufacturing process of the device.

15. The device according to claim 13, characterized in that Also included is an interface for receiving user input, the interface coupled to the memory, such that the memory is used to store the user input as the derived parameter set.

16. The device according to any one of claims 12 to 15, characterized in that The memory is used to securely store the symmetric encryption key of the device, and the symmetric encryption key of the device is programmed into the memory during the manufacturing process of the device.

17. A configuration server, characterized in that: include: processor; A memory coupled to the processor, wherein the memory is used to store program code executable by the processor, the program code comprising one or more instructions, so that the configuration server: receiving a request for data to be configured from a device, wherein the request includes a device category identifier; Retrieving a device category certificate corresponding to the device category identifier from a certificate certification authority; sending a random challenge value, the device class certificate, a first set of derived parameters, and a second set of derived parameters for encryption to the device; receiving a signed challenge and a proof of a first configuration asymmetric key pair and a second configuration asymmetric key pair from the device; confirming that the signature challenge is correct using a public key in the first configured asymmetric key pair extracted from the proof; encrypting the data to be configured using the public key in the second configuration asymmetric key pair extracted from the certificate; The encrypted data is sent to the device.

18. A system, characterized in that: include: An apparatus according to any one of claims 12 to 16; The configuration server according to claim 17.