Authentication information generation apparatus, authentication information generation method, authentication information generation program, and authentication information generation system
The authentication information generation device addresses security vulnerabilities by generating and converting credentials using a private key stored in memory, ensuring secure and efficient password management without terminal storage, thus enhancing user authentication security.
Patent Information
- Application Number
- JP2023020038
- Authority / Receiving Office
- JP · JP
- Patent Type
- Applications
- Current Assignee / Owner
- Filing Date
- 2023-02-13
- Publication Date
- 2024-08-23
- Estimated Expiration
- 2043-02-13
AI Technical Summary
Existing authentication systems face security risks due to the storage of unique codes on user terminals, making them vulnerable to information leakage and password guessing, and the management of multiple passwords is cumbersome and insecure.
An authentication information generation device that generates and converts authentication information using a private key, stored only in the user's memory, and irreversible functions to create secure, unique credentials for each authentication target, ensuring no sensitive data is stored on the terminal.
Prevents unauthorized access and secure credential management by eliminating the need for storing authentication information on terminals, reducing the risk of data breaches and simplifying password management.
Smart Images

Figure 2024114343000001_ABST
Abstract
Description
[Technical field]
[0001] The present invention relates to an authentication information generating device, an authentication information generating method, an authentication information generating program, and an authentication information generating system. [Background technology]
[0002] Traditionally, websites etc. issue users with IDs and passwords (authentication information) for identity authentication, and allow the users to use specific functions and privileges after identity authentication. From a risk management perspective, it is preferable to use different passwords for identity authentication for each website etc., but this requires users to keep track of passwords for each website etc., which can lead to inconvenience if the password is forgotten. Also, from a risk management perspective, it is better not to use passwords that are easy to remember, which of course increases the likelihood of forgetting the password.
[0003] In this regard, Patent Document 1 discloses a password authentication system including a website having an authentication server that performs user authentication using an authentication password, and a terminal device used by a user, in which, during setup, the terminal device performs a logical operation using a user password input by the user and a unique code stored in a storage means to generate an authentication password, and transmits a password registration request including the generated authentication password to the authentication server of the website, and the authentication server stores the authentication password included in the received password registration request as a registration password in the password storage means together with user identification information, and during password authentication, the user designates a target website and inputs his / her own user password into the terminal device, and the terminal device generates an authentication password by performing a logical operation using the unique code stored in the storage means and the input user password, and transmits a password authentication request including the generated authentication password to the authentication server of the website, and the authentication server verifies whether the authentication password included in the received authentication request matches the registration password stored in the password storage means and identified by the user identification information corresponding to the received authentication request. [Prior art documents] [Patent documents]
[0004] [Patent Document 1] Patent Publication No. 2021-149930 Summary of the Invention [Problem to be solved by the invention]
[0005] However, in the system described in Patent Document 1, the unique code used to generate the authentication password is stored in the terminal device used by the user, and the authentication password is also generated, so if information is leaked from the terminal device, there is a high possibility that the authentication password will be discovered. That is, the user password is easy to guess because it has a small number of digits, and if the information of the terminal device is known, there is a possibility that the calculation algorithm of the authentication password will be discovered. In addition, there is a risk that the user password will remain in the cache memory of the terminal device and be obtained, and since the website to be authenticated is associated with the unique code, if information is leaked, it will be possible to discover which website the unique code is for, which could greatly compromise security.
[0006] By the way, for managing authentication information, management tools also called password management software are widely provided, and by using the management tools, authentication information used by users can be centrally managed. However, such a management system is only valid on the premise that the company providing the management tool has no malicious intent and that no information leakage occurs from the management tool.
[0007] The present invention has been made in consideration of the above-mentioned problems, and has as one object to prevent authentication information used by an authentication target to be authenticated from being obtained or understood by a third party, regardless of malicious intent on the part of an operator providing a management tool or information leakage from the management tool, and to enable the authentication information to be used safely. [Means for solving the problem]
[0008] In order to achieve the above-mentioned object, an authentication information generation device according to one aspect of the present invention is an authentication information generation device that generates first authentication information stored in a management tool and second authentication information used for authenticating a user in an authentication target, the authentication information generation device being configured to be able to communicate with a user terminal used by the user, and having: a first reception unit that accepts input of a private key from the user terminal, a first authentication information generation unit that generates the first authentication information, a calculation unit that calculates a return value by a predetermined irreversible function based on a predetermined argument, a second authentication information generation unit that causes the calculation unit to calculate a return value using the private key and the first authentication information generated by the first authentication information generation unit as arguments, and generates the second authentication information consisting of the return value, a second reception unit that accepts from the user terminal a conversion request to convert the first authentication information obtained from the management tool together with the input of the first authentication information, a conversion unit that causes the calculation unit to calculate a return value using the private key and the first authentication information accepted by the second reception unit as arguments, and converts the first authentication information into the second authentication information consisting of the return value, and a provision unit that provides the user terminal with the second authentication information obtained by converting the first authentication information.
[0009] The device may further include a confirmation information generation unit that calculates a return value using a specified function with the private key as an argument and generates confirmation information consisting of some or all of the return value, and an identification effect imparting unit that imparts an identification effect based on specified classification rules when displaying the confirmation information.
[0010] The device may further include a third reception unit that receives an instruction to generate the second authentication information from the user terminal along with a designation of a predetermined number of characters, and the second authentication information generation unit may cause the calculation unit to calculate a return value consisting of the predetermined number of characters, and generate the second authentication information consisting of the return value.
[0011] The device may further include a fourth receiving unit that receives input of a character string to be added to the second authentication information from the user terminal, and the second authentication information generating unit may generate the second authentication information by deleting the number of characters of the character string from a return value consisting of the specified number of characters and replacing that number of characters with the character string.
[0012] The device may further include a setting unit that sets the private key received from the user terminal in an information storage unit, and the second authentication information generation unit and the conversion unit may extract the private key by referring to the information storage unit during the process of generating or converting the second authentication information.
[0013] The authentication information generation device may be provided as a single-page application, and the information storage unit may be constructed in a memory area within a browser provided in a user terminal.
[0014] The first authentication information generation unit may generate a random number based on a predetermined seed value, and generate the first authentication information consisting of the random number.
[0015] An authentication information generation method according to another aspect of the present invention is a method for generating first authentication information stored in a management tool and second authentication information used for authenticating a user in an authentication target, the method including the steps of: a first reception process for receiving input of a private key from the user terminal; a first authentication information generation process for generating the first authentication information; a calculation process for calculating a return value by a predetermined irreversible function based on a predetermined argument; a second authentication information generation process for calculating a return value using the private key and the first authentication information generated by the first authentication information generation process as arguments by the calculation process, and generating the second authentication information consisting of the return value; a second reception process for receiving, from the user terminal, an input of the first authentication information, and a conversion request for converting the first authentication information obtained from the management tool into the second authentication information; a conversion process for calculating a return value using the private key and the first authentication information received by the second reception process as arguments by the calculation process, and converting the first authentication information into the second authentication information consisting of the return value; and a providing process for providing the second authentication information obtained by converting the first authentication information to the user terminal.
[0016] An authentication information generation program according to another aspect of the present invention is an authentication information generation program for generating first authentication information stored in a management tool and second authentication information used for authenticating a user in an authentication target, the program causing a computer configured to be able to communicate with a user terminal used by the user to execute: a first reception process for receiving input of a private key from the user terminal; a first authentication information generation process for generating the first authentication information; a calculation process for calculating a return value by a predetermined irreversible function based on a predetermined argument; a second authentication information generation process for calculating a return value using the private key and the first authentication information generated by the first authentication information generation process as arguments by the calculation process, and generating the second authentication information consisting of the return value; a second reception process for receiving, from the user terminal, an input of the first authentication information and a conversion request for converting the first authentication information acquired from the management tool into the second authentication information; a conversion process for calculating a return value using the private key and the first authentication information received by the second reception process as arguments by the calculation process, and converting the first authentication information into the second authentication information consisting of the return value; and a providing process for providing the second authentication information obtained by converting the first authentication information to the user terminal.
[0017] An authentication information generation system according to another aspect of the present invention is a system for generating first authentication information stored in a management tool and second authentication information used for authenticating a user in an authentication target, the system comprising an authentication information generation device and a management tool, and configured to be capable of communicating with a user terminal used by the user, the authentication information generation device including a first reception unit that receives an input of a private key from the user terminal, a first authentication information generation unit that generates first authentication information, a calculation unit that calculates a return value by a predetermined irreversible function based on a predetermined argument, a second authentication information generation unit that causes the calculation unit to calculate a return value using the private key and the first authentication information generated by the first authentication information generation unit as arguments and generates second authentication information consisting of the return value, and a second reception unit that receives, from the user terminal, input of the first authentication information registered in the management tool, along with a conversion request to convert the first authentication information into the second authentication information; a conversion unit that causes the calculation unit to calculate a return value using the private key and the first authentication information received by the second reception unit as arguments, and converts the first authentication information into the second authentication information consisting of the return value; and a second authentication information providing unit that provides, to the user terminal, the second authentication information converted from the first authentication information by the conversion unit, wherein the management tool has a registration unit that registers the first authentication information in a specified information storage unit, and a first authentication information providing unit that provides the first authentication information to the user terminal by referring to the specified information storage unit.
[0018] The computer program may be provided by being stored on various data-readable recording media, or may be provided so as to be downloadable via a network such as the Internet. Effect of the Invention
[0019] According to the present invention, regardless of malicious intent on the part of the business providing the management tool or information leakage from the management tool, authentication information used by the authentication subject to be authenticated can be prevented from being obtained or understood by a third party, and the authentication information can be used safely. [Brief description of the drawings]
[0020] [Figure 1] 2 is a functional block diagram showing functions of an authentication information generating device according to an embodiment of the present invention. FIG. [Diagram 2] 4 is a sequence diagram showing a flow of processing executed in the authentication information generating device according to the embodiment of the present invention. FIG. [Diagram 3] 4 is a sequence diagram showing a flow of processing executed in the authentication information generating device according to the embodiment of the present invention. FIG. [Figure 4] 10 is a process flow diagram showing the flow of setting processing executed in the authentication information generating device according to the embodiment of the present invention. FIG. [Diagram 5] 11A to 11C are diagrams showing screens and their transitions when a setting process is executed in the authentication information generating device according to the embodiment of the present invention. [Figure 6] 4 is a process flow diagram showing the flow of a generation process executed in the authentication information generation device according to the embodiment of the present invention. FIG. [Figure 7] 1A to 1C are diagrams showing screens and their transitions when a generation process is executed in an authentication information generation device according to an embodiment of the present invention. [Figure 8] FIG. 4 is a process flow diagram showing the flow of a conversion process executed in the authentication information generating device according to the embodiment of the present invention. [Figure 9] 11A to 11C are diagrams showing screens and their transitions when a conversion process is executed in the authentication information generating device according to the embodiment of the present invention. DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS
[0021] Configuration Overview An authentication information generating device 1 according to an embodiment of the present invention will be described below with reference to the drawings. 1, in this embodiment, an authentication information generation device 1, a user terminal 2, a management tool 3, and an authentication target 4 are configured to be able to communicate with each other via a network NW such as the Internet. Moreover, the authentication information generation device 1 and the management tool 3 configure an authentication information generation system 10 according to this embodiment.
[0022] The authentication information generating device 1 is a device that generates predetermined authentication information, which is required for a user to be authenticated in an authentication target 4 such as a predetermined website or software. In this embodiment, the authentication information generating device 1 generates two pieces of authentication information, namely, first authentication information and second authentication information. The first authentication information is information required to generate the second authentication information, and is stored in the management tool 3 after being generated by the authentication information generating device 1. The second authentication information is information generated from the first authentication information and a private key, which will be described later, and is used when a user is authenticated by the authentication target 4. The authentication information generation device 1 can always generate the same second authentication information using a predetermined algorithm based on the same combination of the first authentication information and the secret key.
[0023] The user terminal 2 is a terminal used by a user who uses the authentication information generation device 1, and the user is provided with the functions of the authentication information generation device 1 via the user terminal 2.
[0024] The management tool 3 is software (which may be provided online, such as SaaS) that manages the information required for user authentication on a specific website or software, and is sometimes commonly referred to as password management software. The information managed by the management tool 3 includes IDs and passwords (authentication information in this embodiment), and may also include basic information such as the user's address and telephone number.
[0025] The authentication target 4 is an object for which the user is authenticated, such as a specific website or software. The authentication target 4 requests the user to input an ID and password (second authentication information in this embodiment) required for logging in, and authenticates the user based on the information input in response. If the authentication process is successful, the user is allowed to use specific functions and permissions.
[0026] In such a configuration, of the authentication information generated by the authentication information generating device 1, the first authentication information is registered in the management tool 3, and the second authentication information is used as information for the user to be authenticated by the authentication target 4. When a user is to be authenticated by a predetermined authentication subject 4, the user acquires first authentication information generated for authentication by the predetermined authentication subject 4 from the management tool 3. Then, the authentication information generating device 1 converts the first authentication information into second authentication information, and uses the obtained second authentication information for authentication by the predetermined authentication subject 4.
[0027] Authentication information generating device 1 The authentication information generation device 1 is a device that generates the above-mentioned two pieces of authentication information, the first authentication information and the second authentication information, in response to a request from a user, and converts the first authentication information into the second authentication information. The second authentication information generated by the authentication information generating device 1 constitutes information required when a user uses a specific function or authority in an authentication target 4 such as a specific website or software. Usually, such information is constituted by a so-called ID and password, but in this embodiment, the second authentication information is synonymous with a password. As a basic aspect, the authentication information is composed of a predetermined number of characters, including alphabetic characters (including uppercase and lowercase letters), numbers, and symbols, or a combination of these.
[0028] In this embodiment, the authentication information generation device 1 is provided as a single page application (SPA) or Web Assembly (WASM) application that is distributed by a Web server and runs on the user terminal 2. In this case, when a user accesses a specific Web server with the user terminal 2, an application written in HTML / JavaScript (registered trademark) (the authentication information generation device 1) is loaded onto the browser of the user terminal 2. After that, the authentication information generation device 1 runs only on the browser of the user terminal 2, and the user terminal 2 does not communicate with the server in principle. Regardless of this, however, the authentication information generation device 1 can also be provided as a web application that cooperates with a web server, in which case the user can receive the functions of the authentication information generation device 1 through a browser program installed in the user terminal 2. Also, the authentication information generation device 1 can be installed in the user terminal 2 and function on the user terminal 2.
[0029] As shown in FIG. 1, the authentication information generation device 1 has functional blocks consisting of an information storage unit 11, a setting unit 12, a confirmation information generation unit 13, an identification effect imparting unit 14, a calculation unit 15, a first authentication information generation unit 16, a second authentication information generation unit 17, a conversion unit 18, and a communication unit 19.
[0030] The information storage unit 11 stores the private key set by the setting unit 12. The private key is information required in the generation and conversion processes of authentication information, which will be described later. This private key is composed of, for example, alphabetic characters, numbers, or symbols, or a combination of these. The private key may be composed of one character string consisting of a certain number of characters, or may be composed of multiple character strings consisting of a certain number of characters. Furthermore, when composed of multiple character strings, the number of characters in the multiple character strings may be the same or different.
[0031] In addition, it is preferable that the private key is not stored in any device, terminal, or tool and can be used as long as the user remembers it. Therefore, it is preferable that the private key has an amount of information or a nature that is not difficult for the user to remember. A second authentication information generating unit 17 and a converting unit 18, which will be described later, refer to this information storage unit 11 and extract the private key in the authentication information generating process or conversion process.
[0032] When the authentication information generation device 1 is provided as the above-mentioned SPA or WASM application, the information storage unit 11 is constructed in a memory area in the browser. Therefore, the user terminal 2 does not need to establish and maintain a session with a Web server, and all functions of the authentication information generation device 1 are provided completely independently on the user terminal 2, so there is no risk of secret information leaking via the network NW. Note that the memory area of currently used browsers is extremely strictly separated from applications other than the browser on the same terminal, other browser windows, and other browser tabs due to its strict security requirements. Therefore, the information in the information storage unit 11 is not subject to attacks from other applications on the user terminal 2. Furthermore, when the authentication information generation device 1 is provided as a web application, the information storage unit 11 is realized by a session cookie created in the user terminal 2, and the authentication information generation device 1 holds the requested private key in the session cookie. As a result, the authentication information generation device 1 refers to the private key stored in the session cookie only while the user terminal 2 has established a session with the authentication information generation device 1, and when the session between the authentication information generation device 1 and the user terminal 2 ends, the private key is deleted in response to the deletion of the session cookie. As a result, while the session is established, it is not necessary to set the private key each time a generation process or conversion process of authentication information is performed, and since the private key is deleted when the session is disconnected, there is no risk of the private key being constantly recorded and leaked.
[0033] The setting unit 12 executes a setting process for setting the private key input by the user in the information storage unit 11. When the setting of the private key is repeatedly performed, only the private key input most recently is set in the information storage unit 11.
[0034] The confirmation information generating unit 13 calculates a return value by a predetermined function using the private key as an argument, and generates confirmation information consisting of a part or all of the return value. The confirmation information is information generated based on the private key input by the user. By referring to the confirmation information, the user can confirm whether the input private key is the correct private key that the user has memorized. In other words, the same confirmation information is always generated and displayed from a specific private key using a specific algorithm. As a result, if the generated confirmation information matches the information that is generated and displayed each time a private key is input, the user can recognize that the input private key is correct.
[0035] The type of the predetermined function is not particularly limited, but may be a hash function, for example, and the confirmation information generating unit 13 obtains a hash value from the private key using the hash function. In this case, the confirmation information generating unit 13 may use the returned hash value as the confirmation information as is, or may extract a predetermined number of upper or lower digits from the hash value and use them as the confirmation information. However, the confirmation information generating unit 13 is configured to always generate confirmation information using the same algorithm, and thus the same confirmation information is generated for the same private key.
[0036] The distinctive effect adding unit 14 adds a distinctive effect based on a predetermined classification rule when displaying the confirmation information. The predetermined classification rule may be, for example, a permutation of a predetermined number of upper or lower digits of the bit string by converting the confirmation information into bits. However, regardless of this example, the predetermined classification rule may be any rule that can classify the confirmation information into a certain number of patterns. Furthermore, the number of classifications is not particularly limited. The identification effect is given to the confirmation information based on a predetermined classification rule. An example of the identification effect is color, and when the confirmation information is displayed on the user terminal 2, the confirmation information is displayed in a color according to the classification of the confirmation information. In addition, the identification effect may be the font or character size of the confirmation information, a blinking pattern, or a color of a frame surrounding the confirmation information, as long as it can distinguish the classification of each confirmation information. This allows the user to infer with a certain degree of certainty whether the private key he or she entered is the correct private key.
[0037] In this embodiment, the confirmation information generated by the confirmation information generating unit 13 is given a predetermined distinguishing effect by the distinguishing effect adding unit 14 and displayed on the user terminal 2, but regardless of this, a pattern or design according to the classification of the confirmation information may be displayed. When such a pattern or design is displayed, the confirmation information may or may not be displayed together.
[0038] The calculation unit 15 calculates a return value by a predetermined irreversible function based on a predetermined argument. The predetermined irreversible function is, for example, a hash function, which is an irreversible one-way function. In this embodiment, when a hash function is used as the specified irreversible function, when the calculation unit 15 receives a specified argument from the second authentication information generation unit 17 or the conversion unit 18, it calculates a hash value in response to the argument and returns the hash value to the second authentication information generation unit 17 or the conversion unit 18.
[0039] The calculation unit 15 may repeat the calculation a predetermined number of times, such as inputting a predetermined argument to a predetermined irreversible function to calculate a return value, and then using the return value as an argument again to calculate a return value, etc. This can improve the security of the second authentication information formed by the return value.
[0040] The first authentication information generating unit 16 generates first authentication information. In a specific example, the first authentication information generating unit 16 includes a random number generator, generates random numbers based on a predetermined seed value, and generates first authentication information consisting of the random numbers. The predetermined seed value can be configured, for example, by the authentication information generating device 1 replacing variable information such as time with a numerical value. In another example, the seed value can be configured by a value arbitrarily input by the user. In this case, when the first authentication information generating unit 16 is requested by the user to generate first authentication information, it generates a random number from a predetermined seed value and provides the random number to the user as first authentication information.
[0041] In addition, when a predetermined number of characters is specified for the first authentication information to be generated, the first authentication information generation unit 16 can generate a random number composed of the predetermined number of characters and generate first authentication information consisting of the random number composed of the predetermined number of characters.
[0042] In response to a generation request from a user, the second authentication information generation unit 17 causes the calculation unit 15 to calculate a return value using the private key stored in the information storage unit 11 and the first authentication information generated by the first authentication information generation unit 16 as arguments, and executes a generation process to generate second authentication information consisting of the return value. In the generation process, the private key and the first authentication information are, for example, converted into bits and concatenated to form an argument consisting of one piece of information. Note that the process of treating the private key and the first authentication information as an argument consisting of one piece of information in this manner may be executed by the second authentication information generation unit 17, or may be executed by the calculation unit 15 after the calculation unit 15 receives the private key and the first authentication information from the second authentication information generation unit 17.
[0043] Furthermore, when a predetermined number of characters is designated for the second authentication information to be generated, the second authentication information generation unit 17 causes the calculation unit 15 to calculate a return value consisting of the predetermined number of characters, thereby generating second authentication information consisting of the return value. Note that when the number of characters is designated, first authentication information consisting of the designated number of characters is generated, and then the first authentication information and the private key are used as arguments consisting of one piece of information to calculate a return value, whereby second authentication information consisting of the designated number of characters is generated.
[0044] The second authentication information generating unit 17 can include a predetermined character string designated by the user in the second authentication information to be generated. Specifically, a part of the return value calculated based on the private key and the first authentication information is deleted by the number of characters of the predetermined character string, and replaced with the predetermined character string. In this case, in generating the first authentication information, a description indicating replacement with the character string may be added to the generated random number. In this way, when the second authentication information generating unit 17 or the converting unit 18 described later identifies such a description in the first authentication information, the second authentication information generating unit 17 or the converting unit 18 described later omits such a description and causes the calculating unit 15 to calculate the return value as usual, and then replaces a part of the return value with the character string in accordance with the description.
[0045] The second authentication information generating unit 17 may be configured to encode the generated second authentication information into a two-dimensional code such as a QR code (registered trademark), allowing the user to read the two-dimensional code using an imaging function such as a camera that is separately provided in the user terminal 2, and easily obtain the second authentication information.
[0046] In response to a conversion request from a user, the conversion unit 18 causes the calculation unit 15 to calculate a return value using the private key stored in the information storage unit 11 and the first authentication information received from the user as arguments, and executes a conversion process to convert the first authentication information into second authentication information consisting of the return value.
[0047] The communication unit 19 executes processing for transmitting and receiving data to and from the user terminal 2 via a network NW such as the Internet. This communication unit 19 functions, for example, as a reception unit that receives information from the user terminal 2. Specifically, it functions as a first reception unit that receives an input of a private key from the user terminal 2, a second reception unit that receives an input of the first authentication information and a conversion request for converting the first authentication information acquired from the management tool 3 into second authentication information, a third reception unit that receives an instruction to generate second authentication information along with a designation of a predetermined number of characters, and a fourth reception unit that receives an input of a character string to be added to the second authentication information from the user terminal 2. Furthermore, the communication unit 19 functions, for example, as a providing unit that provides information to the user terminal 2. Specifically, it functions as a first providing unit that provides the generated authentication information to the user terminal 2, and a second providing unit that provides the user terminal 2 with second authentication information converted from the first authentication information. In addition, the information generating unit 10 transmits information generated in response to execution of each functional unit to the user terminal 2, and receives information transmitted from the user terminal 2.
[0048] ●User device 2 The user terminal 2 is a terminal used by a user who utilizes the functions of the authentication information generating device 1. This user terminal 2 is realized by a general PC (personal computer), a smartphone, a tablet terminal, or the like, and has functional units such as a storage unit, a communication unit, and an input / output unit. The user terminal 2 may also include an imaging unit such as a CCD camera that acquires a two-dimensional code such as a QR code (registered trademark) generated and displayed by the authentication information generation device 1, and a functional unit that decodes the two-dimensional code.
[0049] The storage unit is a functional unit that records various types of data, and is realized by a solid state drive, a flash memory, or the like. The communication unit is a functional unit that executes transmission and reception of data via the network NW using a predetermined communication protocol, and is realized by a browser program or the like. The input / output unit is a functional unit for inputting and outputting data, and is realized by a touch panel display, etc. The input / output unit may be composed of an input unit such as a keyboard or a microphone, and an output unit such as a display.
[0050] ● Management Tools 3
[0051] The management tool 3 is software (which may be provided in an online format such as SaaS) that manages information required for user authentication in the authentication target 4. In this management tool 3, information for a user to be authenticated for each authentication target 4 is usually managed in association with the user.
[0052] This management tool 3 has at least a registration unit that registers the first authentication information generated by the authentication information generating device 1 in a specified information storage unit, and a first authentication information providing unit that provides the registered first authentication information to the user terminal 2 by referring to the specified information storage unit. In this embodiment, when a user is authenticated by the authentication subject 4, the user obtains from the management tool 3 first authentication information required for conversion into second authentication information. ●Certification target 4 The authentication target 4 is a target for which the user uses authentication information, such as a specific website or software. The authentication target 4 requires the user to input an ID and password (second authentication information in this embodiment) required for logging in. The user generates second authentication information as a password for receiving authentication at the authentication target 4 using the authentication information generating device 1, and registers it in the authentication target 4. When receiving authentication at the authentication target 4, the user obtains the second authentication information from the authentication information generating device 1. As a result of receiving authentication processing based on the second authentication information at the authentication target 4, if the authentication is successful, the user is allowed to use specific functions and permissions at the authentication target 4.
[0053] Overview of processing flow Next, the flow of processing executed in the authentication information generating device 1 according to this embodiment will be described with reference to the drawings. FIG. 2 shows a flow of processing when a user registers information to be used for authentication in the authentication subject 4 and receives authentication information generated by the authentication information generation device 1 for that user.
[0054] The user inputs a private key to the authentication information generation device 1 via the user terminal 2 and requests the setting of the private key (S11). The setting unit 12 executes a private key setting process in response to the request, and the private key is thereby set in the information storage unit 11 (S12).
[0055] The user requests the authentication information generation device 1 to generate authentication information (S13). In response to this, the first authentication information generation unit 16 and the second authentication information generation unit 17 execute a process of generating authentication information (S14).
[0056] Of the authentication information obtained from the authentication information generation device 1, the user registers the second authentication information in the authentication subject 4 (S15), and registers the first authentication information in the management tool 3 (S16). This completes the generation and setting of the authentication information.
[0057] FIG. 3 shows a process flow when a user obtains second authentication information required for authentication from the authentication information generation device 1 when the user is authenticated by the authentication subject 4.
[0058] The user inputs a private key to the authentication information generating device 1 via the user terminal 2 and requests the setting of the private key (S21). In response to the request, the setting unit 12 executes a private key setting process, whereby the private key is set in the information storage unit 11 (S22). The setting process in S21 and S22 is similar to the setting process in S11 and S12 described above, and can be omitted if the private key used by the user has already been set in the information storage unit 11.
[0059] The user acquires first authentication information from the management tool 3 (S23), inputs this to the authentication information generation device 1, and requests a process of converting the first authentication information into second authentication information (S24).
[0060] The conversion unit 18 executes a conversion process of the authentication information in response to the request (S25), whereby the user acquires the second authentication information. The user inputs the second authentication information into the authentication target 4 and is authenticated (S26). As a result, if the authentication is successful, the user is allowed to use specific functions and privileges in the authentication target 4.
[0061] ●Processing flow (settings processing) FIG. 4 shows the details of the flow of the setting process executed in the authentication information generation device 1. When the authentication information generation device 1 accepts input of a private key from a user (S101), the confirmation information generation unit 13 generates confirmation information (S102), and displays the confirmation information on the user terminal 2 (S103). Note that the distinctive effect imparting unit 14 imparts a distinctive effect to the displayed confirmation information based on a predetermined classification rule.
[0062] When the user checks the confirmation information and determines that the private key he or she input is correct, the user requests the authentication information generation device 1 to set the private key (S104). In response to this, the authentication information generation device 1 sets the input private key in the information storage unit 11 by the setting unit 12 (S105).
[0063] 5 shows an example of the screen and its transition displayed on the user terminal 2 during the setting process. On the screen, a private key input field G11, a first confirmation information display field G12, a second confirmation information display field G13, and a setting button G14 are provided. The private key input field G11 may be displayed in a hidden state.
[0064] In this embodiment, a private key is made up of two sets of information, and the private key input field G11 is designed to allow a pair of private keys to be input. The first confirmation information display field G12 displays confirmation information generated based on the private key entered in the private key input field G11. In the second confirmation information display field G13, confirmation information generated based on the private key set by the setting unit 12 is displayed. In the illustrated example, the first confirmation information display field G12 and the second confirmation information display field G13 are configured with rectangular frames. When displaying the confirmation information, a predetermined discrimination effect is imparted by the discrimination effect imparting unit 14. In this embodiment, the color within the frame is set to a color according to the classification of the confirmation information. The setting button G14 is a button that accepts a request to set the private key entered in the private key input field G11, and when the setting button G14 is pressed, the private key that was entered in the private key input field G11 at the time the setting button G14 was pressed is set in the information storage unit 11.
[0065] 5(a) shows an initial screen when a user accesses the authentication information generation device 1, and is displayed when the user starts to set a private key. On the initial screen, an example of a private key (in the illustrated example, "Miso" and "Pepper") has been input and set, and the first confirmation information display field G12 and the second confirmation information display field G13 display confirmation information (in the illustrated example, "#48e116") based on the private key input as an example in the private key input field G11. In addition, the first confirmation information display field G12 and the second confirmation information display field G13 are given a discrimination effect corresponding to the classification of the displayed confirmation information, for example, the background color within the frame of the first confirmation information display field G12 and the second confirmation information display field G13 is a predetermined color corresponding to the classification.
[0066] From the state shown in Figure 5(a), when the user enters a specific private key (in the illustrated example, "Sugar" and "Salt") in the private key input field G11, as shown in Figure 5(b), confirmation information based on the entered private key is displayed in the first confirmation information display field G12. In this state, the Set button G14 has not yet been pressed, and no private key has been input by the user and set, so the second confirmation information display field G13 remains the same as in FIG. 5(a). In addition, the identification effect corresponding to the classification of the confirmation information is newly assigned to the confirmation information in the first confirmation information display field G12. By checking this identification effect, the user can determine whether the identification effect corresponds to the correct private key.
[0067] When the setting button G14 is pressed from the state of Fig. 5(b), the private key input in the private key input field G11 is set in the information storage unit 11 as shown in Fig. 5(c). Furthermore, the second confirmation information display field G13 displays confirmation information corresponding to the set private key. In this second confirmation information display field G13, a discrimination effect according to the classification of the confirmation information corresponding to the set private key is also newly applied.
[0068] ●Processing flow (generation process) FIG. 6 shows the details of the flow of the generation process executed in the authentication information generation device 1. The authentication information generating device 1 accepts a designation input of a predetermined number of characters from a user (S201). If the designation input of the number of characters is received, the generated authentication information is set to be composed of the input number of characters (S202), and if the designation input of the number of characters is not received from the user, the authentication information is set to be composed of a default number of characters (S203).
[0069] Then, when the authentication information generation device 1 receives a request to generate authentication information from a user (S204), the first authentication information generation unit 16 generates a random number based on a seed value, and generates first authentication information consisting of the random number (S205). At this time, the first authentication information is generated with a specified input number of characters or a default number of characters. After generating the first authentication information, the authentication information generation device 1 causes the second authentication information generation unit 17 to cause the calculation unit 15 to calculate a return value using the private key and the first authentication information as arguments, and generates second authentication information consisting of the return value (S206). The second authentication information is calculated to have the same number of characters as the first authentication information, and as a result, the second authentication information is also composed of the number of characters specified by the user or the default number of characters.
[0070] 7 shows an example of the screen and its transition displayed on the user terminal 2 during the generation process. On the screen, there are provided a character number designation field G21, a character string input field G22, a generate button G23, a first authentication information display field G24, a second authentication information display field G25, and the above-mentioned second confirmation information display field G13.
[0071] In the character number specification field G21, the number of characters of the authentication information (only the second authentication information when a character string is input in the character string input field G22, as described later) generated by the authentication information generation device 1 can be specified. Since the number of characters of a password may be specified for the authentication subject 4, the user may specify the number of characters of the second authentication information to be used as the password in accordance with the specification. When the user wants to include a specific character string in the second authentication information, the user inputs the character string at his / her discretion in the character string input field G22. Since the authentication subject 4 may require symbols or multiple types of alphanumeric characters in the password, the user can add a character string in accordance with the regulations. In addition, it is also possible for the user to refer to the second authentication information and add a character string that allows the authentication subject 4, which is the subject using the second authentication information, to be identified. The generate button G23 is a button that requests the generation of authentication information consisting of first authentication information and second authentication information. When the generate button G23 is pressed, authentication information is generated based on the information that was entered in the number of characters specification field G21 and the string input field G22 at the time the generate button G23 was pressed. In the first authentication information display field G24, when the first authentication information is generated by the first authentication information generating unit 16, the first authentication information is displayed. In the second authentication information display field G25, when the second authentication information is generated by the second authentication information generating unit 17, the second authentication information is displayed.
[0072] Fig. 7(a) shows a screen displayed when authentication information is generated, and all other fields are initially blank or unfilled except for a default number of characters ("32" in the illustrated example) entered in the character number designation field G21. If the user wishes to change the number of characters from the default, as shown in Fig. 7(a) in Fig. 7(b), the user inputs a desired number of characters into the character number designation field G21. If the user wishes to include a specified character string in the second authentication information, the user inputs the specified character string into the character string input field G22.
[0073] When the generate button G23 is pressed from the state of FIG. 7(b), the first authentication information generation unit 16 and the second authentication information generation unit 17 generate first authentication information and second authentication information, and as shown in FIG. 7(c), the first authentication information is displayed in the first authentication information display field G24, and the second authentication information is displayed in the second authentication information display field G25. Here, the first authentication information and the second authentication information are configured with the number of characters input in the example of FIG. 7(b) (in the illustrated example, "8").
[0074] In FIG. 7(b), when a predetermined character string is input in the character string input field G22, second authentication information including the predetermined character string is generated. For example, in the example of FIG. 7(b), when "abc" is specified as the predetermined character string, the first authentication information generating unit 16 generates an 8-character random number and generates first authentication information by adding a description to the random number instructing that a part of the random number is replaced with the predetermined character string when generating or converting the second authentication information. Using the example of FIG. 7, the first authentication information is generated as "b1egyY92-3+abc" by adding a description "-3+abc" instructing conversion to a character string to the specified 8-character random number "b1egyY92". This description means "delete the last three digits of the second authentication information and replace it with abc". When generating the second authentication information based on the private key and the first authentication information, the second authentication information generating unit 17 identifies a description instructing conversion contained in the first authentication information, and inputs a value excluding the description to obtain a return value (for example, "Kb783wf5") from the calculation unit 15. Note that the description instructing conversion contained in the first authentication information can be identified, for example, as the portion following the "minus" symbol contained in the first authentication information (or any other symbol as long as it can be identified). Then, the second authentication information generating unit 17 replaces the last three digits "wf5" of the return value with "abc", and provides the eight-character "Kb783abc" generated as the second authentication information. ●Processing flow (conversion process) FIG. 8 shows the details of the flow of the setting process executed in the authentication information generation device 1. The authentication information generation device 1 accepts input of first authentication information from a user (S301). Then, when a conversion request for converting the first authentication information into second authentication information is accepted from the user (S302), the conversion unit 18 causes the calculation unit 15 to calculate a return value using a private key and the first authentication information as arguments, and converts the first authentication information into second authentication information consisting of the return value (S303).
[0075] 9 shows an example of the screen and its transition displayed on the user terminal 2 during the conversion process. On the screen, in addition to a first authentication information input field G31, a conversion button G32, a second authentication information display field G33, and a code display field G34, the above-mentioned second confirmation information display field G13 is provided. It should be noted that the second authentication information display field G33 is provided with a copy button G331, and the second authentication information displayed in the second authentication information display field G33 can be copied by pressing the copy button G331.
[0076] The first authentication information is input by the user in the first authentication information input field G31. The conversion button G32 is a button that requests converting the first authentication information into second authentication information. When the conversion button G32 is pressed, the first authentication information that was input in the first authentication information input field G31 at the time the conversion button G32 was pressed is converted into the second authentication information. In the second authentication information display field G33, when the first authentication information is converted into second authentication information by the conversion unit 18, the second authentication information is displayed. In the code display field G34, a QR code (registered trademark) obtained by encoding the second authentication information converted by the conversion unit 18 is displayed together with the display of the second authentication information.
[0077] Fig. 9(a) shows a screen displayed when the first authentication information is converted to the second authentication information, and all fields are initially blank or unfilled. From the state shown in Fig. 9(b), the user inputs the first authentication information into the first authentication information input field G31 as shown in Fig. 9(b).
[0078] When the conversion button G32 is pressed from the state of Fig. 9(b), the first authentication information is converted into second authentication information by the conversion unit 18, and the second authentication information is displayed in a second authentication information display field G33 as shown in Fig. 9(c). In addition, a QR code (registered trademark) that encodes the second authentication information is displayed in a code display field G34.
[0079] In the conversion process, as described above with respect to the generation process, if the first authentication information includes a description instructing that a portion of the character string be replaced with a specified character string, the conversion unit 18 identifies this and converts the first authentication information into second authentication information including the specified character string by a process similar to that executed by the second authentication information generation unit 17.
[0080] According to the authentication information generating device 1 according to the embodiment of the present invention, regardless of the malicious intent of the business entity providing the management tool 3 or information leakage from the management tool 3, the authentication information required for authentication in the authentication target 4 is not stolen by a third party, and since the authentication information is not stored anywhere in the first place, the authentication information can be used safely. In addition, there is no need to disconnect the network to prevent information leakage via the network. Furthermore, if the user stores a simple private key, there is no need to store unique and complex authentication information issued for each authentication target 4, and if information (first authentication information) that is the source of the authentication information is registered in the management tool 3, the information for authentication is distributed, and security is higher. Furthermore, since the private key is used to convert the authentication information but is not the authentication information itself, even if the user sets the wrong private key repeatedly, there is no need to take measures such as prohibiting login for a certain period of time, which is taken when authentication fails. [Explanation of symbols]
[0081] 1: Authentication information generating device 11: Information storage section 12: Setting section 13: Confirmation information generation unit 14: Distinguishing effect imparting section 15: Calculation section 16: First authentication information generation unit 17: Second authentication information generation unit 18: Conversion section 19: Communications Department 2: User terminal 3: Management Tools 4: Authentication target NW: Network
Claims
1. An authentication information generating device that generates first authentication information to be stored in a management tool and second authentication information used for authenticating a user in an authentication subject, The device is configured to be capable of communicating with a user terminal used by the user, a first reception unit that receives an input of a private key from the user terminal; a first authentication information generating unit that generates the first authentication information; A calculation unit that calculates a return value by a predetermined irreversible function based on a predetermined argument; a second authentication information generation unit that causes the calculation unit to calculate a return value using the private key and the first authentication information generated by the first authentication information generation unit as arguments, and generates the second authentication information consisting of the return value; a second reception unit that receives, from the user terminal, an input of the first authentication information and a conversion request for converting the first authentication information acquired from the management tool into the second authentication information; a conversion unit that causes the calculation unit to calculate a return value using the private key and the first authentication information accepted by the second acceptance unit as arguments, and converts the first authentication information into the second authentication information consisting of the return value; a providing unit that provides the second authentication information obtained by converting the first authentication information to the user terminal, An authentication information generating device.
2. a confirmation information generating unit that calculates a return value by a predetermined function using the private key as an argument, and generates confirmation information consisting of a part or all of the return value; and a distinctive effect adding unit that adds a distinctive effect based on a predetermined classification rule in displaying the confirmation information.
2. The authentication information generating device according to claim 1.
3. a third reception unit that receives, from the user terminal, a command to generate the second authentication information together with a designation of a predetermined number of characters, The second authentication information generation unit causes the calculation unit to calculate a return value composed of the predetermined number of characters, and generates the second authentication information composed of the return value.
3. The authentication information generating device according to claim 2.
4. a fourth reception unit that receives an input of a character string to be added to the second authentication information from the user terminal, the second authentication information generation unit deletes a number of characters from the return value composed of the predetermined number of characters and replaces the number of characters with the character string to generate the second authentication information; 4. The authentication information generating device according to claim 3.
5. A setting unit that sets the private key received from the user terminal in an information storage unit, the second authentication information generation unit and the conversion unit extract the private key by referring to the information storage unit in the process of generating or converting the second authentication information; 5. The authentication information generating device according to claim 1.
6. The authentication information generating device is provided as a single-page application, The information storage unit is constructed in a memory area within a browser provided in the user terminal.
6. The authentication information generating device according to claim 5.
7. the first authentication information generation unit generates a random number based on a predetermined seed value, and generates the first authentication information consisting of the random number; 2. The authentication information generating device according to claim 1.
8. 1. An authentication information generating method for generating first authentication information stored in a management tool and second authentication information used for authenticating a user in an authentication subject, comprising: A computer configured to be able to communicate with a user terminal used by the user, a first reception process for receiving an input of a private key from the user terminal; a first authentication information generation process for generating the first authentication information; A calculation process for calculating a return value by a predetermined irreversible function based on a predetermined argument; a second authentication information generation process for calculating a return value by the calculation process using the private key and the first authentication information generated by the first authentication information generation process as arguments, and generating the second authentication information consisting of the return value; a second reception process for receiving, from the user terminal, an input of the first authentication information and a conversion request for converting the first authentication information acquired from the management tool into the second authentication information; a conversion process of calculating a return value by the calculation process using the private key and the first authentication information accepted by the second acceptance process as arguments, and converting the first authentication information into the second authentication information consisting of the return value; and providing the second authentication information obtained by converting the first authentication information to the user terminal. How credentials are generated.
9. An authentication information generating program for generating first authentication information stored in a management tool and second authentication information used for authenticating a user in an authentication subject, A computer configured to be able to communicate with a user terminal used by the user, a first reception process for receiving an input of a private key from the user terminal; a first authentication information generation process for generating the first authentication information; A calculation process for calculating a return value by a predetermined irreversible function based on a predetermined argument; a second authentication information generation process for calculating a return value by the calculation process using the private key and the first authentication information generated by the first authentication information generation process as arguments, and generating the second authentication information consisting of the return value; a second reception process for receiving, from the user terminal, an input of the first authentication information and a conversion request for converting the first authentication information acquired from the management tool into the second authentication information; a conversion process of calculating a return value by the calculation process using the private key and the first authentication information accepted by the second acceptance process as arguments, and converting the first authentication information into the second authentication information consisting of the return value; and causing the user terminal to execute a providing process of providing the second authentication information obtained by converting the first authentication information. Credentials generator.
10. A system for generating first authentication information stored in a management tool and second authentication information used to authenticate a user in an authentication target, comprising: The authentication information generating device includes an authentication information generating device and a management tool, and is configured to be capable of communicating with a user terminal used by the user, The authentication information generating device includes: a first reception unit that receives an input of a private key from the user terminal; a first authentication information generating unit that generates first authentication information; A calculation unit that calculates a return value by a predetermined irreversible function based on a predetermined argument; a second authentication information generation unit that causes the calculation unit to calculate a return value using the private key and the first authentication information generated by the first authentication information generation unit as arguments, and generates second authentication information consisting of the return value; a second reception unit that receives, from the user terminal, an input of the first authentication information registered in the management tool, as well as a conversion request for converting the first authentication information into the second authentication information; a conversion unit that causes the calculation unit to calculate a return value using the private key and the first authentication information accepted by the second acceptance unit as arguments, and converts the first authentication information into the second authentication information consisting of the return value; a second authentication information providing unit that provides the second authentication information converted from the first authentication information by the conversion unit to the user terminal, The management tool includes: a registration unit that registers the first authentication information in a predetermined information storage unit; a first authentication information providing unit that provides the first authentication information to the user terminal by referring to the predetermined information storage unit, Credential generation system.
Citation Information
Patent Citations
Single sign-on used for network system including plural individually controlled limited access resources
JP2000347994A
Client-based method, system and program for managing multiple authentication
JP2007035041A
Password input support system, device, program, and method
JP2009205500A
Passcode operating system, passcode device, and method for generating a super passcode
JP2015521309A
Password authentication system
JP6910748B1
