Key updating method based on symmetric key management technology

Through the key update method of symmetric key management technology, the combination of key management system and cryptographic components is used to solve the problem of easy breakability of keys under quantum computing in classical public key cryptography technology, and realize the safe update and anti-crypto of keys. Quantum capabilities also reduce construction and operation and maintenance costs.

CN118784228APending Publication Date: 2024-10-15HEBEI PRIME NUMBER INFORMATION SECURITY CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202411036024.2
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-07-31
Publication Date
2024-10-15

AI Technical Summary

Technical Problem

Existing key distribution schemes based on classical public key cryptography are difficult to resist the security risks of quantum computing. In particular, the keys of elliptic curve cryptography are easily cracked by quantum computers.

Method used

Adopt a key update method based on symmetric key management technology, and use the key management system, cryptographic components and key security carriers to pre-note and store symmetric keys through the key update process in the offline distribution stage and online distribution stage. , encryption and decryption to ensure safe updates of keys.

Benefits of technology

This method can not only resist the security risks of quantum computing, but also maintain low construction costs and operation and maintenance difficulties within the limited number of cryptographic components, providing superior anti-quantum performance.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118784228A_ABST
    Figure CN118784228A_ABST
Patent Text Reader

Abstract

The invention discloses a secret key updating method based on a symmetric secret key management technology, which comprises a secret key management system, a plurality of password components connected with the secret key management system and a plurality of secret key security carriers respectively connected between each password component and the secret key management system, the password component at least comprises a password component X and a password component Y; the key updating method comprises an off-line distribution stage key updating process, and the off-line distribution stage key updating process comprises the following steps that A1, a key management system generates pre-injected symmetric keys for a password component X and a password component Y of a to-be-used key according to a symmetric key data structure and stores the pre-injected symmetric keys locally and securely, then respectively injecting the KX0 and the KY0 into different secret key security carriers; a2, the key management system establishes a corresponding relation for the password component X and the key KX0; and A3, the password component X and the password component Y import the key in the key security carrier into the internal storage area. According to the invention, the security risk caused by quantum calculation can be resisted.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of key technology, and in particular to a key updating method based on symmetric key management technology. Background Art

[0002] As we all know, the security of modern cryptographic communication systems depends on key security. How to ensure the security of keys throughout their life cycle is the top priority of cryptographic communication systems. As the scale of communication systems expands, how to replace or update key encryption keys in a timely manner is the core point of cryptographic communication systems. In the key update mechanism based on public key cryptography and digital certificates, the encryption public key of the key receiver and the signature private key of the sender can be used to implement the digital envelope protection solution. This type of technical solution is relatively mature and easy to expand.

[0003] However, with the rapid development of quantum computing, the existing public key cryptography system designed based on elliptic curve cryptography (ECC) is already facing the risk of being attacked. Researchers have mathematically proved that quantum computers can easily crack ECC keys. Therefore, the existing digital envelope key distribution scheme based on classical public key cryptography algorithms is difficult to resist the security risks brought by quantum computing. Summary of the invention

[0004] The technical problem to be solved by the present invention is to provide a key updating method based on symmetric key management technology, which can resist the security risks brought by quantum computing.

[0005] In order to solve the above technical problems, the technical solutions adopted by the present invention are as follows.

[0006] A key update method based on symmetric key management technology, including a key management system, a plurality of cryptographic components connected to the key management system, and a plurality of key security carriers respectively connected between each cryptographic component and the key management system, wherein the cryptographic components at least include a cryptographic component X and a cryptographic component Y; the key update method includes a key update process in an offline distribution phase and a key update process in an online distribution phase;

[0007] The offline distribution phase key update process includes the following steps:

[0008] A1. The key management system generates a pre-injected symmetric key for the cryptographic components X and Y of the key to be used according to the symmetric key data structure and stores it securely locally: K X0 , K Y0 , then K X0 , K Y0 Inject different key security carriers respectively;

[0009] A2. The key management system is a cryptographic component X and a key K X0 Establish corresponding relationships;

[0010] A3. Cryptographic components X and Y import the key in the key security carrier into the internal storage area.

[0011] Preferably, the key update process in the online distribution phase includes the following steps:

[0012] B1. The key management system generates a new symmetric key version K for the cryptographic component X. X(N+1) , and then calculate the key data to be distributed according to the identity of the cryptographic component X: K X(N+1)C =E(KEK XN ,K X(N+1) ), and then calculate the identity authentication data for distribution: TokenX = F(KAK XN ,S X +T A +K X(N+1)C +ID KMS +ID X ), where F represents any cryptographic verification function; KAK XN The input key of the password verification function, KAK XN is the identity authentication key in the key structure of the last online or offline distribution of the cryptographic component X; S X Any other shared data that can be sent online in plain text or known to both parties; KEK XN is the key encryption key in the key structure of the last online or offline distribution of cryptographic component X; ID KMS The system ID of the key management system; X is the identifier of the cryptographic component X; T A is a timestamp; "+" indicates the connection between binary data;

[0013] B2. The key management system will T A , K X(N+1)C Sent to cryptographic component X, S together with TokenX X is optional;

[0014] B3. Cryptographic component X first verifies T A Is it within the acceptable time deviation range? If the timestamp is within the valid range, TokenX' is calculated according to the same algorithm as KMS. If TokenX' is the same as TokenX, KEK is used. XN Decrypt to get the plaintext K X(N+1) ;

[0015] B4. The N+1th key update of cryptographic component X is completed;

[0016] B5. The key management system uses the same method to update the key for the cryptographic component Y for the N+1th time.

[0017] Preferably, the structure length of the symmetric key data structure in step A1 is K, and it includes four parts: a key identifier, a key encryption key, an identity authentication key, and a business application key; the key identifier length is N; the key encryption key length is MN, and the key encryption key is used for encryption protection during the next key distribution; the identity authentication key length is LM, and the identity authentication key is used for identity authentication during the next key distribution; the business application key length is KL, and the business application key is used for security protection of business data of communication participants, and the business application key can be a single key or a connection of multiple keys; the values ​​of N, M, L and K are related to the adopted symmetric encryption algorithm and key application scenario.

[0018] Preferably, the positions of the key encryption key and the identity authentication key in the symmetric key data structure are filled with all-0 data, which means that the key encryption key and the identity authentication key are not updated this time, and only the business application key is updated; if the positions of the key encryption key and the identity authentication key are other data, it means that the key encryption key and the identity authentication key are also updated this time.

[0019] Due to the adoption of the above technical scheme, the technical progress achieved by the present invention is as follows.

[0020] The present invention not only has the superiority of quantum resistance by setting up a symmetric key data structure and adopting an offline distribution phase key update process and an online distribution phase key update process, but also has lower construction cost and operation and maintenance difficulty within a limited number of cryptographic components. BRIEF DESCRIPTION OF THE DRAWINGS

[0021] Figure 1 is a functional structure diagram of the key update system of the present invention;

[0022] Figure 2 A diagram showing a symmetric key data structure of the present invention;

[0023] Figure 3 is a key protection relationship diagram of the present invention;

[0024] Figure 4 A schematic diagram of a first embodiment of a key updating method of the present invention;

[0025] Figure 5 It is a schematic diagram of a second embodiment of the key updating method of the present invention. DETAILED DESCRIPTION

[0026] The present invention will be further described in detail below with reference to the accompanying drawings and specific embodiments.

[0027] A key update system based on symmetric key management technology, combined with Figure 1 As shown, it includes a key management system (KMS), a cryptographic component, and a key security carrier.

[0028] The key management system is mainly used for key generation, key security carrier filling, key online distribution, cryptographic component relationship management, etc. The key management system is usually in software form and deployed in a software virtualization environment or physical entity device.

[0029] There are several cryptographic components and at least include cryptographic component X and cryptographic component Y. The cryptographic components are connected to the key management system respectively. The cryptographic components are mainly used to read keys from key security carriers, receive key distribution from the key management system, store keys, etc. The cryptographic components include but are not limited to: software cryptographic modules, hardware cryptographic modules, embedded cryptographic modules, etc.

[0030] There are several key security carriers, which are connected between each cryptographic component and the key management system. The key security carrier is mainly used for offline distribution of key data. The key security carrier has a PIN code protection mechanism and meets the requirements of Level 2 or above of GM / T 0028 "Technical Requirements for Security of Cryptographic Modules". The key security carriers connected between each cryptographic component and the key management system can be 1-n. When there are n key security carriers, the key management system can split the key into n parts, and then distribute them to the cryptographic components offline through n key security carriers, which are finally received and synthesized by the cryptographic components, thereby ensuring the security of the key carrier during the distribution process.

[0031] This key update system updates the key based on symmetric key management technology, such as Figures 2 to 3 As shown, the length of the symmetric key data structure is K, which includes four parts: key identifier, key encryption key, identity authentication key and business application key. The order of the four parts is not limited here. Among them, the length of the key identifier is N; the length of the key encryption key is MN, which is mainly used for encryption protection at the next key distribution; the length of the identity authentication key is LM, which is mainly used for identity authentication at the next key distribution; the length of the business application key is KL, which is mainly used for business data security protection of communication participants. It should be noted that the business application key may be a single key or a connection of multiple keys; the values ​​of N, M, L and K are related to the adopted symmetric encryption algorithm and key application scenario.

[0032] A key updating method based on symmetric key management technology includes a key updating process in an offline distribution phase and a key updating process in an online distribution phase.

[0033] The key update process in the offline distribution phase includes the following steps:

[0034] A1. The key management system is a cryptographic component X and a cryptographic component Y of the key to be used according to Figure 2 The symmetric key data structure shown generates a pre-indicated symmetric key and stores it securely locally: K X0 , K Y0 , then K X0 , K Y0 Inject different key security carriers respectively.

[0035] A2. The key management system is a cryptographic component X and a key K X0 Establish a corresponding relationship.

[0036] A3. Cryptographic components X and Y import the key in the key security carrier into the internal storage area.

[0037] The key update process in the online distribution phase includes the following steps:

[0038] B1. The key management system generates a new symmetric key version K for the cryptographic component X. X(N+1) , and then calculate the key data to be distributed according to the identity of the cryptographic component X: K X(N+1)C =E(KEK XN ,K X(N+1) ), and then calculate the identity authentication data for distribution: TokenX = F(KAK XN ,S X +T A +K X(N+1)C +ID KMS +ID X ), where F represents any cryptographic verification function; KAK XN The input key of the password verification function, KAK XN is the identity authentication key in the key structure of the last online or offline distribution of the cryptographic component X; S X Any other shared data that can be sent online in plain text or known to both parties; KEK XN is the key encryption key in the key structure of the last online or offline distribution of cryptographic component X; ID KMS The system ID of the key management system; X is the identifier of the cryptographic component X; T A It is a timestamp; “+” indicates the connection between binary data.

[0039] B2. The key management system will T A , K X(N+1)C Sent to cryptographic component X, S together with TokenX X is optional.

[0040] B3. Cryptographic component X first verifies T AIs it within the acceptable time deviation range? If the timestamp is within the valid range, TokenX' is calculated according to the same algorithm as KMS. If TokenX' is the same as TokenX, KEK is used. XN Decrypt to get the plaintext K X(N+1) .

[0041] B4. The N+1th key update of cryptographic component X is completed.

[0042] B5. The key management system uses the same method to update the key for the cryptographic component Y for the N+1th time.

[0043] From the above method, it can be seen that if cryptographic component X and cryptographic component Y are to have the same business application key to ensure that the data between the two components can be encrypted and protected, then the key management system only needs to ensure that the business application key data remains consistent when distributing keys to the two components.

[0044] Based on the above key update method, Figure 4 In the first embodiment of the present invention, the key management system needs to distribute shared symmetric keys between cryptographic application C and cryptographic application X, and between cryptographic application C and cryptographic application Y.

[0045] Based on the above key update method, Figure 5 In the second embodiment of the present invention, the key management system needs to distribute a shared service application key to cryptographic application X and cryptographic application Y.

[0046] In addition, during the specific implementation process: if Figure 2 In the symmetric key data structure, if the positions of the key encryption key and the identity authentication key are filled with all 0 data, it means that the key encryption key and the identity authentication key are not updated this time, and only the business application key is updated; if the positions of the key encryption key and the identity authentication key are other data, it means that the key encryption key and the identity authentication key are also updated this time.

[0047] When the present invention is in use, by setting up a symmetric key data structure and adopting an offline distribution phase key update process and an online distribution phase key update process, it not only has the superiority of quantum resistance, but also has lower construction cost and operation and maintenance difficulty within a limited number of cryptographic components.

Claims

1. A key updating method based on symmetric key management technology, characterized in that: Based on a key management system, a plurality of cryptographic components connected to the key management system, and a plurality of key security carriers respectively connected between each cryptographic component and the key management system, the cryptographic components at least include a cryptographic component X and a cryptographic component Y; the key update method includes a key update process in an offline distribution phase and a key update process in an online distribution phase; The offline distribution phase key update process includes the following steps: A1. The key management system generates a pre-injected symmetric key for the cryptographic components X and Y of the key to be used according to the symmetric key data structure and stores it securely locally: K X0 , K Y0 , then K X0 , K Y0 Inject different key security carriers respectively; A2. The key management system is a cryptographic component X and a key K X0 Establish corresponding relationships; A3. Cryptographic components X and Y import the key in the key security carrier into the internal storage area.

2. The key updating method based on symmetric key management technology according to claim 1, characterized in that: The key update process in the online distribution phase includes the following steps: B1. The key management system generates a new symmetric key version K for the cryptographic component X. X(N+1) , and then calculate the key data to be distributed according to the identity of the cryptographic component X: K X(N+1)C =E(KEK XN ,K X(N+1) ), and then calculate the identity authentication data for distribution: TokenX = F(KAK XN ,S X +T A +K X(N+1)C +ID KMS +ID X ), where F represents any cryptographic verification function; KAK XN The input key of the password verification function, KAK XN is the identity authentication key in the key structure of the last online or offline distribution of the cryptographic component X; S X Any other shared data that can be sent online in plain text or known to both parties; KEK XN is the key encryption key in the key structure of the last online or offline distribution of cryptographic component X; ID KMS It is the system identifier of the key management system; ID X is the identifier of the cryptographic component X; T A is a timestamp; "+" indicates the connection between binary data; B2. The key management system will T A , K X(N+1)C Sent to cryptographic component X, S together with TokenX X is optional; B3. Cryptographic component X first verifies T A Is it within the acceptable time deviation range? If the timestamp is within the valid range, TokenX' is calculated according to the same algorithm as KMS. If TokenX' is the same as TokenX, KEK is used. XN Decrypt to get the plaintext K X(N+1) ; B4. The N+1th key update of cryptographic component X is completed; B5. The key management system uses the same method to perform the N+1th key update for the cryptographic component Y.

3. The key updating method based on symmetric key management technology according to claim 1, characterized in that: The structure length of the symmetric key data structure in step A1 is K, which includes four parts: key identifier, key encryption key, identity authentication key and business application key; the key identifier length is N; the key encryption key length is MN, and the key encryption key is used for encryption protection during the next key distribution; the identity authentication key length is LM, and the identity authentication key is used for identity authentication during the next key distribution; the business application key length is KL, and the business application key is used for security protection of business data of communication participants, and the business application key can be a single key or a connection of multiple keys; the values ​​of N, M, L and K are related to the adopted symmetric encryption algorithm and key application scenario.

4. The key updating method based on symmetric key management technology according to claim 3 is characterized in that: If the positions of the key encryption key and the identity authentication key in the symmetric key data structure are filled with all 0 data, it means that the key encryption key and the identity authentication key are not updated this time, and only the business application key is updated; If the positions of the key encryption key and the identity authentication key are other data, it means that the key encryption key and the identity authentication key are also updated this time.