Merkle tree-based OTP authentication method and system
The Merkle tree-based OTP authentication system addresses the cumbersome nature of current methods by using shared Merkle root hash values and symmetric keys for OTP generation and decryption, ensuring authentication integrity through decentralized blockchain management, thus simplifying and securing the authentication process.
Patent Information
- Application Number
- PCT/KR2023/012377
- Authority / Receiving Office
- WO · WO
- Patent Type
- Applications
- Current Assignee / Owner
- Priority Date
- 2023-02-23
- Filing Date
- 2023-08-22
- Publication Date
- 2024-08-29
AI Technical Summary
Current OTP authentication methods are cumbersome, requiring separate terminals and multi-stage verification processes, and lack integrity in managing OTP generation, especially in decentralized systems.
A Merkle tree-based OTP authentication system where the client and authentication server share a Merkle root hash value, enabling OTP generation and decryption using symmetric keys, and identity verification without needing separate OTP terminals or verification processes, ensuring authentication integrity through decentralized blockchain management.
Facilitates easy identity authentication without separate OTP terminals or multi-stage verification, ensuring the integrity of OTP generation and authentication processes by leveraging decentralized blockchain management.
Smart Images

Figure KR2023012377_29082024_PF_FP_ABST
Abstract
Description
Merkle tree-based OTP authentication method and system
[0001] The present invention relates to a Merkle tree-based OTP authentication technology, and more specifically, to a decentralized Merkle tree-based OTP authentication technology that guarantees integrity without requiring a separate identity verification procedure for the client by managing the history of transactions occurring in the client as a Merkle tree and sharing the hash value of the Merkle root between the client and the authentication server, wherein the client, which is the authentication requester, generates an OTP by encrypting the Merkle root hash value with a symmetric key, and the authentication server performs authentication by decrypting the OTP provided by the client with the same symmetric key.
[0002] With the development of networks and the widespread use of computers, the risk of information exposure is increasing, and the need for technologies that can safely protect information and assets is growing.
[0003] With the rise of fintech and the widespread adoption of online remittance technology, One-Time Passwords (OTPs) are increasingly being used, replacing existing online certificate-based security technologies. However, the current card- or accessory-type OTPs are cumbersome to carry around, and there's a constant risk of losing them. Furthermore, if a user doesn't have the OTP in their possession when a financial transaction is necessary, they can be unable to complete the transaction or face transaction limits.
[0004] As an alternative to resolve this inconvenience, Korean Patent Publication No. 10-2019-0031100 (Prior Art 1) discloses a technology that uses a user's unique sender number (ANI, Automatic Number Identification) included in a text message as an authentication key.
[0005] Prior art 1 can be evaluated as an advanced technology in that it compensates for the inconvenience of possessing OTP, but it still has inconveniences in that the identity verification process is performed in multiple steps, such as exchanging authentication text messages between the authenticator and the authentication requester.
[0006] In other words, when providing sensitive personal information or performing important financial transactions is necessary, in addition to sending text messages as in the prior art 1, methods such as identity verification through an automated response system (ARS) or confirmation of authentication messages via email are used to verify that the person providing the information or performing the transaction is the true owner. However, despite the importance of security, it is clear that this is still a cumbersome procedure from the user's perspective.
[0007] The problem that the present invention seeks to solve is to present an alternative technology that can easily perform identity authentication by applying the basic principles of OTP without necessarily having to carry a separate OTP terminal.
[0008] Another problem that the present invention seeks to solve is to propose an alternative technology that can easily perform identity verification without going through a verification process such as a text message, phone response message, or email from an authenticator.
[0009] Another challenge that the present invention seeks to address is to propose an alternative technology that can guarantee the integrity of authentication in addition to user authentication by managing basic information for OTP generation using a decentralized blockchain Merkle tree.
[0010] The present invention proposes an OTP authentication method of an authentication server based on a Merkle tree as an embodiment for solving the aforementioned problems.
[0011] An OTP authentication method of one embodiment may include an OTP generation step including the steps of receiving a transaction from a client, updating a transaction history of a Merkle tree with the received transaction and transmitting a Merkle root hash value of the Merkle tree to the client, thereby causing the client to generate an one-time password (OTP) from the Merkle root hash value using an encryption key, and an identity verification step including, when an authentication request including the generated OTP is received from the client, decrypting the OTP using an encryption key and comparing the decrypted value with the Merkle root hash value.
[0012] The OTP authentication method of one embodiment further includes a step of the client generating a pseudo transaction, wherein the OTP generating step can be repeatedly executed according to a preset cycle.
[0013] The client may transmit the generated transaction to the authentication server whenever a transaction occurs in a relationship with a pre-specified online site, and the OTP generation step may be executed whenever the generated transaction is transmitted to the authentication server.
[0014] In addition, the present invention proposes a Merkle tree-based OTP authentication system as another embodiment for solving the aforementioned problems.
[0015] An OTP authentication system of one embodiment may include a client including a transaction generator, a transaction manager that updates a transaction history of a Merkle tree with the generated transaction, a hash provider that shares a Merkle root hash value generated by updating the transaction history with an authentication server, an encoder that generates an one-time password (OTP) from the Merkle root hash value using an encryption key, and an authentication requester that transmits an authentication request including the generated OTP to the authentication server, and an authentication server including a decoder that, when an authentication request is received from the client, decrypts the OTP included in the authentication request using a pre-stored encryption key, and a certifier that compares the decrypted value with the pre-provided Merkle root hash value to determine whether authentication is performed.
[0016] In an OTP authentication system of one embodiment, the transaction generator is characterized in that it generates a pseudo transaction, and the encryptor can repeatedly execute the generation of the OTP according to a preset cycle.
[0017] The hash provider can share the Merkle root hash value with the authentication server whenever a transaction occurs in a relationship with an online site pre-specified by the transaction generator, and the cryptographic device can generate the OTP whenever the Merkle root hash value is transmitted to the authentication server.
[0018] According to an embodiment of the present invention, user authentication can be easily performed by applying the basic principles of OTP without necessarily having to carry a separate OTP terminal.
[0019] In addition, according to an embodiment of the present invention, identity authentication can be easily performed without going through a verification process such as a text message, phone response message, or email from an authenticator.
[0020] In addition, according to an embodiment of the present invention, by managing basic information for OTP generation as a Merkle tree of a decentralized blockchain, it is possible to guarantee the integrity of authentication in addition to user authentication.
[0021] FIG. 1 is a diagram illustrating an OTP generation process in an OTP authentication system according to one embodiment of the present invention.
[0022] FIG. 2 is a diagram illustrating an authentication process in an OTP authentication system according to the embodiment of FIG. 1.
[0023] FIG. 3 is a block diagram illustrating each configuration of a client and an authentication server in the OTP authentication system according to the embodiment of FIG. 1.
[0024] Figure 4 is a flowchart of an OTP authentication method performed by the system of Figure 1.
[0025] FIG. 5 is a diagram illustrating an OTP generation process in an OTP authentication system according to another embodiment of the present invention.
[0026] FIG. 6 is a diagram illustrating an authentication process in an OTP authentication system according to the embodiment of FIG. 5.
[0027] FIG. 7 is a block diagram illustrating each configuration of a client and an authentication server in the OTP authentication system according to the embodiment of FIG. 5.
[0028] Figure 8 is a flowchart of the OTP authentication method performed by the system of Figure 5.
[0029] Hereinafter, several embodiments of the present invention will be described in detail using drawings. However, this is not intended to limit the present invention to any specific embodiment, and it should be understood that all transformations, equivalents, and substitutions that incorporate the technical spirit of the present invention are included within the scope of the present invention.
[0030] In this specification, singular expressions include plural expressions unless the context clearly indicates otherwise.
[0031] When a configuration in this specification is described as "having" or "composing" a sub-configuration, it is intended that the configuration may further include other configurations, rather than excluding other configurations, unless otherwise specifically stated.
[0032] <Example 1>
[0033] Example 1 relates to an OTP authentication system, in which an authentication server manages a transaction history and a Merkle tree and shares a Merkle root hash value for OTP generation with a client.
[0034] FIG. 1 is a block diagram illustrating an OTP generation process in an OTP authentication system according to Example 1, FIG. 2 is a block diagram illustrating an authentication process in the system of FIG. 1, and FIG. 3 is a block diagram illustrating each configuration of a client and an authentication server in the system of FIG. 1.
[0035] The OTP authentication system according to Example 1 includes a client (10), an authentication server (20), and a blockchain network (30).
[0036] A client (10) may mean a user terminal.
[0037] A user terminal is a type of computer that can access a remote server or another user's terminal via a network. For example, a user terminal can be any of a notebook, desktop, or laptop equipped with a web browser or application software. Furthermore, a user terminal is a wireless communication device that guarantees portability and mobility, and can be called by various names such as a mobile navigation system, cellular phone, PCS (Personal Communication System), GSM (Global System for Mobile communications), PDC (Personal Digital Cellular), PHS (Personal Handheld System), PDA (Personal Digital Assistant), smartphone, smart pad, or tablet PC.
[0038] The client (10) includes a transaction generator (11), an encryptor (12), and an authentication requester (13).
[0039] The transaction generator (11) generates a transaction through pre-installed software.
[0040] Here, software refers to apps that run on mobile devices such as smartphones and tablet PCs that run on Google's Android or Apple's iOS, or application programs or script programs that run on computing devices such as laptops and desktop PCs that run on Microsoft's Windows or Google's Chrome OS, or server devices, or other computer programs that operate similarly to apps, applications, or scripts.
[0041] The transaction generated by the transaction generator (11) may be a transaction resulting from the normal operation of the software, i.e., an authentic transaction occurring in a mutual working relationship with a pre-specified online site.
[0042] Another example transaction may be a comprehensive transaction that includes not only transactions generated by the software A that will perform subsequent authentication, but also transactions generated by other software B. For example, it may include background transactions such as records of website access by software running on the client (20), location information provision by software running on the client (20), and short-range communication connections.
[0043] Another example transaction might be a pseudo-transaction, which is created formally without any specific work meaning.
[0044] The encryption device (12) inputs the Merkle root hash value sent by the authentication server (20) into a predetermined encryption algorithm to generate a one-time password (OTP).
[0045] Here, the encryption algorithm may be a symmetric key algorithm such as AES (Advanced Encryption Standard), DES (Data Encryption Standard), IDEA (International Data Encryption Algorithm), Blowfish, RC4 (Rivest Cipher 4), RC5 (Rivest Cipher 5), RC6 (Rivest Cipher 6), ARIA, SEED, etc., or an asymmetric key algorithm that requires a public key and a private key may be used.
[0046] In the present invention, if the generation of OTP is performed according to the periodic occurrence of transactions, a symmetric key algorithm may be more appropriate considering the burden on resources. If the generation of OTP is performed according to the aperiodic or intermittent occurrence of transactions, a symmetric key algorithm may be used in that case as well, but an asymmetric key algorithm with stronger security may be used because the burden on resources is relatively less.
[0047] When a symmetric key algorithm is used, all management from generation to destruction of an encryption key (or secret key) is performed by a key management system (KMS), and either the client (10) or the authentication server (20) can perform the role of the key management system.
[0048] An OTP generated by a symmetric key algorithm or an asymmetric key algorithm can be a string of a predetermined number of digits that is at least one of numbers, general characters, special characters, or a mixture of at least two or more of them.
[0049] Additionally, when a symmetric key algorithm is used, the encryption device (12) may use the client's (10) unique identification information, such as the factory serial number, MAC address, or password entered by the user when registering as a member, as a symmetric key.
[0050] When the software of the client (10) requires identification for tasks such as logging in to an external server, performing a transaction with an external server, or transmitting a message, the authentication request device (13) transmits an authentication request message containing an OTP generated by the encryption device (12) based on a request from the software to the authentication server (20).
[0051] Next, the authentication server (20) includes a transaction manager (21), a hash provider (22), a decryptor (23), and an identity verifier (24), and is connected to a blockchain network (30) that stores transaction history.
[0052] When a transaction is received from a client (10), the transaction manager (21) updates the transaction history of the Merkle tree in the blockchain network (30) with the received transaction.
[0053] That is, the transaction manager (21) inputs each transaction history into a hash function to produce a hash value. For reference, a hash function is a function that always produces an output of a constant length regardless of the input length, and SHA-256 can be used as an example hash function.
[0054] Specifically, the transaction manager (21) calculates a hash value by inputting each transaction constituting the transaction history into a hash function over several rounds, and constructs each hash value in the form of a binary tree. This is defined as a Merkle tree, and the node located at the very end of the Merkle tree is defined as leaf data, and the hash value calculated by connecting two leaf data and applying the hash function again is defined as the parent data for the leaf data.
[0055] The transaction manager (21) iterates in a bottom-up manner until no pairs can be formed, and defines the node at the top (final hash value) as the Merkle tree root. The Merkle tree root is included in the header of any block included in the blockchain.
[0056] The hash provider (22) transmits the Merkle root hash value of the Merkle tree to the client (10). As described above, the client (10) applies a predetermined encryption algorithm to the Merkle root hash value shared by the hash provider (22) to generate an OTP of a predetermined number of digits.
[0057] When a decoder (23) receives an authentication request including the generated OTP from a client (10), it applies a predetermined decryption algorithm to the received OTP to decrypt the OTP. As described above, a symmetric key-based algorithm may be used as the encryption algorithm of the client (10) and the decryption algorithm of the authentication server (20).
[0058] The identity verification device (24) compares the value decrypted by the decryptor (23) with its own Merkle root hash value, and if the two are identical, determines that the user is a legitimate user and notifies the client (10) of successful authentication.
[0059] <Example 2>
[0060] Example 2 relates to an OTP authentication method, and, like Example 1, relates to a case where an authentication server manages a transaction history and a Merkle tree and shares a Merkle root hash value for OTP generation with a client.
[0061] Figure 4 is a flowchart of an OTP authentication method according to Example 2.
[0062] The OTP authentication method according to Example 2 may include a transaction creation step (S10), a Merkle tree history update step (S20), a Merkle root hash value transmission step (S30), an OTP creation step using a symmetric key (S40), an authentication situation generation step (S50), an OTP decryption step using a symmetric key (S60), an identity authentication step (S70), and an authentication completion notification reception step (80).
[0063] The transaction creation step (S10) generates a transaction through the client's transaction generator pre-installed software.
[0064] Transactions generated by the transaction generator may be transactions resulting from the normal operation of the software, i.e., authentic transactions that occur in an interaction relationship with a pre-specified online site.
[0065] In the Merkle tree history update step (S20), when the transaction manager of the authentication server receives a transaction from a client, it updates the transaction history of the Merkle tree in the blockchain network with the received transaction.
[0066] In other words, the transaction manager inputs each transaction history into a hash function to produce a hash value. Note that a hash function is a function that always produces an output of a constant length, regardless of the input length. An example of a hash function is SHA-256.
[0067] The transaction manager iterates through the hash values in a bottom-up fashion until no pairs can be formed, and defines the topmost node (the final hash value) as the Merkle tree root. The Merkle tree root is included in the header of each block in the blockchain.
[0068] In the Merkle root hash value transmission step (S30), the hash provider of the authentication server transmits the Merkle root hash value of the Merkle tree to the client.
[0069] In the OTP generation step, the client's cryptographic device inputs the Merkle root hash value sent by the authentication server into a specified encryption algorithm to generate a one-time password (OTP).
[0070] Here, the encryption algorithm may be a symmetric key algorithm or an asymmetric key algorithm that requires a public key and a private key.
[0071] In the authentication situation occurrence step (S50), when identity verification is required for tasks such as logging in from a client to an external server, performing a transaction with an external server, or sending a message, the client's authentication requester sends an authentication request message containing an OTP generated by an encryption device to the authentication server based on a request from the software.
[0072] In the present invention, if the generation of OTP is performed according to the periodic occurrence of transactions, the transaction generation step (S10) to the symmetric key OTP generation step (S40) are continuously repeated according to a preset cycle until a situation requiring authentication occurs, and if the generation of OTP is performed according to the aperiodic or intermittent occurrence of transactions, the transaction generation step (S10) to the symmetric key OTP generation step (S40) can be programmed to be executed only when a transaction occurs.
[0073] When a client requests authentication, the authentication server performs the OTP decryption step (S60) using a symmetric key.
[0074] The OTP decryption step (S60) using a symmetric key involves, when the authentication server's decryptor receives an authentication request containing the generated OTP from a client, applying a predetermined decryption algorithm to the received OTP to decrypt the OTP. As described above, symmetric key-based algorithms may be used as the client's encryption algorithm and the authentication server's decryption algorithm.
[0075] In the identity verification step (S70), the identity verifier of the authentication server compares the value decrypted by the decryptor with its own Merkle root hash value, and if the two are the same, it determines that the user is a legitimate user and notifies the client of successful authentication.
[0076] When the client receives notification of successful authentication from the authentication server, the authentication completion notification reception step (S80) can be performed.
[0077] In the authentication completion notification reception step (S80), the client performs identity authentication with an external server.
[0078] For reference, if the client receives an authentication rejection notification from the authentication server, the authentication rejection notification reception step (S81) may be performed. In the authentication rejection notification reception step (S81), the client may not be authenticated to the external server.
[0079] For example, if a client receives an authentication rejection notification from the authentication server, the authentication server may notify the client of the authentication rejection if an abnormal pattern is detected in the client's location information. An abnormal location pattern could indicate that the client has moved a significant distance compared to the time elapsed since the previous authentication request.
[0080] <Example 3>
[0081] Example 3 relates to another embodiment of an OTP authentication system, wherein the client manages a transaction history and a Merkle tree and shares a Merkle root hash value with the server for comparison with the decrypted value of the OTP.
[0082] FIG. 5 is a block diagram illustrating an OTP generation process in an OTP authentication system according to Example 3, FIG. 6 is a block diagram illustrating an authentication process in the system of FIG. 5, and FIG. 7 is a block diagram illustrating each configuration of a client and an authentication server in the system of FIG. 5.
[0083] The OTP authentication system according to Example 3 includes a client (100), an authentication server (200), and a blockchain network (300).
[0084] A client (100) may mean a user terminal, and a specific example is the same as described in Example 1.
[0085] The client (100) includes a transaction generator (110), a transaction manager (120), a hash provider (130), an encryptor (140), and an authentication requester (150), and is connected to a blockchain network (300) that stores transaction history.
[0086] The transaction generator (110) generates a transaction through pre-installed software. Here, the software is the same as the example described in Example 1.
[0087] The transaction generated by the transaction generator (110) may be any one of a transaction resulting from the normal operation of the software, an authentic transaction generated in a mutual working relationship with a pre-specified online site, the aforementioned comprehensive transaction, and a pseudo transaction.
[0088] The transaction manager (120) updates the transaction history of the Merkle tree in the blockchain network (300) with transactions generated by the transaction generator (110).
[0089] That is, the transaction manager (120) inputs each transaction history into a hash function to produce a hash value. The specific operation of the transaction manager (120) is identical to that of the transaction manager (21) of the aforementioned embodiment 1.
[0090] The hash provider (130) transmits the Merkle root hash value of the Merkle tree to the authentication server (200).
[0091] The cryptographic device (140) inputs the Merkle root hash value obtained from the blockchain network (300) into a predetermined encryption algorithm to generate a one-time password (OTP).
[0092] Here, the encryption algorithm may be a symmetric key algorithm as described in detail in Example 1, or an asymmetric key algorithm requiring a public key and a private key may be used.
[0093] In the present invention, if the generation of OTP is performed according to the periodic occurrence of transactions, a symmetric key algorithm may be more appropriate considering the burden on resources. If the generation of OTP is performed according to the aperiodic or intermittent occurrence of transactions, a symmetric key algorithm may be used in that case as well, but an asymmetric key algorithm with stronger security may be used because the burden on resources is relatively less.
[0094] When a symmetric key algorithm is used, all management from generation to destruction of an encryption key (or secret key) is performed by a key management system (KMS), and either the client (100) or the authentication server (200) can perform the role of the key management system.
[0095] An OTP generated by a symmetric key algorithm or an asymmetric key algorithm can be a string of a predetermined number of digits that is at least one of numbers, general characters, special characters, or a mixture of at least two or more of them.
[0096] Additionally, when a symmetric key algorithm is used, the encryptor (140) may use the client's (100) unique identification information, such as the factory serial number, MAC address, or password entered by the user when registering as a member, as a symmetric key.
[0097] When the software of the client (10) requires identification for tasks such as logging in to an external server, performing a transaction with an external server, or transmitting a message, the authentication request device (150) transmits an authentication request message containing an OTP generated by the encryption device (140) based on a request from the software to the authentication server (200).
[0098] Next, the authentication server (200) includes a decryptor (210) and an identity verification device (220).
[0099] When a decoder (210) receives an authentication request including the generated OTP from a client (100), it applies a predetermined decryption algorithm to the received OTP to decrypt the OTP. As described above, a symmetric key-based algorithm may be used as the encryption algorithm of the client (100) and the decryption algorithm of the authentication server (200).
[0100] The identity verification device (220) compares the value decrypted by the decryptor (210) with its own Merkle root hash value, and if the two are identical, determines that the user is a legitimate user and notifies the client (10) of successful authentication.
[0101] <Example 4>
[0102] Example 4 relates to an OTP authentication method, and, like Example 3, relates to a case where the client manages a transaction history and a Merkle tree and shares a Merkle root hash value for comparison with the decrypted value of the OTP with the authentication server.
[0103] Figure 8 is a flowchart of an OTP authentication method according to Example 4.
[0104] The OTP authentication method according to Example 4 may include a transaction generation step (S100), a Merkle tree history update step (S200), a Merkle root hash value transmission step (S300), an OTP generation step using a symmetric key (S400), a Merkle tree hash value storage step (S500), an authentication situation generation step (S600), an OTP decryption step using a symmetric key (S700), an identity authentication step (S800), and an authentication completion notification reception step (900).
[0105] The transaction creation step (S100) generates a transaction through software pre-installed with the client's transaction generator.
[0106] The Merkle tree history update step (S200) is where the client's transaction manager updates the transaction history of the Merkle tree in the blockchain network with transactions generated by the transaction generator.
[0107] That is, the transaction manager inputs each transaction history into a hash function to produce a hash value. The specific operation of the transaction manager is identical to that of the transaction manager of Example 3 described above.
[0108] In the Merkle root hash value transmission step (S300), the client's hash provider transmits the Merkle root hash value of the Merkle tree to the authentication server.
[0109] When the Merkle root hash value transmission step (S300) is performed, the Merkle tree hash value storage step (S500) can be performed on the authentication server.
[0110] The OTP generation step (S400) using a symmetric key generates a one-time password (OTP) by inputting the Merkle root hash value obtained from the blockchain network into a predetermined encryption algorithm by the client's cryptographic device.
[0111] Here, the encryption algorithm may be a symmetric key algorithm as described in detail in Example 3, or an asymmetric key algorithm requiring a public key and a private key may be used.
[0112] An OTP generated by a symmetric key algorithm or an asymmetric key algorithm can be a string of a predetermined number of digits that is at least one of numbers, general characters, special characters, or a mixture of at least two or more of them.
[0113] Additionally, when a symmetric key algorithm is used, the cryptographic algorithm may use the client's unique identifying information, such as the factory serial number, MAC address, or password entered by the user when signing up, as the symmetric key.
[0114] In the authentication situation occurrence step (S50), when identity verification is required for tasks such as logging in from a client to an external server, performing a transaction with an external server, or sending a message, the client's authentication requester sends an authentication request message containing an OTP generated by an encryption device to the authentication server based on a request from the software.
[0115] In the present invention, if the generation of OTP is performed according to the periodic occurrence of transactions, the transaction generation step (S100) to the symmetric key OTP generation step (S400) are continuously repeated according to a preset cycle until a situation requiring authentication occurs, and if the generation of OTP is performed according to the aperiodic or intermittent occurrence of transactions, the transaction generation step (S100) to the symmetric key OTP generation step (S400) can be programmed to be executed only when a transaction occurs.
[0116] When a client requests authentication, the authentication server performs the OTP decryption step (S700) using a symmetric key.
[0117]
[0118] *The OTP decryption step (S700) applies a predetermined decryption algorithm to the received OTP when the authentication server's decryptor receives an authentication request containing the generated OTP from the client. As described above, symmetric key-based algorithms may be used as the client's encryption algorithm and the authentication server's decryption algorithm.
[0119] In the identity verification step (S800), the identity verifier of the authentication server compares the value decrypted by the decryptor with its own Merkle root hash value, and if the two are identical, it determines that the user is a legitimate user and notifies the client of successful authentication.
[0120] When the client is notified of successful authentication from the authentication server, the authentication completion notification receiving step (S900) can be performed.
[0121] In the authentication completion notification reception step (S900), the client performs identity authentication with an external server.
[0122] For reference, if the client receives an authentication rejection notification from the authentication server, the authentication rejection notification reception step (S910) may be performed. In the authentication rejection notification reception step (S910), the client may not be authenticated to the external server.
[0123] For example, if a client receives an authentication rejection notification from the authentication server, the authentication server may notify the client of the authentication rejection if an abnormal pattern is detected in the client's location information. An abnormal location pattern could indicate that the client has moved a significant distance compared to the time elapsed since the previous authentication request.
[0124] Although the present invention has been described above with reference to several embodiments, it will be understood by those skilled in the art that various modifications and changes can be made to the present invention without departing from the spirit and scope of the present invention as set forth in the claims below.
[0125] In addition, the invention regarding the method among the embodiments described above may be implemented as a program or as a computer-readable recording medium having the program stored thereon.
[0126] That is, the present invention can be implemented in the form of an application, and can be implemented as a software program that runs on a mobile terminal such as a smartphone or tablet PC running on Google's Android or Apple's IOS, or can be implemented as a software program that runs on a wearable device such as Google Glass, Apple Watch, Samsung Galaxy Watch, smart watch, or the like, or can be implemented as a software program that runs on a laptop PC or desktop PC running on Microsoft's Windows or Google's Chrome OS.
[0127] In addition, partial functions of the above-described device or system may be provided by being included in a computer-readable recording medium by tangibly implementing a program of commands for implementing them. The computer-readable recording medium may include program commands, data files, data structures, etc., alone or in combination. Examples of the computer-readable recording medium include magnetic media such as hard disks, floppy disks, and magnetic tapes, optical media such as CD-ROMs and DVDs, magneto-optical media such as floptical disks, and hardware devices specially configured to store and execute program commands such as ROMs, RAMs, flash memories, and USB memories.
Claims
1. In the OTP authentication method of the authentication server, An OTP generation step including a step of receiving a transaction from a client, updating a transaction history of a Merkle tree with the received transaction, and transmitting a Merkle root hash value of the Merkle tree to the client, thereby causing the client to generate an one-time password (OTP) from the Merkle root hash value using an encryption key; and When an authentication request including the generated OTP is received from the client, an identity verification step of decrypting the OTP using an encryption key and comparing the decrypted value with a Merkle root hash value A Merkle tree-based OTP authentication method including .
2. In paragraph 1, The client further comprises a step of generating a pseudo transaction, A Merkle tree-based OTP authentication method characterized in that the above OTP generation step is repeatedly executed according to a preset cycle.
3. In paragraph 1, The client transmits the transaction to the authentication server whenever a transaction occurs in a relationship with a pre-specified online site. A Merkle tree-based OTP authentication method, characterized in that the OTP generation step is executed each time the generated transaction is transmitted to the authentication server.
4. In paragraph 1, A Merkle tree-based OTP authentication method characterized in that a symmetric key is used as the above encryption key.
5. In paragraph 4, A Merkle tree-based OTP authentication method characterized in that the client uses a unique identification number assigned to the client at least once as the symmetric key.
6. A client including a transaction generator, a transaction manager that updates the transaction history of a Merkle tree with the generated transaction, a hash provider that shares the Merkle root hash value generated by the update of the transaction history with an authentication server, an encoder that generates a one-time password (OTP) from the Merkle root hash value using an encryption key, and an authentication requester that transmits an authentication request including the generated OTP to the authentication server; and An authentication server including a decoder that decrypts the OTP included in the authentication request using a pre-stored encryption key when an authentication request is received from the client, and an identity verifier that compares the decrypted value with the pre-provided Merkle root hash value to determine whether authentication is performed. A Merkle tree-based OTP authentication system including .
7. In paragraph 6, The above transaction generator is characterized by generating a pseudo transaction, A Merkle tree-based OTP authentication system characterized in that the above-mentioned cryptographic device repeatedly executes the generation of the OTP according to a preset cycle.
8. In paragraph 6, The above hash provider shares the Merkle root hash value with the authentication server whenever a transaction occurs in a relationship with an online site pre-specified by the transaction generator, A Merkle tree-based OTP authentication system, characterized in that the cryptographic device generates the OTP each time the Merkle root hash value is transmitted to the authentication server.
9. In paragraph 6, A Merkle tree-based OTP authentication system characterized in that a symmetric key is used as the above encryption key.
10. In paragraph 9, A Merkle tree-based OTP authentication system characterized in that the cryptographic device uses the unique identification number assigned to the client as the symmetric key at least once.
Citation Information
Patent Citations
Multilayer ceramic capacitor
KR102597963B1
Blockchain-incorporating distributed authentication system
US20200084018A1
One-time password with unpredictable moving factor
US20200244441A1
