Authentication system, authentication module, and authentication program

By using the identification information between the client and the server in the FIDO authentication system to generate OID and OPW, and conduct query-answer authentication, the cost and security problems brought about by certificate management in the existing technology are solved, and more efficient and secure Certification process.

CN118947084APending Publication Date: 2024-11-12GIGA SYST INC +1
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202380030231.4
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Priority Date
2022-01-28
Filing Date
2023-01-24
Publication Date
2024-11-12

AI Technical Summary

Technical Problem

The existing FIDO certification system requires pre-purchase and import of certificates, resulting in increased cost and working hours during use, and requires management of issues such as validity period, specification changes and security risks.

Method used

Authentication is performed using OID and OPW generated based on the identification information between the client and the server, and unique authentication data is generated through pseudo-random functions and hash functions, avoiding the use of certificates and directly conducting challenge-answer authentication.

Benefits of technology

Reduces the cost and working hours of application, improves security, avoids the security risks brought by certificate renewal, and simplifies the authentication process.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118947084A_ABST
    Figure CN118947084A_ABST
Patent Text Reader

Abstract

In one embodiment of the present disclosure, a first authentication module acquires first authentication data in which first authentication information generated on the basis of first identification information unique to the first authentication module and second identification information unique to a second authentication module are associated with second authentication information. The second authentication information is generated based on the first authentication information, the first identification information and the second identification information. The second authentication module acquires second authentication data having the same structure as the first authentication data. The first authentication module transmits the first authentication information to the second authentication module, generates third authentication information as reference information, and transmits the third authentication information to the second authentication module when reply information (the third authentication information or the encrypted third authentication information) is received from the second authentication module. The authentication module performs authentication based on a comparison between the reply information and the reference information or a comparison between the decrypted reply information and the reference information, and determines whether or not a communication session with the second authentication module can be continued on the basis of the result of the authentication.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present disclosure relates to an authentication system, an authentication module and an authentication program. Background Art

[0002] Conventionally, there is known a technology for performing authentication called FIDO authentication when communicating between devices such as a client device and a server device that are connected to each other so as to be able to communicate with each other. In FIDO authentication, challenge-response authentication using a certificate with a public key is performed between a device on the authenticating side and a device on the authenticated side.

[0003] Prior art literature

[0004] Patent Literature

[0005] Patent Document 1: Japanese Patent Application Publication No. 2021-150681 Summary of the invention

[0006] Problem that the invention aims to solve

[0007] However, in the prior art as described above, it is necessary to purchase and import a certificate issued by a certificate authority in advance, which increases the cost and time spent on operation. In addition, after importing the certificate, it is also necessary to deal with the management of the validity period, specification changes, security risks or unexpected events, etc., which increases the cost and time spent on operation.

[0008] Therefore, one of the problems to be solved by the present disclosure is to provide an authentication system, an authentication module, and an authentication program that can suppress an increase in cost and man-hours spent during operation.

[0009] Solutions for solving problems

[0010] As another example of the present disclosure, an authentication system includes a first authentication module and a second authentication module connected in a manner that allows them to communicate with each other. In the authentication system, the first authentication module includes: a first acquisition unit that acquires first authentication data that associates first authentication information with second authentication information, the first authentication information is generated based on first identification information inherent to the first authentication module and second identification information inherent to the second authentication module according to a first generation logic, and the second authentication information is generated based on the first authentication information, the first identification information, and the second identification information according to a second generation logic; and a first control unit that sends the first authentication information of the first authentication data to the second authentication module, and generates third authentication information as reference information based on the first authentication information of the first authentication data sent to the second authentication module and the second authentication information of the first authentication data associated with the first authentication information according to a third generation logic, and the second authentication module includes: a second acquisition unit that acquires first authentication data that associates the first authentication information with the second authentication information. The second authentication data is formed by associating the second authentication information with the second authentication information, and the second authentication data has the same structure as the first authentication data; and a second control unit, which, when receiving the first authentication information of the first authentication data from the first authentication module, generates the third authentication information according to the third generation logic based on the first authentication information of the second authentication data that is consistent with the first authentication information of the first authentication data received from the first authentication module, and the second authentication information of the second authentication data associated with the first authentication information, and replies to the first authentication module with the third authentication information or the third authentication information encrypted with the first key information as reply information; when receiving the reply information from the second authentication module, the first control unit performs authentication based on comparison between the reply information and the reference information, or comparison between the reply information decrypted with the second key information corresponding to the first key information and the reference information, and determines whether the communication session between the first authentication module and the second authentication module can continue based on the result of the authentication.

[0011] In addition, as another example of the present invention, an authentication module is connected to other authentication modules in a manner that allows communication, and the authentication module includes: a first acquisition unit, which acquires first authentication data that associates first authentication information with second authentication information, the first authentication information is generated based on first identification information inherent to the authentication module and second identification information inherent to the other authentication modules and according to a first generation logic, and the second authentication information is generated based on the first authentication information, the first identification information, and the second identification information and according to a second generation logic; and a first control unit, which sends the first authentication information of the first authentication data to other authentication modules that acquire second authentication data with the same structure as the first authentication data, and generates according to a third generation logic based on the first authentication information of the first authentication data sent to the other authentication modules and the second authentication information of the first authentication data associated with the first authentication information. The third authentication information is used as reference information, wherein, when other authentication modules receive the first authentication information of the first authentication data from the authentication module, the third authentication information is generated according to the third generation logic based on the first authentication information of the second authentication data consistent with the first authentication information received from the authentication module and the second authentication information of the second authentication data associated with the first authentication information, and the third authentication information or the third authentication information encrypted by the first key information is replied to the authentication module as reply information, and when the first control unit receives the reply information from the other authentication module, it performs authentication based on comparison between the reply information and the reference information, or comparison between the reply information decrypted by the second key information corresponding to the first key information and the reference information, and decides whether the communication session between the authentication module and the other authentication module can continue based on the result of the authentication.

[0012] In addition, as another example of the present invention, an authentication module is connected to other authentication modules in a manner that enables communication, and the authentication module comprises: a second acquisition unit, which acquires second authentication data that associates first authentication information with second authentication information, the first authentication information is generated based on first identification information inherent to the other authentication modules and second identification information inherent to the authentication modules and according to a first generation logic, and the second authentication information is generated based on the first authentication information, the first identification information and the second identification information and according to a second generation logic; and a second control unit, the other authentication modules acquire first authentication data having the same structure as the second authentication data, and based on the first authentication information of the first authentication data and the second authentication information of the first authentication data associated with the first authentication information, generate third authentication information as reference information according to a third generation logic, and the second authentication information of the first authentication data is generated. When the control unit receives first authentication information of first authentication data from other authentication modules, the control unit generates third authentication information according to a third generation logic based on the first authentication information of second authentication data that is consistent with the first authentication information of the first authentication data received from the other authentication modules and the second authentication information of the second authentication data associated with the first authentication information, and replies to the other authentication modules with the third authentication information or the third authentication information encrypted with the first key information as reply information. When the other authentication modules receive the reply information, they perform authentication based on comparison between the reply information and reference information, or comparison between the reply information decrypted with the second key information corresponding to the first key information and the reference information, and decide whether the communication session between the authentication modules and the other authentication modules can continue based on the result of the authentication.

[0013] In addition, as another example of the present disclosure, an authentication program is used to enable a computer including an authentication module connected to other authentication modules in a manner capable of communicating with each other to perform the following processing: obtaining first authentication data that associates first authentication information with second authentication information, the first authentication information being generated based on first identification information inherent to the authentication module and second identification information inherent to the other authentication modules and according to a first generation logic, and the second authentication information being generated based on the first authentication information, the first identification information, and the second identification information and according to a second generation logic; sending first authentication information of the first authentication data to other authentication modules that obtain second authentication data having the same structure as the first authentication data; and based on the first authentication information of the first authentication data sent to the other authentication modules and the second authentication information of the first authentication data associated with the first authentication information, generating first authentication information based on a third generation logic. Generate third authentication information as reference information; when other authentication modules receive first authentication information of first authentication data from the authentication module, generate third authentication information according to a third generation logic based on the first authentication information of second authentication data consistent with the first authentication information received from the authentication module and the second authentication information of second authentication data associated with the first authentication information, and reply to the authentication module with the third authentication information or the third authentication information encrypted with the first key information as reply information; when reply information is received from other authentication modules, perform authentication based on comparison between the reply information and the reference information, or comparison between the reply information decrypted with the second key information corresponding to the first key information and the reference information; and decide whether the communication session between the authentication module and the other authentication modules can continue based on the authentication result.

[0014] In addition, as another example of the present disclosure, an authentication program is used to enable a computer including an authentication module connected to other authentication modules in a manner capable of communicating with each other to execute the following processing: obtaining second authentication data that associates first authentication information with second authentication information, the first authentication information being generated based on first identification information inherent to the other authentication modules and second identification information inherent to the authentication modules and according to a first generation logic, and the second authentication information being generated based on the first authentication information, the first identification information, and the second identification information and according to a second generation logic; the other authentication modules obtaining first authentication data having the same structure as the second authentication data, and generating third authentication information as reference information based on the first authentication information of the first authentication data and the second authentication information of the first authentication data associated with the first authentication information according to a third generation logic, and then When other authentication modules receive the first authentication information of the first authentication data, they generate third authentication information according to a third generation logic based on the first authentication information of the second authentication data that is consistent with the first authentication information of the first authentication data received from the other authentication modules and the second authentication information of the second authentication data associated with the first authentication information; and reply the third authentication information or the third authentication information encrypted by the first key information as reply information to the other authentication modules. When the other authentication modules receive the reply information, they perform authentication based on comparison between the reply information and the reference information, or comparison between the reply information decrypted by the second key information corresponding to the first key information and the reference information, and decide whether the communication session between the authentication modules and the other authentication modules can continue based on the result of the authentication. BRIEF DESCRIPTION OF THE DRAWINGS

[0015] Figure 1 It is an exemplary and schematic diagram showing an authentication system involved in the embodiment.

[0016] Figure 2 It is an exemplary and schematic block diagram showing the functional structure of an edge server and a terminal as an authentication module involved in an embodiment.

[0017] Figure 3 It is an exemplary and schematic diagram showing the structure of authentication data involved in the embodiment.

[0018] Figure 4 This is an exemplary and schematic sequence diagram showing an example of the flow of authentication performed by the authentication system involved in the embodiment.

[0019] Figure 5 It is an exemplary and schematic block diagram showing the hardware structure of a computer constituting the authentication module involved in the embodiment. DETAILED DESCRIPTION

[0020] Below, the implementation methods (and variations) of the authentication system, authentication module, and authentication program involved in the present disclosure are described based on the accompanying drawings. The structure of the implementation method described below and the functions and effects brought about by the structure are only examples, and the structure of the implementation method and the functions and effects brought about by the structure are not limited to the contents described below.

[0021] In addition, in the present disclosure, ordinal numbers such as "first" and "second" are used as needed, but these ordinal numbers are used for easy identification and do not indicate specific priorities.

[0022] <Implementation Method>

[0023] Figure 1 2 is an exemplary and schematic diagram showing an authentication system 100 according to an embodiment.

[0024] like Figure 1 As shown, the authentication system 100 according to the embodiment includes a client device 110 and a server device 120 connected to each other so as to be able to communicate with each other via a network (not shown). The client device 110 and the server device 120 are configured as authentication modules that authenticate each other during communication.

[0025] also, Figure 1 The structure shown is only an example. Figure 1 , the authentication system 100 with the simplest structure is shown in which the client device 110 and the server device 120 are set in a one-to-one relationship, but the client device 110 and the server device 120 may be in a many-to-one relationship or a many-to-many relationship.

[0026] Here, as used in Figure 1 As a prior art for performing authentication between authentication modules such as the client device 110 and the server device 120 shown in the figure, a technology for performing authentication called FIDO authentication is known. In FIDO authentication, a challenge-response authentication using a certificate with a public key is performed between a device on the authenticating side and a device on the authenticated side.

[0027] However, in the prior art as described above, it is necessary to purchase and import the certificate issued by the certificate authority in advance, so the cost and time spent on operation are likely to increase. In addition, after importing the certificate, it is also necessary to deal with the management of the validity period, specification changes, security risks or unexpected events, etc., so the cost and time spent on operation are likely to increase.

[0028] Therefore, the embodiment makes the client device 110 and the server device 120 as the authentication module have the following Figure 2 The functions shown above can reduce the increase in cost and man-hours spent on operation.

[0029] Figure 2 1 is an exemplary and schematic block diagram showing the functional structure of the client device 110 and the server device 120 as the authentication module according to the embodiment.

[0030] like Figure 2 As shown, the client device 110 includes an authentication data acquisition unit 111 and a control unit 112 , and the server device 120 includes an authentication data acquisition unit 121 and a control unit 122 .

[0031] The authentication data acquisition unit 111 of the client device 110 acquires the authentication data 111A used in the authentication with the server device 120. The authentication data acquisition unit 111 may acquire the authentication data 111A by generating the authentication data 111A according to a predetermined logic (described in detail later) at each authentication, or may acquire the authentication data 111A by receiving the authentication data 111A generated in advance by the external device, for example.

[0032] Similarly, the authentication data acquisition unit 121 of the server device 120 acquires the authentication data 121A used in the authentication with the client device 110. The authentication data acquisition unit 121 may acquire the authentication data 121A by generating the authentication data 121A according to a predetermined logic (described in detail later) at each authentication, or may acquire the authentication data 121A by receiving the authentication data 121A generated in advance by the external device, for example.

[0033] Here, in the embodiment, the authentication data 111A on the client device 110 side and the authentication data 121A on the server device 120 side have the same structure. More specifically, the authentication data 111A and 121A each have the following Figure 3 The structure shown.

[0034] Figure 3 11A and 121A are exemplary and schematic diagrams showing the structures of the authentication data 111A and 121A according to the embodiment.

[0035] like Figure 3 As shown, the authentication data 111A and 121A include an OID (One Time ID) and an OPW (One Time Password) associated with each other. The OID is first authentication information generated according to a first generation logic based on identification information inherent to the client device 110 and identification information inherent to the server device 120, and the OPW is second authentication information generated according to a second generation logic based on identification information of each of the client device 110 and the server device 120 and the OID.

[0036] For example, the first generation logic according to the embodiment uses a pseudo-random function PRF() and is expressed by the following equation (10). In the embodiment, the pseudo-random function PRF() outputs a pseudo-random number of bits long enough to prevent collisions from occurring.

[0037] OID=PRF(secretSeed)…(10)

[0038] In the above formula (10), secret (confidential information) is a value (e.g., a hash value) based on the identification information inherent to the client device 110 and the identification information inherent to the server device 120. For example, in the embodiment, the MAC address of the client device 110, which is the address information on the network, is used as the identification information inherent to the client device 110, and the MAC address of the server device 120, which is the address information on the network, is used as the identification information inherent to the server device 120. Therefore, when the MAC address of the client device 110 is, for example, "01-23-45-67-89-aa" and the MAC address of the server device 120 is, for example, "01-23-45-67-89-ab", the secret is expressed by the following formula (11) using the hash function hash().

[0039] secret=hash(“O1-23-45-67-89-aa+O1-23-45-67-89-ab”)…(11)

[0040] In the above formula (10), seed is variable information that changes synchronously between the client device 110 and the server device 120 each time a communication session between the client device 110 and the server device 120 starts. More specifically, seed is counter information that changes (regularly increases or decreases) each time a communication session between the client device 110 and the server device 120 starts.

[0041] As can be seen from the above, according to the first generation logic according to the embodiment, a different unique OID can be generated for each communication session based on the MAC address which is unique information independent of the communication session and the counter information which changes for each communication session.

[0042] The second generation logic according to the embodiment uses a custom function Pwlog() and is expressed by the following equation (20). In the embodiment, the custom function Pwlog() is, for example, a hash function designed to output a hash value having a number of bits long enough to prevent collisions from occurring.

[0043] OPW=Pwlog(OID, secret)…(20)

[0044] In the above formula (20), the OID and secret are the same as the OID and secret that appear in the above formula (10). Therefore, according to the second generation logic involved in the embodiment, it can be known that a different unique OPW can be generated for each communication session based on the unique OID that is different for each communication session and the counter information that changes for each communication session.

[0045] Back to Figure 2 When a communication session between the client device 110 and the server device 120 is started, the control unit 112 of the client device 110 and the control unit 122 of the server device 120 use the above-mentioned authentication data 111A and 121A to perform the following operations. Figure 4 The authentication is performed according to the process shown, and based on the result of the authentication, it is determined whether the current communication session can continue.

[0046] Figure 4 This is an exemplary and schematic sequence diagram showing an example of the flow of authentication performed by the authentication system 100 according to the embodiment.

[0047] exist Figure 4 In the example shown, first, in step S411, the authentication data acquisition unit 111 of the client device 110 acquires the authentication data 111A including the pair of OID and OPW as described above. Similarly, in step S412, the authentication data acquisition unit 121 of the server device 120 also acquires the authentication data 121A including the pair of OID and OPW as described above.

[0048] Then, in step S413, the control unit 112 of the client device 110 requests the server device 120 to start authentication in order to start a communication session with the server device 120. Then, in step S414, the control unit 122 of the server device 120 requests the client device 110 to transmit the OID.

[0049] Then, in step S415, the control unit 112 of the client device 110 transmits the OID of the authentication data 111A acquired in step S411 to the server device 120. Then, in step S416, the control unit 112 of the client device 110 generates a challenge value (challenge value) as reference information using the authentication data 111A acquired in step S411. The challenge value is a value generated based on a value (e.g., a hash value) based on the OID and a value (e.g., a hash value) based on the OPW according to the third generation logic.

[0050] For example, when the value based on OID is "43215678902" and the value based on OPW is "23456432102", the third generation logic involved in the embodiment uses the hash function hash() and is expressed by the following formula (30).

[0051] Challenge value = hash("43215678902+23456432102")…(30)

[0052] On the other hand, in step S417, the control unit 122 of the server device 120 extracts the OID consistent with the OID received from the client device 110 in step S415 and the OPW associated with the OID from the authentication data 121A acquired in step S412, and generates a challenge value independently of the client device 110 based on the extracted OID and OPW according to the same third generation logic as described above.

[0053] Then, in step S418, the control unit 122 of the server device 120 encrypts the challenge value generated in step S417 using the OPW. The OPW used in the encryption is the OPW associated with the OID extracted from the authentication data 121A acquired in step S412 and corresponding to the OID received from the client device 110 in step S415.

[0054] Then, in step S419, the control unit 122 of the server device 120 replies the challenge value encrypted in step S418 as reply information to the client device 110. Then, in step S420, the control unit 112 of the client device 110 decrypts the challenge value received as reply information from the server device 120 in step S419 using the OPW. The OPW used in the decryption is the OPW associated with the OID extracted from the authentication data 111A acquired in step S411 and sent to the server device 120 in step S415.

[0055] Then, in step S421 , the control unit 112 of the client device 110 determines whether the challenge value generated as the reference information in step S416 matches the challenge value as the decrypted reply information in step S420 .

[0056] Then, in step S422, the control unit 112 of the client device 110 continues or ends the current communication session according to the result of the determination in step S421. For example, if the result of the determination in step S421 indicates a coincidence, the control unit 112 continues the current communication session, and if the result of the determination in step S421 indicates a disagreement, the control unit 112 ends the communication session. In this way, the authentication involved in the embodiment is performed.

[0057] In addition, Figure 4 , the client device 110 side is shown as the starting point to start the communication session, but in the embodiment, the server device 120 side may be the starting point to start the communication session. In this case, the main body of the processing after step S413 can be the same as Figure 4 Therefore, in the embodiment, the control unit 112 of the client device 110 and the control unit 122 of the server device 120 can have the same functions as each other.

[0058] As described above, the authentication system 100 according to the embodiment includes the client device 110 and the server device 120 as authentication modules (first authentication module and second authentication module) connected in a manner capable of communicating with each other. In the following description, the first authentication module is associated with the client device 110, and the second authentication module is associated with the server device 120, but this is only for the purpose of simplifying the description. The following description is also applicable when the server device 120 is associated with the first authentication module and the client device 110 is associated with the second authentication module.

[0059] The client device 110 as the first authentication module includes an authentication data acquisition unit 111 as a first acquisition unit. The authentication data acquisition unit 111 acquires authentication data 111A as the first authentication data by associating an OID as the first authentication information with an OPW as the second authentication information. The OID is generated according to a first generation logic based on the first identification information inherent to the client device 110 and the second identification information inherent to the server device 120 as the second authentication module, and the OPW is generated according to a second generation logic based on the OID, the first identification information, and the second identification information.

[0060] In addition, the client device 110 includes a control unit 112 as a first control unit. The control unit 112 sends the OID of the authentication data 111A to the server device 120, and generates a challenge value as third authentication information according to a third generation logic based on the OID of the authentication data 111A sent to the server device 120 and the OPW of the authentication data 111A associated with the OID. In addition, the challenge value generated here can be expressed as reference information.

[0061] In addition, the server device 120 includes an authentication data acquisition unit 121 as a second acquisition unit and a control unit 122 as a second control unit. The authentication data acquisition unit 121 acquires authentication data 121A as second authentication data by associating OID with OPW, and the authentication data 121A has the same structure as the above-mentioned authentication data 111A. In addition, when the control unit 122 receives the OID of the authentication data 111A from the client device 110, based on the OID of the authentication data 121A that is consistent with the OID of the authentication data 111A received from the client device 110 and the OPW of the authentication data 121A associated with the OID, a challenge value is generated according to the above-mentioned third generation logic, and the challenge value encrypted using the OPW of the authentication data 121A as the first key information is returned to the client device 110 as the reply information.

[0062] Here, in an embodiment, when the control unit 112 of the client device 110 receives a reply message from the server device 120, it uses the OPW of the authentication data 111A associated with the OID sent to the server device 120 as the second key information corresponding to the first key information to decrypt the reply message, performs authentication based on a comparison between the decrypted reply information and the above-mentioned reference information, and determines whether the communication session with the server device 120 can continue based on the result of the authentication.

[0063] According to the above configuration, authentication equivalent to FIDO authentication can be performed between the client device 110 and the server device 120 without using certificates, using a challenge value generated based on OID and OPW, which are relatively simple information. This can reduce the increase in operation costs and man-hours caused by using certificates.

[0064] In the embodiment, the client device 110 and the server device 120 are connected to each other via a network so as to be able to communicate with each other. Furthermore, the first identification information and the second identification information are address information for identifying the client device 110 and the server device 120 on the network, respectively.

[0065] According to the above configuration, the first identification information and the second identification information can be easily configured using address information.

[0066] In addition, in the embodiment, the OID is also generated based on variable information that changes synchronously between the client device 110 and the server device 120 every time a communication session between the client device 110 and the server device 120 starts.

[0067] According to the above structure, it is possible to easily generate a different OID for each communication session using variable information. Thus, even if the OID is leaked in a communication session, the leaked OID cannot be used in other communication sessions. As a result, unlike the previous FIDO authentication in which the security is reduced until the certificate is updated once the key associated with the certificate is leaked, the security can be improved.

[0068] Here, in the embodiment, the variable information includes counter information that changes every time a communication session between the client device 110 and the server device 120 starts.

[0069] According to the above configuration, variable information can be easily configured using counter information.

[0070] In addition, in an embodiment, the first generation logic includes: generating OID based on a pseudo-random number, which is obtained by inputting a value based on at least the first identification information and the second identification information into a pseudo-random function PRF() (refer to the above-mentioned equations (10) and (11)).

[0071] According to the above configuration, a unique OID can be easily generated using a pseudo-random function.

[0072] In addition, in an embodiment, the second generation logic includes: generating OPW based on a first hash value, wherein the first hash value is obtained by inputting OID and a value based on the first identification information and the second identification information into a custom function Pwlog() as a first hash function (see the above formula (20)).

[0073] According to the above-described configuration, a unique OPW can be easily generated using the first hash function.

[0074] In addition, in an embodiment, the third generation logic includes: generating a challenge value based on a second hash value, wherein the second hash value is obtained by inputting a value based on the OID (e.g., a hash value) and a value based on the second authentication information (e.g., a hash value) into a hash function hash() which is a second hash function (refer to the above formula (30)).

[0075] According to the above configuration, a unique challenge value can be easily generated using the second hash function.

[0076] Finally, the hardware structure of the authentication module (client device 110 and server device 120) involved in the above-mentioned embodiment is described. The authentication module involved in the embodiment is configured to have the following Figure 5 A computer 500 having the hardware structure shown.

[0077] It is an exemplary and schematic block diagram showing the hardware structure of the computer 500 constituting the authentication module according to the embodiment.

[0078] like Figure 5 As shown, the computer 500 includes a processor 510 , a memory 520 , a storage device 530 , an input / output interface (I / F) 540 , and a communication interface (I / F) 550 . These hardware are connected to a bus 560 .

[0079] The processor 510 is configured as, for example, a CPU (Central Processing Unit), and the processor 510 integrally controls the operations of various components of the computer 500 .

[0080] The memory 520 includes, for example, a ROM (Read Only Memory) and a RAM (Random Access Memory), and realizes volatile or nonvolatile storage of various data such as programs executed by the processor 510 and provision of a work area for the processor 510 to execute programs.

[0081] The storage device 530 includes, for example, a HDD (Hard Disk Drive) or an SSD (Solid State Drive), and stores various data in a nonvolatile manner.

[0082] The input / output interface 540 controls input of data from input devices (not shown) such as a keyboard and a mouse to the computer 500 and output of data from the computer 500 to output devices (not shown) such as a display and a speaker.

[0083] The communication interface 550 enables the computer 500 to perform communications with other devices.

[0084] As a result of the processor 510 executing the authentication program pre-stored in the memory 520 or the storage device 530, the functional structure of the client device 110 and the server device 120 as the authentication module involved in the embodiment (see Figure 2 ) is implemented as a functional module group obtained by the cooperation of hardware and software. However, in the implementation mode, Figure 2 Part or all of the functional block groups shown may also be realized only by hardware such as a dedicated circuit.

[0085] In addition, the above-mentioned authentication program does not necessarily need to be pre-stored in the memory 520 or the storage device 530. For example, the above-mentioned authentication program can also be provided as a computer program product recorded in a computer-readable medium such as various magnetic disks such as floppy disks (FD) or various optical disks such as DVDs (Digital Versatile Disks) in an installable or executable form.

[0086] In addition, the above-mentioned authentication program may be provided or distributed via a network such as the Internet. That is, the above-mentioned authentication program may be provided in a form such as being stored on a computer connected to a network such as the Internet and being accepted for download via the network.

[0087] <Modification>

[0088] In the above-mentioned embodiment, the following structure is illustrated: the authentication module is a client device 110 and a server device 120 as different electronic devices connected in a manner capable of communicating via a network. However, the concept of "authentication module" disclosed in the present invention can include not only physical structures such as electronic devices, but also logical structures such as software applications. Therefore, the technology disclosed in the present invention can also be applied to authentication between applications carried by an electronic device. In this case, the OID can be generated based on inherent identification information (and variable information) for identifying the application, and the OPW can be generated based on the OID and the inherent identification information for identifying the application. As the inherent identification information for identifying the application, for example, a license number assigned to each application can be considered.

[0089] In the above-mentioned embodiment, the following structure is illustrated: as the identification information inherent to the authentication module, the address information for identifying the authentication module on the network is used. However, in the present disclosure, the identification information can be information other than the address information, such as information arbitrarily and uniquely specified by the user, as long as it can identify the authentication module.

[0090] In addition, in the above-mentioned embodiment, the following structure is illustrated: counter information that is regularly incremented or decremented is used as variable information that changes synchronously between authentication modules every time a communication session starts. However, in the present disclosure, as long as variable information is information that changes synchronously between authentication modules every time a communication session starts, it may be information that is different from counter information and does not change regularly.

[0091] In addition, in the above-mentioned embodiment, the first generation logic using a pseudo-random function and the second generation logic and the third generation logic using a hash function are illustrated. However, in the present disclosure, the first generation logic does not have to be logic using a pseudo-random function as long as it is logic capable of generating a unique OID. Similarly, the second generation logic does not have to be logic using a hash function as long as it is logic capable of generating a unique OPW associated with the OID, and the third generation logic does not have to be logic using a hash function as long as it is logic capable of generating a unique challenge value based on a value based on the OID and a value based on the OPW.

[0092] In addition, in the above-mentioned embodiment, the following structure is illustrated: encryption / decryption of the challenge value is performed using OPW. However, the technology of the present disclosure can also include a structure in which encryption / decryption of the challenge value is performed using key information other than OPW.

[0093] For example, the technology of the present disclosure can include a structure in which variable information (e.g., counter information) that changes synchronously between the client device 110 and the server device 120 each time a communication session between the client device 110 and the server device 120 is started is used as key information for encryption / decryption of a challenge value. In this structure, the reply information is a challenge value encrypted using the variable information as the first key information, and the authentication is based on a comparison between the reply information and the reference information decrypted using the same variable information as the second key information.

[0094] In addition, the technology disclosed in the present invention can include a structure in which fixed information that does not change regardless of the communication session is used as key information for encryption / decryption of the challenge value. In this structure, the reply information is a challenge value encrypted using fixed information based on the first identification information and the second identification information (for example, the sum of the first identification information and the second identification information) as the first key information, and the authentication is based on the comparison between the reply information and the reference information after the same fixed information is used as the second key information for decryption.

[0095] Furthermore, the disclosed technology can also include the following structure: encryption / decryption of the challenge value is not performed. In this structure, the response information is the challenge value itself, and the authentication is based on direct comparison of the response information with the reference information. In such a structure, the point that no certificate is required is also common to the above-mentioned embodiment, so as with the above-mentioned embodiment, the increase in cost and man-hours spent during operation can be suppressed.

[0096] Several embodiments and variations of the present disclosure are described above, but these embodiments and variations are presented as examples and are not intended to limit the scope of the invention. These new embodiments and variations can be implemented in various other ways, and can be omitted, replaced, and changed in various ways without departing from the scope of the subject matter of the invention. These embodiments and variations are included in the scope and subject matter of the invention, and are included in the technical solutions described in the claims and their equivalents.

[0097] Description of Reference Numerals

[0098] 100: authentication system; 110: client device (authentication module, first authentication module); 120: server device (authentication module, second authentication module); 111: authentication data acquisition unit (first acquisition unit); 111A: authentication data (first authentication data); 112: control unit (first control unit); 121: authentication data acquisition unit (second acquisition unit); 121A: authentication data (second authentication data); 122: control unit (second control unit).

Claims

1. An authentication system comprising a first authentication module and a second authentication module connected to each other in a manner capable of communicating with each other, wherein: The first authentication module comprises: A first acquisition unit, which acquires first authentication data formed by associating first authentication information with second authentication information, wherein the first authentication information is generated based on first identification information inherent to the first authentication module and second identification information inherent to the second authentication module and according to a first generation logic, and the second authentication information is generated based on the first authentication information, the first identification information, and the second identification information and according to a second generation logic; as well as a first control unit that sends the first authentication information of the first authentication data to the second authentication module, and generates third authentication information as reference information according to a third generation logic based on the first authentication information of the first authentication data sent to the second authentication module and the second authentication information of the first authentication data associated with the first authentication information, The second authentication module comprises: a second acquiring unit, configured to acquire second authentication data obtained by associating the first authentication information with the second authentication information, wherein the second authentication data has the same structure as the first authentication data; as well as a second control unit, which, when receiving the first authentication information of the first authentication data from the first authentication module, generates the third authentication information according to the third generation logic based on the first authentication information of the second authentication data consistent with the first authentication information of the first authentication data received from the first authentication module and the second authentication information of the second authentication data associated with the first authentication information, and replies the third authentication information or the third authentication information encrypted by using the first key information as reply information to the first authentication module, When the first control unit receives the reply information from the second authentication module, it performs authentication based on comparison between the reply information and the reference information, or comparison between the reply information decrypted using the second key information corresponding to the first key information and the reference information, and determines whether the communication session between the first authentication module and the second authentication module can continue based on the result of the authentication.

2. The authentication system according to claim 1, wherein: The reply information is the third authentication information obtained by encrypting the second authentication information of the second authentication data associated with the first authentication information of the second authentication data that is consistent with the first authentication information of the first authentication data sent from the first authentication module to the second authentication module using the second authentication information as the first key information. The authentication is based on comparison between the reply information decrypted using the second authentication information of the first authentication data associated with the first authentication information of the first authentication data sent from the first authentication module to the second authentication module as the second key information and the reference information.

3. The authentication system according to claim 1, wherein: The reply information is the third authentication information encrypted using variable information that changes synchronously between the first authentication module and the second authentication module each time the communication session between the first authentication module and the second authentication module starts as the first key information. The authentication is based on comparison between the reply information decrypted using the variable information as the second key information and the reference information.

4. The authentication system according to claim 1, wherein: The reply information is the third authentication information encrypted using fixed information based on the first identification information and the second identification information as the first key information, The authentication is based on comparison between the reply information decrypted using the fixed information as the second key information and the reference information.

5. The authentication system according to any one of claims 1 to 4, wherein: The first authentication module and the second authentication module are connected to each other in a manner capable of communicating with each other via a network. The first identification information and the second identification information respectively include information for identifying the first authentication module and the second authentication module on the network.

6. The authentication system according to any one of claims 1 to 5, wherein: The first authentication information is also generated based on variable information that changes synchronously between the first authentication module and the second authentication module each time the communication session between the first authentication module and the second authentication module starts.

7. The authentication system according to claim 6, wherein: The variable information includes counter information that changes each time the communication session between the first authentication module and the second authentication module starts.

8. The authentication system according to any one of claims 1 to 7, wherein: The first generation logic includes generating the first authentication information based on a pseudo-random number obtained by inputting a value based on at least the first identification information and the second identification information into a pseudo-random function.

9. The authentication system according to any one of claims 1 to 8, wherein: The second generation logic includes generating the second authentication information based on a first hash value obtained by inputting the first authentication information and a value based on the first identification information and the second identification information into a first hash function.

10. The authentication system according to any one of claims 1 to 9, wherein: The third generation logic includes generating the third authentication information based on a second hash value obtained by inputting a value based on the first authentication information and a value based on the second authentication information into a second hash function.

11. An authentication module connected to other authentication modules in a communicative manner, the authentication module comprising: a first acquisition unit that acquires first authentication data that associates first authentication information with second authentication information, wherein the first authentication information is generated based on first identification information inherent to the authentication module and second identification information inherent to the other authentication module and according to a first generation logic, and the second authentication information is generated based on the first authentication information, the first identification information, and the second identification information and according to a second generation logic; and a first control unit, which sends the first authentication information of the first authentication data to the other authentication module that acquires the second authentication data having the same structure as the first authentication data, and generates third authentication information as reference information according to a third generation logic based on the first authentication information of the first authentication data sent to the other authentication module and the second authentication information of the first authentication data associated with the first authentication information, wherein: When the other authentication module receives the first authentication information of the first authentication data from the authentication module, the other authentication module generates the third authentication information according to the third generation logic based on the first authentication information of the second authentication data consistent with the first authentication information received from the authentication module and the second authentication information of the second authentication data associated with the first authentication information, and replies to the authentication module with the third authentication information or the third authentication information encrypted with the first key information as reply information. When the first control unit receives the reply information from the other authentication module, it performs authentication based on comparison between the reply information and the reference information, or comparison between the reply information decrypted with the second key information corresponding to the first key information and the reference information, and decides whether the communication session between the authentication module and the other authentication module can continue based on the result of the authentication.

12. An authentication module connected to another authentication module in a communicative manner, the authentication module comprising: a second acquisition unit, which acquires second authentication data by associating first authentication information with second authentication information, wherein the first authentication information is generated according to a first generation logic based on first identification information inherent to the other authentication module and second identification information inherent to the authentication module, and the second authentication information is generated according to a second generation logic based on the first authentication information, the first identification information, and the second identification information; and a second control unit, wherein the other authentication module acquires first authentication data having the same structure as the second authentication data, and generates third authentication information as reference information according to a third generation logic based on the first authentication information of the first authentication data and the second authentication information of the first authentication data associated with the first authentication information; wherein the second control unit, when receiving the first authentication information of the first authentication data from the other authentication module, generates third authentication information according to the third generation logic based on the first authentication information of the second authentication data consistent with the first authentication information of the first authentication data received from the other authentication module and the second authentication information of the second authentication data associated with the first authentication information, and replies the third authentication information or the third authentication information encrypted using the first key information as reply information to the other authentication module; wherein the other authentication module, when receiving the reply information, performs authentication based on comparison between the reply information and the reference information, or comparison between the reply information decrypted using the second key information corresponding to the first key information and the reference information, and determines whether the communication session between the authentication module and the other authentication module can continue based on the result of the authentication.

13. The authentication module according to claim 11 or 12, wherein: The reply information is the third authentication information obtained by encrypting the second authentication information of the second authentication data associated with the first authentication information of the second authentication data that is consistent with the first authentication information of the first authentication data sent from one of the authentication module and the other authentication module to the other party using the first key information as the first authentication information, The authentication is based on comparing the reply information decrypted by using the second authentication information of the first authentication data associated with the first authentication information of the first authentication data sent from one of the authentication module and the other authentication module to the other as the second key information and the reference information.

14. The authentication module according to claim 11 or 12, wherein: The reply information is the third authentication information encrypted using variable information that changes synchronously between the authentication module and the other authentication module each time the communication session between the authentication module and the other authentication module starts as the first key information, The authentication is based on comparison between the reply information decrypted using the variable information as the second key information and the reference information.

15. The authentication module according to claim 11 or 12, wherein: The reply information is the third authentication information encrypted using fixed information based on the first identification information and the second identification information as the first key information, The authentication is based on comparison between the reply information decrypted using the fixed information as the second key information and the reference information.

16. The authentication module according to any one of claims 11 to 15, wherein: The authentication module is connected to the other authentication modules in a manner that allows them to communicate with each other via a network. The first identification information and the second identification information respectively include information for identifying the authentication module and the other authentication modules on the network.

17. The authentication module according to any one of claims 11 to 16, wherein: The first authentication information is also generated based on variable information that changes synchronously between the authentication module and the other authentication module each time the communication session between the authentication module and the other authentication module starts.

18. The authentication module according to claim 17, wherein: The variable information includes counter information that changes each time the communication session between the authentication module and the other authentication module starts.

19. The authentication module according to any one of claims 11 to 18, wherein: The first generation logic includes generating the first authentication information based on a pseudo-random number obtained by inputting a value based on at least the first identification information and the second identification information into a pseudo-random function.

20. The authentication module according to any one of claims 11 to 19, wherein: The second generation logic includes generating the second authentication information based on a first hash value obtained by inputting the first authentication information and a value based on the first identification information and the second identification information into a first hash function.

21. The authentication module according to any one of claims 11 to 20, wherein: The third generation logic includes generating the third authentication information based on a second hash value obtained by inputting a value based on the first authentication information and a value based on the second authentication information into a second hash function.

22. An authentication program for causing a computer including an authentication module connected to another authentication module in a communicable manner to execute the following processing: Acquire first authentication data by associating first authentication information with second authentication information, wherein the first authentication information is generated based on first identification information inherent to the authentication module and second identification information inherent to the other authentication module and according to a first generation logic, and the second authentication information is generated based on the first authentication information, the first identification information and the second identification information and according to a second generation logic; Sending the first authentication information of the first authentication data to the other authentication module that acquires the second authentication data having the same structure as the first authentication data; generating third authentication information as reference information according to a third generation logic based on the first authentication information of the first authentication data sent to the other authentication module and the second authentication information of the first authentication data associated with the first authentication information; The other authentication module, when receiving the first authentication information of the first authentication data from the authentication module, generates the third authentication information according to the third generation logic based on the first authentication information of the second authentication data consistent with the first authentication information received from the authentication module and the second authentication information of the second authentication data associated with the first authentication information, replies the third authentication information or the third authentication information encrypted by using the first key information to the authentication module as reply information, and when receiving the reply information from the other authentication module, performs authentication based on comparison between the reply information and the reference information, or comparison between the reply information decrypted by using the second key information corresponding to the first key information and the reference information; as well as Based on the result of the authentication, it is determined whether the communication session between the authentication module and the other authentication module can continue.

23. An authentication program for causing a computer including an authentication module connected to another authentication module in a communicable manner to execute the following processing: Acquire second authentication data by associating first authentication information with second authentication information, wherein the first authentication information is generated based on first identification information inherent to the other authentication module and second identification information inherent to the authentication module and according to a first generation logic, and the second authentication information is generated based on the first authentication information, the first identification information and the second identification information and according to a second generation logic; The other authentication module acquires first authentication data having the same structure as the second authentication data, generates third authentication information as reference information according to a third generation logic based on the first authentication information of the first authentication data and the second authentication information of the first authentication data associated with the first authentication information, and generates third authentication information according to the third generation logic based on the first authentication information of the second authentication data consistent with the first authentication information of the first authentication data received from the other authentication module and the second authentication information of the second authentication data associated with the first authentication information, when the first authentication information of the first authentication data is received from the other authentication module; as well as The third authentication information or the third authentication information encrypted by using the first key information is replied to the other authentication module as reply information. When the other authentication module receives the reply information, it performs authentication based on comparison between the reply information and the reference information, or comparison between the reply information decrypted by using the second key information corresponding to the first key information and the reference information, and decides whether the communication session between the authentication module and the other authentication module can continue based on the result of the authentication.

24. An authentication procedure according to claim 22 or 23, wherein: The reply information is the third authentication information obtained by encrypting the second authentication information of the second authentication data associated with the first authentication information of the second authentication data that is consistent with the first authentication information of the first authentication data sent from one of the authentication module and the other authentication module to the other party using the first key information as the first authentication information, The authentication is based on comparing the reply information decrypted by using the second authentication information of the first authentication data associated with the first authentication information of the first authentication data sent from one of the authentication module and the other authentication module to the other as the second key information and the reference information.

25. An authentication procedure according to claim 22 or 23, wherein: The reply information is the third authentication information encrypted using variable information that changes synchronously between the authentication module and the other authentication module each time the communication session between the authentication module and the other authentication module starts as the first key information, The authentication is based on comparison between the reply information decrypted using the variable information as the second key information and the reference information.

26. An authentication procedure according to claim 22 or 24, wherein: The reply information is the third authentication information encrypted using fixed information based on the first identification information and the second identification information as the first key information, The authentication is based on comparison between the reply information decrypted using the fixed information as the second key information and the reference information.

27. An authentication procedure according to any one of claims 22 to 26, wherein: The authentication module is connected to the other authentication modules in a manner that allows them to communicate with each other via a network. The first identification information and the second identification information respectively include information for identifying the authentication module and the other authentication modules on the network.

28. An authentication procedure according to any one of claims 22 to 27, wherein: The first authentication information is also generated based on variable information that changes synchronously between the authentication module and the other authentication module each time the communication session between the authentication module and the other authentication module starts.

29. The authentication procedure of claim 28, wherein: The variable information includes counter information that changes each time the communication session between the authentication module and the other authentication module starts.

30. An authentication procedure according to any one of claims 22 to 29, wherein: The first generation logic includes generating the first authentication information based on a pseudo-random number obtained by inputting a value based on at least the first identification information and the second identification information into a pseudo-random function.

31. An authentication procedure according to any one of claims 22 to 30, wherein: The second generation logic includes generating the second authentication information based on a hash value obtained by inputting the first authentication information and a value based on the first identification information and the second identification information into a hash function.

32. An authentication procedure according to any one of claims 22 to 31, wherein: The third generation logic includes generating the third authentication information based on a second hash value obtained by inputting a value based on the first authentication information and a value based on the second authentication information into a second hash function.