Key management device and cryptographic key management system

The key management system addresses insecure data updates in electronic devices by verifying and distributing signed data using cryptographic methods, ensuring secure and tamper-proof updates.

JP2024124153AInactive Publication Date: 2024-09-12KK TOSHIBA +1
View PDF 1 Cites 0 Cited by

Patent Information

Application Number
JP2023032131
Authority / Receiving Office
JP · JP
Patent Type
Applications
Current Assignee / Owner
Filing Date
2023-03-02
Publication Date
2024-09-12
Estimated Expiration
Not applicable · inactive patent

AI Technical Summary

Technical Problem

Electronic devices after shipping face security risks due to insecure data updates, including potential installation of malicious programs and data tampering, leading to issues like information leakage and device hijacking.

Method used

A key management device and encryption key management system that includes a communication unit and processor to verify and distribute signed distribution data using key information, ensuring secure communication paths and preventing tampering.

Benefits of technology

Enhances data security by verifying the authenticity of updates through electronic signatures, making it difficult for malicious actors to tamper with or replace signature data, thus protecting device functionality and user data integrity.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure 2024124153000001
    Figure 2024124153000001
Patent Text Reader

Abstract

To provide a key management device and a cryptographic key management system that can increase data security.SOLUTION: According to an embodiment, a key management device has a communication unit and a processor. The communication unit communicates with a product management device. When an electronic signature is requested by the product management device for distribution data to be distributed to a product, the processor sends the product management device signed distribution data, in which signature data whose validity is verified using key information written in the product is stored in a distributed manner in the distribution data.SELECTED DRAWING: Figure 3
Need to check novelty before this filing date? Find Prior Art

Description

[Technical field]

[0001] FIELD OF THE PRESENT EMBODIMENTS The present invention relates to a key management device and an encryption key management system. [Background technology]

[0002] In recent years, there has been an increase in products equipped with electronic devices such as LSIs including memories that can update and add data. Some of these products have a function to update data stored in the memory or add new data to the memory after shipping from the manufacturer. Products equipped with a function to update or add data after shipping download target data to be updated or added from an external device and write the downloaded data to the memory. The target data is distributed online to products held by end users.

[0003] However, after shipment, end users may not be able to ensure a secure communication path for their products, or may download fake data from a fake external device (such as a fake website). For example, if an attacker downloads a malicious program that has been tampered with by the product, the malicious program will be installed and the product will no longer function properly. Products with malicious programs installed may suffer damage such as information leakage or device hijacking. For this reason, it is required that after shipment, data updates or additions are performed only after confirming that the data to be updated or added is data provided by a legitimate business entity (the manufacturer or the provider of the target data) itself. [Prior art documents] [Patent documents]

[0004] [Patent Document 1] JP 2018-139369 A Summary of the Invention [Problem to be solved by the invention]

[0005] In order to solve the above problems, an object of the present invention is to provide a key management device and an encryption key management system that can improve the security of data. [Means for solving the problem]

[0006] According to an embodiment, the key management device has a communication unit and a processor. The communication unit communicates with the product management device. When the product management device requests that distribution data to be distributed to a product be digitally signed, the processor transmits to the product management device the signed distribution data, in which signature data, the authenticity of which is verified using key information written in the product, is distributed and stored in the distribution data. [Brief description of the drawings]

[0007] [Figure 1] FIG. 1 is a diagram illustrating an example of the configuration of an encryption key management system according to an embodiment. [Diagram 2] FIG. 2 is a block diagram showing an example of the configuration of a product management server in the encryption key management system according to the embodiment. [Diagram 3] FIG. 3 is a block diagram showing an example of the configuration of a signature server of a signature system in an encryption key management system according to an embodiment. [Figure 4] FIG. 4 is a block diagram showing an example of the configuration of a product managed by a product management server in the encryption key management system according to the embodiment. [Diagram 5] FIG. 5 is a sequence diagram illustrating an example of a process in which a signature server provides key information to a product management server in an encryption key management system according to an embodiment. [Figure 6] FIG. 6 is a sequence diagram for explaining an example of a process in which a signature server distributes and stores signature data in distribution data in the encryption key management system according to the embodiment. [Figure 7] FIG. 7 is a sequence diagram for explaining an example of a process in which a signature server distributes and stores signature data in distribution data in the encryption key management system according to the embodiment. DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS

[0008] Hereinafter, embodiments will be described with reference to the drawings. First, the configuration of an encryption key management system 1 according to the embodiment will be described. FIG. 1 is a diagram showing an example of the configuration of an encryption key management system 1 according to an embodiment. In the exemplary configuration shown in FIG. 1, an encryption key management system 1 includes a product management system 2 and a signature system 3.

[0009] The product management system 2 is a system for managing a product 8. The product 8 managed by the product management system 2 is a device equipped with an electronic device having a memory, such as an LSI, into which data can be written. The product management system 2 manages the data to be written to the memory of the electronic device mounted in the product 8.

[0010] In this embodiment, the product management system 2 has a function of managing data to be written to the product 8A before it is shipped to an end user, and a function of managing data (distribution data) to be distributed to the product 8B after it is shipped. For example, the distribution data may be update data such as a program or control data to be written to the product 8B after it is shipped, or may be data including display data (image data, document data, etc.) to be displayed on a display device included in the product 8B or a display device connected to the product 8B.

[0011] However, the business entity (user) that manages the data to be written to the product 8A before shipment and the business entity (user) that manages the distribution data to be distributed to the product 8B after shipment may be the same business entity or different business entities. In the latter case, a product management system 2 may be provided for each different business entity. In this embodiment, the product management system 2 manages the data to be written to the product 8A before shipment and the distribution data to be distributed to the product 8B after shipment.

[0012] 1, the product management system 2 includes a product management server (product management device) 4 and a data storage 5. The product management server 4 is a computer that manages data to be written to products 8 (8A, 8B). The data storage 5 stores the data managed by the product management server 4.

[0013] The product management server 4 has a function of supplying data to be written to the product 8A before shipment and a function of distributing distribution data to the product B after shipment. The product management server 4 may be configured as one server device, or may be configured as multiple server devices. For example, if the business entity that supplies data to the product 8A before shipment and the business entity that distributes update data to the product 8B after shipment are different businesses, the product management server 4 that supplies data to the product 8A before shipment and the product management server 4 that distributes target data to the product 8B after shipment may be different devices (hardware).

[0014] In the product management system 2, the product management server 4 manages data to be written to the product 8A before it is shipped to an end user (e.g., during the manufacturing process), and writes the data to the product 8A before it is shipped. For example, the product management server 4 supplies data such as programs (firmware or drivers, etc.), control data, and image data to be written to the product 8A during the manufacturing process to the product 8A (or a device that writes data to the product 8A). Before being shipped, the product 8A writes the data supplied from the product management server 4 to its own memory.

[0015] Furthermore, in order to verify the validity of distribution data to be distributed to the shipped product 8B, the product management server 4 obtains key information (encryption key) to be written to the shipped product 8A from the signature system 3. For example, the product management server 4 obtains, as key information, a public key used to verify the electronic signature and a common key used to encrypt data from the signature system 3. The product management server 4 supplies the key information obtained from the signature system 3 to the shipped product 8A. As a result, the shipped product 8A writes the key information supplied from the product management server 4 into its own memory.

[0016] Furthermore, in the product management system 2, the product management server 4 manages distribution data to be distributed to the product 8B after shipment. The distribution data is not limited to specific data as long as it is electronic data to which an electronic signature is attached by the signature system 3. For example, the distribution data may be update data for updating a program or control data written in the product 8B after shipment, or may be additional data to be newly written in the product 8B after shipment. Specifically, the distribution data may be software data such as program patch data, or image data such as icons, photographs, pictures, and contract documents.

[0017] The product management server 4 acquires signed distribution data to which the signature system 3 has attached an electronic signature generated by using key information to the distribution data to be distributed to each product 8B after shipment. The product management server 4 also acquires encrypted data from the signature system 3 that identifies the signature data as the electronic signature attached to the signed distribution data. The data for identifying the electronic data is data that identifies the storage position where the signature data is embedded in the signed distribution data. For example, the data used to verify the electronic signature is data (e.g., a random number) that identifies the position where the signature data is located in the signed distribution data. The data used to verify the electronic signature is transmitted to the product management server 4 as data encrypted by the signature system 3 (encrypted data for verification) so that the product 8B after shipment can decrypt it.

[0018] The product management server 4 distributes the signed distribution data, which is obtained by adding a digital signature to the distribution data by the signature system 3 using key information, and the encrypted data for verification to each of the shipped products 8B. For example, the product management server 4 may distribute the signed distribution data, which is obtained by adding a digital signature to the distribution data, and the encrypted data for verification to each of the shipped products 8B that are connected online.

[0019] The product management server 4 may notify a user (end user) who holds the shipped product 8B of data distribution (update or delivery) and provide the signed distribution data and the encrypted data for verification in response to a request from the end user. The product management server 4 may also be configured to download the signed distribution data and the encrypted data for verification in response to an operation by the end user from a WEB server that provides the distribution data.

[0020] Before being shipped, the product 8B obtains the signed distribution data and encrypted data for verification from the product management server 4. The product 8B verifies the validity of the electronic signature attached to the signed distribution data using key information written therein, and writes the verified distribution data into its own memory.

[0021] For example, when the product 8B acquires the signed distribution data and the encrypted data for verification, the product 8B decrypts the encrypted data for verification using the common key written in the product 8B, and extracts the signature data from the signed distribution data based on the decrypted data for verification. The product 8B checks the validity of the signature data extracted from the signed distribution data using the public key written in the product 8B, and writes the distribution data to its memory after checking the validity of the signature data.

[0022] Next, the signature system 3 will be described. The signature system 3 has a signature server (key management device) 6 and an HSM (Hardware Security Module) 7. The signature server 6 is a key management device that manages key information including an encryption key to be written to a product 8 managed by the product management system 2. The signature server 6 has functions that are realized by working together with the HSM 7, such as a key generation function, a key acquisition function, a signature generation function, and a random number generation function.

[0023] The HSM 7 is a tamper-resistant hardware device (security device) that securely generates, protects, and manages key information. The HSM 7 generates key information including encryption keys, and securely stores the generated key information. The HSM 7 also executes arithmetic processing including encryption processes using the stored key information. For example, the HSM 7 performs arithmetic processing such as encryption and decryption of data using the stored key information, digital signatures, and creation of digital certificates.

[0024] The signature server 6 as a key management device provides the product management server 4 with an encryption key generated by the HSM 7 in response to a request from the product management server 4 as a product management device. For example, as a key generation function, the signature server 6 causes the HSM 7 to generate key information in response to a request from the product management server 4. For example, the signature server 6 causes the HSM 7 to generate a key pair of a public key and a private key in response to a request from the product management server 4. The signature server 6 also causes the HSM 7 to generate a common key in response to a request from the product management server 4.

[0025] As a key acquisition function, the signature server 6 provides the product management server 4 with an encryption key to be written to the product 8 in response to a request from the product management server 4. For example, the signature server 6 provides the product management server 4 with a public key generated by the HSM 7 in response to a request from the product management server 4 as an encryption key to be written to the product 8. Furthermore, instead of providing the public key itself to the product management server 4, the signature server 6 may provide (distribute) a public key certificate that is self-signed and conforms to a predetermined format (for example, a format defined by a standard such as X.509).

[0026] Furthermore, if the signature server 6 is operated to manage key information of a common key cryptosystem, it may cause the HSM 7 to generate key information including a common key in response to a request from the product management server 4, and provide the generated common key to the product management server 4 as an encryption key to be written to the product 8. Furthermore, the signature server 6 may encrypt a public key with the common encryption key and provide it to the product management server 4. Furthermore, the signature server 6 may encrypt a public key certificate with the common key and provide it to the product management server 4.

[0027] As a signature generation function, the signature server 6 assigns signature data as an electronic signature to distribution data from the product management server 4 using the HSM 7. For example, the signature server 6 receives a request from the product management server 4 for an electronic signature on distribution data to be distributed to a product 8B in which a public key included in key information generated by the HSM 7 has been written.

[0028] The signature server 6 distributes and stores the signature data generated by the HSM 7 using the private key corresponding to the public key written in the product 8B into the distribution data for which an electronic signature has been requested by the product management server 4. That is, the signature server 6 determines the positions (storage positions of the signature data) in the distribution data where the signature data is distributed and stored, and generates the signed distribution data by embedding the signature data in the determined positions.

[0029] For example, the signature server 6 uses a random number to determine (identify, set) the location where the signature data is distributed and stored in the distribution data. The random number as information for identifying the storage location of the signature data may be generated by the HSM 7 or may be generated by the signature server 6. Furthermore, the signature server 6 may determine the storage location of the signature data according to the characteristics of the data constituting the distribution data. As a specific example, when the distribution data is image data, the signature server 6 may search for an image area in the image data as the distribution data where embedding of the signature data will not be noticeable, and embed the signature data in the searched image area.

[0030] In the embodiment described below, it is mainly assumed that the signature server 6 creates signed distribution data by setting locations for distributing and storing signature data in the distribution data using random numbers generated by the HSM 7. In this case, the signature server 6 requests the HSM 7 to generate signature data and random numbers for the distribution data to be distributed to the product 8B, and obtains the signature data and random numbers from the HSM 7.

[0031] Furthermore, the signature server 6 encrypts a random number as information for identifying the location where the signature data is distributed and stored, using the common key of the product 8B to which the distribution data is to be distributed. The encryption of the random number may be requested by the signature server 6 to the HSM 7, and may be executed by the HSM 7. Even when the storage location of the signature data is determined based on information other than the random number, the signature server 6 may encrypt the information for identifying the storage location of the signature data using the common key of the product 8B.

[0032] The signature server 6 transmits to the product management server 4 the distribution data in which the signature data is distributed and embedded (signed distribution data) and data in which information (random number) for identifying the storage location of the signature data is encrypted.

[0033] Furthermore, the signature server 6 may have a function of storing log data indicating the processing contents. For example, when the signature server 6 executes a process such as an electronic signature using a private key stored in the HSM 7, the signature server 6 may generate log data indicating the processing contents, and store data (signed log data) that is electronically signed by the HSM 7 on the generated log data in a storage device.

[0034] Furthermore, the signature server 6 has a user management function for managing business operators who manage products (business operators who manufacture the products or business operators who provide services for the products after they are shipped) as users of the encryption key management system 1. For example, the signature server 6 has, as the user management function, functions such as user authentication, management of user information, management of user authority, registration, modification and deletion of user information, management of user groups, access restrictions for groups, and notification to users by e-mail or the like.

[0035] In addition, the user registration function may limit users who can be registered by a whitelist check in order to prevent users other than those of a specified business from registering. For example, the user information to be registered may include an email address, and a whitelist check may be performed on the domain of the email address to allow users with email addresses in a specific domain to register.

[0036] Next, a configuration of the product management server 4 of the product management system 2 in the encryption key management system 1 according to the embodiment will be described. FIG. 2 is a block diagram showing an example of the configuration of the product management server 4 as a product management device in the encryption key management system 1 according to the embodiment. As shown in FIG. 2, the product management server 4 as a product management device includes a processor 41, a ROM 42, a RAM 43, a data memory 44, an interface (I / F) 45, a communication interface (I / F) 46, and a communication interface (I / F) 47.

[0037] The processor 41 executes various processes by executing programs. The processor 41 is, for example, a CPU (Central Processing Unit). The processor 41 is connected to each part in the server 4 via a system bus, and transmits and receives data between each part. The processor 41 cooperates with the ROM 42 and the RAM 43 to execute operations such as control and data processing in the product management server 4 as a product management device.

[0038] The ROM (Read Only Memory) 42 is a non-volatile memory that stores programs and control data for implementing the basic operations of the product management server 4. The RAM 43 is a volatile memory that temporarily stores data and functions as a working memory when the processor 41 executes a program.

[0039] The data memory 44 is a storage unit that stores various data. The data memory 44 is configured as a non-volatile memory that allows data to be rewritten. For example, the data memory 44 stores an OS program, an application program, operation setting information, and the like.

[0040] The interface 45 is an interface for accessing the data storage 5. When the data storage 5 is a storage device serving as an external device, the interface 45 may be compatible with an interface standard of the storage device serving as the data storage 5. When the data storage 5 is a data server or the like, the interface 45 may be configured as a communication interface for communicating with the data server serving as the data storage 5.

[0041] The communication interface 46 is an interface for communicating with the signature server 6 of the signature system 3. The communication interface 46 may communicate with the signature server 6 wirelessly, or may communicate with the signature server 6 via a wired connection. For example, the communication interface 46 communicates with the signature server 6 via a wide area network such as the Internet.

[0042] The communication interface 47 is an interface for communicating with the products 8 (8A, 8B). The communication interface 47 may supply data to the products 8 wirelessly or via a wire. The communication interface 47 includes an interface for supplying data to the products 8 before shipment and an interface for supplying distribution data including update data to the product 8B after shipment.

[0043] The communication interface 46 and the communication interface 47 may be realized by one communication interface. The interface 45 may also be a common interface with the communication interface 46 or the communication interface 47.

[0044] Next, a configuration of the signature server 6 of the signature system 3 in the encryption key management system 1 according to the embodiment will be described. FIG. 3 is a block diagram showing an example of the configuration of the signature server 6 serving as a key management device in the encryption key management system 1 according to the embodiment. As shown in FIG. 3, the signature server 6 serving as a key management device includes a processor 61, a ROM 62, a RAM 63, a data memory 64, an interface 65, and a communication interface 66.

[0045] The processor 61 executes various processes by executing programs. The processor 61 is, for example, a CPU (Central Processing Unit). The processor 61 is connected to each part in the server 6 via a system bus, and transmits and receives data to and from each part. The processor 61 cooperates with the ROM 62 and RAM 63 to execute operations such as control and data processing in the signature server 6.

[0046] The ROM (Read Only Memory) 62 is a non-volatile memory that stores programs and control data for implementing basic operations of the signature server 6. The RAM (Random Access Memory) 63 is a volatile memory that temporarily stores data. The RAM 63 functions as a working memory when the processor 61 executes a program.

[0047] The data memory 64 is a storage device that stores various types of data. The data memory 64 is configured with a non-volatile memory that allows data to be rewritten. For example, the data memory 64 stores an OS program, an application program, operation setting information, and the like. The data memory 64 may also store user information, and the like. The data memory 64 may also store log data indicating the processing contents.

[0048] The interface 65 is an interface for accessing the HSM 7. The interface 65 may be any interface that is compatible with the interface standard of the HSM 7. The communication interface 66 includes a communication interface for communicating with the product management server 4 as a product management device. The communication interface 66 may be one that performs communication wirelessly or one that performs communication via a wire. Furthermore, the communication interface 66 may be one that communicates with the product management server 4 in the product management system 2 via a wide area network such as the Internet.

[0049] Next, a configuration of the product 8 managed by the product management system 2 in the encryption key management system 1 according to the embodiment will be described. FIG. 4 is a block diagram showing an example of the configuration of a product 8 managed by the product management system 2 according to the embodiment. The product 8 is equipped with electronic equipment such as an LSI having a processor, memory, and an interface. The product 8 is not limited to a specific device, and may be any electronic equipment that can update data after shipment.

[0050] In the configuration example shown in FIG. 4, the product 8 has a processor 81, a ROM 82, a RAM 83, a data memory 84, and a communication interface 85. The processor 81 includes circuits for executing various processes. The processor 81 is, for example, a CPU (Central Processing Unit). The processor 81 executes programs stored in the ROM 82 or the data memory 84 to realize various processing functions.

[0051] The ROM 82 is a non-volatile memory that functions as a program memory, and stores control programs, control data, and the like in advance. The RAM 83 is a volatile memory that functions as a working memory. The RAM 83 also functions as a buffer that temporarily stores data being processed by the processor 81. For example, the RAM 83 functions as a communication buffer that temporarily stores data to be transmitted to and received from an external device via the communication interface 85.

[0052] The data memory 84 is a non-volatile memory in which data can be written and rewritten, and is configured, for example, with an EEPROM (registered trademark) (Electrically Erasable Programmable Read Only Memory).

[0053] Program files or data files are defined in the data memory 84, and control programs and various data are written into these files. For example, the data memory 84 or ROM 82 stores a program for writing data supplied from the product management server 4 into the data memory 84. The data memory 84 or ROM 82 also stores a program for verifying the validity of distribution data distributed from the product management server 4.

[0054] Furthermore, data supplied from the product management server 4 as a product management device is written into the data memory 84 before the product is shipped. For example, key information (public key and common key) generated by the signature system 3 and the signature server 6 as a key management device is supplied to the product 8 from the product management server 4, and the key information supplied from the product management server 4 is written into the data memory 84. Furthermore, distribution data to be distributed with an electronic signature attached from the product management server 4 as a product management device after the product is shipped is written into the data memory 84.

[0055] The communication interface 85 is an interface for communicating with the product management server 4. The communication interface 85 may be any interface that can acquire data provided by the product management server 4.

[0056] Next, data processing using key information managed by the encryption key management system 1 according to this embodiment will be described. FIG. 5 is a sequence diagram for explaining an example of the operation of a process for providing the product management system 2 with key information to be written to the product 8A in the encryption key management system 1 according to this embodiment. The product management server 4 of the product management system 2 and the signature server 6 of the signature system 3 execute user authentication for a user (business entity) who uses the product management server 4 to log in to the signature system 3 (ST11).

[0057] For example, the processor 41 of the product management server 4 connects to the signature server 6 via the communication interface 46 and transmits authentication information together with a user authentication (login) request to the signature server 6. The signature server 6 receives the user authentication request from the product management server 4 via the communication interface 66. The processor 61 of the signature server 6 executes user authentication based on the authentication information received from the product management server 4 and user information stored in the data memory 64 or the like.

[0058] If the user authentication is successful (if the user is confirmed to be a valid user), the processor 61 of the signature server 6 places the user in a logged-in state. The processor 61 of the signature server 6 accepts a processing request (request) from the product management server 4 based on the authority set for the user in the logged-in state.

[0059] When the processor 41 of the product management server 4 successfully logs in to the signature server 6, it requests the signature server 6 to generate a key such as key information to be written to the product 8A before shipment (ST12). Here, the processor 41 of the product management server 4 requests the generation of a key pair consisting of a combination of a public key and a private key to be used for an electronic signature, and a common key to be used for encrypting data. The processor 41 of the product management server 4 may also specify an encryption algorithm, security parameters, etc. together with the key generation request.

[0060] The signature server 6 receives a key generation request from a logged-in user from the product management server 4 via the communication interface 66. Here, the processor 61 of the signature server 6 verifies that the logged-in user has the authority to request key generation. The processor 61 accepts the key generation request from the product management server 4 if the logged-in user has the authority to request key generation.

[0061] When the processor 61 of the signature server 6 accepts a key generation request from the product management server 4, it requests (requests) the HSM 7 connected to the interface 65 to generate key information (ST13). The HSM 7 generates key information for the product 8A in response to the request from the processor 61 (ST14). Here, the processor 61 of the signature server 6 requests the HSM 7 to generate a key pair consisting of a combination of a public key and a private key of a public key cryptosystem, and a common key of a common key cryptosystem. In response to the key generation request from the signature server 6, the HSM 7 generates a key pair consisting of a public key to be assigned to the product 8A and a private key corresponding to the public key, and a common key to be shared with the product 8A.

[0062] The HSM 7 securely stores the key information including the generated key pair and common key in association with a key ID (ST15). For example, when the HSM 7 generates a key pair of a public key and a private key, it stores the generated key pair in the HSM 7 in association with a key ID. In this case, the HSM 7 securely stores the private key generated as the key pair without outputting it to the outside. The HSM 7 executes arithmetic processing such as electronic signature using the private key as key information specified by the key ID.

[0063] Furthermore, when the HSM 7 generates a common key, it associates the common key with a key ID and stores it in the HSM 7. The HSM 7 executes arithmetic processing such as data encryption using the common key as key information designated by the key ID. Note that the HSM 7 may assign different key IDs to the key pair and the common key and store them.

[0064] In the signature system 3, the HSM 7 stores the generated key pair and common key in association with the key ID, and outputs the key ID indicating the stored (generated) key pair and common key to the signature server 6. When the processor 61 of the signature server 6 receives the key ID indicating the generated key information from the HSM 7, it notifies the product management server 4, which is the requester of the key generation, of the key ID. Here, the processor 61 of the signature server 6 may store the key ID indicating the generated key information in association with information indicating the logged-in user (such as a user ID) in the data memory 64 or the like.

[0065] The product management server 4 that requested the key generation receives the key ID indicating the generated key information from the signature server 6 via the communication interface 46. The processor 41 of the product management server 4 stores the key ID notified from the signature server 6 in the data storage 5 or the data memory 44. This allows the product management server 4 to specify the key information generated by the signature system 3 in response to the request for key generation.

[0066] Furthermore, the processor 41 of the product management server 4 requests the signature server 6, which serves as a key management device, to generate key information, and then requests the signature server 6 for key information to be written to the product 8A before shipment (requests key acquisition) (ST16). For example, the processor 41 of the product management server 4 receives from the signature server 6 a key ID indicating the key information generated by the HSM 7, and then specifies the key ID and requests the signature server 6 for a public key and a common key as key information to be written to the product 8A before shipment.

[0067] The signature server 6 receives a request for key information to be written to the product 8A (a request to obtain key information) via the communication interface 66. Here, the processor 61 of the signature server 6 verifies that the currently logged-in user has the authority to obtain the key information. If the currently logged-in user has the authority to obtain the key information, the processor 61 accepts the request for key information from the product management server 4.

[0068] When the processor 61 of the signature server 6 accepts a request for key information from the product management server 4, it requests the public key and the common key as the key information of the accepted request from the HSM 7 (ST17). In response to the request from the signature server 6, the HSM 7 outputs the encryption key included in the key information to the signature server 6 (ST18).

[0069] For example, the processor 61 of the signature server 6 requests the HSM 7 to provide a public key and a common key as key information corresponding to the key ID specified by the product management server 4. In response to the request from the signature server 6, the HSM 7 outputs the public key and the common key corresponding to the key ID specified by the product management server 4 to the signature server 6.

[0070] When the processor 61 of the signature server 6 acquires the public key and common key output by the HSM 7, it transmits the public key and common key as key information acquired from the HSM 7 via the communication interface 66 to the product management server 4, which requested the key information (ST19).

[0071] After requesting the key information to be written to the product 8A before shipment, the product management server 4 receives the public key and the common key as key information from the signature server 6 via the communication interface 46. When the processor 41 of the product management server 4 receives the key information including the public key and the common key from the signature server 6, it supplies the received public key and common key as key information to the product 8A as key information to be written before shipment (ST20).

[0072] Before being shipped, the product 8A receives the public key and the common key as key information supplied from the product management server 4 via the communication interface 85. When the processor 81 of the product 8A receives the key information to be written to itself from the product management server 4, it executes a process of writing the public key and the common key as the keys received from the product management server 4 to its own memory (data memory 84 or ROM 82) (ST21). When the processor 81 of the product 8A completes writing the key information, it notifies the product management server 4 of the completion of writing the key information (ST22).

[0073] When the processor 41 of the product management server 4 receives a notification from the product 8A that the writing of the key information has been completed, it stores information for identifying the product 8A (e.g., product ID) and the key ID corresponding to the written key information in the data storage 5 or data memory 44 (ST23). This enables the product management server 4 to manage the key information written to each product 8. The product 8A to which the writing of the key information obtained by the product management server 4 from the signature server 6 has been completed becomes available for shipment, and is shipped to the end user.

[0074] Furthermore, the signature server 6 may store a log indicating the processing contents and notify the user. In the processing example shown in Fig. 5, when the processor 61 of the signature server 6 transmits key information to the product management server 4, it generates log data indicating the processing contents (ST24). After generating the log data, the processor 61 of the signature server 6 requests the HSM 7 to digitally sign the log data (ST25). Here, the signature server 6 requests the log data to be digitally signed by specifying a key ID corresponding to the key information.

[0075] The HSM 7 attaches an electronic signature to the log data using a private key that pairs with a public key corresponding to a specified key ID in response to a request from the signature server 6 (ST26). The HSM 7 outputs the generated signed log data to the signature server 6 (ST27). The processor 61 of the signature server 6 stores the signed log data generated by the HSM 7 in a storage device such as the data memory 64 (ST28). This allows the signature system 3 including the signature server 6 to store the signed log data indicating the processing details, and makes it possible to view the log data that is guaranteed to be the original.

[0076] Furthermore, when the processor 61 of the signature server 6 transmits an encryption key to be written to the product 8A in response to a request from the product management server 4, the processor 61 notifies the user to whom the encryption key is to be transmitted of the processing contents (ST29). For example, the processor 61 of the signature server 6 transmits an email indicating the processing contents to an email address included in the user information of the user who requested the encryption key to be written to the product 8A. This allows the user (business operator) to understand the processing contents performed using the signature system 3.

[0077] Next, a process of distributing signed distribution data to a product 8B after shipment using key information in the encryption key management system 1 according to this embodiment will be described. 6 and 7 are sequences for explaining an example of the operation of a process in which the product management server 4 in the encryption key management system 1 according to this embodiment distributes signed distribution data to the product 8B after shipment. When distributing data to the product 8B after shipment, the encryption key management system 1 supplies the distribution data to the product 8B after performing computation using the key information written in the product 8B to make the data validity checkable (verifiable).

[0078] First, the product management server 4 in the product management system 2 acquires the distribution data to be distributed to the product 8B that has already been shipped (the key information has already been written) (ST30). When the processor 41 of the product management server 4 acquires the distribution data to be distributed to the product 8B, the processor 41 executes a login process to the signature server 6 to request the signature system 3 to digitally sign the distribution data so that the product 8B itself can verify its authenticity (ST31).

[0079] For example, the processor 41 of the product management server 4 connects to the signature server 6 via the communication interface 46 and transmits authentication information along with a user authentication (login) request to the signature server 6. The processor 61 of the signature server 6 executes user authentication based on the authentication information of the logged-in user received from the product management server 4 and user information stored in the data memory 64 or the like. If the user authentication is successful (if the processor 61 confirms that the user is a legitimate user), it places the user in a logged-in state and accepts a processing request from the user.

[0080] When the processor 41 of the product management server 4 successfully logs in to the signature server 6, it requests the signature server 6 to digitally sign the distribution data to be distributed to the product 8B after shipment (ST32). Here, the processor 41 of the product management server 4 identifies the key ID corresponding to the product ID of the product 8B to which the data is to be distributed, and requests the distribution data to digitally sign by specifying the key ID indicating the key information written in the product 8B. The processor 41 may also specify a signature algorithm and security parameters together with the signature request.

[0081] The signature server 6 receives a request to sign the distribution data from the product management server 4 via the communication interface 66. Here, the processor 61 of the signature server 6 verifies that the currently logged-in user has the authority to obtain an electronic signature. The processor 61 accepts the signature request from the product management server 4 if the currently logged-in user has the authority to obtain an electronic signature.

[0082] When the processor 61 of the signature server 6 accepts the signature request from the product management server 4, it requests the HSM 7 connected to the interface 65 to generate signature data as a digital signature for the distribution data (ST33). Here, the processor 61 supplies the distribution data together with the signature request and a key ID indicating key information to be used for the digital signature to the HSM 7 via the interface 65.

[0083] The HSM 7 generates signature data as an electronic signature for the distribution data in response to a signature request from the signature server 6 (ST34). The HSM 7 identifies a private key corresponding to the key ID specified by the signature server 6, and generates signature data for the distribution data using the identified private key. The HSM 7 outputs the signature data generated using the private key to the signature server 6 (ST35).

[0084] When the processor 61 of the signature server 6 acquires the signature data generated by the HSM 7, it requests the HSM 7 to generate a random number to be used as information for setting (specifying) storage locations for distributing and storing the signature data in the distribution data (ST36). The HSM 7 generates a random number in response to the random number generation request from the signature server 6 (ST37). After generating the random number, the HSM 7 outputs the generated random number to the signature server 6 (ST38).

[0085] When the processor 61 of the signature server 6 acquires the random number generated by the HSM 7, it sets (specifies) storage locations where the signature data is dispersed and stored in the distribution data based on the acquired random number (ST39). The processor 61 sets storage locations where the signature data is dispersed and stored in the distribution data based on the random number. For example, the processor 61 converts the random number into position coordinates in the distribution data to set storage locations where the signature data is randomly stored in the distribution data. The processor 61 may also divide the signature data into multiple pieces of data and store the divided pieces of data in storage locations indicated by the random number.

[0086] Furthermore, the processor 61 may set an area in the distribution data where the signature data is embedded (a range in which the signature data is stored). For example, if the distribution data is image data, the processor 61 may set an area in which the signature data is embedded according to the characteristics of the image. As a specific example, the processor 61 may set an area in the image data as the distribution data where there is little variation in pixel values ​​(an area where pixel values ​​are within a predetermined range), such as an area with many black pixels or an area with many white pixels, as the signature data embedding area. Furthermore, when the processor 61 sets the signature data embedding area, it may set storage positions in the embedding area where the signature data is distributed and stored.

[0087] After setting the storage locations for the signature data, the processor 61 of the signature server 6 stores the signature data in the storage locations in the distribution data (ST40). For example, the processor 61 sets a predetermined number of storage locations based on random numbers in the distribution data, and embeds the signature data divided into a predetermined number in the set storage locations. In this way, the processor 61 generates signed distribution data in which the signature data is distributed and stored in the distribution data.

[0088] The processor 61 of the signature server 6 generates the signed distribution data and encrypts the random number used to set (identify) the storage location with a common key (ST41). For example, the processor 61 encrypts the random number with a common key of a key ID corresponding to the product ID of the product 8B to which the distribution data is to be distributed. The processor 61 of the signature server 6 may specify the key ID and request the HSM 7 to encrypt the random number with the common key, and obtain the encrypted random number generated by the HSM 7.

[0089] When the processor 61 of the signature server 6 acquires the signed distribution data and the encrypted random number (information indicating the storage location), it transmits the signed distribution data and the encrypted random number via the communication interface 66 to the product management server 4, which requested the electronic signature (ST42).

[0090] After requesting an electronic signature for the distribution data to be distributed to product 8B after shipment, the product management server 4 receives the signed distribution data and the encrypted random number from the signature server 6 via the communication interface 46. The processor 41 of the product management server 4 distributes the signed distribution data and the encrypted random number received from the signature server 6 to the product 8B (ST43). For example, the processor 41 accesses the product 8B, which is the distribution destination, via the communication interface 47, and transmits the signed distribution data and the random number encrypted with a common key to the product 8B.

[0091] The method of distributing the signed distribution data and the encrypted random number from the product management server 4 to the product 8B is not limited to a specific method. For example, if the product 8B is a device that is operated in an online connection mode, the product management server 4 may distribute the signed distribution data and the encrypted random number to the product 8B online.

[0092] The product management server 4 may also notify a user (end user) who holds the shipped product 8B that distribution data exists, and download the signed distribution data and the encrypted random number to the product 8B in response to a request from the end user. The product management server 4 may also publish the distribution data (or a part of the distribution data) on a web server, and download the signed distribution data and the encrypted random number to the product 8B in response to an operation of the end user on the web server.

[0093] After shipment, the product 8B receives the signed distribution data and the encrypted random number (information indicating the storage location of the signature data) distributed by the product management server 4 via the communication interface 85. The product 8B stores the received signed distribution data and encrypted random number in the RAM 83 or data memory 84. When the processor 81 of the product 8B receives the signed distribution data distributed by the product management server 4, it executes a verification process to verify the validity of the received signed distribution data (ST44-47).

[0094] In the verification process, the processor 81 of the product 8B decrypts the received encrypted random number using the common key written in the data memory 84 or ROM 82 (ST44). After the processor 81 decrypts the random number using the common key, it identifies the storage location of the signature data in the signed distribution data based on the decrypted random number (ST45). After identifying the storage location of the signature data, the processor 81 extracts the signature data from the signed distribution data based on the identified storage location (ST46). After extracting the signature data, the processor 81 uses the public key to verify the authenticity of the signature data extracted from the signed distribution data (ST47).

[0095] When the processor 81 confirms the validity of the signature data extracted from the signed distribution data, it determines that the distribution data is valid. When the processor 81 confirms the validity of the signature data, it executes a write process for the distribution data whose validity has been confirmed (ST48). The processor 81 writes the signed distribution data whose validity has been confirmed into the data memory 84. The processor 81 may also write data obtained by removing the signature data from the signed distribution data into the data memory 84.

[0096] For example, if the distribution data is data such as image data that can be used with the signature data embedded, the processor 81 writes the signed distribution data as is into the data memory 84. Also, if the distribution data is data such as a program or control data that can be used with the signature data embedded, the processor 81 removes the signature data from the signed distribution data and writes the data into the data memory 84.

[0097] When the writing process of the distribution data is completed, the processor 81 of the product 8B notifies the product management server 4 of the completion of receipt of the distribution data via the communication interface 85 (ST49). When the processor 41 of the product management server 4 receives the notification of the completion of receipt of the distribution data from the product 8B, it records the completion of distribution of the distribution data in association with information for identifying the product 8B (e.g., product ID). This allows the product management server 4 to supply the product 8B with the distribution data digitally signed by the signature system 3. As a result, the product 8B can verify the authenticity of the distribution data using the key information written therein, and can write the distribution data whose authenticity has been confirmed into memory.

[0098] The signature server 6 may also store a log indicating the processing contents and notify the user of the processing for providing a signature file to be distributed to the product 8B after shipment. For example, when the processor 61 of the signature server 6 transmits signed distribution data to the product management server 4, it generates log data indicating the processing contents (ST50). After generating the log data, the processor 61 of the signature server 6 requests the HSM 7 to digitally sign the log data (ST51).

[0099] The HSM 7 generates a digital signature for the log data using the private key used to generate the signature data embedded in the signed distribution data (ST52). The HSM 7 outputs the generated signed log data to the signature server 6 (ST53). The processor 61 of the signature server 6 stores the signed log data generated by the HSM 7 in a storage device such as the data memory 64 (ST54).

[0100] This allows the signature system 3, including the signature server 6, to store signed log data indicating the contents of the process that generated the signature file distributed to the product 8B after shipment, making it possible to view the log data that is guaranteed to be the original.

[0101] Furthermore, when the processor 61 of the signature server 6 transmits a signature file with an electronic signature attached to update data for the shipped product 8B from the product management server 4, the processor 61 of the signature server 6 notifies the logged-in user of the processing contents (ST55). For example, the processor 61 of the signature server 6 transmits an email indicating the processing contents to an email address included in the user information of the logged-in user. This allows the user (business operator) to know that the signature system 3 has transmitted the signed distribution data to be distributed to the shipped product 8B to the product management server 4.

[0102] As described above, the encryption key management system 1 according to the embodiment supplies the product 8B with signed distribution data in which the signature system 3 distributes the signature data generated with a private key corresponding to the public key of the product 8B and stores the distributed data. Furthermore, the encryption key management system 1 encrypts a random number for identifying the storage position of the signature data in the signed distribution data with a common key shared with the product 8B, and supplies the encrypted random number to the product 8B. The product 8B acquires the signed distribution data and the encrypted random number, and uses the public key to verify the validity of the signature data extracted from the signed distribution data based on the random number decrypted with the common key.

[0103] This allows signed distribution data, in which the signature data is dispersed and embedded in the distribution data, to be provided to products possessed by end users. Since the storage location of the signature data for signed distribution data is not fixed, it is difficult for a malicious third party to tamper with or replace the signature data. In other words, according to the encryption key management system 1 according to the embodiment, highly secure data with signature data that is difficult to be attacked by tampering or replacement can be provided to products even after shipment.

[0104] In addition, the encryption key management system according to the embodiment can also treat the electronic data (distribution data) to which the electronic signature is to be attached as image data such as icons, photographs, paintings, and contract documents. The encryption key management system embeds the signature data in a distributed manner into the image data, so that the signature data can be embedded in the image data in an inconspicuous manner. For example, in the case of image data with a high resolution and a large number of pixels, even if signature data is embedded in a part of the image data or a part of the image data is replaced with signature data, the risk of changing the appearance of the image data or affecting electronic judgment is small. For this reason, the product may store or display the signed image data as it is in memory after confirming the authenticity.

[0105] Furthermore, according to the encryption key management system of the embodiment, a business that manufactures or manages products that operate a product management system can delegate the management of key information such as key pairs and common keys to the signature system. As a result, the business can ensure the security of data distributed to the products while reducing the costs associated with managing key information. Furthermore, the signature system including the signature server can provide businesses with security functions based on primitive encryption processes such as electronic signatures, and can flexibly provide security functions that meet the needs of a variety of businesses.

[0106] The functions described in the above embodiments can be realized not only by using hardware but also by loading a program describing each function into a computer using software. Also, each function may be realized by selecting either software or hardware as appropriate.

[0107] Although some embodiments of the present invention have been described, these embodiments are presented as examples and are not intended to limit the scope of the invention. These novel embodiments can be implemented in various other forms, and various omissions, substitutions, and modifications can be made without departing from the spirit of the invention. These embodiments and their modifications are included in the scope and spirit of the invention, and are included in the scope of the invention and its equivalents described in the claims. [Explanation of symbols]

[0108] 1...cryptography key management system, 2...product management system, 3...signature system, 4...product management server (product management device), 5...data storage (memory device), 6...signature server (key management device), 7...HSM, 8 (8A, 8B)...product, 41...processor (second processor), 44...data memory (memory device), 45...interface, 46...communication interface (second communication unit), 47...communication interface, 61...processor (first processor), 64...data memory (memory device), 65...interface, 66...communication interface (first communication unit), 81...processor, 84...data memory, 85...interface.

Claims

1. a communication unit that communicates with the product management device; a processor that, when a digital signature is requested for distribution data to be distributed from the product management device to a product, transmits to the product management device signed distribution data, the signature data being distributed and stored in the distribution data and whose validity is verified using key information written in the product; A key management device having:

2. The device further includes an interface for connecting to an HSM that generates key information to be written to the product and securely stores the generated key information, The processor generates signature data whose authenticity can be verified by the HSM using key information written in the product, and transmits the signed distribution data, in which the signature data generated by the HSM is distributed and stored in the distribution data, to the product management device. The key management device according to claim 1 .

3. The processor: When the product management device requests the generation of key information to be written to the product, the HSM generates a key pair of a public key and a private key as the key information, and transmits the key information including the generated public key to the product management device; When the product management device requests an electronic signature for distribution data to be distributed to the product, the HSM creates signature data using a private key corresponding to a public key written as key information in the product, and transmits the signed distribution data to the product management device, the signature data being distributed and stored in the distribution data. The key management device according to claim 2 .

4. The processor: When the product management device requests the generation of key information to be written to the product, the HSM further generates a common key, and transmits key information including the public key and common key generated by the HSM to the product management device; When a request for an electronic signature for distribution data to be distributed to the product is received from the product management device, storage locations for distributing and storing signature data in the distribution data are selected, and the signed distribution data in which the signature data created by the HSM is stored in the storage locations and data indicating the storage locations are encrypted with the common key are transmitted to the product management device. The key management device according to claim 3 .

5. The processor: When a request for an electronic signature for distribution data to be distributed to the product is received from the product management device, the HSM selects a storage location for signature data in the distribution data based on a random number generated by the HSM, and transmits to the product management device the signed distribution data in which the signature data created by the HSM is stored in the storage location selected based on the random number, and data obtained by encrypting the random number with the common key. The key management device according to claim 4 .

6. The processor: If the distribution data is image data, the storage location of the signature data is selected from an area in the image data where pixel values ​​are within a predetermined range. The key management device according to claim 4 .

7. The processor: performing user authentication based on authentication information from the product management device, and accepting a request from the product management device according to the authority of the user whose user authentication has been successful; The key management device according to any one of claims 1 to 6.

8. the processor transmits a notification indicating the content of the processing executed in response to the request from the product management device to a notification destination of the user whose user authentication has been successful. The key management device according to claim 7 .

9. the processor stores the signature data in a storage device together with log data indicating the content of the processing executed in response to the request for the electronic signature from the product management device; The key management device according to any one of claims 1 to 6.

10. In an encryption key management system having a key management device and a product management device, The key management device a first communication unit that communicates with the product management device; a first processor that, when a request for an electronic signature for distribution data to be distributed from the product management device to a product is received, transmits to the product management device signed distribution data, the signature data being verified for validity using key information written in the product and stored in a distributed form within the distribution data; The product management device a second communication unit that communicates with the key management device; a second processor that requests the key management device to digitally sign distribution data to be distributed to the product, and obtains the signed distribution data to be distributed to the product from the key management device; Cryptographic key management system.

11. the key management device further has an interface for connecting to an HSM that generates key information including an encryption key to be written to the product and securely stores the generated key information; The first processor of the key management device When the product management device requests an encryption key to be written to the product, the HSM generates a key pair of a public key and a private key as the key information, and transmits the key information including the generated public key to the product management device; When the product management device requests an electronic signature for distribution data to be distributed to the product, the HSM generates signature data using a private key corresponding to a public key written as key information in the product, and transmits the signed distribution data to the product management device. The encryption key management system of claim 10.

12. the key management device further has an interface for connecting to an HSM that generates key information including an encryption key to be written to the product and securely stores the generated key information; The first processor of the key management device When the product management device requests an encryption key to be written to the product, the HSM further generates a common key, and transmits key information including the public key and common key generated by the HSM to the product management device; When a request for an electronic signature for distribution data to be distributed to the product is received from the product management device, the signed distribution data and data indicating a storage location of the signature data encrypted with the common key are transmitted to the product management device; The second processor of the product management device obtaining, from the key management device, information indicating a storage location of the signed distribution data and the signature data encrypted with the common key; The encryption key management system of claim 11 .

Citation Information

Patent Citations

  • Information processing apparatus, information processing method, device, encryption key updating method, system, and program

    JP2018139369A