Key provision system, method, and program
The key provision system securely shares keys across entities using multiple methods by modeling them similarly to QKD and employing a protocol converter for unified authentication and method switching, addressing security and communication challenges in existing systems.
Patent Information
- Application Number
- PCT/JP2023/009157
- Authority / Receiving Office
- WO · WO
- Patent Type
- Applications
- Current Assignee / Owner
- Filing Date
- 2023-03-09
- Publication Date
- 2024-09-12
AI Technical Summary
Existing key sharing systems face challenges in securely sharing keys between entities that cannot communicate directly, particularly when using multiple key sharing methods, as authentication/authorization methods and key identification vary across methods like QKD, PSK, and KEM, leading to potential security vulnerabilities and communication disruptions.
A key provision system that models other key sharing methods similarly to QKD, with separate entities for key management and application use, and includes a protocol converter to generate and share a combined key using multiple methods, ensuring unified authentication/authorization and switching between methods if one fails.
Enables secure sharing of keys across different key sharing methods, maintaining security and ensuring continuous encrypted communication even when direct communication between entities is not possible, by generating a shared key through multiple methods and switching to alternative methods if needed.
Smart Images

Figure JP2023009157_12092024_PF_FP_ABST
Abstract
Description
Key provision system, method, and program
[0001] The present disclosure relates to a key provision system, method, and program.
[0002] A key sharing protocol called quantum key distribution (QKD) is known (see, for example, Non-Patent Documents 1 and 2). QKD is a technology in which a key for keeping communications secret between two parties is shared by quantum teleportation, and encrypted data is sent and received using the key (encrypted communications).
[0003] In QKD, the entity that shares the key (KME: Key Management Entity) and the entity that transmits and receives data (SAE: Secure Application Entity) exist on separate devices, and keys are shared and stored between the KMEs using an optical communication network implemented by optical fiber cables or the like. When encrypted communication is performed between SAEs, the transmitting SAE obtains a key and a key ID from its corresponding KME and notifies the receiving SAE of the key ID. The receiving SAE then obtains a key identified by the key ID notified by the transmitting SAE from its corresponding KME. This allows the transmitting SAE and receiving SAE to obtain the same key, enabling encrypted communication.
[0004] ETSI GS QKD 004 V2.1.1 (2020-08) Quantum Key Distribution (QKD); Application InterfaceETSI GS QKD 014 V1.1.1 (2019-02) Quantum Key Distribution (QKD); Protocol and data format of REST-based key delivery API
[0005] In recent years, methods have been developed for generating a key (hereinafter also referred to as a shared key) used to encrypt data transmitted between a sender and a receiver by combining keys from one or more key sharing methods, including QKD. However, in recent years, shared keys are not necessarily used for encrypted communications. For example, they are also expected to be used when multiple people share encrypted data stored in a shared storage device. In such use cases, users of the shared key do not need to be able to communicate directly with each other. Therefore, for example, there may be cases where communication is not possible between an SAE (master) that requests the KME to generate a shared key and other SAEs (slave). In such cases, the master SAE cannot notify the slave SAE of the key ID, which creates a problem in that the shared key generated between the KMEs cannot be shared between the SAEs.
[0006] The present disclosure has been made in consideration of the above points, and provides a technique that allows a shared key to be shared even when entities that use the key cannot communicate with each other.
[0007] A key providing system according to one aspect of the present disclosure includes a first terminal acting as a master in key sharing, a first key server capable of providing a shared key to the first terminal, a second terminal acting as a slave in the key sharing, and a second key server capable of providing a shared key to the second terminal, wherein the first key server includes a first key generation unit configured to, upon receiving a key request from the first terminal, generate the shared key and second identification information identifying the shared key using one or more keys shared with the second key server by one or more key sharing methods and first identification information identifying each of the one or more keys, a key notification unit configured to transmit a key notification including the shared key and the second identification information to the first terminal, and a key notification unit configured to receive the second identification information from the first key server. a first transmitting unit configured to transmit the second identification information to the second key server upon receiving the shared key from the first terminal, wherein the second key server comprises: a second key generating unit configured to generate the shared key and the second identification information using one or more keys shared with the first key server by the one or more key sharing schemes and first identification information identifying each of the one or more keys; a second transmitting unit configured to transmit the second identification information to the second terminal upon receiving the second identification information from the first key server; and a third transmitting unit configured to transmit the shared key identified by the second identification information to the second terminal upon receiving a key acquisition request including the second identification information from the second terminal.
[0008] A technique is provided that allows a shared key to be shared even when entities that use the key cannot communicate with each other.
[0009] FIG. 1 is a diagram illustrating an example of the overall configuration of a key providing system according to an embodiment; FIG. 2 is a diagram illustrating an example of the detailed functional configuration of an AP according to an embodiment; FIG. 3 is a diagram illustrating an example of the detailed functional configuration of a protocol conversion unit according to an embodiment; FIG. 4 is a sequence diagram illustrating an example of a key sharing process according to an embodiment; FIG. 5 is a sequence diagram illustrating an example of a shared key usage start process according to an embodiment; FIG. 6 is a diagram illustrating an example of a shared key usage; FIG. 7 is a sequence diagram illustrating an example of a switching process according to an embodiment; FIG. 8 is a diagram illustrating an example of the hardware configuration of a computer.
[0010] An embodiment of the present invention will be described below. The following describes a key providing system 1 that generates a shared key by combining keys from one or more key sharing schemes among multiple key sharing schemes including QKD, and that enables entities using the shared key to share the shared key even when they are unable to communicate with each other. The following also describes a case where a key sharing scheme becomes unavailable for some reason (e.g., an error), and the key sharing scheme is switched to another key sharing scheme.
[0011] Here, examples of key sharing methods include QKD, pre-shared key (PSK), key encapsulation mechanism (KEM), etc. KEM is a key sharing method that uses cryptography such as RSA, elliptic curve cryptography, and post-quantum cryptography (PQC). In particular, KEM that uses post-quantum cryptography is a type of post-quantum cryptography-based key distribution (PQKD), also known as PQC-KEM. In the following, QKD, PSK, and KEM (including PQC-KEM) are assumed as key sharing methods, and a shared key is generated by combining keys from one or more of these key sharing methods. Note that key sharing methods may also be called key sharing protocols, key exchange protocols, etc., and refer to technologies for sharing the same key between two parties.
[0012] The key providing system 1 described above makes it possible to generate a shared key that combines keys from one or more key sharing methods, and this shared key allows a master-side application and a slave-side application to use the shared key. Furthermore, even if a certain key sharing method becomes unavailable for some reason (e.g., an error), it is possible to switch to another key sharing method, thereby ensuring the continuity of services that require encrypted communication (in other words, improving the availability of services). The master-side application is the application that requested the generation of the shared key, and the slave-side application is an application other than the master that uses the shared key.
[0013] <Problems when combining keys from multiple key-sharing methods> When combining keys from multiple key-sharing methods, the authentication and authorization methods and key identification methods differ depending on the key-sharing method, so simply combining keys from multiple key-sharing methods is not considered to provide sufficient security.
[0014] For example, in KEM, the specific authentication and authorization methods are left to the application, but authentication and authorization can be considered to be one entity, and mutual authentication can be considered to have been simultaneously performed. This is because KEM generates keys through mutual calculations between the sender and receiver using an algorithm based on public key cryptography. On the other hand, in QKD, there is no specified mechanism for providing the SAE with access control (authorization) to a key corresponding to a key ID obtained from the KME. Even if mutual authentication is achieved between SAEs using some authentication method, it is unclear whether authorization for the key corresponding to that key ID has been properly performed. Furthermore, in PSK, authentication and authorization can be considered to have been performed when a key is set by an administrator, user, etc. As such, authentication and authorization methods can differ depending on the key sharing method.
[0015] For example, in KEM, a key is identified by session information such as a session ID. On the other hand, in QKD, a key is identified by a key ID. In PSK, generally, there is no information that uniquely identifies a key, and the key is indirectly identified by, for example, some information that depends on the protocol used for communication with the communication partner. In this way, the method of identifying a key differs depending on the key agreement method.
[0016] Therefore, in the following embodiment, a method for generating a shared key that combines keys from one or more key sharing methods, including QKD, without relying on the authentication / authorization method or the key identification method, is described.
[0017] <Modeling of Key Agreement Methods> To solve the first problem mentioned above, that authentication and authorization methods may differ, key agreement methods other than QKD are modeled in the same way as QKD. That is, QKD has two entities: KME, which is the entity that performs key agreement (i.e., the entity that executes the processing logic that realizes key agreement), and SAE, which is the entity that performs encrypted communication using the key shared between KMEs. Therefore, key agreement methods other than QKD are also separated into the two entities, KME and SAE, and modeled in the same way as QKD.
[0018] For example, in PSK, the part that accepts key settings from an administrator or user can be modeled as KME, and the part (application) that performs encrypted communication using that key can be modeled as SAE. Similarly, in KEM, the part that executes processing to share a key with a communication partner can be modeled as KME, and the part (application) that performs encrypted communication using that key can be modeled as SAE.
[0019] In the following, it is assumed that PSK and KEM are modeled as the above-mentioned SAE and KME separated models, respectively.
[0020] <When communication is not possible between entities using a shared key> Even if a shared key is generated between the master and slave KMEs, if communication is not possible between the master and slave applications, the shared key cannot be shared between these applications. This is because the key identification information notified by the master application is required for the slave application to obtain the same shared key as the master application. Note that, below, the key identification information of the shared key is also referred to as "shared key identification information."
[0021] Therefore, the following describes a method in which, when a key server that has the function of providing a shared key shared between KMEs to an application sends shared key identification information to a master-side application, the shared key identification information is sent to the key server in a callback manner, and the shared key identification information is notified to the slave-side application via the key server. This allows the shared key identification information to be notified to the slave-side application even when the master-side application and slave-side application cannot communicate with each other, making it possible for the master-side and slave-side applications to share the shared key identified by the shared key identification information.
[0022] In addition, examples of cases in which the master-side application and the slave-side application cannot communicate include when the master-side application and the slave-side application exist in different networks, and the application in those networks has restrictions on communication with external networks.
[0023] <Example of Overall Configuration of Key Provision System 1> An example of the overall configuration of a key provision system 1 according to one embodiment is shown in Fig. 1. Fig. 1 shows, as an example, a key provision system 1 in which base 1 and base 2 exist. In the key provision system 1 shown in Fig. 1, a terminal device 10-1 having a master-side application and a key server 20-1 having a function of providing a shared key to the application are located at base 1, and a terminal device 10-2 having a slave-side application and a key server 20-2 having a function of providing a shared key to the application are located at base 2. In the key provision system 1 shown in Fig. 1, the key server 20-1 functions as a KME for available key sharing methods, and key sharing systems 30A-1, 30B-1, 30C-1, and 30D-1 corresponding to each of these key sharing methods are also shown. Similarly, key server 20-2 functions as a KME for the available key sharing methods, and key sharing systems 30A-2, 30B-2, 30C-2, and 30D-2 corresponding to these key sharing methods are also shown.
[0024] Here, it is assumed that key sharing systems 30A-1 and 30A-2 can share keys with each other using a key sharing method (e.g., QKD) in which the KME and SAE exist on different devices. On the other hand, it is assumed that key sharing systems 30B-1 and 30B-2 can share keys with each other using a key sharing method (e.g., PSK, KEM) in which the KME and SAE exist on the same device. Similarly, it is assumed that key sharing systems 30C-1 and 30C-2, and key sharing systems 30D-1 and 30D-2 can share keys with each other using a key sharing method (e.g., PSK, KEM) in which the KME and SAE exist on the same device. In the following, as an example, it is assumed that key sharing systems 30A-1 and 30A-2 correspond to QKD, key sharing systems 30B-1 and 30B-2 correspond to a certain KEM (hereinafter referred to as KEM-A), key sharing systems 30C-1 and 30C-2 correspond to another certain KEM (hereinafter referred to as KEM-B), and key sharing systems 30D-1 and 30D-2 correspond to PSK.
[0025] 1, key sharing system 30A-1 exists separately from key server 20-1, while key sharing system 30B-1, key sharing system 30C-1, and key sharing system 30D-1 are included in key server 20-1. The same is true for key sharing systems 30A-2 to 30D-2.
[0026] The key server 20-1 and the key sharing system 30A-1 are connected to each other so that they can communicate with each other, for example, via an in-site network. Similarly, the key server 20-2 and the key sharing system 30A-2 are connected to each other so that they can communicate with each other, for example, via an in-site network. On the other hand, the key sharing systems 30B-1, 30C-1, and 30D-1 are realized as functions provided by one or more programs installed in the key server 20-1. Similarly, the key sharing systems 30B-2, 30C-2, and 30D-2 are realized as functions provided by one or more programs installed in the key server 20-2.
[0027] Hereinafter, when there is no need to distinguish between key sharing systems 30A-1 to 30D-1, they will be referred to as "key sharing system 30-1." Similarly, when there is no need to distinguish between key sharing systems 30A-2 to 30D-2, they will be referred to as "key sharing system 30-2."
[0028] The terminal device 10-1 executes various processes using the shared key provided by the key server 20-1. The terminal device 10-1 includes an application program (hereinafter referred to as AP) 110-1. Hereinafter, the AP 110-1 is also referred to as the "master AP."
[0029] Similarly, the terminal device 10-2 executes various processes using the shared key provided by the key server 20-2. Here, the terminal device 10-2 includes an AP 110-2. Hereinafter, the AP 110-2 will also be referred to as a "slave AP."
[0030] Hereinafter, when there is no need to distinguish between the terminal device 10-1 and the terminal device 10-2, they will be referred to as "terminal device 10." Similarly, when there is no need to distinguish between the AP 110-1 and the AP 110-2, they will be referred to as "AP 110."
[0031] The AP 110 is an application program that executes various processes using a shared key. That is, the AP 110 is an application program that functions as an SAE. An example of the detailed functional configuration of the AP 110 will be described later.
[0032] Here, various processes using the shared key include, for example, encryption / decryption of data shared between the master AP and slave AP, random number generation using the shared key as a seed, encryption / decryption, etc. Note that, since it is assumed below that the master AP and slave AP cannot communicate with each other, encrypted communication is not included in the various processes using the shared key described above, but this does not exclude encrypted communication, and the shared key may be used for encrypted communication between the master AP and slave AP.
[0033] The key server 20-1 generates a shared key from one or more keys shared between the key sharing systems 30-1 and 30-2, each of which corresponds to one or more key sharing methods, and provides this shared key to the terminal device 10-1. Herein, the key server 20-1 includes a protocol conversion unit 210-1, a key output unit 220-1 corresponding to each key sharing system 30-1, and an authentication and authorization management unit 230-1. Hereinafter, the key server 20-1 will also be referred to as the "master key server." In the example shown in FIG. 1, the key output unit 220-1 corresponding to the key sharing system 30A-1 is the key output unit 220A-1. Similarly, the key output unit 220-1 corresponding to the key sharing system 30B-1 is key output unit 220B-1, the key output unit 220-1 corresponding to the key sharing system 30C-1 is key output unit 220C-1, and the key output unit 220-1 corresponding to the key sharing system 30D-1 is key output unit 220D-1.
[0034] Meanwhile, the key server 20-2 generates a shared key from one or more keys shared between the key sharing systems 30-2 and 30-1, each of which corresponds to one or more key sharing methods, and stores this shared key. Here, the key server 20-2 includes a protocol conversion unit 210-2, a key output unit 220-2 corresponding to each key sharing system 30-2, and an authentication and authorization management unit 230-2. Hereinafter, the key server 20-2 will also be referred to as the "slave key server." In the example shown in FIG. 1, the key output unit 220-2 corresponding to the key sharing system 30A-2 is key output unit 220A-2. Similarly, the key output unit 220-2 corresponding to the key sharing system 30B-2 is key output unit 220B-2, the key output unit 220-2 corresponding to the key sharing system 30C-2 is key output unit 220C-2, and the key output unit 220-2 corresponding to the key sharing system 30D-2 is key output unit 220D-2.
[0035] Hereinafter, when there is no need to distinguish between key server 20-1 and key server 20-2, they will be referred to as "key server 20," and when there is no need to distinguish between key sharing system 30-1 and key sharing system 30-2, they will be referred to as "key sharing system 30." Similarly, other units will be referred to as "protocol conversion unit 210," "key output unit 220," "authentication and authorization management unit 230," etc.
[0036] Furthermore, when there is no need to distinguish between key sharing systems 30A-1 and 30A-2, they will be referred to as "key sharing system 30A." Similarly, the other systems will be referred to as "key sharing system 30B," "key sharing system 30C," "key sharing system 30D," etc.
[0037] The protocol conversion unit 210 receives (a message representing) a key request from the AP 110, generates (derives) a shared key using one or more keys output from one or more key output units 220 and their key identification information, and transmits (a message representing) a key notification including the shared key and shared key identification information to the AP 110. Furthermore, if an error or the like occurs in the key sharing system 30, the protocol conversion unit 210 switches to another key sharing system 30. A detailed example of the functional configuration of the protocol conversion unit 210 will be described later.
[0038] The key output unit 220 has a function of concealing the specific mechanism of the key sharing method executed by the key sharing system 30 corresponding to that key output unit 220, and upon receiving a key request, replies with the key shared by the key sharing system 30 corresponding to that unit 220 and its key identification information. In other words, upon receiving a key request from the protocol conversion unit 210, the key output unit 220 replies with the protocol conversion unit 210 with a key output including the key shared by the key sharing system 30 corresponding to that unit 220 and its key identification information. Note that, since the key output unit 220 has a function of concealing the specific mechanism of the key sharing method, it may be called, for example, a protocol driver or the like.
[0039] This allows the AP 110 to conceal the specific mechanism of the key sharing method, and the AP 110 can obtain the shared key by simply making a key request to the protocol conversion unit 210 and receiving a key notification in response to the key request.
[0040] In addition, if an error or the like occurs in the key sharing system 30 corresponding to the key output unit 220, the key output unit 220 receives an error notification from the key sharing system 30 and transmits the error notification to the protocol conversion unit 210.
[0041] The authentication and authorization management unit 230 manages application authentication information, server / client authentication information, and authorization information. The application authentication information is information for authenticating the AP 110 at its own base, such as information indicating the AP 110 that is authorized to request a key (e.g., an application ID, authentication information for the AP 110). The server / client authentication information is information for the key sharing system 30 at its own base to mutually authenticate with the key sharing system 30 at other bases (i.e., mutual authentication between KMEs), such as a server certificate and a client certificate of the key sharing system 30 at other bases that is authorized as a connection destination. The authorization information is information for the key sharing system 30 at its own base to authorize the AP 110 at other bases to use a key, such as information indicating the AP 110 at other bases that the AP 110 at its own base can designate as a shared key sharing partner and information indicating the key sharing system 30 that the AP 110 at other bases can use. The application authentication information, server / client authentication information, and authorization information are stored in an authentication / authorization information storage area realized by a storage device.
[0042] The application authentication information enables the protocol conversion unit 210 to reject key requests from APs other than the predetermined AP 110. Furthermore, the server / client authentication information enables the key sharing system 30 to perform mutual authentication with key sharing systems 30 at other locations, and to reject key sharing with any other key sharing system than the mutually authenticated key sharing system 30. Furthermore, the authorization information enables the key sharing system 30 to reject key sharing with any other key sharing system 30 than the key sharing system 30 used by the predetermined AP 110 among the APs 110 at other locations, and as a result, it becomes possible to not grant authorization for keys to any AP other than the predetermined AP 110.
[0043] Note that the overall configuration of the key providing system 1 shown in Fig. 1 is an example and is not limited to this. For example, in the example shown in Fig. 1, it is assumed that the key server 20 can use four key sharing methods, and key sharing systems 30A to 30D corresponding to these key sharing methods are shown, but generally, there are as many key sharing systems 30 as there are key sharing methods available to the key server 20. Specifically, for example, if the key server 20 can use N key sharing methods, there are N key sharing systems 30 corresponding to the N key sharing methods, respectively.
[0044] Furthermore, the communication network between the key servers 20 and the communication network between the key sharing systems 30 may be the same, or may be different depending on the key sharing method implemented by the key sharing systems 30. For example, if the key sharing method implemented by a certain key sharing system 30 is QKD, the communication network between the key servers 20 is the Internet or the like, and the communication network between the key sharing systems 30 is an optical communication network or the like. On the other hand, for example, if the key sharing method implemented by a certain key sharing system 30 is KEM or the like, the communication network between the key servers 20 and the communication network between the key sharing systems 30 are both the Internet or the like.
[0045] <Example of Detailed Functional Configuration of AP 110> An example of a detailed functional configuration of the AP 110 according to an embodiment is shown in Fig. 2. As shown in Fig. 2, the AP 110 according to an embodiment includes a key request unit 111, a key acquisition unit 112, and a key identification information notification unit 113.
[0046] If the key request unit 111 is on the master side, it sends a key request for the shared key to the protocol conversion unit 210 .
[0047] When the key acquisition unit 112 is on the master side, it acquires the shared key and shared key identification information included in the key notification received from the protocol conversion unit 210. On the other hand, when the key acquisition unit 112 is on the slave side and receives a shared key identification information notification including the shared key identification information from the protocol conversion unit 210, it transmits a key acquisition request including this shared key identification information to the protocol conversion unit 210.
[0048] When the key identification information notification unit 113 is on the master side, upon acquiring the shared key and the shared key identification information, the key identification information notification unit 113 transmits a shared key identification information notification including this shared key identification information to the protocol conversion unit 210 .
[0049] <Detailed Functional Configuration Example of Protocol Conversion Unit 210> A detailed functional configuration example of the protocol conversion unit 210 according to an embodiment is shown in Fig. 3. As shown in Fig. 3, the protocol conversion unit 210 according to an embodiment includes a key request acceptance unit 211, a key derivation unit 212, a key notification unit 213, an error notification unit 214, a switching unit 215, and a key accumulation unit 216.
[0050] The key request receiving unit 211 receives a key request from the AP 110 and, at the same time, references the application authentication information to authenticate the AP 110. The key request receiving unit 211 also transmits the key request to the key output unit 220 corresponding to one or more key sharing methods (key sharing systems 30) currently in use.
[0051] The key request accepting unit 211 receives a switching notification from the switching unit 215 and switches the currently used key sharing scheme to the target key sharing scheme based on the information contained in the switching notification. The key request accepting unit 211 then transmits the switching notification to the other key servers 20.
[0052] The key derivation unit 212 receives key outputs from each of the one or more key output units 220, and derives a shared key and shared key identification information from the key and its key identification information, etc., included in each of the one or more key outputs. The key derivation unit 212 also transmits the key outputs including the shared key and shared key identification information to the key notification unit 213.
[0053] Key notification unit 213 receives the key output from key derivation unit 212, extracts the shared key and shared key identification information included in the key output, and transmits a key notification including the shared key and shared key identification information to AP 110 or key storage unit 216. Furthermore, when key notification unit 213 receives a shared key identification information notification from the master AP, it transmits this shared key identification information notification to protocol conversion unit 210-2 of key server 20-2 corresponding to the slave AP. Furthermore, when key notification unit 213 receives a shared key identification information notification from protocol conversion unit 210-1 of key server 20-1 corresponding to the master AP, it transmits this shared key identification information notification to the slave AP.
[0054] The error notification unit 214 receives an error notification from the key output unit 220 and transmits the error notification to the switching unit 215 .
[0055] The switching unit 215 receives an error notification from the key output unit 220, determines the key sharing method to which the key sharing method to be switched will be switched, and then sends a switching notification to the key request receiving unit 211 that includes information indicating the key sharing method to be switched to and the key sharing method to which it will be switched.
[0056] When a key sharing method that allows key storage is in use, the key storage unit 216 stores the key generated by the key sharing method and its key identification information in a key storage area realized by a storage device. The key stored in the key storage area may also be called a stored key.
[0057] Furthermore, the key storage unit 216 stores the shared key and shared key identification information derived by the key derivation unit 212 in a shared key storage area realized by a storage device.
[0058] <Key Sharing Process> The key sharing process for generating a shared key used by the AP 110-1 and AP 110-2 will be described below with reference to Fig. 4. Note that the AP 110-1 is the master side, and the AP 110-2 is the slave side.
[0059] First, the key request unit 111-1 of the AP 110-1 transmits a key request to the protocol conversion unit 120-1 (step S101).
[0060] When the key request receiving unit 211-1 of the protocol conversion unit 210-1 receives the key request, it references the application authentication information and authenticates the AP 110-1 that sent the key request (step S102). For example, if the application authentication information contains the application ID (or authentication information) of the AP 110-1 that sent the key request, the key request receiving unit 211-1 determines that the authentication is successful; otherwise, it determines that the authentication is unsuccessful. If the authentication of the AP 110-1 is successful, the process of step S103 is executed, and if the authentication is unsuccessful, the processes from step S103 onwards are not executed. In the following, the description will continue assuming that the authentication of the AP 110-1 is successful.
[0061] The key request receiving unit 211-1 of the protocol conversion unit 210-1 transmits the key request to one or more key output units 220 corresponding to one or more key sharing methods set as the key sharing method currently in use (step S103). For example, if three key sharing methods, "QKD," "KEM-A," and "KEM-B," are set as the key sharing methods currently in use, the key request receiving unit 211-1 transmits the key request to the key output unit 220A-1 corresponding to the key sharing system 30A-1 that performs key sharing by QKD, the key output unit 220B-1 corresponding to the key sharing system 30B-1 that performs key sharing by KEM-A, and the key output unit 220C-1 corresponding to the key sharing system 30C-1 that performs key sharing by KEM-B.
[0062] When each key output unit 220-1 receives a key request from the key request receiving unit 211-1, it transmits the key request to its corresponding key sharing system 30-1 (step S104). For example, if the key output unit 220A-1 receives a key request, it transmits the key request to the key sharing system 30A-1. Similarly, for example, if the key output unit 220B-1 receives a key request, it transmits the key request to the key sharing system 30B-1. Similarly, for example, if the key output unit 220C-1 receives a key request, it transmits the key request to the key sharing system 30C-1.
[0063] When each key sharing system 30-1 receives a key request from its corresponding key output unit 220-1, it authenticates and authorizes itself with the key sharing system 30-2 that supports the same key sharing method, and shares the key using that key sharing method (step S105). At this time, the key sharing system 30-1 and the key sharing system 30-2 perform mutual authentication using the server certificate and client certificate included in the server / client authentication information. The key sharing system 30-1 also references the authorization information to determine whether to grant authorization to the AP 110-2 for use of the key shared with the key sharing system 30-2. For example, if the authorization information includes information indicating the key sharing system 30-2 as a key sharing system 30 that can be designated by the AP 110-1 that sent the key request as a key sharing partner and that is available to the AP 110-2, the key sharing system 30-1 determines to grant authorization to the AP 110-2 for key use; otherwise, it determines not to grant authorization to the AP 110-2 for key use. Although the key sharing system 30-1 only refers to the authorization information when determining whether to grant authorization for key usage, it may also refer to application authentication information in addition to the authorization information in order to re-authenticate the AP 110-1 that sent the key request.
[0064] When key sharing is performed between key sharing systems 30-1 and 30-2 in step S105, in the case of QKD or KEM, key distribution and key generation are performed in addition to the mutual authentication and authorization described above. On the other hand, in the case of PSK, key distribution and key generation are not performed, and only the mutual authentication and authorization described above is performed.
[0065] In step S105, a server certificate and a client certificate are used for mutual authentication between the key sharing systems 30, but this is just an example and is not limiting. Any authentication method can be used for mutual authentication between the key sharing systems 30 in step S105.
[0066] Each key sharing system 30-1 transmits the key and its key identification information shared with the key sharing system 30-2 corresponding to the same key sharing method as itself in step S105 to its corresponding key output unit 220-1 (step S106). Here, the key identification information is information that identifies the key shared with the key sharing system 30-2, such as a key ID in the case of QKD (or a session ID in the case of QKD that does not use REST), or session information such as a session ID in the case of KEM. In the case of PSK, this is some information that depends on the protocol used for communication with the communication partner, but since the session is generally identified by this information, hereinafter this information will also be referred to as session information.
[0067] When each key output unit 220-1 receives the key and key identification information from the key sharing system 30-1 corresponding to itself, it transmits a key output including the key and key identification information to the protocol conversion unit 210-1 (step S107).
[0068] When the key derivation unit 212-1 of the protocol conversion unit 210-1 receives the key outputs from each key output unit 220-1, it derives a shared key and shared key identification information from the keys and key identification information, etc., included in each of these key outputs (step S108). For example, the key derivation unit 212-1 derives the shared key SK using SK = KDF (secretKey, label, context, key_length). Furthermore, for example, the key derivation unit 212-1 derives shared key identification information SK_ID by concatenating (e.g., concatenating bit strings representing the key identification information) the key identification information included in each of the above key outputs (i.e., the key identification information of each key of one or more key sharing methods set as the currently used key sharing method). However, the shared key identification information may be, for example, a hash value of the information concatenating the key identification information included in each of the above key outputs.
[0069] Here, KDF is a predetermined key derivation function. secretKey is information obtained by concatenating each key of one or more key agreement schemes set as the key agreement scheme currently in use. label is information obtained by concatenating labels (e.g., character strings representing the names of the key agreement schemes) each representing one or more key agreement schemes set as the key agreement scheme currently in use. context is information obtained by concatenating key identification information of each key of one or more key agreement schemes set as the key agreement scheme currently in use (or, for example, if there is a limit on the input length of the KDF, its hash value may be used). key_length is a predetermined key length. However, the key identification information of each key of one or more key agreement schemes used in the context is generated so as to be unique each time key generation is performed for each key agreement scheme. If this cannot be guaranteed, a different value is shared each time key sharing is performed between sites 1 and 2, and information representing that value is used as the context. This makes it possible to ensure that the key derived by the key derivation unit 212 is different for each key sharing request.
[0070] Specific Example 1: Assume that three key sharing methods, "QKD," "KEM-A," and "KEM-B," are currently set as key sharing methods in use. Furthermore, let the QKD key be "sk," its key identification information be "skID," the KEM-A key be "SK1," its key identification information be "Sl1," and the KEM-B key be "SK2," its key identification information be "Sl2." Furthermore, let the QKD label be "QKD," the KEM-A label be "KEM-A," and the KEM-B label be "KEM-B."
[0071] In this case, secretKey=sk∥SK1∥SK2, context=skID∥Sl1∥Sl2, label=QKD∥KEM-A∥KEM-B, where ∥ is a concatenation of information (for example, a concatenation of bit strings representing the information).
[0072] Therefore, SK=KDF(sk∥SK1∥SK2, QKD∥KEM-A∥KEM-B, skID∥Sl1∥Sl2, key_length), and SK_ID=skID∥Sl1∥Sl2.
[0073] Specific Example 2: Assume that three key sharing methods, "PSK," "KEM-A," and "KEM-B," are currently set as key sharing methods in use. Furthermore, the PSK key is "psk," its key identification information is "pskSession," the KEM-A key is "SK1," its key identification information is "Sl1," the KEM-B key is "SK2," and its key identification information is "Sl2." Furthermore, the PSK label is "PSK," the KEM-A label is "KEM-A," and the KEM-B label is "KEM-B."
[0074] In this case, secretKey=psk||SK1||SK2, context=pskSession||Sl1||Sl2, label=PSK||KEM-A||KEM-B.
[0075] Therefore, SK = KDF(psk||SK1||SK2, pskSession||KEM-A||KEM-B, pskSession||Sl1||Sl2, key_length), and SK_ID = pskSession||Sl1||Sl2.
[0076] In the above-mentioned specific example 1, QKD is included in the label, and in the above-mentioned specific example 2, PSK is included in the label, but the label may be included only when multiple key sharing methods of the same type are being used among the currently used key sharing methods. For example, in the above-mentioned specific example 1, label = KEM-A||KEM-B may be used. Similarly, in the above-mentioned specific example 2, label = KEM-A||KEM-B may be used.
[0077] The key derivation unit 212-1 of the protocol conversion unit 210-1 transmits a key output including the shared key SK and shared key identification information SK_ID derived in step S108 to the key notification unit 213-1 (step S109).
[0078] When the key notification unit 213-1 of the protocol conversion unit 210-1 receives the key output from the key derivation unit 212-1, it extracts the shared key SK and shared key identification information SK_ID contained in the key output and sends a key notification containing the shared key SK and shared key identification information SK_ID to AP110-1 (step S110).
[0079] When the key acquisition unit 112-1 of the AP 110-1 receives the key notification from the protocol conversion unit 210-1, it acquires the shared key SK and the shared key identification information SK_ID included in the key notification (step S111). As a result, the master AP can obtain the shared key SK and the shared key identification information SK_ID.
[0080] Meanwhile, each key sharing system 30-2 transmits the key and its key identification information shared with the key sharing system 30-1 corresponding to the same key sharing method as itself in step S105 above to the key output unit 220-2 corresponding to itself (step S112).
[0081] When each key output unit 220-2 receives the key and key identification information from the key sharing system 30-2 corresponding to itself, it transmits a key output including the key and key identification information to the protocol conversion unit 210-2 (step S113).
[0082] When the key derivation unit 212-2 of the protocol conversion unit 210-2 receives the key output from each key output unit 220-2, it derives the shared key and the shared key identification information from the key and the key identification information, etc., included in each of these key outputs (step S114). Note that the key derivation unit 212-2 derives the shared key SK and the shared key identification information SK_ID in the same manner as in step S108 above.
[0083] The key derivation unit 212-2 of the protocol conversion unit 210-2 transmits a key output including the shared key SK and shared key identification information SK_ID derived in the above step S114 to the key notification unit 213-2 (step S115).
[0084] When the key notification unit 213-2 of the protocol conversion unit 210-2 receives the key output from the key derivation unit 212-2, it extracts the shared key SK and shared key identification information SK_ID contained in the key output and sends a key notification containing the shared key SK and shared key identification information SK_ID to the key storage unit 216-2 (step S116).
[0085] When the key storage unit 216-2 of the protocol conversion unit 210-2 receives the key notification from the key notification unit 213-2, it acquires the shared key SK and shared key identification information SK_ID included in the key notification and stores them in the shared key storage area (step S117).
[0086] Note that when sharing a key in step S105 above, it is not limited to generating a new key between the key sharing systems 30. For example, if the key storage unit 216 stores a key (stored key), the stored key may be shared. In particular, the stored key may be shared when a new key cannot be generated for some reason, such as the occurrence of an error. In this case, for example, in response to a request from the key sharing system 30, the key output unit 220 may transmit a request to acquire the stored key to the key storage unit 216. As a result, the key storage unit 216 returns the stored key to the key output unit 220, and the key output unit 220 may transmit a key output including the stored key to the key derivation unit 212.
[0087] Furthermore, in the above key sharing process, the shared key SK used by the slave AP is stored in step S117, but this is not limited to this. For example, in step S116, the key notification unit 213-2 may send a key notification to the slave AP (AP110-2).
[0088] <Shared Key Use Start Process> The shared key use start process for AP 110-1 to start using a shared key with AP 110-2 will be described below with reference to Fig. 5. Note that AP 110-1 is the master side, and AP 110-2 is the slave side.
[0089] The key identification information notification unit 113 of the AP 110-1 transmits a shared key identification information notification including the shared key identification information SK_ID to the protocol conversion unit 210-1 (step S201).
[0090] When key notification section 213-1 of protocol conversion section 210-1 receives the shared key identification information notification from AP 110-1, key notification section 213-1 transmits this shared key identification information notification to protocol conversion section 210-2 (step S202).
[0091] When key notification section 213-2 of protocol conversion section 210-2 receives the shared key identification information notification from protocol conversion section 210-1, key notification section 213-2 transmits this shared key identification information notification to AP 110-2 (step S203).
[0092] When the key acquisition unit 112 of AP 110-2 receives the shared key identification information notification from the protocol conversion unit 210-2, it extracts the shared key identification information SK_ID contained in the shared key identification information notification and sends a key acquisition request containing the shared key identification information SK_ID to the protocol conversion unit 210-2 (step S204).
[0093] When the key storage unit 216-2 of the protocol conversion unit 210-2 receives the key acquisition request from the AP 110-2, it acquires the shared key SK identified by the shared key identification information SK_ID included in the key acquisition request from the shared key storage area and transmits the acquired shared key SK to the AP 110-2 (step S205). This allows the slave AP (AP 110-2) to obtain the same shared key SK as the master AP.
[0094] As described above, the master AP that has acquired the shared key SK and the shared key identification information SK_ID notifies the protocol conversion unit 210-1 of the shared key identification information SK_ID in a callback manner, and the shared key identification information SK_ID is notified to the slave AP via the protocol conversion units 210-1 and 210-2. This makes it possible for the master AP to notify the slave AP of the shared key identification information SK_ID even if communication between the master AP and the slave AP is not possible.
[0095] <Example of Use of Shared Key> A usage example of the shared key SK shared between the master AP and the slave AP by the shared key usage start process described above will be described with reference to Fig. 6. Fig. 6 shows an example of use when data is shared via shared storage.
[0096] First, AP 110-1 encrypts the data to be shared using the shared key SK and stores the encrypted data in the shared storage. Next, AP 110-2 obtains the encrypted data from the shared storage and decrypts it using the shared key SK. This enables data sharing between the master AP and the slave AP.
[0097] 6 is merely an example, and the use of the shared key SK is not limited to this. For example, the shared key SK may be used for random number generation, encryption, decryption, etc. using the shared key SK as a seed, or for encrypted communication using the shared key SK (for example, asynchronous encrypted communication via a message server, etc.).
[0098] <Switching process> As an example, the following describes the switching process when an error occurs in the key sharing system 30-1 corresponding to a certain key sharing method among one or more key sharing methods that are currently set as the key sharing method in use, and the key sharing system 30-1 switches to another key sharing method, with reference to FIG. 7 .
[0099] The key sharing system 30-1 detects the occurrence of an error (step S301). Various types of errors can occur in the key sharing system 30-1, and this embodiment can target any error, including, for example, the following errors. Note that the error may be, for example, what is called a failure, an abnormality, or the like.
[0100] (1) Error during key request (for example, a communication error when sharing a key with the key sharing system 30-2, an internal error in the key sharing system 30-1 when sharing a key, etc.) (2) Key exhaustion (including exhaustion of keys stored by the key storage unit 216) (3) Computing power exhaustion (4) System error (5) Tamper abnormality Note that, for example, an event may occur in which key sharing becomes impossible due to tapping on the optical fiber cable used by the key sharing system 30-1 corresponding to QKD, and such an event can be detected as a tamper abnormality.
[0101] The key sharing system 30-1 transmits an error notification regarding the error detected in step S301 to the key output unit 220-1 corresponding to itself (step S302). The error notification includes, for example, information indicating the key sharing system 30 in which the error was detected, the content of the error, the cause of the error, etc.
[0102] When the key output unit 220-1 receives the error notification from the key sharing system 30-1, it transmits this error notification to the protocol conversion unit 210-1 (step S303).
[0103] When the error notification unit 214-1 of the protocol conversion unit 210-1 receives the error notification from the key output unit 220-1, it transmits this error notification to the switching unit 215-1 (step S304).
[0104] When switching unit 215-1 of protocol conversion unit 210-1 receives the error notification from error notification unit 214-1, it determines a key sharing scheme to which the key sharing scheme corresponding to key sharing system 30-1 in which the error was detected will be switched (step S305). Here, switching unit 215 can determine the key sharing scheme to which the key sharing scheme will be switched by various methods, but for example, it is considered that switching unit 215 determines the key sharing scheme to which the key sharing scheme will be switched by the following method.
[0105] (a) A key agreement scheme to be switched to is determined according to the error content or cause of the error contained in the error notification. This is a method in which, for example, the error content or cause of the error and the key agreement scheme to be switched to are associated in advance for each key agreement scheme, and the key agreement scheme to be switched to is determined based on this association.
[0106] (b) One key sharing method is selected as the switching destination from among the key sharing methods other than the key sharing method to be switched to, either randomly or in a predetermined order (predetermined order of priority).
[0107] (c) The AP 110 or the user is notified of the error content or the cause of the error contained in the error notification, and the key sharing scheme to be switched to is determined in accordance with an instruction from the AP 110 or an instruction from the user. In this case, the AP 110 or the user can confirm the error content or the cause of the error, and therefore an appropriate key sharing scheme can be determined as the switchover destination in accordance with the error content or the cause of the error.
[0108] Note that the above determination methods are merely examples, and the key agreement scheme to be switched to may be determined by various other methods. Furthermore, for example, if the key accumulation unit 216 has stored keys in a key storage area, it may be determined that the key acquisition source for the key agreement scheme corresponding to the key agreement system 30 in which the error was detected is switched to the stored keys in the key storage area. This allows the stored keys to be used until they are exhausted, and then the key agreement scheme can be switched after the stored keys are exhausted. The following description will be given assuming that the key agreement scheme to be switched to has been determined.
[0109] The switching unit 215-1 of the protocol conversion unit 210-1 sets the key sharing method corresponding to the key sharing system 30-1 in which the error was detected as the key sharing method to be switched to, and the key sharing method determined in step S305 above as the key sharing method to be switched to, and sends a switching notification to the key request acceptance unit 211-1 containing information indicating the key sharing method to be switched to and information indicating the key sharing method to be switched to (step S306).
[0110] When the key request receiving unit 211-1 of the protocol conversion unit 210-1 receives a switching notification from the switching unit 215-1, it switches the key sharing method to be switched from among one or more key sharing methods currently in use to the key sharing method to be switched to, based on the information included in the switching notification indicating the key sharing method to be switched to and the information indicating the key sharing method to be switched to (step S307).
[0111] Furthermore, the switching unit 215-1 of the protocol conversion unit 210-1 transmits the switching notification to the protocol conversion unit 210-2 (step S308).
[0112] When switching unit 215-2 of protocol conversion unit 210-2 receives the switching notification from protocol conversion unit 210-2, it transmits this switching notification to key request acceptance unit 211-2 (step S309).
[0113] When the key request receiving unit 211-2 of the protocol conversion unit 210-2 receives a switching notification from the switching unit 215-2, it switches the key sharing method to be switched from among one or more key sharing methods currently set as the key sharing method in use to the key sharing method to be switched to, based on the information contained in the switching notification indicating the key sharing method to be switched to and the information indicating the key sharing method to be switched to (step S310).
[0114] As described above, if an error or the like occurs in one key sharing system 30 and that key sharing system 30 is no longer able to share a key, it is possible to switch to generating a key in another key sharing system 30. Also, if an accumulated key exists, it is also possible to switch to using the accumulated key. Therefore, even if the key sharing system 30 becomes unavailable, it is possible to continue deriving the shared key, and the AP 110 can continue using the shared key.
[0115] <Hardware Configuration Example> The terminal device 10, key server 20, and key sharing system 30 corresponding to QKD included in the key providing system 1 according to the above embodiment can be realized, for example, by the hardware configuration of a computer 500 shown in Fig. 8. The computer 500 shown in Fig. 8 has an input device 501, a display device 502, an external I / F 503, a communication I / F 504, a processor 505, and a memory device 506. Each of these pieces of hardware is connected to each other so as to be able to communicate with each other via a bus 507.
[0116] The input device 501 is, for example, a keyboard, a mouse, a touch panel, various physical buttons, etc. The display device 502 is, for example, a display, a display panel, etc. Note that the computer 500 does not necessarily have to have at least one of the input device 501 and the display device 502, for example.
[0117] The external I / F 503 is an interface with an external device such as a recording medium 503a, etc. Examples of the recording medium 503a include a CD-ROM, a DVD-ROM, an SD memory card, and a USB memory card.
[0118] The communication I / F 504 is an interface for connecting the computer 500 to a communication network. The processor 505 is, for example, a variety of arithmetic devices such as a CPU (Central Processing Unit). The memory device 506 is, for example, a variety of storage devices such as an HDD (Hard Disk Drive), an SSD (Solid State Drive), a RAM (Random Access Memory), a ROM (Read Only Memory), and a flash memory.
[0119] 8 is an example and is not intended to be limiting. For example, the computer 500 may have multiple processors 505 or multiple memory devices 506, may not have some of the hardware shown in the figure, or may have various types of hardware other than the hardware shown in the figure.
[0120] 1 are stored in a memory device 506 provided in the terminal device 10, and various functions are realized by the processor 505 provided in the terminal device 10 executing various processes using the one or more programs. Similarly, one or more programs realizing the protocol conversion unit 210, key output unit 220, and key sharing system 30 corresponding to a key sharing method (e.g., PSK or KEM) in which an SAE and a KME exist on the same device when modeled similarly to QKD, shown in FIG. 1 are stored in a memory device 506 provided in the key server 20, and various functions are realized by the processor 505 provided in the key server 20 executing various processes using the one or more programs.
[0121] <Summary> As described above, the key providing system 1 according to the above embodiment can provide a shared key that combines keys from one or more key sharing methods to the AP 110 (application program). Moreover, even if the authentication / authorization method and key identification method differ depending on the key sharing method, unified authentication / authorization and key identification are possible, and a shared key that combines keys from multiple key sharing methods can be generated without compromising security.
[0122] Furthermore, even if communication between the master AP and the slave AP is not possible, the master AP that has acquired the shared key can notify the key server 20 of the shared key identification information in a callback manner, thereby notifying the slave AP of the shared key identification information via the key server 20. Therefore, even if communication between the master AP and the slave AP is not possible, it is possible to share the shared key between these APs.
[0123] In addition, in the key providing system 1 according to the above embodiment, if a certain key sharing method becomes unavailable for some reason, it is possible to switch to another key sharing method, thereby increasing the availability of services provided by application programs that use shared keys and improving the quality of services.
[0124] The present invention is not limited to the above-described specifically disclosed embodiments, and various modifications, changes, and combinations with known technologies are possible without departing from the scope of the claims.
[0125] 1 Key provision system 10 Terminal device 20 Key server 30 Key sharing system 110 AP 111 Key request unit 112 Key acquisition unit 113 Key identification information notification unit 210 Protocol conversion unit 211 Key request acceptance unit 212 Key derivation unit 213 Key notification unit 214 Error notification unit 215 Switching unit 216 Key storage unit 220 Key output unit 230 Authentication and authorization management unit 500 Computer 501 Input device 502 Display device 503 External I / F 503a Recording medium 504 Communication I / F 505 Processor 506 Memory device 507 Bus
Claims
1. A key provision system including a first terminal acting as a master in key sharing, a first key server capable of providing a shared key to the first terminal, a second terminal acting as a slave in the key sharing, and a second key server capable of providing a shared key to the second terminal, wherein the first key server has: a first key generation unit configured to, upon receiving a key request from the first terminal, generate the shared key and second identification information identifying the shared key, using one or more keys shared with the second key server by one or more key sharing methods and first identification information identifying each of the one or more keys; a key notification unit configured to transmit a key notification including the shared key and the second identification information to the first terminal; and a first transmission unit configured to, upon receiving the second identification information from the first terminal, transmit the second identification information to the second key server; and the second key server has: a second key generation unit configured to generate the shared key and the second identification information using one or more keys shared with the first key server by the one or more key sharing schemes and first identification information identifying each of the one or more keys; a second transmission unit configured to transmit the second identification information to the second terminal when the second identification information is received from the first key server; and a third transmission unit configured to transmit the shared key identified by the second identification information to the second terminal when a key acquisition request including the second identification information is received from the second terminal.
2. The key provision system of claim 1, wherein the first terminal has a fourth transmitting unit configured to transmit the second identification information included in the key notification to the first key server upon receiving the key notification from the first key server, and the second terminal has a key request unit configured to transmit the key acquisition request including the second identification information to the second key server upon receiving the second identification information from the second key server.
3. A key providing system as described in claim 1 or 2, wherein the shared key is information used for a predetermined process in the first terminal and the second terminal which cannot communicate with each other.
4. A method used in a key provision system including a first terminal acting as a master in key sharing, a first key server capable of providing a shared key to the first terminal, a second terminal acting as a slave in the key sharing, and a second key server capable of providing a shared key to the second terminal, wherein the first key server, upon receiving a key request from the first terminal, executes the following steps: a first key generation procedure for generating the shared key and second identification information identifying the shared key, using one or more keys shared with the second key server by one or more key sharing methods and first identification information identifying each of the one or more keys; a key notification procedure for transmitting a key notification including the shared key and the second identification information to the first terminal; and a first transmission procedure for transmitting the second identification information to the second key server upon receiving the second identification information from the first terminal; a second key generation step of generating the shared key and the second identification information using one or more keys shared with the first key server by the one or more key sharing schemes and first identification information identifying each of the one or more keys; a second transmission step of transmitting the second identification information to the second terminal when the second identification information is received from the first key server; and a third transmission step of transmitting the shared key identified by the second identification information to the second terminal when a key acquisition request including the second identification information is received from the second terminal.
5. A program for causing a computer to function as the first key server or the second key server included in the key providing system according to claim 1.
Citation Information
Patent Citations
Communication device, communication method, and program
JP2015179974A
Methods for information encryption / decryption, encryption key management, a terminal, and a network server
JP2017531967A
Systems and methods for quantum cryptographic key transport
US20040184603A1
Cited By
Key sharing method, device, equipment, medium and program product
CN119299219A
