Authentication system, equipment, method, and program
By fragmenting public keys and using hash values for authentication, the method optimizes data communication and enhances security in key sharing systems, addressing inefficiencies and vulnerabilities across different protocols.
Patent Information
- Application Number
- US19/157495
- Authority / Receiving Office
- US · United States
- Patent Type
- Applications(United States)
- Current Assignee / Owner
- Filing Date
- 2023-03-09
- Publication Date
- 2026-11-26
AI Technical Summary
Existing key sharing methods, such as quantum key distribution (QKD), face inefficiencies in data communication due to large public key sizes, and lack of standardized authentication and key identification methods, leading to potential security vulnerabilities when combining different key sharing protocols.
A method is introduced to divide public keys into fragments based on communication status and transmit these fragments, along with a hash value, to optimize data communication during mutual authentication, while ensuring secure key sharing and switching between different key sharing methods.
This approach optimizes data communication for mutual authentication, enhances security by standardizing authentication methods across different key sharing protocols, and ensures continuous encrypted communication even when one method fails.
Smart Images

Figure US20260379673A1-D00000_ABST
Abstract
Description
TECHNICAL FIELD
[0001] The present disclosure relates to an authentication system, a device, a method, and a program.BACKGROUND ART
[0002] A key sharing protocol called quantum key distribution (QKD) is known (see, for example, Non-Patent Literatures 1 and 2). QKD is a technique in which a key for concealing communication between two parties is shared by quantum teleportation, and data encrypted using the key is transmitted and received (encrypted communication).
[0003] In QKD, an entity that performs key sharing (key management entity (KME) ) and an entity that performs data transmission and reception (secure application entity (SAE) ) exist on different devices, and keys are shared and accumulated between KMEs using an optical communication network achieved by an optical fiber cable or the like. Then, when encrypted communication is performed between SAEs, the SAE on the transmission side acquires a key and a key ID from the KME corresponding thereto, and notifies the SAE on the reception side of the key ID. In the SAE on the reception side, the key identified by the key ID notified from the SAE on the transmission side is acquired from the KME corresponding to the SAE on the reception side. Thus, the same key is obtained between the SAE on the transmission side and the SAE on the reception side, and encrypted communication can be performed.CITATION LISTNon-Patent LiteratureNon-Patent Literature 1: ETSI GS QKD 004 V2.1.1 (2020-08) Quantum Key Distribution (QKD); Application Interface
[0005] Non-Patent Literature 2: ETSI GS QKD 014 V1.1.1 (2019-02) Quantum Key Distribution (QKD); Protocol and data format of REST-based key delivery APISUMMARY OF INVENTIONTechnical Problem
[0006] In recent years, a method of generating a key (hereinafter referred to as a shared key) used for encrypting data transmitted and received between a transmission side and a reception side by combining keys of one or more key sharing methods including QKD and the like has been studied. On the other hand, in a key sharing method, mutual authentication is generally performed between the transmission side and the reception side by some method prior to sharing of the key, and signature verification based on public key cryptography or the like is widely used as a method of this mutual authentication.
[0007] However, for example, in a case where the data size of the public key necessary for signature verification is large, data communication between the transmission side and the reception side at the time of authentication may be inefficient.
[0008] The present disclosure has been made in view of the above points, and provides a technology capable of optimizing the data communication amount required for mutual authentication using a public key.Solution to Problem
[0009] An authentication system according to one aspect of the present disclosure is an authentication system including a first device to be authenticated and a second device that authenticates the first device, in which the first device includes a key generation unit configured to generate a key pair of a signature key and a public key used for the authentication, a division unit configured to divide the public key into a plurality of fragments according to a communication status of a communication path with the second device, and a first transmission unit configured to transmit each of the plurality of fragments to the second device, and the second device includes a restoration unit configured to restore the public key from all the fragments when all the fragments are received, and a storage unit configured to store the public key and a hash value of the public key as authentication information of the first device.Advantageous Effects of Invention
[0010] There is provided a technology capable of optimizing a data communication amount required for mutual authentication using a public key.BRIEF DESCRIPTION OF DRAWINGS
[0011] FIG. 1 is a diagram illustrating an example of an overall configuration of a communication system according to an embodiment.
[0012] FIG. 2 is a diagram illustrating an example of a detailed functional configuration of a protocol conversion unit according to the embodiment.
[0013] FIG. 3 is a diagram illustrating an example of a functional configuration of a key sharing system according to the embodiment.
[0014] FIG. 4 is a sequence diagram illustrating an example of public key transmission and storage processing according to the embodiment.
[0015] FIG. 5 is a sequence diagram illustrating an example of key sharing processing according to the embodiment.
[0016] FIG. 6 is a sequence diagram illustrating an example of encrypted communication start processing according to the embodiment.
[0017] FIG. 7 is a sequence diagram illustrating an example of switching processing according to the embodiment.
[0018] FIG. 8 is a diagram illustrating an example of a hardware configuration of a computer.DESCRIPTION OF EMBODIMENTS
[0019] Hereinafter, an embodiment of the present invention will be described. Hereinafter, a communication system 1 capable of generating a shared key by combining keys of one or more key sharing methods among a plurality of key sharing methods including QKD and optimizing the data communication amount required for mutual authentication using a public key when keys of the key sharing methods are shared will be described. In addition, a case of switching the key sharing method to another key sharing method when a certain key sharing method becomes unable to be used for Some reason at this time (for example, an error or the like) will also be described.
[0020] Here, examples of the key sharing method include a pre-shared key (PSK) method, a key exchange mechanism (KEM), and the like, in addition to QKD. KEM is, for example, a key sharing method using an encryption system such as RSA, elliptical encryption, or post quantum cryptography (PQC), and in particular, KEM using post quantum cryptography is a type of post-quantum cryptography-based key distribution (PQKD), and is also called PQC-KEM or the like. Hereinafter, it is assumed that QKD, PSK, and KEM (PQC-KEM) are used as key sharing methods, and a shared key is generated by combining keys of one or more key sharing methods among these key sharing methods. Note that the key sharing method may be referred to as a key sharing protocol, a key exchange protocol, or the like, and refers to a technique for sharing the same key between the two.
[0021] With the communication system 1 described above, it is possible to generate a shared key obtained by combining keys of one or more key sharing methods, and encrypted communication can be performed between the application on the transmission side and the application on the reception side by the shared key. Furthermore, for example, even in a case where the data size of the public key is large, an upper limit exists in the data amount of the communication path, or the like, it is possible to optimize the data communication amount required for mutual authentication using the public key at the time of sharing the key of each key sharing method. Furthermore, even if a certain key sharing method cannot be used for some reason (for example, an error or the like) , it is possible to switch to another key sharing method, and thus it is possible to ensure continuity of a service that requires encrypted communication (in other words, availability of the service can be increased).Problems in Combining Keys of Plurality of Key Sharing Methods
[0022] In a case where keys of a plurality of key sharing methods are combined, authentication-certification methods and key identification methods are different depending on the key sharing method, and thus it is considered that security is not sufficient only by simply combining keys of a plurality of key sharing methods.
[0023] For example, in the KEM, a specific authentication-certification method is entrusted to an application, but authentication-certification can be regarded as being integrated, and if mutual authentication is performed, authorization (access control) using a key can be treated as being performed at the same time. This is because the KEM generates a key by mutual operation between the transmission side and the reception side by an algorithm based on public key cryptography. On the other hand, in the QKD, a mechanism that gives the SAE access control (authorization) to the key corresponding to the key ID acquired from the KME is not specified, and even if mutual authentication is performed between the SAEs by some authentication method, it is unclear whether the authorization to the key corresponding to the key ID is correctly performed. In addition, in PSK, it can be considered that authentication-certification is performed by setting a key by an administrator, a user, or the like. As described above, the authentication-certification method may be different depending on the key sharing method.
[0024] Further, for example, in the 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 uniquely identifying a key, and a key is indirectly identified by, for example, some information or the like depending on a protocol used for communication with a communication partner. As described above, the key identification method is also different depending on the key sharing method.
[0025] Therefore, in the following embodiment, a method of generating a shared key by combining keys of one or more key sharing methods among a plurality of key sharing methods including OKD without depending on an authentication-certification method or a key identification method will be described. However, in the following embodiment, public key-based signature verification is mainly assumed as a method of mutual authentication.Modeling of Key Sharing Method
[0026] In order to solve the above-described first problem that the authentication-certification method may be different, key sharing methods other than QKD are modeled similarly to QKD. That is, in QKD, there are two entities of a KME that is an entity (that is, an entity that executes processing logic for achieving key sharing at a time) that performs key sharing, and an SAE that is an entity that performs encrypted communication using a key shared between the KMEs. Accordingly, other key sharing methods other than QKD are also separated into two entities of KME and SAE, and modeling similar to QKD is performed.
[0027] For example, in PSK, a part that receives key setting from an administrator, a user, or the like can be modeled as KME, and a part (application) that performs encrypted communication using the key can be modeled as SAE. Similarly, for example, in the KEM, a portion that executes processing for sharing a key with a communication partner can be modeled as the KME, and a portion (application) that performs encrypted communication using the key can be modeled as the SAE.
[0028] Hereinafter, it is assumed that PSK and KEM are modeled in a model that is separated into SAE and KME described above.Transmission Method of Public Key Used for Mutual Authentication
[0029] In recent years, particularly in public key cryptography based on quantum computer resistant cryptography, the data size of the public key tends to increase. On the other hand, due to an increase in devices, terminals, devices, and the like that perform data communication, an upper limit value may be provided for the data communication amount that can be used by each device, terminal, device, and the like. Therefore, it is necessary to efficiently transmit a public key used for mutual authentication.
[0030] Accordingly, in the following embodiment, a method will be described in which the public key is divided into a plurality of fragments according to the communication status of the communication path, and the plurality of fragments is transmitted to a signature verifier in advance, and at the time of authentication, a hash value of the public key is transmitted to the signature verifier to verify the signature. Thus, it is possible to transmit a fragment of the public key to the signature verifier with an appropriate data size according to the communication status of the communication path at that time, and since it is only necessary to transmit the hash value of the public key at the time of authentication, it is possible to suppress the data communication amount at the time of authentication.Overall Configuration Example of Communication System 1
[0031] FIG. 1 illustrates an example of an overall configuration of the communication system 1 according to the embodiment. FIG. 1 illustrates, as an example, the communication system 1 in a case where encrypted communication is performed between a base 1 and a base 2. In the communication system 1 illustrated in FIG. 1, a case where a communication device 10-1 is present in the base 1 and a communication device 10-2 is present in the base 2 is illustrated. Further, in the communication system 1 illustrated in FIG. 1, a key sharing system 20A-1, a key sharing system 20B-1, a key sharing system 20C-1, and a key sharing system 20D-1 that function as a KME of a key sharing method usable by the communication device 10-1, and correspond to each of these key sharing methods are also illustrated. Similarly, a key sharing system 20A-2, a key sharing system 20B-2, a key sharing system 20C-2, and a key sharing system 20D-2 that function as a KME of key sharing methods usable by the communication device 10-2, and correspond to each of these key sharing methods are also illustrated.
[0032] Here, it is assumed that the key sharing system 20A-1 and the key sharing system 20A-2 can share a key by a certain key sharing method (for example, QKD) in which the KME and the SAE exist on different devices. On the other hand, it is assumed that the key sharing system 20B-1 and the key sharing system 20B-2 can share a key by a certain key sharing method (for example, PSK and KEM) in which the KME and the SAE exist on the same device. Similarly, it is assumed that the key sharing system 20C-1 and the key sharing system 20C-2 or the key sharing system 20D-1 and the key sharing system 20D-2 can share a key by a certain key sharing method (for example, PSK and KEM) in which the KME and the SAE exist on the same device. Hereinafter, as an example, it is assumed that the key sharing system 20A-1 and the key sharing system 20A-2 correspond to QKD, the key sharing system 20B-1 and the key sharing system 20B-2 correspond to a certain KEM (hereinafter referred to as KEM-A), the key sharing system 20C-1 and the key sharing system 20C-2 correspond to another certain KEM (hereinafter, referred to as KEM-B), and the key sharing system 20D-1 and the key sharing system 20D-2 correspond to PSK.
[0033] Accordingly, in the example illustrated in FIG. 1, while the key sharing system 20A-1 exists separately from the communication device 10-1, the key sharing system 20B-1, the key sharing system 20C-1, and the key sharing system 20D-1 are included in the communication device 10-1. The same applies to the key sharing system 20A-2 to the key sharing system 20D-2.
[0034] Note that the communication device 10-1 and the key sharing system 20A-1 are communicably connected by, for example, an in-base network or the like. Similarly, the communication device 10-2 and the key sharing system 20A-2 are communicably connected by, for example, an in-base network or the like. On the other hand, the key sharing system 20B-1, the key sharing system 20C-1, and the key sharing system 20D-1 are achieved 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 achieved as functions provided by one or more programs installed in the communication device 10-2.
[0035] Hereinafter, when the key sharing system 20A-1 to the key sharing system 20D-1 are not distinguished, they are referred to as a “key sharing system 20-1”. Similarly, when the key sharing system 20A-2 to the key sharing system 20D-2 are not distinguished, they are referred to as a “key sharing system 20-2”.
[0036] The communication device 10-1 generates a shared key from one or more keys shared between the key sharing system(s) 20-1 and the key sharing system(s) 20-2 corresponding to one or more key sharing methods, and performs encrypted communication with the communication device 10-2 by using the shared key. Here, 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 the key sharing system 20-1, and an authentication-certification management unit 140-1. Note that, in the example illustrated in FIG. 1, the key output unit 130-1 corresponding to the key sharing system 20A-1 is a key output unit 130A-1. Similarly, the key output unit 130-1 corresponding to the key sharing system 20B-1 is a key output unit 130B-1, the key output unit 130-1 corresponding to the key sharing system 20C-1 is a key output unit 130C-1, and the key output unit 130-1 corresponding to the key sharing system 20D-1 is a key output unit 130D-1.
[0037] Similarly, the communication device 10-2 generates a shared key from one or more keys shared between the key sharing system(s) 20-2 and the key sharing system(s) 20-1 corresponding to one or more key sharing methods, and performs encrypted communication with the communication device 10-1 by using the shared key. Here, the communication device 10-2 includes an AP 110-2, a protocol conversion unit 120-2, a key output unit 130-2 corresponding to the key sharing system 20-2, and an authentication-certification management unit 140-2. Note that, in the example illustrated in FIG. 1, the key output unit 130-2 corresponding to the key sharing system 20A-2 is a 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.
[0038] Hereinafter, when the communication device 10-1 and the communication device 10-2 are not distinguished, they are referred to as a “communication device 10”, and when the key sharing system 20-1 and the key sharing system 20-2 are not distinguished, they are referred to as a “key sharing system 20”. The others are similarly expressed as “AP 110”, “protocol conversion unit 120”, “key output unit 130”, and the like.
[0039] Further, when the key sharing system 20A-1 and the key sharing system 20A-2 are not distinguished, they are denoted as a “key sharing system 20A”. The others are similarly referred to as a “key sharing system 20B”, a “key sharing system 20C”, a “key sharing system 20D”, and the like.
[0040] Note that, in the following embodiment, it is assumed that a communication path between the protocol conversion unit 120-1 and the protocol conversion unit 120-2, a communication path between the communication device 10-1 and the key sharing system 20A-1, and a communication path between the communication device 10-2 and the key sharing system 20A-2 are all communication paths on which mutual authentication is obtained. On the other hand, it is assumed that a communication path between the AP 110-1 and the AP 110-2 and a communication path between the key sharing system 20-1 and the key sharing system 20-2 are communication paths on which mutual authentication is not obtained. However, this is an example, and all or part of the communication path between the protocol conversion unit 120-1 and the protocol conversion unit 120-2, the communication path between the communication device 10-1 and the key sharing system 20A-1, and the communication path between the communication device 10-2 and the key sharing system 20A-2 may be communication paths on which mutual authentication is not obtained.
[0041] The AP 110 is an application program that performs encrypted communication with the AP 110 of another communication device 10 by using the shared key. That is, the AP 110 is an application program that functions as an SAE.
[0042] The protocol conversion unit 120 receives (a message indicating) a key request from the AP 110, generates (derives) a shared key by using one or more keys output from one or more key output units 130 and key identification information thereof, and transmits (a message indicating) a key notification including the shared key and key identification information thereof to the AP 110. Further, when an error or the like occurs in the key sharing system 20, the protocol conversion unit 120 switches to another key sharing system 20. Note that a detailed functional configuration example of the protocol conversion unit 120 will be described later.
[0043] The key output unit 130 has a function of concealing a specific mechanism of the key sharing method executed by the key sharing system 20 corresponding to the key output unit 130, and returns a key shared by the key sharing system 20 corresponding to the key output unit 130 itself and its key identification information when receiving a key request. That is, when receiving the key request from the protocol conversion unit 120, the key output unit 130 returns a key output including a 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 the key output unit 130 has a function of concealing a specific mechanism of the key sharing method, and thus may be referred to as, for example, a protocol driver or the like.
[0044] Thus, a specific mechanism of the key sharing method is concealed from the AP 110, and the AP 110 can obtain a shared key by simply making a key request to the protocol conversion unit 120 and by a key notification with respect to the key request.
[0045] Further, when 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.
[0046] The authentication-certification management unit 140 manages application authentication information, server-client authentication information, and certification information. The application authentication information is information for authenticating the AP 110 in the host base, and is, for example, information (example: application ID, authentication information of AP 110) or the like indicating the AP 110 that permits the key request. The server-client authentication information is information for the key sharing system 20 in the host base to perform mutual authentication (that is, mutual authentication between KMEs) with the key sharing system 20 in the other base, and is, for example, information including a public key of the key sharing system 20 in the other base permitted as a connection destination and a hash value thereof. The certification information is information for allowing the key sharing system 20 in the host base to use the key of the AP 110 in the other base, and for example, information indicating the AP 110 in the other base that can be designated as a communication partner in the AP 110 in the host base, and information indicating the key sharing system 20 that can be used by the AP 110 in the other base. Note that the application authentication information, the server-client authentication information, and the certification information are stored in a storage device.
[0047] The application authentication information enables the protocol conversion unit 120 to reject a key request from a source other than the predetermined AP 110. Further, the key sharing system 20 can perform mutual authentication with the key sharing system 20 in the other base by the server-client authentication information, and can reject key sharing with any key sharing system other than the key sharing system 20 that has been mutually authenticated. Furthermore, according to the certification information, the key sharing system 20 can reject key sharing with any key sharing system other than the key sharing system 20 used by the predetermined AP 110 among the APs 110 in the other base, and as a result, it is possible not to authorize a key to an AP other than the predetermined AP 110.
[0048] Note that the overall configuration of the communication system 1 illustrated in FIG. 1 is an example, and the present invention is not limited thereto. For example, in the example illustrated in FIG. 1, it is assumed that the communication device 10 can use four key sharing methods, and the key sharing system 20A to the key sharing system 20D corresponding to these key sharing methods are illustrated. However, in general, the key sharing systems 20 exist as many as the number of key sharing methods that can be used by the communication device 10. Specifically, for example, in a case where the communication device 10 can use N key sharing methods, there are N key sharing systems 20 respectively corresponding to the N key sharing methods.
[0049] In addition, 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 executed by the key sharing system 20. For example, in a case where the key sharing method executed by a certain key sharing system 20 is QKD, the communication network between (the APs 110 of) the communication devices 10 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, when the key sharing method executed by a certain key sharing system 20 is KEM or the like, the communication network between (the AP 110 of) the communication devices 10 and the communication network between the key sharing system 20 are both the Internet or the like.Detailed Functional Configuration Example of Protocol Conversion Unit 120
[0050] FIG. 2 illustrates a detailed functional configuration example of the protocol conversion unit 120 according to the embodiment. As illustrated in FIG. 2, the protocol conversion unit 120 according to the embodiment includes a key request reception 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.
[0051] The key request reception unit 121 receives a key request from the AP 110 and authenticates the AP 110 with reference to the application authentication information. Further, the key request reception unit 121 transmits the key request to the key output unit 130 corresponding to (the key sharing system 20 of) each of one or more key sharing methods currently used.
[0052] Further, the key request reception unit 121 receives the switching notification from the switching unit 125, and switches the key sharing method to be switched among the currently used key sharing methods to the key sharing method of the switching destination on the basis of the information included in the switching notification. Further, the key request reception unit 121 transmits the switching notification to the other communication device 10.
[0053] The key derivation unit 122 receives the key output from each of the one or more key output units 130, and derives the shared key and the shared key identification information from the key included in each of the one or more key outputs, the key identification information, and the like. In addition, the key derivation unit 122 transmits a key output including the shared key and the shared key identification information to the key notification unit 123.
[0054] The key notification unit 123 receives the key output from the key derivation unit 122, extracts the shared key and the shared key identification information included in the key output, and then transmits a key notification including the shared key and the shared key identification information to the AP 110.
[0055] 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.
[0056] The switching unit 125 receives the error notification from the key output unit 130, determines a key sharing method of a switching destination of the key sharing method to be switched, and then transmits, to the key request reception unit 121, a switching notification including information indicating the key sharing method to be switched and the key sharing method of the switching destination.
[0057] When a key sharing method capable of accumulating keys is being used, the key accumulation unit 126 accumulates a key generated by the key sharing method and key identification information thereof in the storage device. Hereinafter, the key accumulated in the storage device is also referred to as an accumulated key. The key accumulation unit 126 is not an essential component, and the protocol conversion unit 120 is not required to include the key accumulation unit 126.Functional Configuration Example of Key Sharing System 20
[0058] FIG. 3 illustrates a functional configuration of the key sharing system 20 according to the embodiment. As illustrated in FIG. 3, the key sharing system 20 according to the embodiment includes a signature key generation unit 201, a public key division unit 202, a public key restoration unit 203, an authentication unit 204, and a key sharing unit 205.
[0059] The signature key generation unit 201 generates a pair of a signature key (secret key) and a public key used for mutual authentication with another key sharing system 20. Note that the signature key generation unit 201 only needs to generate a pair of a signature key and a public key by known public key cryptography.
[0060] The public key division unit 202 divides the public key into a plurality of fragments (hereinafter, also referred to as public key fragments) according to a communication status of a communication path with another key sharing system 20 that is a target of mutual authentication. In addition, the public key division unit 202 transmits each of the plurality of public key fragments to the another key sharing system 20.
[0061] Upon receiving all the public key fragments from another key sharing system 20 that is the target of mutual authentication, the public key restoration unit 203 restores the original public key from these public key fragments. Further, the public key restoration unit 203 passes the public key and a hash value thereof to the authentication-certification management unit 140. Thus, the server-client authentication information including the public key and the hash value thereof is managed by the authentication-certification management unit 140.
[0062] The authentication unit 204 performs mutual authentication with another key sharing system 20. That is, in a case where the authentication unit 204 itself is a signer, the authentication unit calculates a hash value of the public key, and then transmits, to another key sharing system 20 that is the target of mutual authentication, a signed hash value with a secret key corresponding to the public key. On the other hand, in a case where the authentication unit 204 itself is a signature verifier, when receiving a signed hash value from another key sharing system 20 that is the target of mutual authentication, the authentication unit specifies the server-client authentication information including the hash value, and then verifies the signature using the public key included in the specified server-client authentication information.
[0063] When mutual authentication with another key sharing system 20 is successful, the key sharing unit 205 generates and shares a key by a key sharing method corresponding to itself and the key sharing system 20.Public Key Transmission and Storage Processing
[0064] Hereinafter, as an example, processing of transmitting and storing a public key used when the key sharing system 20-2 authenticates the key sharing system 20-1 will be described with reference to FIG. 4.
[0065] The signature key generation unit 201 of the key sharing system 20-1 generates a pair of a signature key of the signature key generation unit and a public key (step S101).
[0066] The signature key generation unit 201 of the key sharing system 20-1 passes the public key generated in step S101 described above to a public key division unit 202-1 (step S102).
[0067] The public key division unit 202-1 of the key sharing system 20-1 divides the public key into N (where N is an integer greater than or equal to 1) public key fragments according to a communication status of a communication path with the key sharing system 20-2 (step S103). At this time, the public key division unit 202-1 determines the number of divisions N so that N increases when the communication status of the communication path is poor and N decreases when the communication status is good. For example, the public key division unit 202-1 only needs to determine N as N=N1 in a case where the communication speed of the communication path is less than a threshold value th1, N=N2 (where N1>N2) in a case where the communication speed is greater than or equal to the threshold value th1 and less than a threshold value th2, and N=N3 (where N3>N2) in a case where the communication speed is greater than or equal to the threshold value th2. Note that, instead of the communication speed, for example, the communication status may be determined by another index such as a packet loss rate, or the communication status may be determined by a combination of a plurality of indices.
[0068] Hereinafter, the public key is denoted by PK, the identification information (for example, a key ID or the like) of the public key PK is denoted by PK_ID, and the public key fragments are denoted by pk1, . . . , pKN. In addition, a division number of the public key fragment pki is i. For example, PK=pk1∥. . . ∥pkN. Here, ∥ is information concatenation (for example, concatenation of bit strings indicating the information).
[0069] The public key division unit 202-1 of the key sharing system 20-1 transmits mi∥PK_ID∥pki∥iv N to the key sharing system 20-2 for i=1, . . . , N (step S104). Here, mi represents an i-th message. At this time, the message mi may be any message, and there may be no message mi. For example, in a case where some message is exchanged regularly or non-regularly between the key sharing system 20-1 and the key sharing system 20-2, this message may be mi.
[0070] Note that the public key division unit 202-1 only needs to transmit each mi∥PK_ID∥pki∥i∥N to the key sharing system 20-2 at any timing (for example, periodically or irregularly). Furthermore, at this time, the public key division unit 202-1 may control the transmission interval and the like according to the communication status of the communication path with the key sharing system 20-2 at that time.
[0071] When receiving all the public key fragments pki, a public key restoration unit 203-2 of the key sharing system 20-2 restores the public key PK=pki∥. . . ∥pkN from these public key fragments pki (step S105).
[0072] The public key restoration unit 203-2 of the key sharing system 20-2 calculates the hash value of the public key PK restored in step S105 described above (step S106). That is, the public key restoration unit 203-2 calculates Hash=H (PK). Here, H is a hash function.
[0073] The public key restoration unit 203-2 of the key sharing system 20-2 passes the public key PK and the hash value Hash thereof to the authentication-certification management unit 140-2 (step S107).
[0074] The authentication-certification management unit 140-2 creates and stores the server-client authentication information including the public key PK and the hash value Hash thereof (step S108). Thus, the server-client authentication information for the key sharing system 20-2 to authenticate the key sharing system 20-1 is managed.
[0075] Note that steps S101 to S108 described above may be repeatedly executed, for example, every predetermined period. For example, in a case where there is an expiration date in the signature key and the public key generated in step S101 described above (in other words, if an expiration date exists in the server-client authentication information), the execution may be started so that step S108 described above is completed before the expiration date. This makes it possible to update the current server-client authentication information to the server-client authentication information including the next public key and its hash value before the expiration date of the current signature key and the public key expires.Key Sharing Processing
[0076] Hereinafter, as an example, assuming that the AP 110-1 performs encrypted communication with the AP 110-2, key sharing processing for sharing a shared key between the AP 110-1 and the AP 110-2 will be described with reference to FIG. 5. Note that the AP 110-1 corresponds to an initiator, and the AP 110-2 corresponds to a responder.
[0077] First, a key request unit 111-1 of the AP 110-1 transmits a key request to the protocol conversion unit 120-1 (step S201).
[0078] Upon receiving the key request, a key request reception unit 121-1 of the protocol conversion unit 120-1 authenticates the AP 110-1 that is the transmission source of the key request with reference to the application authentication information (step S202). For example, the key request reception unit 121-1 determines that the authentication succeeds when the application ID (alternatively, the authentication information) Of the AP 110-1 that is the transmission source of the key request is included in the application authentication information, and determines that the authentication fails otherwise. When the authentication of the AP 110-1 is successful, the processing of step S203 is executed, and when the authentication is fails, the processing of step S203 and subsequent steps is not executed. In the following description, it is assumed that the authentication of the AP 110-1 is successful.
[0079] The key request reception 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 currently used key sharing method (step S203). For example, in a case where three key sharing methods “QKD”, “KEM-A”, and “KEM-B” are set as the key sharing methods currently used, the key request reception 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.
[0080] Upon receiving the key request from the key request reception unit121-1, each key output unit 130-1 transmits the key request to the key sharing system 20-1 corresponding thereto (step S204). For example, when the key output unit 130A-1 receives the key request, the key output unit 130A-1 transmits the key request to the key sharing system 20A-1. Similarly, for example, when the key output unit 130B-1 receives the key request, the key output unit 130B-1 transmits the key request to the key sharing system 20B-1. Similarly, for example, when the key output unit 130C-1 receives the key request, the key output unit 130C-1 transmits the key request to the key sharing system 20C-1.
[0081] Upon receiving the key request from the key output unit 130-1 corresponding to the key sharing system 20-1, the key sharing system 20-1 performs authentication-certification with the key sharing system 20-2 corresponding to the same key sharing method as the key sharing system 20-1, and shares a key by the key sharing method by a key sharing unit 205-1 (step S205). At this time, the key sharing system 20-1 and the key sharing system 20-2 perform mutual authentication using the server-client authentication information. Specifically, as an example, in a case where the key sharing system 20-1 is a signer and the key sharing system 20-2 is a signature verifier, authentication is performed by the following procedure 1 to procedure 2.
[0082] Procedure 1: an authentication unit 204-1 of the key sharing system 20-1 calculates the hash value Hash=H(PK) of the public key PK of the authentication unit, and then transmits, to the key sharing system 20-2, a signed hash value (Hash, Sig(Hash) ) with the secret key corresponding to the public key PK. Here, Sig(Hash) represents a signature of the hash value Hash.
[0083] Procedure 2: upon receiving the signed hash value (Hash, Sig(Hash)) from the key sharing system 20-1, an authentication unit 204-2 of the key sharing system 20-2 specifies the server-client authentication information including the hash value Hash, and then verifies a signature Sig(Hash) using the public key included in the specified server-client authentication information. That is, the authentication unit 204-2 determines that the authentication succeeds when the result of decrypting the signature Sig(Hash) using the public key included in the server-client authentication information matches Hash, and determines that the authentication fails otherwise. Thus, authentication of the key sharing system 20-1 is implemented.
[0084] Note that, in a case where the key sharing system 20-1 authenticates the key sharing system 20-2, the key sharing system 20-1 and the key sharing system 20-2 only needs to be replaced in the above procedure 1 to procedure 2.
[0085] Further, the key sharing system 20-1 refers to the certification information and determines whether or not to give, to the AP 110-2, authorization regarding use of a key shared with the key sharing system 20-2. For example, in a case where the information indicating the key sharing system 20-2 is included in the certification information as information indicating the key sharing system 20 that can be used by the AP 110-2 that can be designated as the communication partner by the AP 110-1 that is the transmission source of the key request, the key sharing system 20-1 determines to authorize the use of the key to the AP 110-2, and determines not to authorize the use of the key otherwise. Note that, although only the certification information is referred to when the key sharing system 20-1 determines whether or not to authorize the use of the key, the application authentication information may be referred to in addition to the certification information in order to authenticate the AP 110-1 that is the transmission source of the key request again.
[0086] Here, when key sharing is performed between the key sharing system 20-1 and the key sharing system 20-2 in step S205 described above, key distribution and key generation are performed in addition to the mutual authentication-certification described above in the case of QKD and KEM. On the other hand, in the case of PSK, key distribution and key generation are not performed, but rather only the above mutual authentication-certification is performed.
[0087] Note that, in step S205 described above, public key-based mutual authentication is performed as mutual authentication between all the key sharing systems 20, but for example, mutual authentication may be performed between some of the key sharing systems 20 by a method other than the public key-based method.
[0088] Each of the key sharing systems 20-1 transmits the key shared with the key sharing system 20-2 corresponding to the same key sharing method as that of the key sharing system 20-1 in step S205 described above and its key identification information to the key output unit 130-1 corresponding to the key sharing system 20-1 (step S206). Here, the key identification information is information for identifying a key shared with the key sharing system 20-2, and is, for example, session information such as a key ID (alternatively, in the case of QKD not using REST, it may be a session ID) in the case of QKD and a session ID or the like in the case of KEM. In the case of PSK, some information or the like depending on the protocol used for communication with a communication partner is used, but since a session is identified by these pieces of information in general, these pieces of information are also referred to as session information below.
[0089] Upon receiving the key and the key identification information from the key sharing system 20-1 corresponding to the key output unit 130-1, the key output unit 130-1 transmits a key output including the key and the key identification information to the protocol conversion unit 120-1 (step S207).
[0090] Upon receiving the key output from the key output unit 130-1, a key derivation unit 122-1 of the protocol conversion unit 120-1 derives the shared key and the shared key identification information from the key, the key identification information, and the like included in the key output (step S208). For example, the key derivation unit 122-1 derives a shared key SK by SK=KDF (secretKey, label, context, key_length) . In addition, for example, the key derivation unit 122-1 derives, as shared key identification information SK_ID, information obtained by concatenating (for example, concatenating bit strings indicating the key identification information) the key identification information (that is, pieces of the key identification information of keys of one or more key sharing methods set as the currently used key sharing method) included in the above-described key outputs. However, the shared key identification information may be, for example, a hash value of information obtained by concatenating the key identification information included in the above key outputs.
[0091] Here, the KDF is a predetermined key derivation function. “secretKey” is information obtained by concatenating keys of one or more key sharing methods set as the key sharing method currently used. “label” is information obtained by concatenating labels (for example, a character string indicating the name of the key sharing method or the like) representing one or more key sharing methods set as the key sharing method currently used. “context” is information (alternatively, for example, in a case where the input length of the KDF is limited, the hash value may be used) obtained by concatenating key identification information of keys of one or more key sharing methods set as the key sharing method currently used. “key_length” is a predetermined key length. However, the key identification information of keys of one or more key sharing methods used for the context is generated so as to be unique every time the key is generated in each key sharing method. If this cannot be ensured, a different value is shared every time when key sharing is performed between the base 1 and the base 2, and information indicating the value is used for the context. Thus, it is possible to ensure that the key derived by the key derivation unit 122 is different for each key sharing request.Specific Example 1
[0092] It is assumed that three key sharing methods “OKD”, “KEM-A”, and “KEM-B” are set as the key sharing method currently used. Further, the key of QKD is “sk”, its key identification information is “skID”, the key of KEM-A is “SK1”, its key identification information is “S11”, the key of KEM-B is “SK2”, and its key identification information is “S12”. Further, the QKD label is “QKD”, the KEM-A label is “KEM-A”, and the KEM-B label is “KEM-B”.
[0093] At this time, secretKey=sk∥SK1∥SK2, context=skID∥S11∥S12, and label=QKD∥KEM-A∥KEM-B.
[0094] Therefore, SK=KDF (sk∥SK1∥SK2, QKD∥KEM-A∥KEM-B, skID∥S11∥S12, key length). Further, SK_ID=skID∥S11∥S12.Specific Example 2
[0095] It is assumed that three key sharing methods “PSK”, “KEM-A”, and “KEM-B” are set as the key sharing method currently used. Further, the key of PSK is “psk”, its key identification information is “pskSession”, the key of KEM-A is “SK1”, its key identification information is “S11”, the key of KEM-B is “SK2”, and its key identification information is “S12”. Further, the PSK label is “PSK”, the KEM-A label is “KEM-A”, and the KEM-B label is “KEM-B”.
[0096] At this time, secretKey=psk∥SK1∥SK2, context=pskSession∥S11∥S12, label=PSK∥KEM-A∥KEM-B.
[0097] Therefore, SK=KDF(psk∥SK1∥SK2, pskSession∥KEM-A∥KEM-B, pskSession∥S11∥S12, key length). Further, SK_ID=pskSession∥S11∥S12.
[0098] Note that, although QKD is included in the label in the above-described Specific Example 1 and PSK is included in the label in the above-described Specific Example 2, the label may be included only in a case where a plurality of key sharing methods of the same type is used among the key sharing methods currently used. For example, in the first specific example, label=KEM-A∥KEM-B may be set. Similarly, for example, label=KEM-A∥KEM-B may also be set in Specific Example 2 described above.
[0099] On the other hand, each of the key sharing systems 20-2 transmits, to the key output unit 130-2 corresponding to the key sharing system 20-2, the key shared with the key sharing system 20-1 corresponding to the same key sharing method as that of the key sharing system 20-2 in step S205 described above and its key identification information (step S209).
[0100] Upon receiving the key and the key identification information from the key sharing system 20-2 corresponding to the key output unit 130-2, the key output unit transmits a key output including the key and the key identification information to the protocol conversion unit 120-2 (step S210).
[0101] Upon receiving the key output from the key output unit 130-2, a key derivation unit 122-2 of the protocol conversion unit 120-2 derives the shared key and the shared key identification information from the key, the key identification information, and the like included in the key output (step S211). Note that the key derivation unit 122-2 derives the shared key SK and the shared key identification information SK ID by a method similar to that in step S208 described above.
[0102] The key derivation unit 122-1 of the protocol conversion unit 120-1 transmits a key output including the shared key SK and the shared key identification information SK ID derived in step S208 described above to a key notification unit 123-1 (step S212).
[0103] Upon receiving the key output from the key derivation unit 122-1, the key notification unit 123-1 of the protocol conversion unit 120-1 extracts the shared key SK and the shared key identification information SK ID included in the key output, and then transmits a key notification including the shared key SK and the shared key identification information SK ID to the AP 110-1 (step S213).
[0104] Upon receiving the key notification from the protocol conversion unit 120-1, a key acquisition unit 112-1 of the AP 110-1 acquires the shared key SK and the shared key identification information SK ID included in the key notification (step S214).
[0105] On the other hand, the key derivation unit 122-2 of the protocol conversion unit 120-2 transmits a key output including the shared key SK and the shared key identification information SK ID derived in step S211 described above to a key notification unit 123-2 (step S215).
[0106] Upon receiving the key output from the key derivation unit 122-2, the key notification unit 123-2 of the protocol conversion unit 120-2 extracts the shared key SK and the shared key identification information SK ID included in the key output, and then transmits, to the AP 110-2, a key notification including the shared key SK and the shared key identification information SK ID (step S216).
[0107] Upon receiving the key notification from the protocol conversion unit 120-2, a key acquisition unit 112-2 of the AP 110-2 acquires the shared key SK and the shared key identification information SK ID included in the key notification (step S217).
[0108] As described above, 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.
[0109] Note that when the key is shared in step S205 described above, it is not limited to a case where a new key is generated between the key sharing systems 20, and for example, in a case where the key accumulation unit 126 accumulates a key (accumulated key), the accumulated key may be shared. In particular, for example, the accumulated key may be shared in a case where a new key cannot be generated for some reason such as occurrence of an error. In this case, for example, the key output unit 130 only needs to transmit an acquisition request for an accumulated key to the key accumulation unit 126 in response to a request from the key sharing system 20. Thus, since the accumulated key is returned from the key accumulation unit 126 to the key output unit 130, the key output unit 130 only needs to transmit, to the key derivation unit 122, the key output including the accumulated key.Encrypted Communication Start Processing
[0110] Hereinafter, as an example, it is assumed that the AP 110-1 performs encrypted communication with the AP 110-2, and encrypted communication start processing for starting the encrypted communication will be described with reference to FIG. 6. Note that the AP 110-1 corresponds to an initiator, and the AP 110-2 corresponds to a responder.
[0111] First, the AP 110-1 transmits, to the AP 110-2, the shared key identification information SK ID of the shared key SK used for encrypted communication with the AP 110-2 (step S301). Then, the AP 110-1 and the AP 110-2 start encrypted communication using the shared key SK identified by the shared key identification information SK_ID (step S302). Thus, encrypted communication using the same shared key identified by the same shared key identification information SK_ID is started between the initiator and the responder.Switching Processing
[0112] Hereinafter, as an example, switching processing in a case where some error occurs in the key sharing system 20-1 corresponding to a certain key sharing method among one or more key sharing methods set as the currently used key sharing method and the key sharing method is switched to another key sharing method will be described with reference to FIG. 7.
[0113] The key sharing system 20-1 detects the occurrence of an error (step S401). Here, various errors are conceivable as errors occurring in the key sharing system 20-1 and the present embodiment can target any error, but for example, the following errors can be targeted. Note that the error may be, for example, what is called a failure, an abnormality, or the like.
[0114] (1) Key request error (for example, a communication error when key sharing with the key sharing system 20-2 is performed, an internal error of the key sharing system 20-1 when key sharing is performed, and the like)
[0115] (2) Key exhaustion (exhaustion of keys accumulated by the key accumulation unit 126 is also included)
[0116] (3) Computing capacity exhaustion
[0117] (4) System error
[0118] (5) Tamper abnormality
[0119] Note that, for example, an event in which key sharing becomes impossible due to tapping on an optical fiber cable used by the key sharing system 20-1 corresponding to QKD may occur, and such an event may be detected as tamper abnormality.
[0120] The key sharing system 20-1 transmits an error notification related to the error detected in step S401 described above to the key output unit 130-1 Corresponding thereto (step S402). Note that the error notification includes, for example, information indicating the key sharing system 20 in which the error has been detected, the content of the error, the cause of the error, and the like.
[0121] Upon receiving the error notification from the key sharing system 20-1, the key output unit 130-1 transmits the error notification to the protocol conversion unit 120-1 (step S403).
[0122] Upon receiving the error notification from the key output unit 130-1, an error notification unit 124-1 of the protocol conversion unit 120-1 transmits the error notification to a switching unit 125-1 (step S404).
[0123] Upon receiving the error notification from the error notification unit 124-1, the switching unit 125-1 of the protocol conversion unit 120-1 determines a key sharing method to be a switching destination of the key sharing method corresponding to the key sharing system 20-1 in which the error has been detected (step S405). Here, the switching unit 125 can determine the key sharing method to be the switching destination by various methods, and for example, it is conceivable to determine the key sharing method to be the switching destination by the following method.
[0124] (a) The key sharing method to be the switching destination is determined according to the error content or the error cause included in the error notification. This is, for example, a method in which an error content or an error cause is associated with a key sharing method to be a switching destination in advance for each key sharing method, and the key sharing method to be the switching destination is determined based on the correspondence.
[0125] (b) One key sharing method is determined as a switching destination randomly or in a predetermined order (predetermined priority order) from among key sharing methods other than the key sharing method to be switched.
[0126] (c) An error content or an error cause included in the error notification is notified to the AP 110 or the user, and a key sharing method to be a switching destination is determined according to an instruction from the AP 110 or an instruction from the user. In this case, since the AP 110 or the user can confirm the error content or the error cause, an appropriate key sharing method can be determined as the switching destination according to the error content or the error cause.
[0127] Note that any of the above determination methods is an example, and the key sharing method to be the switching destination may be determined by other various methods. In addition, for example, in a case where the key accumulation unit 126 accumulates a key, it may be determined to switch the acquisition destination of the key of the key sharing method corresponding to the key sharing system 20 in which the error is detected to the accumulated key. Thus, the accumulated key is used until the accumulated key is exhausted, and the key sharing method can be switched after the accumulated key is exhausted. In the following description, it is assumed that a key sharing method to be a switching destination is determined.
[0128] 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 is detected as the key sharing method to be switched, and sets the key sharing method determined in step S405 described above as the key sharing method of a switching destination, and transmits, to the key request reception unit 121-1, a switching notification including information indicating the key sharing method to be switched and information indicating the key sharing method of the switching destination (step S406).
[0129] Upon receiving the switching notification from the switching unit 125-1, the key request reception unit 121-1 of the protocol conversion unit 120-1 switches the key sharing method to be switched among the one or more key sharing methods set as the key sharing method currently used to the key sharing method of the switching destination on the basis of the information indicating the key sharing method to be switched and the information indicating the key sharing method of the switching destination included in the switching notification (step S407).
[0130] Further, the switching unit 125-1 of the protocol conversion unit 120-1 transmits the switching notification to the protocol conversion unit 120-2 (step S408).
[0131] Upon receiving the switching notification from the protocol conversion unit 120-2, the switching unit 125-2 of the protocol conversion unit 120-2 transmits the switching notification to a key request reception unit 121-2 (step S409).
[0132] Upon receiving the switching notification from the switching unit 125-2, the key request reception unit 121-2 of the protocol conversion unit 120-2 switches the key sharing method to be switched among the one or more key sharing methods set as the key sharing method currently used to the key sharing method of the switching destination on the basis of the information indicating the key sharing method to be switched and the information indicating the key sharing method of the switching destination included in the switching notification (step S410).
[0133] As described above, when an error or the like occurs in a certain key sharing system 20 and the key sharing system 20 becomes unable to share the key, it is possible to switch to generate the key in another key sharing system 20. In addition, in a case where the accumulated key exists, it is also possible to switch to use the accumulated key. Therefore, even in a case where the key sharing system 20 cannot be used, it is possible to continuously derive the shared key necessary for encrypted communication, and it is possible to continue the service provided by the AP 110.Hardware Configuration Example
[0134] The communication device 10 included in the communication system 1 according to the above-described embodiment and the key sharing system 20 corresponding to QKD can be achieved by, for example, a hardware configuration of the computer 500 illustrated in FIG. 8. The computer 500 illustrated in FIG. 8 includes 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 communicably connected via a bus 507.
[0135] The input device 501 is, for example, a keyboard, a mouse, a touch panel, a physical button of various types, or the like. The display device 502 is, for example, a display, a display panel, or the like. Note that the computer 500 is not required to include at least one of the input device 501 or the display device 502, for example.
[0136] The external I / F 503 is an interface with an external device such as a recording medium 503a. Examples of the recording medium 503a include a CD-ROM, a DVD-ROM, an SD memory card, a USB memory card, and the like.
[0137] The communication I / F 504 is an interface for connecting the computer 500 to a communication network. The processor 505 is, for example, any of various arithmetic devices such as a central processing unit (CPU). The memory device 506 is, for example, any of various storage devices such as a hard disk drive (HDD), a solid state drive (SSD), a random access memory (RAM), a read only memory (ROM), or a flash memory.
[0138] However, the hardware configuration of the computer 500 illustrated in FIG. 8 is an example, and the hardware configuration is not limited thereto. For example, the computer 500 may include a plurality of processors 505 and a plurality of memory devices 506, is not required to include a part of the illustrated hardware, or may include various hardware other than the illustrated hardware.
[0139] Note that one or more programs for implementing the key sharing system 20 corresponding to the key sharing method (for example, PSK, KEM, or the like) in which the SAE and the KME are present on the same device when performing modeling similar to that of the AP 110, the protocol conversion unit 120, the key output unit 130, and QKD illustrated in FIG. 1 are stored in the memory device 506, and various functions are implemented by the processor 505 executing various processes by the one or more programs.Other Embodiments
[0140] Hereinafter, modifications or extended embodiments of the above embodiments will be described.Part 1
[0141] In the above embodiment, the AP 110 is included in the communication device 10, but in a configuration where the AP 110 is not included in the communication device 10, for example, a terminal device including the AP 110 may be communicably connected to the communication device 10. Further, the terminal device may exist in a base where the communication device 10 exists or may exist outside the base. In this case, the communication path between the terminal device and the communication device 10 may be a communication path on which mutual authentication is obtained or a communication path on which mutual authentication is not obtained, and in a case where mutual authentication is not obtained, transmission and storage of a public key and mutual authentication may be performed as in the above-described embodiment.
[0142] That is, each of the terminal device and the communication device 10 includes the signature key generation unit, the public key division unit, the public key restoration unit, and the authentication unit, and these units may perform generation of a pair of a signature key and a public key described in FIG. 4 (step S101), division of the public key (step S103), transmission of a public key fragment (step S104), restoration of the public key (step S105), calculation a hash value of the public key (step S106), storage of the server-client authentication information (step S108), and authentication of procedure 1 to procedure 2 described in step S205 of FIG. 5. Thus, it is possible to optimize the data communication amount at the time of mutual authentication between the terminal device and the communication device 10.Part 2
[0143] In the above embodiment, it has been described that the communication path between the protocol conversion unit 120-1 and the protocol conversion unit 120-2 is a communication path on which mutual authentication is obtained, but the communication path is not required to be a communication path on which mutual authentication is not obtained. In this case, in the communication device 10-1 and the communication device 10-2, the transmission and storage of the public key and the mutual authentication may be performed similarly to the above embodiment.
[0144] That is, each of the communication device 10-1 and the communication device 10-2 includes the signature key generation unit, the public key division unit, the public key restoration unit, and the authentication unit, and these units may perform generation of a pair of a signature key and a public key described in FIG. 4 (step S101), division of the public key (step S103), transmission of a public key fragment (step S104), restoration of the public key (step S105), calculation of a hash value of the public key (step S106), storage of the server-client authentication information (step S108), and authentication of procedure 1 to procedure 2 described in step S205 of FIG. 5. Thus, it is possible to optimize the data communication amount at the time of mutual authentication between the protocol conversion unit 120-1 and the protocol conversion unit 120-2.Part 3
[0145] In the above embodiment, it has been described that the communication path between the communication device 10 and the key sharing system 20A is a communication path on which mutual authentication is obtained, but the communication path is not required to be a communication path on which mutual authentication is not obtained. In this case, transmission, storage, and mutual authentication of the public key may be performed in the communication device 10 and the key sharing system 20A similarly to the above embodiment.
[0146] That is, the communication device 10 includes the signature key generation unit, the public key division unit, the public key restoration unit, and the authentication unit, and these units may perform generation of a pair of a signature key and a public key described in FIG. 4 (step S101), division of the public key (step S103), transmission of a public key fragment (step S104), restoration of the public key (step S105), calculation of a hash value of the public key (step S106), storage of the server-client authentication information (step S108), and authentication of procedure 1 to procedure 2 described in step S205 of FIG. 5. Thus, it is possible to optimize the data communication amount at the time of mutual authentication between the communication device 10 and the key sharing system 20A.Conclusion
[0147] As described above, in the communication system 1 according to each of the above-described embodiments, encrypted communication can be performed between the APs 110 (application programs) using a shared key obtained by combining keys of one or more key sharing methods. Moreover, even in a case where the authentication-certification method and the key identification method are different depending on each key sharing method, it is possible to perform unified authentication-certification and key identification, and it is possible to generate a shared key combining keys of a plurality of key sharing methods without deteriorating security.
[0148] In addition, in a case where mutual authentication is not obtained in a communication path between two devices or programs (for example, the communication device 10, the key sharing system 20, the AP 110, the protocol conversion unit 120, and the like), a public key used in the mutual authentication can be efficiently transmitted from the side to be authenticated to the authentication side. Furthermore, at the time of authentication, if only the hash value of the public key is transmitted from the side to be authenticated to the authentication side, the authentication can be performed. Therefore, even when the data size of the public key is large, or there is an upper limit to the data amount of the communication path, or the like, the key distribution and the authentication can be performed.
[0149] In addition to the above, in the communication system 1 according to each of the above-described embodiments, when a certain key sharing method cannot be used for some reason, it is possible to switch to another key sharing method. Therefore, the availability of the service provided by the application program using the encrypted communication can be enhanced, and the service quality can be improved.
[0150] The present invention is not limited to the above embodiment specifically disclosed, and various modifications and changes, combinations with known techniques, and the like can be made without departing from the scope of the claims.REFERENCE SIGNS LIST1 Communication system
[0152] 10 Communication device
[0153] 20 Key sharing system
[0154] 110 AP
[0155] 120 Protocol conversion unit
[0156] 121 Key request reception unit
[0157] 122 Key derivation unit
[0158] 123 Key notification unit
[0159] 124 Error notification unit
[0160] 125 Switching unit
[0161] 126 Key accumulation unit
[0162] 130 Key output unit
[0163] 140 Authentication-certification management unit
[0164] 201 Signature key generation unit
[0165] 202 Public key division unit
[0166] 203 Public key restoration unit
[0167] 204 Authentication unit
[0168] 205 Key sharing unit
[0169] 500 Computer
[0170] 501 Input device
[0171] 502 Display device
[0172] 503 External I / F
[0173] 503a Recording medium
[0174] 504 Communication I / F
[0175] 505 Processor
[0176] 506 Memory device
[0177] 507 Bus
Claims
1. An authentication system comprising a first device to be authenticated and a second device that authenticates the first device, whereinthe first device is configured to:generate a key pair of a signature key and a public key used for the authentication;divide the public key into a plurality of fragments according to a communication status of a communication path with the second device; andtransmit each of the plurality of fragments to the second device, andthe second device is configured to:restore the public key from all the fragments when all the fragments are received; andstore the public key and a hash value of the public key as authentication information of the first device.
2. The authentication system according to claim 1, whereinthe first device is configured to:transmit, to the second device, a signed hash value obtained by adding a signature with the signature key to the hash value of the public key,the second device is configured to:verify the signed hash value by using a public key of authentication information having the hash value included in the signed hash value; anddetermine that authentication of the first device succeeds when the verification succeeds, and determine that authentication of the first device fails when the verification fails.
3. The authentication system according to claim 1, whereinthe first device is configured to divide the public key into a predetermined number of the fragments, according to a magnitude relationship between at least one of a communication speed or a packet loss rate of the communication path with the second device and one or more predetermined threshold values.
4. The authentication system according to claim 3, whereinthe first device is configured to transmit identification information of the public key, the fragments, identification information of the fragments, and the number to the second device.
5. The authentication system according to claim 4, whereinthe first device is configured to combine the identification information of the public key, the fragments, the identification information of the fragments, and the number with a message transmitted to or received from the second device, and transmit the combined message to the second device.
6. A device to be authenticated by another device, the device comprising:a processor; anda memory storing program instructions that cause the processor to:generate a key pair of a signature key and a public key used for the authentication;divide the public key into a plurality of fragments according to a communication status of a communication path with the another device; andtransmit each of the plurality of fragments to the another device.
7. A method used in an authentication system including a first device to be authenticated and a second device that authenticates the first device, the method comprising:generating, by the first device, a key pair of a signature key and a public key used for the authentication,dividing, by the first device, the public key into a plurality of fragments according to a communication status of a communication path with the second device, andtransmitting, by the first device, each of the plurality of fragments to the second device; andrestoring, by the second device, the public key from all the fragments when all the fragments are received; andstoring, by the second device, the public key and a hash value of the public key as authentication information of the first device.
8. A non-transitory computer-readable recording medium having stored therein a program for causing a computer to perform the method according to claim 7.
