Communication system, communication device, method, and program

The communication system addresses key identity verification and method unavailability by combining keys from multiple methods, ensuring secure and continuous encrypted communication through unified authentication and method switching.

WO2024185144A1PCT designated stage expired Publication Date: 2024-09-12NIPPON TELEGRAPH & TELEPHONE CORP
View PDF 3 Cites 0 Cited by

Patent Information

Application Number
PCT/JP2023/009154
Authority / Receiving Office
WO · WO
Patent Type
Applications
Current Assignee / Owner
Filing Date
2023-03-09
Publication Date
2024-09-12

AI Technical Summary

Technical Problem

Existing communication systems face challenges in verifying the identity of shared keys across different key sharing methods, leading to potential security vulnerabilities and service disruptions when key sharing methods become unavailable.

Method used

A communication system that generates and verifies shared keys by combining keys from multiple key sharing methods, including QKD, PSK, and KEM, using a unified approach to ensure authentication and authorization, and switches to alternative methods if necessary to maintain service availability.

Benefits of technology

Ensures secure and continuous encrypted communication by verifying key identities and switching between key sharing methods, enhancing security and service availability.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure JP2023009154_12092024_PF_FP_ABST
    Figure JP2023009154_12092024_PF_FP_ABST
Patent Text Reader

Abstract

This communication system according to one aspect of the present disclosure includes a plurality of communication devices. The communication devices each comprise: a key generation unit that is configured to, by using at least one key shared with another communication device through at least one key-sharing scheme and first identification information for identifying the at least one key, generate a shared key for performing encryption communication with the other communication device and second identification information for identifying the shared key; a verification unit configured to verify whether the shared key identified by the second identification information is identical with that of the other communication device; and an encryption communication unit configured to, when the shared key identified by the second identification information has been verified as identical with that of the other communication device, perform encryption communication with the other communication device by using the shared key.
Need to check novelty before this filing date? Find Prior Art

Description

COMMUNICATION SYSTEM, COMMUNICATION DEVICE, METHOD, AND PROGRAM

[0001] The present disclosure relates to a communication system, a communication device, a method, and a 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 considered for generating a key (hereinafter also referred to as a shared key) used to encrypt data transmitted and received between a sender and a receiver by combining keys from one or more key sharing methods, including QKD, etc. However, because the identification information of the key differs depending on the key sharing method, for example, when a key ID is notified from the sender to the receiver, it is necessary to verify that the shared keys identified by the key ID are the same on the sender and receiver.

[0006] The present disclosure has been made in consideration of the above points, and provides a technology that can verify the identity of a key identified by the same key identification information between communication partners.

[0007] A communication system according to one aspect of the present disclosure is a communication system including a plurality of communication devices, each of which has a key generation unit configured to generate a shared key for performing encrypted communication with another communication device and second identification information that identifies the shared key, using one or more keys shared with the other communication device using one or more key sharing methods and first identification information that identifies each of the one or more keys; a verification unit configured to verify whether the shared key identified by the second identification information is the same as that of the other communication device; and an encryption communication unit configured to perform encrypted communication with the other communication device using the shared key if it is verified that the shared key identified by the second identification information is the same as that of the other communication device.

[0008] A technique is provided that can verify the identity of a key identified by the same key identification information between communication partners.

[0009] FIG. 1 is a diagram showing an example of the overall configuration of a communication system according to a first embodiment. FIG. 2 is a diagram showing an example of a detailed functional configuration of an AP according to the first embodiment. FIG. 3 is a diagram showing an example of a detailed functional configuration of a protocol conversion unit according to the first embodiment. FIG. 4 is a sequence diagram showing an example of a key sharing process according to the first embodiment. FIG. 5 is a sequence diagram showing an example of an encrypted communication start process according to the first embodiment. FIG. 6 is a sequence diagram showing an example of a switching process according to the first embodiment. FIG. 7 is a diagram showing an example of a detailed functional configuration of an AP according to a second embodiment. FIG. 8 is a diagram showing an example of a detailed functional configuration of a protocol conversion unit according to the second embodiment. FIG. 9 is a sequence diagram showing an example of a key sharing process according to the second embodiment. FIG. 10 is a sequence diagram showing an example of an encrypted communication start process according to the second embodiment. FIG. 11 is a diagram showing an example of a hardware configuration of a computer.

[0010]

[0013] The following describes various embodiments of the present invention. A communication system 1 is described below that generates a shared key by combining keys from one or more key sharing methods among multiple key sharing methods including QKD, and can verify the identity of a shared key identified by the same key identification information between communication partners. Also described is a case where a key sharing method becomes unavailable for some reason (e.g., an error), and the key sharing method is switched to another key sharing method.

[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 communication system 1 described above makes it possible to generate a shared key that combines keys from one or more key sharing methods, and enables encrypted communication between a sending application and a receiving application using this shared key. Furthermore, even if a certain key sharing method becomes unavailable for some reason (for example, 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, increasing the availability of services).

[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 each of the following embodiments, 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, will be 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] <Problems Related to the Identity of Shared Keys Identified by the Same Key Identification Information> When encrypted communication is performed between a sender and a receiver, the sender notifies the receiver of key identification information (e.g., a key ID) of the shared key used in the encrypted communication, and the receiver uses the shared key identified by the key identification information notified by the sender for the encrypted communication. Therefore, the shared key identified on the sender by the key identification information and the shared key identified on the receiver by the key identification information must be the same, but no mechanism exists for verifying this identity. On the other hand, because the key identification method differs depending on the key agreement method, when a shared key is generated by combining keys from one or more key agreement methods, there is a possibility that different shared keys will be identified on the sender and receiver for the same key identification information.

[0021] Therefore, in the following embodiments, a method for verifying the identity of the shared key identified on the sending side and the receiving side for the same key identification information will be described.

[0022] First Embodiment A first embodiment will be described below.

[0023] <Example of Overall Configuration of Communication System 1 According to First Embodiment> An example of the overall configuration of a communication system 1 according to the first embodiment is shown in FIG. 1. FIG. 1 illustrates, as an example, a communication system 1 in which encrypted communication is performed between point 1 and point 2. The communication system 1 illustrated in FIG. 1 illustrates a case in which a communication device 10-1 is located at point 1 and a communication device 10-2 is located at point 2. The communication system 1 illustrated in FIG. 1 also illustrates key sharing systems 20A-1, 20B-1, 20C-1, and 20D-1, which function as KMEs for key sharing methods that the communication device 10-1 can use, and which correspond to each of these key sharing methods. Similarly, key sharing systems 20A-2, 20B-2, 20C-2, and 20D-2, which function as KMEs for key sharing methods that the communication device 10-2 can use, and which correspond to each of these key sharing methods, are also illustrated.

[0024] Here, it is assumed that key sharing systems 20A-1 and 20A-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 20B-1 and 20B-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 20C-1 and 20C-2, and key sharing systems 20D-1 and 20D-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 20A-1 and 20A-2 correspond to QKD, key sharing systems 20B-1 and 20B-2 correspond to a certain KEM (hereinafter referred to as KEM-A), key sharing systems 20C-1 and 20C-2 correspond to another certain KEM (hereinafter referred to as KEM-B), and key sharing systems 20D-1 and 20D-2 correspond to PSK.

[0025] 1, key sharing system 20A-1 exists separately from communication device 10-1, while key sharing system 20B-1, key sharing system 20C-1, and key sharing system 20D-1 are included in communication device 10-1. The same is true for key sharing systems 20A-2 to 20D-2.

[0026] The communication device 10-1 and the key sharing system 20A-1 are communicably connected, for example, via an intra-site network. Similarly, the communication device 10-2 and the key sharing system 20A-2 are communicably connected, for example, via an intra-site network. Meanwhile, the key sharing system 20B-1, the key sharing system 20C-1, and the key sharing system 20D-1 are realized as functions provided by one or more programs installed in the communication device 10-1. Similarly, the key sharing system 20B-2, the key sharing system 20C-2, and the key sharing system 20D-2 are realized as functions provided by one or more programs installed in the communication device 10-2.

[0027] Hereinafter, when there is no need to distinguish between key sharing systems 20A-1 to 20D-1, they will be referred to as "key sharing system 20-1." Similarly, when there is no need to distinguish between key sharing systems 20A-2 to 20D-2, they will be referred to as "key sharing system 20-2."

[0028] The communication device 10-1 generates a shared key from one or more keys shared between the key sharing systems 20-1 and 20-2, each corresponding to one or more key sharing methods, and performs encrypted communication with the communication device 10-2 using this shared key. The communication device 10-1 includes an application program (hereinafter referred to as AP) 110-1, a protocol conversion unit 120-1, a key output unit 130-1 corresponding to each key sharing system 20-1, and an authentication and authorization management unit 140-1. In the example shown in FIG. 1, the key output unit 130-1 corresponding to the key sharing system 20A-1 is the key output unit 130A-1. Similarly, the key output unit 130-1 corresponding to the key sharing system 20B-1 is the key output unit 130B-1, the key output unit 130-1 corresponding to the key sharing system 20C-1 is the key output unit 130C-1, and the key output unit 130-1 corresponding to the key sharing system 20D-1 is the key output unit 130D-1.

[0029] Similarly, the communication device 10-2 generates a shared key from one or more keys shared between the key sharing systems 20-2 and 20-1, each corresponding to one or more key sharing methods, and performs encrypted communication with the communication device 10-1 using this shared key. The communication device 10-2 includes an AP 110-2, a protocol conversion unit 120-2, a key output unit 130-2 corresponding to each key sharing system 20-2, and an authentication and authorization management unit 140-2. In the example shown in FIG. 1, the key output unit 130-2 corresponding to the key sharing system 20A-2 is the key output unit 130A-2. Similarly, the key output unit 130-2 corresponding to the key sharing system 20B-2 is the key output unit 130B-2, the key output unit 130-2 corresponding to the key sharing system 20C-2 is the key output unit 130C-2, and the key output unit 130-2 corresponding to the key sharing system 20D-2 is the key output unit 130D-2.

[0030] Hereinafter, when there is no need to distinguish between communication device 10-1 and communication device 10-2, they will be referred to as "communication device 10," and when there is no need to distinguish between key sharing system 20-1 and key sharing system 20-2, they will be referred to as "key sharing system 20." Similarly, other devices will be referred to as "AP 110," "protocol conversion unit 120," "key output unit 130," etc.

[0031] Furthermore, when there is no need to distinguish between key sharing systems 20A-1 and 20A-2, they will be referred to as "key sharing system 20A." Similarly, the other systems will be referred to as "key sharing system 20B," "key sharing system 20C," "key sharing system 20D," etc.

[0032] The AP 110 is an application program that uses a shared key to perform encrypted communication with the AP 110 of another communication device 10. In other words, 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.

[0033] The protocol conversion unit 120 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 130 and their key identification information, and transmits (a message representing) a key notification including the shared key and its key identification information to the AP 110. Furthermore, if an error or the like occurs in the key sharing system 20, the protocol conversion unit 120 switches to another key sharing system 20. A detailed example of the functional configuration of the protocol conversion unit 120 will be described later.

[0034] The key output unit 130 has a function of concealing the specific mechanism of the key sharing method executed by the key sharing system 20 corresponding to the key output unit 130, and upon receiving a key request, replies with the key shared by the key sharing system 20 corresponding to the key output unit 130 and its key identification information. In other words, upon receiving a key request from the protocol conversion unit 120, the key output unit 130 replies with a key output including the key shared by the key sharing system 20 corresponding to the key output unit 130 and its key identification information to the protocol conversion unit 120. Note that, since the key output unit 130 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.

[0035] 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 120 and receiving a key notification in response to the key request.

[0036] In addition, if an error or the like occurs in the key sharing system 20 corresponding to the key output unit 130, the key output unit 130 receives an error notification from the key sharing system 20 and transmits the error notification to the protocol conversion unit 120.

[0037] The authentication and authorization management unit 140 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 make a key request (e.g., an application ID, authentication information for the AP 110). The server / client authentication information is information for mutual authentication between the key sharing system 20 at its own base and the key sharing systems 20 at other bases (i.e., mutual authentication between KMEs), such as the server certificate and client certificate of the key sharing systems 20 at other bases that are authorized as connection destinations. The authorization information is information for the key sharing system 20 at its own base to authorize the AP 110 at other bases to use the key, such as information indicating the AP 110 at other bases that the AP 110 at its own base can specify as a communication partner and information indicating the key sharing systems 20 that the AP 110 at other bases can use. The application authentication information, server / client authentication information, and authorization information are stored in a storage device.

[0038] The application authentication information enables the protocol conversion unit 120 to reject key requests from APs other than the predetermined AP 110. Furthermore, the server / client authentication information enables the key sharing system 20 to perform mutual authentication with key sharing systems 20 at other locations, and to reject key sharing with any other key sharing system than the mutually authenticated key sharing system 20. Furthermore, the authorization information enables the key sharing system 20 to reject key sharing with any other key sharing system 20 than the key sharing system 20 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.

[0039] Note that the overall configuration of the communication 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 communication device 10 can use four key sharing methods, and key sharing systems 20A to 20D corresponding to these key sharing methods are shown, but generally, there are as many key sharing systems 20 as there are key sharing methods available to the communication device 10. Specifically, for example, if the communication device 10 can use N key sharing methods, there are N key sharing systems 20 corresponding to the N key sharing methods, respectively.

[0040] Furthermore, the communication network between the communication devices 10 and the communication network between the key sharing systems 20 may be the same, or may be different depending on the key sharing method implemented by the key sharing systems 20. For example, if the key sharing method implemented by a certain key sharing system 20 is QKD, the communication network between the communication devices 10 (APs 110 thereof) is the Internet or the like, and the communication network between the key sharing systems 20 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 20 is KEM or the like, the communication network between the communication devices 10 (APs 110 thereof) and the communication network between the key sharing systems 20 are both the Internet or the like.

[0041] <Example of detailed functional configuration of AP 110 according to first embodiment> An example of detailed functional configuration of the AP 110 according to the first embodiment is shown in Fig. 2. As shown in Fig. 2, the AP 110 according to the first embodiment includes a key request unit 111, a key acquisition unit 112, an encryption communication unit 113, and a key verification unit 114.

[0042] The key request unit 111 transmits to the protocol conversion unit 120 a key request for a shared key to be used for encrypted communication with another AP 110 that is to be the communication partner.

[0043] When the key acquisition unit 112 receives a key notification from the protocol conversion unit 120, it acquires the shared key and its key identification information included in the key notification. Note that, hereinafter, the key identification information of the shared key is also referred to as "shared key identification information."

[0044] The encrypted communication unit 113 performs encrypted communication using a shared key shared with another AP 110 as a communication partner. If the encrypted communication unit 113 is the sender when starting the encrypted communication, the encrypted communication unit 113 transmits shared key identification information of the shared key used for the encrypted communication to the receiver.

[0045] The key verification unit 114 verifies whether the shared key identified by the shared key identification information is the same as that of the communication partner. That is, the key verification unit 114 verifies whether the shared key identified on the sending side by the shared key identification information transmitted from the sending side to the receiving side is the same as the shared key identified on the receiving side by the shared key identification information. Specific examples of verification methods will be described later.

[0046] <Detailed Functional Configuration Example of Protocol Conversion Unit 120 According to First Embodiment> A detailed functional configuration example of the protocol conversion unit 120 according to the first embodiment is shown in Fig. 3. As shown in Fig. 3, the protocol conversion unit 120 according to the first embodiment includes a key request acceptance unit 121, a key derivation unit 122, a key notification unit 123, an error notification unit 124, a switching unit 125, and a key accumulation unit 126.

[0047] The key request receiving unit 121 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 121 also transmits the key request to the key output unit 130 corresponding to one or more key sharing methods (key sharing systems 20) currently in use.

[0048] The key request accepting unit 121 also receives a switching notification from the switching unit 125, and switches the currently used key sharing scheme to the new key sharing scheme based on the information included in the switching notification. The key request accepting unit 121 then transmits the switching notification to the other communication device 10.

[0049] The key derivation unit 122 receives key outputs from each of the one or more key output units 130, 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 122 also transmits the key outputs including the shared key and shared key identification information to the key notification unit 123.

[0050] The key notification unit 123 receives the key output from the key derivation unit 122, extracts the shared key and shared key identification information contained in the key output, and then transmits a key notification containing the shared key and shared key identification information to the AP 110.

[0051] The error notification unit 124 receives an error notification from the key output unit 130 and transmits the error notification to the switching unit 125 .

[0052] The switching unit 125 receives an error notification from the key output unit 130, 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 121 that includes information indicating the key sharing method to be switched to and the key sharing method to which it will be switched.

[0053] When a key sharing method that allows key storage is being used, the key storage unit 126 stores the key generated by that key sharing method and its key identification information in a storage device. Hereinafter, a key stored in a storage device will also be referred to as a stored key. The key storage unit 126 is not an essential component, and the protocol conversion unit 120 does not necessarily need to include the key storage unit 126.

[0054] <Key sharing process according to the first embodiment> Assuming that AP 110-1 performs encrypted communication with AP 110-2, the key sharing process for sharing a shared key between AP 110-1 and AP 110-2 will be described below with reference to Fig. 4. Note that AP 110-1 corresponds to the initiator, and AP 110-2 corresponds to the responder.

[0055] 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).

[0056] When the key request receiving unit 121-1 of the protocol conversion unit 120-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 121-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.

[0057] The key request receiving unit 121-1 of the protocol conversion unit 120-1 transmits the key request to one or more key output units 130 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 121-1 transmits the key request to the key output unit 130A-1 corresponding to the key sharing system 20A-1 that performs key sharing by QKD, the key output unit 130B-1 corresponding to the key sharing system 20B-1 that performs key sharing by KEM-A, and the key output unit 130C-1 corresponding to the key sharing system 20C-1 that performs key sharing by KEM-B.

[0058] When each key output unit 130-1 receives a key request from the key request receiving unit 121-1, it transmits the key request to its corresponding key sharing system 20-1 (step S104). For example, when the key output unit 130A-1 receives a key request, the key output unit 130A-1 transmits the key request to the key sharing system 20A-1. Similarly, when the key output unit 130B-1 receives a key request, the key output unit 130B-1 transmits the key request to the key sharing system 20B-1. Similarly, when the key output unit 130C-1 receives a key request, the key output unit 130C-1 transmits the key request to the key sharing system 20C-1.

[0059] When each key sharing system 20-1 receives a key request from its corresponding key output unit 130-1, it authenticates and authorizes itself with the key sharing system 20-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 20-1 and the key sharing system 20-2 perform mutual authentication using the server certificate and client certificate included in the server / client authentication information. The key sharing system 20-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 20-2. For example, if the authorization information includes information indicating the key sharing system 20-2 as a key sharing system 20 that can be used by the AP 110-2 and that can be designated as a communication partner by the AP 110-1 that sent the key request, the key sharing system 20-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 20-1 only refers to the authorization information when determining whether to grant authorization for key use, 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.

[0060] When key sharing is performed between key sharing systems 20-1 and 20-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.

[0061] In step S105, a server certificate and a client certificate are used for mutual authentication between the key sharing systems 20, but this is just an example and is not limiting. Any authentication method can be used for mutual authentication between the key sharing systems 20 in step S105.

[0062] Each key sharing system 20-1 transmits the key and its key identification information shared with the key sharing system 20-2 corresponding to the same key sharing method as itself in step S105 to its corresponding key output unit 130-1 (step S106). Here, the key identification information is information that identifies the key shared with the key sharing system 20-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 depending 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.

[0063] When each key output unit 130-1 receives the key and key identification information from the key sharing system 20-1 corresponding to itself, it transmits a key output including the key and key identification information to the protocol conversion unit 120-1 (step S107).

[0064] When the key derivation unit 122-1 of the protocol conversion unit 120-1 receives the key outputs from each key output unit 130-1, it derives a shared key and shared key identification information from the key and key identification information, etc., included in each of these key outputs (step S108). For example, the key derivation unit 122-1 derives the shared key SK using SK = KDF (secretKey, label, context, key_length). Furthermore, for example, the key derivation unit 122-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.

[0065] 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 122 is different for each key sharing request.

[0066] 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."

[0067] 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).

[0068] Therefore, SK=KDF(sk∥SK1∥SK2, QKD∥KEM-A∥KEM-B, skID∥Sl1∥Sl2, key_length), and SK_ID=skID∥Sl1∥Sl2.

[0069] 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."

[0070] In this case, secretKey=psk||SK1||SK2, context=pskSession||Sl1||Sl2, label=PSK||KEM-A||KEM-B.

[0071] Therefore, SK = KDF(psk||SK1||SK2, pskSession||KEM-A||KEM-B, pskSession||Sl1||Sl2, key_length), and SK_ID = pskSession||Sl1||Sl2.

[0072] 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.

[0073] Meanwhile, each key sharing system 20-2 transmits the key and its key identification information shared with the key sharing system 20-1 corresponding to the same key sharing method as itself in step S105 above to the key output unit 130-2 corresponding to itself (step S109).

[0074] When each key output unit 130-2 receives the key and key identification information from the key sharing system 20-2 corresponding to itself, it transmits a key output including the key and key identification information to the protocol conversion unit 120-2 (step S110).

[0075] When the key derivation unit 122-2 of the protocol conversion unit 120-2 receives the key output from each key output unit 130-2, it derives a shared key and shared key identification information from the key and key identification information, etc., included in each of these key outputs (step S111). Note that the key derivation unit 122-2 derives the shared key SK and shared key identification information SK_ID in the same manner as in step S108 above.

[0076] The key derivation unit 122-1 of the protocol conversion unit 120-1 transmits a key output including the shared key SK and shared key identification information SK_ID derived in the above step S108 to the key notification unit 123-1 (step S112).

[0077] When the key notification unit 123-1 of the protocol conversion unit 120-1 receives the key output from the key derivation unit 122-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 the AP 110-1 (step S113).

[0078] When the key acquisition unit 112-1 of the AP 110-1 receives the key notification from the protocol conversion unit 120-1, it acquires the shared key SK and the shared key identification information SK_ID included in the key notification (step S114).

[0079] Meanwhile, the key derivation unit 122-2 of the protocol conversion unit 120-2 transmits a key output including the shared key SK and shared key identification information SK_ID derived in the above step S111 to the key notification unit 123-2 (step S115).

[0080] When the key notification unit 123-2 of the protocol conversion unit 120-2 receives the key output from the key derivation unit 122-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 AP 110-2 (step S116).

[0081] When the key acquisition unit 112-2 of the AP 110-2 receives the key notification from the protocol conversion unit 120-2, it acquires the shared key SK and the shared key identification information SK_ID included in the key notification (step S117).

[0082] As a result, the shared key SK and the shared key identification information SK_ID are shared between the AP 110-1 and the AP 110-2, and encrypted communication can be performed using the shared key SK as an encryption key.

[0083] Note that when sharing a key in step S105 above, it is not limited to generating a new key between the key sharing systems 20. For example, if the key storage unit 126 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 20, the key output unit 130 may transmit an acquisition request for the stored key to the key storage unit 126. As a result, the key storage unit 126 returns the stored key to the key output unit 130, and the key output unit 130 may transmit a key output including the stored key to the key derivation unit 122.

[0084] <Encrypted communication start process according to the first embodiment> Assuming that AP 110-1 performs encrypted communication with AP 110-2 as an example, the encrypted communication start process for starting the encrypted communication will be described below with reference to Fig. 5. Note that AP 110-1 corresponds to the initiator, and AP 110-2 corresponds to the responder.

[0085] First, the encryption communication unit 113-1 of the AP 110-1 transmits the shared key identification information SK_ID of the shared key SK used for encrypted communication with the AP 110-2 to the AP 110-2 (step S201).The encryption communication unit 113-1 of the AP 110-1 also passes the shared key identification information SK_ID transmitted to the AP 110-2 in step S201 to the key verification unit 114-1 (step S202).

[0086] When the encryption communication unit 113-2 of the AP 110-2 receives the shared key identification information SK_ID from the AP 110-1, it passes this shared key identification information SK_ID to the key verification unit 114-2 (step S203).

[0087] Next, the key verification unit 114-1 of AP 110-1 and the key verification unit 114-2 of AP 110-2 verify whether the shared key identified by the shared key identification information SK_ID is the same as that of the communication partner (step S204). An example of the verification method of this step will be described below. Note that, below, the shared key identified by the shared key identification information SK_ID in AP 110-1 will be referred to as "SK_I", and the shared key identified by the shared key identification information SK_ID in AP 110-2 will be referred to as "SK_R".

[0088] Verification Method Example 1: According to the following steps 1-1 to 1-3, it is verified whether the shared key identified by the shared key identification information SK_ID is the same as that of the communication partner.

[0089] Step 1-1: The key verification unit 114-1 of the AP 110-1 checks whether HASH_I=H 2 (SK_ID||H 1 Similarly, the key verification unit 114-2 of the AP 110-2 calculates HASH_R=H 2 (SK_ID||H 1 (SK_R)) where H 1 , H 2 is a hash function. 1 = H 2 may be.

[0090] Step 1-2: The key verification unit 114-1 of the AP 110-1 sends HASH_I to the AP 110-2.

[0091] Step 1-3: The key verification unit 114-2 of the AP 110-2 verifies whether HASH_I=HASH_R, and if HASH_I=HASH_R, the verification is successful, otherwise it is unsuccessful.The key verification unit 114-2 of the AP 110-2 then transmits information indicating the verification result (verification success or verification failure) to the AP 110-1.

[0092] Verification method example 2: In the above verification method example 1, the identification information of AP 110 (e.g., application ID, etc.) is not used when calculating the hash value, but the hash value may be calculated using the identification information of AP 110.

[0093] For example, in the above procedure 1-1, the key verification unit 114-1 of the AP 110-1 verifies HASH_I=H 2 (AP1_ID||AP2_ID||SK_ID||H 1 Similarly, the key verification unit 114-2 of the AP 110-2 calculates HASH_R=H 2 (AP1_ID||AP2_ID||SK_ID||H 1 (SK_R)) is calculated, where AP1_ID is identification information (for example, an application ID) of AP 110-1, and AP2_ID is identification information (for example, an application ID) of AP 110-2.

[0094] Verification Method Example 3 In the above-described verification method example 3, the identification information of the AP 110 (for example, an application ID) is used to calculate the hash value. However, the hash value may be calculated using a keyed hash (HMAC) algorithm using a secret key shared in advance between the APs 110.

[0095] For example, in the above procedure 1-1, the key verification unit 114-1 of the AP 110-1 verifies HASH_I=H K (SK_ID||H 1 Similarly, the key verification unit 114-2 of the AP 110-2 calculates HASH_R=H K (SK_ID||H 1 (SK_R)) where H 1 is a hash function, H K is a keyed hash function (HMAC) using a secret key K shared in advance between the AP 110-1 and the AP 110-2.

[0096] Verification Method Example 4: According to the following steps 2-1 to 2-3, it is verified whether the shared key identified by the shared key identification information SK_ID is the same as that of the communication partner.

[0097] Step 2-1: The key verification unit 114-1 of the AP 110-1 encrypts the shared key identification information SK_ID with the shared key SK_I and transmits it to the AP 110-2. Hereinafter, the shared key identification information SK_ID encrypted with the shared key SK_I will be represented as Enc(SK_ID, SK_I).

[0098] Step 2-2: When the key verification unit 114-2 of the AP 110-2 receives Enc(SK_ID, SK_I), it decrypts Enc(SK_ID, SK_I) with the shared key SK_R. Hereinafter, Enc(SK_ID, SK_I) decrypted with the shared key SK_R will be referred to as Dec(Enc(SK_ID, SK_I), SK_R).

[0099] Step 2-3: The key verification unit 114-2 of AP 110-2 verifies whether SK_ID=Dec(Enc(SK_ID, SK_I), SK_R) and determines that the verification is successful if SK_ID=Dec(Enc(SK_ID, SK_I), SK_R) and that the verification is unsuccessful if not.Then, the key verification unit 114-2 of AP 110-2 transmits information indicating the verification result (verification successful or verification unsuccessful) to AP 110-1.

[0100] By the above verification method, it is verified whether or not the shared keys identified by the same shared key identification information SK_ID between the AP 110-1 and the AP 110-2 are the same.

[0101] Next, the key verification unit 114-1 of the AP 110-1 passes the verification result of step S204 to the encryption communication unit 113-1 (step S205). Similarly, the key verification unit 114-2 of the AP 110-2 passes the verification result of step S204 to the encryption communication unit 113-2 (step S206).

[0102] If the verification result in step S204 indicates success, the encrypted communication units 113-1 and 113-2 of AP 110-1 and 110-2 start encrypted communication using the shared key SK identified by the shared key identification information SK_ID (step S207). As a result, encrypted communication starts only if the shared keys identified by the same shared key identification information SK_ID are the same between the initiator and the responder.

[0103] <Switching process according to the first embodiment> As an example, the following describes the switching process when an error occurs in the key sharing system 20-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 20-1 switches to another key sharing method, with reference to FIG. 6 .

[0104] The key sharing system 20-1 detects the occurrence of an error (step S301). Various types of errors can occur in the key sharing system 20-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.

[0105] (1) Error during key request (for example, a communication error when sharing a key with the key sharing system 20-2, an internal error in the key sharing system 20-1 when sharing a key, etc.) (2) Key exhaustion (including exhaustion of keys stored by the key storage unit 126) (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 20-1 corresponding to QKD, and such an event can be detected as a tamper abnormality.

[0106] The key sharing system 20-1 transmits an error notification regarding the error detected in step S301 to the key output unit 130-1 corresponding to itself (step S302). The error notification includes, for example, information indicating the key sharing system 20 in which the error was detected, the content of the error, the cause of the error, etc.

[0107] When the key output unit 130-1 receives the error notification from the key sharing system 20-1, it transmits this error notification to the protocol conversion unit 120-1 (step S303).

[0108] When the error notification unit 124-1 of the protocol conversion unit 120-1 receives the error notification from the key output unit 130-1, it transmits this error notification to the switching unit 125-1 (step S304).

[0109] When switching unit 125-1 of protocol conversion unit 120-1 receives the error notification from error notification unit 124-1, it determines a key sharing scheme to which the key sharing scheme corresponding to key sharing system 20-1 in which the error was detected is to be switched (step S305). Here, switching unit 125 can determine the key sharing scheme to which the key sharing scheme is to be switched by various methods, but for example, it is considered that switching unit 125 determines the key sharing scheme to which the key sharing scheme is to be switched by the following method.

[0110] (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.

[0111] (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).

[0112] (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.

[0113] 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 storage unit 126 stores keys, it may be determined that the key acquisition source for the key agreement scheme corresponding to the key agreement system 20 in which the error was detected is switched to the stored key. This allows the stored key to be used until it is exhausted, and then the key agreement scheme is switched after the stored key is exhausted. The following description will be given assuming that the key agreement scheme to be switched to has been determined.

[0114] The switching unit 125-1 of the protocol conversion unit 120-1 sets the key sharing method corresponding to the key sharing system 20-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 121-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).

[0115] When the key request receiving unit 121-1 of the protocol conversion unit 120-1 receives a switching notification from the switching unit 125-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 indicating the key sharing method to be switched to contained in the switching notification and the information indicating the key sharing method to be switched to (step S307).

[0116] Furthermore, the switching unit 125-1 of the protocol conversion unit 120-1 transmits the switching notification to the protocol conversion unit 120-2 (step S308).

[0117] When switching unit 125-2 of protocol conversion unit 120-2 receives the switching notification from protocol conversion unit 120-2, it transmits this switching notification to key request acceptance unit 121-2 (step S309).

[0118] When the key request receiving unit 121-2 of the protocol conversion unit 120-2 receives a switching notification from the switching unit 125-2, 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 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).

[0119] As described above, if an error or the like occurs in one key sharing system 20 and that key sharing system 20 is no longer able to share a key, it is possible to switch to generating a key in another key sharing system 20. Also, if an accumulated key exists, it is also possible to switch to using the accumulated key. Therefore, even if the key sharing system 20 becomes unavailable, it is possible to continue deriving the shared key required for encrypted communication, and it is possible to continue the services provided by the AP 110.

[0120] Second Embodiment A second embodiment will be described below. In the second embodiment, a case will be described in which the key derivation unit 122 verifies whether or not the shared key identified by the shared key identification information is the same as that of the communication partner. Note that in the second embodiment, differences from the first embodiment will be described, and a description of components that may be the same as those in the first embodiment will be omitted.

[0121] <Example of a detailed functional configuration of the AP 110 according to the second embodiment> An example of a detailed functional configuration of the AP 110 according to the second embodiment is shown in Fig. 7. As shown in Fig. 7, the AP 110 according to the second embodiment differs from the first embodiment in that it does not include a key verification unit 114. Other points are the same as those of the first embodiment.

[0122] <Detailed Functional Configuration Example of Protocol Conversion Unit 120 According to Second Embodiment> A detailed functional configuration example of the protocol conversion unit 120 according to the second embodiment is shown in Fig. 8. As shown in Fig. 8, the key derivation unit 122 of the protocol conversion unit 120 according to the second embodiment includes a key verification unit 127.

[0123] The key verification unit 127 verifies whether the shared key identified by the shared key identification information is the same as that of the communication partner. In other words, the key verification unit 127 corresponds to the key verification unit 114 included in the AP 110 according to the first embodiment.

[0124] <Key sharing process according to the second embodiment> Assuming that AP 110-1 performs encrypted communication with AP 110-2, the key sharing process for sharing a shared key between AP 110-1 and AP 110-2 will be described below with reference to Fig. 9. Note that AP 110-1 corresponds to the initiator, and AP 110-2 corresponds to the responder.

[0125] First, steps S401 to S411 are similar to steps S101 to S111 in FIG. 4, respectively, and therefore their description will be omitted.

[0126] Next, key verification unit 114-1 included in key derivation unit 122-1 of protocol conversion unit 120-1 and key verification unit 114-2 included in key derivation unit 122-2 of protocol conversion unit 120-2 verify whether the shared key identified by the shared key identification information SK_ID is the same as that of the communication partner (step S412). This can be done by using the same method as in step S204 of FIG. 5, with SK_I being the shared key derived by key derivation unit 122-1 in step S408 and SK_R being the shared key derived by key derivation unit 122-1 in step S411.

[0127] If the verification result of step S412 indicates success, step S413 and subsequent steps are executed. Note that steps S413 to S418 are similar to steps S112 to S117 in Fig. 4, respectively, and therefore their description will be omitted. As a result, the shared key SK and its shared key identification information SK_ID are acquired by AP 110 only when the shared keys identified by the same shared key identification information SK_ID are the same between the initiator and the responder.

[0128] <Encrypted communication start process according to the second embodiment> Assuming that AP 110-1 performs encrypted communication with AP 110-2 as an example, the encrypted communication start process for starting the encrypted communication will be described below with reference to Fig. 10. Note that AP 110-1 corresponds to the initiator, and AP 110-2 corresponds to the responder.

[0129] First, the encryption communication unit 113-1 of AP 110-1 transmits the shared key identification information SK_ID of the shared key SK to be used for encrypted communication with AP 110-2 to AP 110-2 (step S501). Then, the encryption communication unit 113-1 of AP 110-1 and the encryption communication unit 113-2 of AP 110-2 start encrypted communication using the shared key SK identified by the shared key identification information SK_ID (step S502). This starts encrypted communication between the initiator and the responder using the same shared key identified by the same shared key identification information SK_ID.

[0130] <Hardware Configuration Example> The communication device 10 and the key sharing system 20 corresponding to QKD included in the communication system 1 according to the first and second embodiments can be realized, for example, by the hardware configuration of a computer 500 shown in Fig. 11. The computer 500 shown in Fig. 11 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 via a bus 507 so as to be able to communicate with each other.

[0131] 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.

[0132] 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.

[0133] 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.

[0134] 11 is merely 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.

[0135] In addition, one or more programs that realize the key sharing system 20 corresponding to a key sharing method (e.g., PSK, KEM, etc.) in which the SAE and KME exist on the same device when modeled in the same manner as the AP 110, protocol conversion unit 120, key output unit 130, and QKD shown in Figure 1 are stored in the memory device 506, and various functions are realized by the processor 505 executing various processes using these one or more programs.

[0136] <Summary> As described above, the communication system 1 according to the first and second embodiments enables encrypted communication between APs 110 (application programs) using a shared key that combines keys from one or more key sharing methods. Furthermore, 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, making it possible to generate a shared key that combines keys from multiple key sharing methods without compromising security. Furthermore, since it is possible to verify the identity of the shared keys identified by the sender and receiver for the same shared key identification information, it is possible to guarantee that the shared key is correct.

[0137] Furthermore, in addition to the above, in the communication system 1 according to the first and second embodiments, if a certain key agreement method becomes unavailable for some reason, it is possible to switch to another key agreement method. This makes it possible to increase the availability of services provided by application programs that use encrypted communications, thereby improving the quality of services.

[0138] 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.

[0139] 1 Communication system 10 Communication device 20 Key sharing system 110 AP 111 Key request unit 112 Key acquisition unit 113 Encryption communication unit 114 Key verification unit 120 Protocol conversion unit 121 Key request reception unit 122 Key derivation unit 123 Key notification unit 124 Error notification unit 125 Switching unit 126 Key storage unit 127 Key verification unit 130 Key output unit 140 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 communications system including a plurality of communications devices, each of which has: a key generation unit configured to generate a shared key for performing encrypted communications with the other communications devices and second identification information for identifying the shared key, using one or more keys shared with the other communications devices by one or more key sharing methods and first identification information for identifying each of the one or more keys; a verification unit configured to verify whether the shared key identified by the second identification information is the same as that of the other communications devices; and an encryption communication unit configured to perform encrypted communications with the other communications devices using the shared key when it is verified that the shared key identified by the second identification information is the same as that of the other communications devices.

2. The communication system of claim 1, wherein the verification unit is configured to verify whether the shared key identified by the second identification information is the same as that of the other communication device by verifying whether a hash value of information combining the second identification information and a hash value of a shared key identified by the second identification information in the own device matches a hash value of information combining the second identification information and a hash value of a shared key identified by the second identification information in the other communication device.

3. The communication system of claim 1, wherein the verification unit is configured to verify whether the shared key identified by the second identification information is the same as that of the other communication device by verifying whether a hash value generated by a keyed hash function of information combining the second identification information and a hash value of a shared key identified by the second identification information in the other communication device matches a hash value generated by the keyed hash function of information combining the second identification information and a hash value of a shared key identified by the second identification information in the other communication device.

4. The communication system of claim 1, wherein the verification unit is configured to verify whether the shared key identified by the second identification information is the same as that of the other communication device by verifying whether a hash value of information combining third identification information identifying an application that performs the encrypted communication in the own device, fourth identification information identifying an application that performs the encrypted communication in the other communication device, the second identification information, and a hash value of a shared key identified by the second identification information in the own device matches a hash value of information combining the third identification information, the fourth identification information, the second identification information, and a hash value of a shared key identified by the second identification information in the other communication device.

5. The communication system described in claim 1, wherein the verification unit is configured to verify whether the shared key identified by the second identification information is the same as that of the other communication device by verifying whether the ciphertext obtained by encrypting the second identification information with the shared key identified by the second identification information in an initiator side communication device and decrypting the ciphertext obtained by decrypting the second identification information with the shared key identified by the second identification information in a responder side communication device matches the second identification information.

6. A communications device having: a key generation unit configured to generate a shared key for performing encrypted communications with another communications device and second identification information for identifying the shared key, using one or more keys shared with the other communications device by one or more key sharing methods and first identification information for identifying each of the one or more keys; a verification unit configured to verify whether the shared key identified by the second identification information is the same as that of the other communications device; and an encryption communication unit configured to perform encrypted communications with the other communications device using the shared key when it is verified that the shared key identified by the second identification information is the same as that of the other communications device.

7. A method used in a communication system including a plurality of communication devices, wherein the communication device executes the following steps: a key generation step in which the communication device generates a shared key for performing encrypted communication with the other communication device and second identification information for identifying the shared key, using one or more keys shared with the other communication device by one or more key sharing methods and first identification information for identifying each of the one or more keys; a verification step in which the shared key identified by the second identification information is the same as that of the other communication device; and an encryption communication step in which, when it is verified that the shared key identified by the second identification information is the same as that of the other communication device, the communication device performs encrypted communication with the other communication device using the shared key.

8. A program for causing a computer to function as a communication device included in the communication system according to any one of claims 1 to 5.

Citation Information

Patent Citations

  • Key exchange device, key exchange system, and key exchange program

    JP2011228970A

  • Communication apparatus, communication system, key sharing method, and program

    JP2018207348A

  • Rollover of encryption keys in a packet-compatible network

    US20220029800A1