Assistance device, secure component, assistance system, computer program, and assistance method

A support device with a control unit manages encryption and key management for IoT devices, addressing the challenges of end-to-end data protection by supporting encrypted communication without server modifications, thus reducing costs and service outages.

JP2024143470APending Publication Date: 2024-10-11DAI NIPPON PRINTING CO LTD
View PDF 1 Cites 0 Cited by

Patent Information

Application Number
JP2023056178
Authority / Receiving Office
JP · JP
Patent Type
Applications
Current Assignee / Owner
Filing Date
2023-03-30
Publication Date
2024-10-11

AI Technical Summary

Technical Problem

Existing communication systems face challenges in implementing end-to-end data protection for IoT devices, requiring significant server modifications and incurring high costs, along with issues like key expiration leading to temporary service outages.

Method used

A support device with a control unit that manages encryption and key management functions, supporting encrypted communication between client devices and servers without modifying the server, by using a secure component to handle encryption and decryption processes.

Benefits of technology

Enables encrypted communication between client devices and servers efficiently, reducing the need for server modifications and minimizing service disruptions due to key updates.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure 2024143470000001_ABST
    Figure 2024143470000001_ABST
Patent Text Reader

Abstract

To provide an assistance device, a client assistance device, an assistance system, a computer program, and an assistance method for assisting encrypted communication between a client device and a server.SOLUTION: An assistance device supports encrypted communication between a client device and a server, and is equipped with a control unit. The control unit receives, from the server, an encryption request for data that the server sends to the client device, determines the status of a server key that the server uses for encryption on the basis of the received encryption request, and transmits an encryption request result to the server on the basis of the determination result.SELECTED DRAWING: Figure 1
Need to check novelty before this filing date? Find Prior Art

Description

[Technical field]

[0001] The present invention relates to an assistance device, a secure component, an assistance system, a computer program, and an assistance method. [Background technology]

[0002] In recent years, IoT technology has been widely used not only in familiar "things" such as home appliances and wearable devices, but also in various scenes in manufacturing sites as a mechanism to improve productivity. As IoT technology becomes more widespread, not only are there huge losses due to malfunctions in IoT products and the credibility of corporate services being lost, but there are also increasing threats that could affect human lives.

[0003] Against this background, guidelines regarding security for IoT products have been formulated both in Japan and overseas, and efforts are being made to implement security measures from the design and development stages of IoT products. Security measures are measures against, for example, hijacking, spoofing, information leaks, data tampering, etc. of IoT products caused by unauthorized access through physical or remote attacks.

[0004] Patent Document 1 discloses a communication system that performs encrypted communication between a client device and a server based on signature information signed using private key information. [Prior art documents] [Patent documents]

[0005] [Patent Document 1] JP 2019-165404 A Summary of the Invention [Problem to be solved by the invention]

[0006] In some cases, security measures are implemented between client devices and servers, such as in the communication system disclosed in Patent Document 1, but to achieve E2E (end-to-end) data protection, for example, it is necessary to install new security functions in the server, which requires a large cost for the modification of the server that controls the client devices such as IoT products. Even if E2E data protection has already been introduced, there remain issues regarding availability, such as the load of periodic updates of keys used and temporary service interruptions due to key expiration.

[0007] The present invention has been made in consideration of the above circumstances, and has an object to provide an assistance device, a secure component, an assistance system, a computer program, and an assistance method that assist in encrypted communication between a client device and a server. [Means for solving the problem]

[0008] The present application includes multiple means for solving the above-mentioned problems, and one example is an assistance device that assists in encrypted communication between a client device and a server, and is equipped with a control unit, which receives from the server an encryption request for data that the server sends to the client device, determines the status of a server key that the server uses for encryption based on the received encryption request, and transmits an encryption request result to the server based on the determination result. Effect of the Invention

[0009] The present invention can support encrypted communications between a client device and a server. [Brief description of the drawings]

[0010] [Figure 1] FIG. 1 is a diagram illustrating a first example of a configuration of a support system according to an embodiment of the present invention. [Diagram 2] FIG. 2 is a diagram illustrating a first example of a device management function and a key management function. [Diagram 3] FIG. 11 is a diagram illustrating a second example of a device management function and a key management function. [Figure 4] FIG. 1 is a diagram illustrating a first example of an encryption processing function, a device management function, and a key management function. [Diagram 5] FIG. 11 is a diagram illustrating a second example of the encryption processing function, the device management function, and the key management function. [Figure 6] FIG. 4 is a diagram showing an example of key information. [Figure 7] FIG. 11 is a diagram illustrating a first example of a support method in the case of data encryption. [Figure 8] FIG. 11 is a diagram illustrating a second example of a support method in the case of data encryption. [Figure 9] FIG. 11 is a diagram illustrating a first example of a support method in the case of data decoding. [Figure 10] FIG. 11 is a diagram illustrating a second example of a support method in the case of data decoding. [Figure 11] FIG. 13 is a diagram illustrating an example of a support method in the case of key updating. [Figure 12] FIG. 2 is a diagram illustrating a second example of the configuration of the support system according to the present embodiment. [Figure 13] FIG. 2 illustrates an example of a key hierarchy. DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS

[0011] The present invention will be described below with reference to the drawings showing the embodiments. FIG. 1 is a diagram showing a first example of the configuration of a support system of this embodiment. The support system includes a support device 50. A user server 30 is connected to the support device 50 via a communication network. A client device 10 is connected to the user server 30 via the communication network. Although only one client device 10 is shown in FIG. 1, multiple client devices 10 may be connected to the user server 30.

[0012] The client device 10 is, for example, an IoT product, and includes devices used at manufacturing sites, home appliances, wearable terminals, devices in vehicles such as automobiles, etc. The client device 10 includes, for example, hardware similar to that of a personal computer. The client device 10 includes a user application 11 and a secure component 12. The user application 11 transmits and receives information between the secure component 12 and the user server 30.

[0013] The secure component 12 is, for example, a secure element, and is a tamper-resistant module having an application having security functions such as data encryption, authentication, and confidential information protection mounted on a secure IC chip. The secure component 12 may be an execution platform (OS) or an application on a TEE (Trusted Execution Environment), and may implement, for example, a white-box cryptography. The white-box cryptography is an obfuscation method aimed at preventing leakage of the cryptographic key itself, and since it provides only functions such as encryption and decryption and does not include key information itself, it is practically difficult for an attacker to restore the key information even if the function is decrypted. In addition, an application implementing the white-box cryptography also includes a library for application development. The secure component 12 stores key information 13. Details of the key information will be described later.

[0014] The user server 30 is a server that transmits and receives information to and from the client device 10, and controls or manages the client device 10. In order to implement security measures for the client device 10, the user server 30 is essentially required to have a device management function, an encryption processing function, a key management function, and the like. In this embodiment, the support device 50 is equipped with such device management function, encryption processing function, and key management function to support encrypted communication between the user server 30 and the client device 10.

[0015] The support device 50 includes a control unit 51 that controls the entire support device, a communication unit 52, a memory 53, a storage unit 54, a recording medium reading unit 56, a device management function 57, an encryption processing function 58, a key management function 59, and a secure memory 60.

[0016] The control unit 51 may be configured by incorporating a required number of central processing units (CPUs), micro-processing units (MPUs), graphics processing units (GPUs), etc. The control unit 51 may also be configured by combining cryptographic processors, digital signal processors (DSPs), field-programmable gate arrays (FPGAs), etc.

[0017] The communication unit 52 includes a communication module, and has a function of communicating with the user server 30. The communication unit 52 may set up a secret communication path on the communication network between the assistance device 50 and the user server 30.

[0018] The storage unit 54 can be configured, for example, with a hard disk or a semiconductor memory, and stores a computer program 55 (program product) and required information.

[0019] Computer program 55 is a computer program that runs on support device 50. A recording medium (for example, an optically readable disk storage medium 1 such as a CD-ROM) on which computer program 55 is recorded is read by recording medium reading unit 56, and the read computer program 55 is stored in storage unit 54. Computer program 55 may also be downloaded from an external device via communication unit 52 and stored in storage unit 54.

[0020] The memory 53 can be configured with a semiconductor memory such as a static random access memory (SRAM), a dynamic random access memory (DRAM), a flash memory, etc. A computer program 55 can be loaded into the memory 53, and the control unit 51 can execute the computer program 55. The control unit 51 can execute processing defined by the computer program 55. In other words, the processing by the control unit 51 is also the processing by the computer program 55.

[0021] The device management function 57, the encryption processing function 58, and the key management function 59 each perform their respective functions by the control unit 51 executing the computer program 55. The device management function 57, the encryption processing function 58, and the key management function 59 may be configured in whole or in part by hardware. The details of the device management function 57, the encryption processing function 58, and the key management function 59 will be described later.

[0022] The secure memory 60 is a tamper-resistant memory, and can be configured, for example, with an Electrically Erasable Programmable Read-Only Memory (EEPROM), and is a writable memory that stores key information 61 and the like.

[0023] The key information 13, which is similar to the key information 61 including the server key, the client key, and the key transport key stored in the support device 50, is stored in the secure component 12. When the key information 61 is updated, the same update content is reflected in the key information 13. In this way, the key information 61 and the key information 13 are managed so as to maintain their identity. The server key, the client key, and the key transport key will be described in detail later.

[0024] Next, the device management function 57, the encryption processing function 58, and the key management function 59 of the support device 50 will be described.

[0025] 2 is a diagram showing a first example of the device management function 57 and the key management function 59. A device registration request is transmitted via the user server 30 (S11). The device registration request is a request to register a new client device 10. When the device management function 57 receives the device registration request (S12), it outputs an initial key set generation request to the key management function 59 (S13).

[0026] The key management function 59 generates and stores a key (S14). Here, the generated key is the key information 61 exemplified in FIG. 1. The key management function 59 outputs the key information to the device management function 57 (S15). The device management function 57 outputs the key information to the user server 30 (S16), manages the correspondence between the device and the key (S17), and ends the process. When the user server 30 transmits the key information to the client device 10, the secure component 12 stores it as the key information 13. The key information 13 and the key information 61 may be different for each client device 10, or common key information may be used for a plurality of client devices 10. Note that, as for the key information 13 stored in the secure component 12, the key information 13 and the association information with the secure component 12 may be generated in advance, and the key information 13 based on the association information may be written to the secure component 12 during the manufacturing process of the secure component 12.

[0027] 3 is a diagram showing a second example of the device management function 57 and the key management function 59. A key update request is transmitted from the user server 30 (S21). The key update request may be for updating any of the server key, the client key, or the key transport key. When the device management function 57 receives the key update request (S22), it outputs a key generation / update request to the key management function 59 (S23).

[0028] The key management function 59 generates and stores a key (S24). Here, the key generated for updating is a server key, a client key, or a key transport key. The key management function 59 outputs key information to the device management function 57 (S25). The device management function 57 outputs the key information to the user server 30 (S26), manages the correspondence between the device and the key (S27), and ends the process. When the user server 30 transmits the key information to the client device 10, the secure component 12 stores it as key information 13. This makes it possible to control and manage the identity between the key information 13 and the key information 61.

[0029] 4 is a diagram showing a first example of the encryption processing function 58, the device management function 57, and the key management function 59. A data encryption request is sent from the user server 30 (S31). The data is data that the user server 30 sends to the client device 10, and the user server 30 does not perform the encryption process itself but requests the support device 50 to support the encryption process. The encryption processing function 58 accepts the encryption request (S32) and requests key information required for encryption from the device management function 57 (S33).

[0030] The device management function 57 outputs key identification information to the encryption processing function 58 (S34). The key identification information includes the key ID and generation number of the server key. The encryption processing function 58 outputs a request for a session key to the key management function 59 (S35).

[0031] The key management function 59 generates a session key (S36). The session key can be generated based on, for example, a server key and seed information. When using a session key, it is necessary to share a session key generation rule and seed information for generating the session key with the client device 10. The seed information can be set as appropriate, but for example, a numerical value such as the number of times the server key is used may be used.

[0032] The key management function 59 outputs the session key to the encryption processing function 58 (S37). The encryption processing function 58 encrypts the data with the session key (S38), outputs the encrypted data to the user server 30 (S39), and ends the processing. In the example of Fig. 4, the data is encrypted using the session key, but this is not limited to this, and the data may be encrypted using a server key.

[0033] 5 is a diagram showing a second example of the encryption processing function 58, the device management function 57, and the key management function 59. A decryption request for encrypted data is transmitted from the user server 30 (S41). The encrypted data is data that the user server 30 has received from the client device 10, and the user server 30 does not perform the decryption process itself but instead requests the support device 50 to support the decryption process. The encryption processing function 58 receives the decryption request (S42) and requests key information required for encryption from the device management function 57 (S43).

[0034] The device management function 57 outputs key identification information to the encryption processing function 58 (S44). The key identification information includes the key ID and generation number of the client key. The encryption processing function 58 outputs a request for a session key to the key management function 59 (S45).

[0035] The key management function 59 generates a session key (S46). The session key can be generated based on, for example, the client key and seed information. When using a session key, it is necessary to share a session key generation rule and seed information for generating the session key with the client device 10. The seed information can be set as appropriate, but for example, a numerical value such as the number of times the client key is used may be used.

[0036] The key management function 59 outputs the session key to the encryption processing function 58 (S47). The encryption processing function 58 decrypts the data with the session key (S48), outputs the decrypted data to the user server 30 (S49), and ends the processing. In the example of Fig. 5, the encrypted data is decrypted using the session key, but this is not limited to this, and the encrypted data may be decrypted using a client key.

[0037] FIG. 6 is a diagram showing an example of key information. For convenience, the key information 13 and 61 shown in FIG. 1 only show the key type of the key information shown in FIG. 6. As shown in FIG. 6, the key information includes information such as the key type, key ID, generation (generation number), key status (valid / invalid), expiration date, maximum number of uses, and current number of uses. The key types include a server key, a client key, and a key transport key. The server key is originally a key used by the user server 30 to encrypt data to be transmitted to the client device 10, and the client device 10 can decrypt the encrypted data with the server key. The client key is originally a key used by the user server 30 to decrypt encrypted data transmitted by the client device 10, and the client device 10 can encrypt data with the client key. The key transport key is a key used to encrypt the server key or the client key when transmitting the server key or the client key from the user server 30 to the client device 10. The client device 10 can decrypt the encrypted server key or the client key with the key transport key.

[0038] Generations and expiration dates are related, and the lower the generation number, the shorter the period until expiration. In the example of Fig. 6, two generations of keys (current key and next-generation key) are stored, but the number of generations is not limited to two. By managing the generations of the server key, client key, and key transport key in the support device 50, the load on the user server 30 regarding key management can be reduced. In addition, by storing multiple generations of keys, it is possible to solve availability issues such as temporary service suspension due to key expiration, which may occur when there is only one generation of key.

[0039] A key becomes "invalid" if it has expired or if the current number of uses exceeds the maximum number of uses (number of times it can be used). A key becomes "valid" if it is within its expiration date or if the current number of uses is equal to or less than the maximum number of uses (number of times it can be used).

[0040] As described above, the support device 50 includes a secure memory 60 (also referred to as a "storage unit") that stores multiple generations of server keys, client keys, and key transport keys. This allows the user to continue required processing by using the next generation key even if the status of the current generation key is invalid, thereby improving the availability of the service.

[0041] Next, a method for supporting encrypted communication by the support device 50 will be described.

[0042] Fig. 7 is a diagram showing a first example of a support method in the case of data encryption. In the first example shown in Fig. 7, it is assumed that all the keys stored in the support device 50 and the secure component 12 are valid. The user server 30 outputs a data encryption request including the data to be encrypted to the support device 50 (S101). The support device 50 generates a session key (S102). The session key can be generated based on a server key and required seed information. As the state of the server key of generation 1 is valid, the server key of generation 1 can be used when generating the session key.

[0043] The support device 50 encrypts the data with the session key (S103), and outputs the data encryption result to the user server 30 (S104). The data encryption result includes the encrypted data, the key ID of the server key, the generation number of the server key, seed information, etc. The encrypted data uses the server key of generation 1.

[0044] The user server 30 outputs the encrypted data to the user application 11 (S105). The encrypted data includes, in addition to the encrypted data, the key ID of the server key, the generation number of the server key, seed information, etc. The user application 11 outputs a decryption request for the encrypted data to the secure component 12 (S106). The decryption request includes, in addition to the encrypted data, the key ID of the server key, the generation number of the server key, seed information, etc.

[0045] The secure component 12 generates a session key based on the server key and the seed information (S107), and decrypts the encrypted data using the generated session key (S108). The secure component 12 outputs the decrypted data to the user application 11 (S109), and ends the process. In the example of Fig. 7, the session key is generated using the server key, but data may be encrypted with the server key and the encrypted data may be decrypted.

[0046] Fig. 8 is a diagram showing a second example of the support method in the case of data encryption. In the second example shown in Fig. 8, among the keys stored in the support device 50 and the secure component 12, the state of the server key of generation 1 is invalid, and the states of the other keys are valid. In the second example, a process for updating the server key is added.

[0047] The user server 30 outputs a data encryption request including the data to be encrypted to the support device 50 (S111). The support device 50 generates a session key (S112). The session key can be generated based on a server key and required seed information. Since the status of the server key of generation 1 is invalid, the server key of generation 2 is used when generating the session key.

[0048] The support device 50 encrypts the data with the session key (S113) and outputs the data encryption result to the user server 30 (S114). The data encryption result includes the encrypted data, the key ID of the server key (generation 2), the generation number of the server key (generation 2), seed information, and an update request for the server key of generation 1. The encrypted data uses the server key of generation 2.

[0049] The user server 30 outputs the encrypted data to the user application 11 (S115). The encrypted data includes, in addition to the encrypted data, the key ID of the server key (generation 2), the generation number of the server key (generation 2), seed information, etc. The user application 11 outputs a decryption request for the encrypted data to the secure component 12 (S116). The decryption request includes, in addition to the encrypted data, the key ID of the server key (generation 2), the generation number of the server key (generation 2), seed information, etc.

[0050] The secure component 12 generates a session key based on the server key and the seed information (S117), and decrypts the encrypted data using the generated session key (S118). The secure component 12 outputs the decrypted data to the user application 11 (S119).

[0051] Since the server key (generation 1) is invalid, the user server 30 outputs a server key update request to the support device 50 (S120). The support device 50 updates the server key (S121). In the example of Fig. 8, the server key (generation 1) is updated with the server key (generation 3).

[0052] The support device 50 outputs the key update information to the user server 30 (S122). The key update information includes, for example, the key ID of the server key (generation 3), the generation number (generation 3), the expiration date, the maximum number of uses, the current number of uses, and the like.

[0053] The user server 30 outputs the key update information to the user application 11 (S123), and the user application 11 outputs the key update information to the secure component 12 (S124). The secure component 12 updates the key information. In the example of Fig. 8, the server key (generation 1) is updated with the server key (generation 3).

[0054] 8, the support device 50 updates the server key based on a server key update request from the user server 30, but is not limited to this. For example, the support device 50 may refer to the key information 61 at an appropriate timing to determine the state of each key, and if an invalid key exists, may automatically update the key even without a request from the user server 30.

[0055] 8, if the states of both the server key (generation 1) and the server key (generation 2) are invalid, the server key can be updated before encrypting the data. In this case, the support device 50 may update the server key by itself, or may output a server key update request to the user server 30 and update the server key based on the update request from the user server 30.

[0056] As shown in Figures 7 and 8, the control unit 51 (support device 50) receives from the user server 30 (also referred to as the "server") a request to encrypt data to be sent from the user server 30 to the client device 10, determines the status of the server key used by the user server 30 for encryption based on the received encryption request, and transmits the data encryption result (also referred to as the "encryption request result") to the user server 30 based on the determination result.

[0057] With the above-mentioned configuration, it is not necessary to install a new security function in the user server 30, and it is not necessary to modify the user server 30 that controls the client device such as an IoT product. Also, it is possible to support encrypted communication between the client device 10 and the user server 30.

[0058] The server key status may include the expiration date or number of uses of the server key for each generation. If the server key has not expired and has not exceeded the maximum number of uses, the server key status is valid. If the server key has expired or has exceeded the maximum number of uses, the server key status is invalid.

[0059] The data encryption result may include the encrypted data, and the key ID or generation number of the server key used for encryption. The data encryption result may also include a server key update request. This can reduce the load on the user server 30 for periodic key updates, and can prevent a decrease in availability, such as a temporary service outage due to key expiration.

[0060] Fig. 9 is a diagram showing a first example of the support method in the case of data decryption. In the first example shown in Fig. 9, it is assumed that all the keys stored in the support device 50 and the secure component 12 are valid. The user application 11 outputs a data encryption request including the data to be encrypted to the secure component 12 (S131). The secure component 12 generates a session key (S132). The session key can be generated based on the client key and required seed information. As the state of the client key of generation 1 is valid, the client key of generation 1 can be used when generating the session key.

[0061] The secure component 12 encrypts the data with the session key (S133) and outputs the data encryption result to the user application 11 (S134). The data encryption result includes the encrypted data, the key ID of the client key, the generation number of the client key, seed information, etc. The encrypted data uses the client key of generation 1.

[0062] The user application 11 outputs the encrypted data to the user server 30 (S135). The encrypted data includes, in addition to the encrypted data, the key ID of the client key, the generation number of the client key, and seed information. The user server 30 outputs a decryption request for the encrypted data to the support device 50 (S136). The decryption request includes, in addition to the encrypted data, the key ID of the client key, the generation number of the client key, and seed information.

[0063] The support device 50 generates a session key based on the client key and the seed information (S137), and decrypts the encrypted data using the generated session key (S138). The support device 50 outputs the decrypted data to the user server 30 (S139), and ends the process. In the example of Fig. 9, the session key is generated using the client key, but data may be encrypted with the client key and the encrypted data may be decrypted.

[0064] Fig. 10 is a diagram showing a second example of the support method in the case of data decryption. In the second example shown in Fig. 10, among the keys stored in the support device 50 and the secure component 12, the state of the client key of generation 1 is invalid, and the states of the other keys are valid. In the second example, a process related to updating the client key is added.

[0065] The user application 11 outputs a data encryption request including data to be encrypted to the secure component 12 (S141). The secure component 12 generates a session key (S142). The session key can be generated based on a client key and required seed information. Since the status of the client key of generation 1 is invalid, the client key of generation 2 is used when generating the session key.

[0066] The secure component 12 encrypts the data with the session key (S143) and outputs the data encryption result to the user application 11 (S144). The data encryption result includes the encrypted data, the key ID of the client key (generation 2), the generation number of the client key (generation 2), seed information, and an update request for the client key of generation 1. The encrypted data uses the client key of generation 2.

[0067] The user application 11 outputs the encrypted data to the user server 30 (S145). The encrypted data includes, in addition to the encrypted data, the key ID of the client key (generation 2), the generation number of the client key (generation 2), and seed information. The user server 30 outputs a decryption request for the encrypted data to the support device 50 (S146). The decryption request includes, in addition to the encrypted data, the key ID of the client key (generation 2), the generation number of the client key (generation 2), and seed information.

[0068] The support device 50 generates a session key based on the client key and the seed information (S147), and decrypts the encrypted data using the generated session key (S148). The support device 50 outputs the data decryption result to the user server 30 (S149). The data decryption result includes the decrypted data and information on whether the client key is valid or invalid.

[0069] Since the client key (generation 1) is invalid, the user server 30 outputs a client key update request to the support device 50 (S150). The support device 50 updates the client key (S151). In the example of Fig. 10, the client key (generation 1) is updated with the client key (generation 3).

[0070] The support device 50 outputs the key update information to the user server 30 (S152). The key update information includes, for example, the key ID of the client key (generation 3), the generation number (generation 3), the expiration date, the maximum number of uses, the current number of uses, and the like.

[0071] The user server 30 outputs the key update information to the user application 11 (S153), and the user application 11 outputs the key update information to the secure component 12 (S154). The secure component 12 updates the key information. In the example of Fig. 10, the client key (generation 1) is updated with the client key (generation 3).

[0072] 10, the support device 50 updates the client key based on a client key update request from the user server 30, but is not limited to this. For example, the support device 50 may refer to the key information 61 at an appropriate timing to determine the state of each key, and if an invalid key exists, may automatically update the key even without a request from the user server 30.

[0073] 10, if the states of both the client key (generation 1) and the client key (generation 2) are invalid, the client key can be updated before encrypting the data. In this case, the support device 50 may update the client key by itself, or may output a client key update request to the user server 30 and update the client key based on the update request from the user server 30.

[0074] As shown in Figures 9 and 10, the control unit 51 receives from the user server 30 a request to decrypt the encrypted data that the user server 30 received from the client device 10, determines the status of the client key used by the user server 30 for decryption based on the received decryption request, and transmits a data decryption result (also referred to as the "decryption request result") to the user server 30 based on the determination result.

[0075] With the above-mentioned configuration, it is not necessary to install a new security function in the user server 30, and it is not necessary to modify the user server 30 that controls the client device such as an IoT product. Also, it is possible to support encrypted communication between the client device 10 and the user server 30.

[0076] The status of the client key may include the expiration date or the number of uses of the client key for each generation. If the client key has not expired and the number of uses has not exceeded the maximum number of uses, the status of the client key is valid. If the client key has expired or the number of uses has exceeded the maximum number of uses, the status of the client key is invalid.

[0077] The data decryption result may include the decrypted data and whether the client key used for decryption has expired. This reduces the load on the user server 30 for periodic key updates, and prevents a decrease in availability, such as a temporary service outage due to key expiration.

[0078] In the support device 50, when decrypting data, if the client key is invalid due to reasons such as expiration or exceeding the maximum number of uses, the user may appropriately select how to handle the decrypted data according to the user's security policy, etc. For example, if security is strict, the user may take measures not to use the decrypted data. Also, if security is not so strict, the user may take measures to use the decrypted data. Also, the client key may be updated and the same data may be encrypted and decrypted again.

[0079] Even if the client device 10 or the secure component 12 does not have a time management function and is unable to keep track of the time correctly, the support device 50 can notify the user that the client key status is invalid when decrypting encrypted data.

[0080] In the case of data decryption processing, even if the client key has expired, the encrypted data may be decrypted and the expiration may be notified to prompt the user to update the key. Also, both the expiration date when used for encryption and the expiration date when used for decryption may be retained and managed. If the expiration date when used for decryption has expired, the encrypted data may not be decrypted and the user may be prompted to update the client key.

[0081] Fig. 11 is a diagram showing an example of a support method in the case of key update. In the example of Fig. 11, among the keys stored in the support device 50 and the secure component 12, the server key of generation 1 and the key transport key of generation 1 are in an invalid state, and the other keys are in an valid state. The process shown in Fig. 11 specifically explains the process from step S120 onwards in Fig. 8, or the process from step S150 onwards in Fig. 10.

[0082] Since the server key (generation 1) is invalid, the user server 30 outputs a server key update request to the support device 50 (S161). The support device 50 updates the server key (S162). In the example of Fig. 11, the server key (generation 1) is updated with the server key (generation 3).

[0083] The support device 50 outputs the key update information to the user server 30 (S163). The key update information includes, for example, the key ID of the server key (generation 3) encrypted with the key transport key (generation 2), the generation number (generation 3), the expiration date, the maximum number of uses, the current number of uses, and expiration date information of the key transport key (in the example of FIG. 11, the key transport key (generation 1) has expired).

[0084] The user server 30 outputs the key update information to the user application 11 (S164), and the user application 11 outputs the key update information to the secure component 12 (S165). The secure component 12 updates the server key (S166). In the example of Fig. 11, the server key (generation 1) is updated with the server key (generation 3).

[0085] The secure component 12 outputs a completion notification of the key update to the user application 11 (S167), and the user application 11 outputs the completion notification to the user server 30 (S168). The user server 30 outputs the completion notification to the assistance device 50 (S169).

[0086] Since the key transport key (generation 1) is invalid, the user server 30 outputs a request to update the key transport key to the support device 50 (S170). The support device 50 updates the key transport key (S171). In the example of Fig. 11, the key transport key (generation 1) is updated with the key transport key (generation 3).

[0087] The support device 50 outputs the key update information to the user server 30 (S172). The key update information includes, for example, information such as the key ID of the key transport key (generation 3) encrypted with the key transport key (generation 2), the generation number (generation 3), the expiration date, the maximum number of uses, and the current number of uses.

[0088] The user server 30 outputs the key update information to the user application 11 (S173), and the user application 11 outputs the key update information to the secure component 12 (S174). The secure component 12 updates the key transport key (S175). In the example of Fig. 11, the key transport key (generation 1) is updated with the key transport key (generation 3).

[0089] The secure component 12 outputs a completion notification of the key update to the user application 11 (S176), and the user application 11 outputs the completion notification to the user server 30 (S177). The user server 30 outputs the completion notification to the assistance device 50 (S178).

[0090] As described above, the support device 50 includes a secure memory 60 that stores one or more generations of key transport keys. The control unit 51 encrypts the updated server key or the updated client key with the key transport key, and transmits the encrypted updated server key or the updated client key to the secure component 12 that supports the encryption and decryption of the client device 10 via the user server 30.

[0091] In addition, the control unit 51 determines whether the key transport key needs to be updated, and if an update is necessary, it can send the updated key transport key (generation 3) encrypted with the pre-update key transport key (e.g., generation 2) to the secure component 12 via the user server 30.

[0092] In the example of Fig. 11, the key transport key (generation 1) is invalid, but the key transport key (generation 2) is valid. If all the key transport keys are invalid (e.g., expired), the key transport keys can be updated first. For example, if the key transport key (generation 1) and the key transport key (generation 2) are invalid, a key transport key (generation 3) may be generated, and the key transport key (generation 3) may be encrypted with the key transport key (generation 2) and transmitted.

[0093] Furthermore, the key update in the secure component 12 may be an automatic update, or the user who has received a notice that a key update is necessary may operate the client device 10 to update the key.

[0094] As described above, the control unit 51 may determine whether or not at least one of the server key and the client key needs to be updated. The control unit 51 may also determine whether or not the key transport key needs to be updated. This eliminates the need for the user server 30 to determine the state of the key and determine whether or not it needs to be updated, thereby reducing the burden on the user server 30.

[0095] Fig. 12 is a diagram showing a second example of the configuration of the support system of this embodiment. In the first example illustrated in Fig. 1, the client device 10 is configured to include the secure component 12, but in the second example, the client support device 20 is connected between the user server 30 and the client device 10, and the client support device 20 includes a secure component 21. The secure component 21 has the same configuration as the secure component 12. The client support device 20 can be configured, for example, by a gateway device (GW) or the like.

[0096] Encrypted communication is performed between the user server 30 and the client support device 20, and plaintext communication can be performed between the client support device 20 and the client device 10, for example, using an in-house network.

[0097] As described above, the secure components 12, 21 support encryption / decryption of the client device 10, and can store key information including a server key used by the user server 30 for encryption, a client key used by the user server 30 for decryption, and a key transport key for encrypting the updated server key or the updated client key, all of which are stored in the support device 50. The secure components may be mounted on the client device 10, or may be mounted on a client support device, such as a gateway device, separate from the client device 10.

[0098] With the above-mentioned configuration, although it is costly to provide a new encryption function to the client device 10 such as an IoT device, by providing the secure component 21 in the client support device 20 and configuring it to support encryption processing with the user server 30, it is possible to realize encrypted communication between the client device 10 and the user server 30 at a minimum cost. In addition, existing IoT products can be used as they are, and there is no need to replace or modify the IoT products.

[0099] FIG. 13 is a diagram showing an example of a key hierarchy. As shown in FIG. 13, the key hierarchy can be, from top to bottom, a master key, a hierarchical key (n), a hierarchical key (nm), a hierarchical key (nmk), a client master key (n), and a key group (a server key, a client key, and a key transport key). Note that the key hierarchy is an example and is not limited to the example in FIG. 13. The master key is the highest key managed by a key management company, and is determined for each specific customer or service, for example. The hierarchical key (n), the hierarchical key (nm), and the hierarchical key (nmk) are hierarchical keys hierarchically arranged from the master key by service, area, version, etc., and the hierarchy may be variable. The client master key (n) is derived from the hierarchical key for each client. The server key, the client key, and the key transport key can be derived from the client master key. In addition, multiple generations of server keys, client keys, and key transport keys can be derived from one generation of the client master key.

[0100] (Additional Note 1) The support device supports encrypted communication between a client device and a server, and is equipped with a control unit, which receives from the server an encryption request for data that the server sends to the client device, determines the status of a server key that the server uses for encryption based on the received encryption request, and sends an encryption request result to the server based on the determination result.

[0101] (Supplementary Note 2) The support device in Supplementary Note 1 further includes a storage unit that stores multiple generations of server keys.

[0102] (Supplementary Note 3) In the support device according to Supplementary Note 1 or 2, the state of the server key includes an expiration date or a number of uses of the server key for each of multiple generations.

[0103] (Supplementary Note 4) In the support device according to any one of Supplementary Note 1 to Supplementary Note 3, the encryption request result includes encrypted data, and a key ID or a generation number of a server key used for encryption.

[0104] (Appendix 5) In the support device, in any one of Appendices 1 to 4, the control unit receives from the server a request to decrypt encrypted data that the server received from the client device, determines the status of the client key that the server uses for decryption based on the received decryption request, and transmits a decryption request result to the server based on the determination result.

[0105] (Supplementary Note 6) The support device according to Supplementary Note 5 further includes a storage unit that stores multiple generations of client keys.

[0106] (Supplementary Note 7) In the support device according to Supplementary Note 5 or 6, the state of the client key includes an expiration date or a number of uses of the client key for each of multiple generations.

[0107] (Supplementary Note 8) In the support device according to any one of Supplementary Note 5 to Supplementary Note 7, the decryption request result includes the decrypted data, and whether or not a client key used for the decryption has expired.

[0108] (Supplementary Note 9) In the support device according to any one of Supplementary Note 5 to Supplementary Note 8, the control unit determines whether or not at least one of the server key and the client key needs to be updated.

[0109] (Supplementary Note 10) The support device in any one of Supplementary Note 5 to Supplementary Note 9 includes a memory unit that stores one or more generations of key transport keys, and the control unit encrypts an updated server key or an updated client key with the key transport key and transmits the encrypted updated server key or updated client key via the server to a secure component that supports encryption / decryption of the client device.

[0110] (Supplementary Note 11) In the support device of Supplementary Note 10, the control unit determines whether the key transport key needs to be updated, and if an update is necessary, transmits the updated key transport key encrypted with the pre-update key transport key to the secure component via the server.

[0111] (Appendix 12) The secure component is a secure component that supports encryption / decryption of a client device, and stores key information stored in a support device that supports encrypted communication between the client device and a server, including a server key used by the server for encryption, a client key used by the server for decryption, and a key transport key for encrypting the updated server key or the updated client key.

[0112] (Supplementary Note 13) The assistance system includes the assistance device described above and the secure component described above.

[0113] (Addendum 14) The computer program causes a computer to execute a process of receiving, from a server that performs encrypted communication with a client device, an encryption request for data to be sent to the client device, determining the status of a server key used by the server for encryption based on the received encryption request, and transmitting an encryption request result to the server based on the determination result.

[0114] (Appendix 15) A support method for supporting encrypted communication between a client device and a server, comprising the steps of: receiving from the server an encryption request for data to be transmitted by the server to the client device; determining the status of a server key used by the server for encryption based on the received encryption request; and transmitting an encryption request result to the server based on the determination result.

[0115] The matters described in each embodiment can be combined with each other. In addition, the independent claims and dependent claims described in the claims can be combined with each other in any and all combinations regardless of the citation format. Furthermore, the claims use a format in which a claim cites two or more other claims (multiple claim format), but this is not limited to this. A multiple claim (multi-multi claim) that cites at least one multiple claim may also be used. [Explanation of symbols]

[0116] 10 Client Device 11 User Apps 12, 21 Secure Components 13, 61 Key Information 20 Client Support Devices 30 User Server 50 Support equipment 51 Control section 52 Communications Department 53 Memory 54 Memory section 55 Computer Programs 56 Recording medium reading unit 57 Device management function 58 Encryption processing function 59 Key management function 60 Secure Memory

Claims

1. A support device for supporting encrypted communication between a client device and a server, comprising: A control unit is provided, The control unit is receiving a request from the server to encrypt data to be transmitted by the server to the client device; determining a state of a server key used by the server for encryption based on the received encryption request; transmitting an encryption request result to the server based on the determination result; Support equipment.

2. A storage unit that stores multiple generations of server keys. The support device according to claim 1 .

3. The state of the server key includes an expiration date or a number of uses of the server key for each generation. The support device according to claim 2 .

4. The encryption request result includes the encrypted data and the key ID or the generation number of the server key used for encryption. The support device according to claim 2 .

5. The control unit is receiving from the server a request to decrypt the encrypted data received by the server from the client device; determining a status of a client key used by the server for decryption based on the received decryption request; transmitting a decryption request result to the server based on the determination result; The support device according to any one of claims 1 to 4.

6. A storage unit is provided for storing multiple generations of client keys.

6. The support device according to claim 5.

7. The state of the client key includes an expiration date or a number of uses of the client key for each generation.

7. The support device according to claim 6.

8. The decryption request result includes the decrypted data and whether or not the client key used for the decryption has expired.

6. The support device according to claim 5.

9. The control unit is determining whether or not at least one of the server key and the client key needs to be updated; 9. An assistance device according to any one of claims 6 to 8.

10. A storage unit that stores one or more generations of key transport keys, The control unit is Encrypting the updated server key or the updated client key with the key transport key; Transmitting the encrypted updated server key or the updated client key to a secure component that supports encryption / decryption of the client device via the server; 10. The support device according to claim 9.

11. The control unit is determining whether the key transport key needs to be updated; If an update is required, the post-update key transport key encrypted with the pre-update key transport key is transmitted to the secure component via the server.

11. The support device according to claim 10.

12. A secure component that supports encryption and decryption of a client device, storing key information including a server key used by the server for encryption, a client key used by the server for decryption, and a key transport key for encrypting the updated server key or the updated client key, the key information being stored in an assistance device that assists in encrypted communication between the client device and the server; Secure components.

13. The support device according to any one of claims 1 to 4, A secure component according to claim 12; A support system comprising:

14. a server that performs encrypted communication with a client device receives, from the server, a request to encrypt data to be transmitted to the client device; determining a state of a server key used by the server for encryption based on the received encryption request; transmitting an encryption request result to the server based on the determination result; A computer program that causes a computer to carry out processing.

15. A method for supporting encrypted communication between a client device and a server, comprising: receiving a request from the server to encrypt data to be transmitted by the server to the client device; determining a state of a server key used by the server for encryption based on the received encryption request; transmitting an encryption request result to the server based on the determination result; How to help.

Citation Information

Patent Citations

  • Communication system, communication method and program

    JP2019165404A