WO2018151426A1 - Method for superseding log-in of user through pki-based authentication by using merkle tree structure in utxo-based protocol, and server employing same - Google Patents

Method for superseding log-in of user through pki-based authentication by using merkle tree structure in utxo-based protocol, and server employing same Download PDF

Info

Publication number
WO2018151426A1
WO2018151426A1 PCT/KR2018/000913 KR2018000913W WO2018151426A1 WO 2018151426 A1 WO2018151426 A1 WO 2018151426A1 KR 2018000913 W KR2018000913 W KR 2018000913W WO 2018151426 A1 WO2018151426 A1 WO 2018151426A1
Authority
WO
WIPO (PCT)
Prior art keywords
authentication
application
value
server
certificate
Prior art date
Application number
PCT/KR2018/000913
Other languages
French (fr)
Korean (ko)
Inventor
나승일
김희순
홍재우
어준선
Original Assignee
주식회사 코인플러그
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 주식회사 코인플러그 filed Critical 주식회사 코인플러그
Publication of WO2018151426A1 publication Critical patent/WO2018151426A1/en

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L9/00Cryptographic mechanisms or cryptographic arrangements for secret or secure communications; Network security protocols
    • H04L9/32Cryptographic mechanisms or cryptographic arrangements for secret or secure communications; Network security protocols including means for verifying the identity or authority of a user of the system or for message authentication, e.g. authorization, entity authentication, data integrity or data verification, non-repudiation, key authentication or verification of credentials
    • H04L9/3263Cryptographic mechanisms or cryptographic arrangements for secret or secure communications; Network security protocols including means for verifying the identity or authority of a user of the system or for message authentication, e.g. authorization, entity authentication, data integrity or data verification, non-repudiation, key authentication or verification of credentials involving certificates, e.g. public key certificate [PKC] or attribute certificate [AC]; Public key infrastructure [PKI] arrangements
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L9/00Cryptographic mechanisms or cryptographic arrangements for secret or secure communications; Network security protocols
    • H04L9/32Cryptographic mechanisms or cryptographic arrangements for secret or secure communications; Network security protocols including means for verifying the identity or authority of a user of the system or for message authentication, e.g. authorization, entity authentication, data integrity or data verification, non-repudiation, key authentication or verification of credentials
    • H04L9/321Cryptographic mechanisms or cryptographic arrangements for secret or secure communications; Network security protocols including means for verifying the identity or authority of a user of the system or for message authentication, e.g. authorization, entity authentication, data integrity or data verification, non-repudiation, key authentication or verification of credentials involving a third party or a trusted authority
    • H04L9/3213Cryptographic mechanisms or cryptographic arrangements for secret or secure communications; Network security protocols including means for verifying the identity or authority of a user of the system or for message authentication, e.g. authorization, entity authentication, data integrity or data verification, non-repudiation, key authentication or verification of credentials involving a third party or a trusted authority using tickets or tokens, e.g. Kerberos
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L9/00Cryptographic mechanisms or cryptographic arrangements for secret or secure communications; Network security protocols
    • H04L9/32Cryptographic mechanisms or cryptographic arrangements for secret or secure communications; Network security protocols including means for verifying the identity or authority of a user of the system or for message authentication, e.g. authorization, entity authentication, data integrity or data verification, non-repudiation, key authentication or verification of credentials
    • H04L9/3271Cryptographic mechanisms or cryptographic arrangements for secret or secure communications; Network security protocols including means for verifying the identity or authority of a user of the system or for message authentication, e.g. authorization, entity authentication, data integrity or data verification, non-repudiation, key authentication or verification of credentials using challenge-response
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L9/00Cryptographic mechanisms or cryptographic arrangements for secret or secure communications; Network security protocols
    • H04L9/50Cryptographic mechanisms or cryptographic arrangements for secret or secure communications; Network security protocols using hash chains, e.g. blockchains or hash trees

Definitions

  • a login is performed through public key infrastructure (PKI) -based authentication for a user's login request for using a service provided by a service providing server using a Merkle tree structure in an UTXO (unspent transaction output) based protocol.
  • PKI public key infrastructure
  • the present invention relates to a service providing server and an authentication server for performing the same.
  • OAuth 2.0 is a service for subscribing to a user's personal account, which is a standardized authentication method in web, mobile, and desktop applications, and an open protocol for secure authentication. Since there was no standard of authentication method before OAuth was used, the combination of ID and password, which is the existing basic authentication, was used, which was weak in security. In the case of non-basic authentication, each application identified the user according to their own company's method, including Google's AuthSub, AOL's OpenAuth, Yahoo's BBAuth, and Amazon's Web Services API. OAuth is an authentication standard that standardizes these different authentication methods. With OAuth, applications that share this authentication do not need separate authentication. This makes it possible to integrate and use multiple applications. OAuth 2.0 is the latest version of OAuth. This OAuth 2.0 method is outlined as follows.
  • an authentication request for login is transmitted to the service providing server from a user terminal which is a terminal of the user according to the user's operation.
  • the service providing server receiving the authentication request transmits the login information to the authentication server, and the authentication server verifies the login information and returns the authorization information to the service providing server when the verification is successfully completed.
  • the service providing server transmits predetermined approval delivery information to the user terminal, and the user terminal receiving the received information transmits the information requesting an access token to the authentication server, thereby accessing issued by the authentication server. Obtain a token. Then, the user terminal may request a resource related to the service from the service providing server with the access token, and thus the login agent procedure is completed.
  • the service providing server may request a verification request for the access token to the authentication server to confirm whether the access token obtained from the user terminal is valid, and in response, the authentication server may return the user's attribute information.
  • the present inventor is not limited to the conventional OAuth 2.0 protocol, but by using a blockchain-based technology, the security is more enhanced than the conventional OAuth 2.0 protocol, and a method capable of substituting authentication of individuals or servers of various structures. I would like to propose.
  • the present invention is to provide a method and a server for enhancing the security and usability of the conventional OAuth described above, the object of the present invention is to provide a technical method that can replace the existing method at a low cost while strong security and usability. There is.
  • the present invention provides a method of ultimately preventing forgery by referring to certificate-related information recorded in a private / public blockchain database of virtual currency and recording information on the authentication result in such a blockchain database. It aims to do it.
  • the present invention aims to increase security by verifying not only a certificate for a user individual using multiple signatures but also a certificate of a service providing server that is a target of a service request.
  • an object of the present invention is to provide a temporary ID, so that a service can be provided even for a user who does not have a user ID.
  • Another object of the present invention is to ensure the integrity (integrity) of the database by performing verification on the relevant information using the transaction recorded in the blockchain database as described above.
  • Still another object of the present invention is to provide a system for providing a login agent service based on a blockchain having a means for performing authentication for an individual or a server having various structures.
  • a method for performing login through a public key infrastructure (PKI) based on a login request of a user for using a service provided by a service providing server using a blockchain database may include (a) at least one neighboring hash value that matches a first specific hash value that is a hash value of a server certificate registration transaction that is a value of a server certificate that is a certificate of the service providing server or a processed value-the
  • the neighbor hash value may include (i) a hash value of a specific server certificate registration transaction that is information of or processed by a specific server certificate, (ii) a hash value of a specific application certificate registration transaction that is information of a specific application certificate or a processed value thereof, and (iii) a hash of a particular authentication result message, or a specific authentication result transaction, which is a processed value.
  • One of the hash values containing the value-an application certificate registration transaction which is a first representative hash value generated by hashing together or a value of the first representative hash value, and a certificate of an authentication application executed by the user terminal.
  • the authentication request information which is information for requesting the substitution of the login through the authentication application
  • the service providing server determines whether the substitution of the login is possible.
  • the service requests the authentication request response information as a result of the determination.
  • Delivering to the providing application (b) if the server challenge request information including the variable authentication value generated by the authentication server is obtained from the authentication application after the authentication redirection request of the service providing application is transmitted to the authentication application, The service providing server forwards the server challenge request response information corresponding to the server challenge request information to the authentication application, causing the authentication server to refer to the predetermined blockchain database to determine whether the server certificate and the application certificate are valid. Assisting to determine whether or not; And (c) an authentication result message including whether the server certificate and the application certificate are valid is obtained from the authentication server, and the authentication result message is an authentication success message indicating that the server certificate and the application certificate are valid. And handling, by the service providing server, the login by passing a predetermined access token to the service providing application to enable the service providing application to use the service through the access token. do.
  • a method for performing login through a public key infrastructure (PKI) based on a login request of a user for using a service provided by a service providing server using a blockchain database may include (a) at least one neighboring hash value that matches a first specific hash value that is a hash value of a server certificate registration transaction that is a value of a server certificate that is a certificate of the service providing server or a processed value-the
  • the neighbor hash value may include (i) a hash value of a specific server certificate registration transaction that is information of or processed by a specific server certificate, (ii) a hash value of a specific application certificate registration transaction that is information of a specific application certificate or a processed value thereof, and (iii) the resolution of a specific authentication result transaction, which is a specific authentication result message or a processing value thereof.
  • An application certificate registration transaction which is a first representative hash value generated by hashing together or a value obtained by processing the first representative hash value, and a certificate of an authentication application executed by the user terminal.
  • the challenge initiation request information is obtained from the authentication application executed by the user terminal in response to an authentication redirection request corresponding to the authentication request information, which is information for requesting the substitution of the login through the authentication application.
  • the challenge Generating a variable authentication value corresponding to the request information and passing the challenge initiation request response information including the variable authentication value to the authentication application, thereby allowing the authentication application to verify whether a server certificate which is a certificate of the service providing server is valid.
  • the service providing server supports the transfer of a predetermined access token to the service providing application executed by the user terminal, thereby allowing the service providing application to download the service through the access token. Processing the login by making it available for use.
  • a method for performing a login through a public key infrastructure (PKI) based on a login request of a user for using a service provided by a service providing server using a blockchain database comprises: (a) at least one neighbor that matches a particular hash value that is information of an application certificate that is a certificate of a second application executed by the user terminal or a hash value of an application certificate registration transaction that is a processed value; Hash value-The neighbor hash value is (i) a hash value of a specific application certificate registration transaction, which is information of a specific application certificate or a processed value thereof, and (ii) a hash value of a specific authentication result message or a specific authentication result transaction, which is a processed value thereof.
  • PKI public key infrastructure
  • the service providing server determines the user identification information. Delivering challenge initiation request information including an authentication server; (b) when the challenge initiation request response information including the variable authentication value generated by the authentication server is obtained in response to the challenge initiation request information, the service providing server receives the application challenge request information including the variable authentication value.
  • a method for performing login through a public key infrastructure (PKI) based on a login request of a user for using a service provided by a service providing server using a blockchain database comprises: (a) at least one matching information of an application certificate which is a certificate of a second application executed by the user terminal or a specific hash value which is a hash value of an application certificate registration transaction which is a processed value; Neighbor Hash Value-The neighbor hash value is (i) a hash value of a specific application certificate registration transaction, which is information of or processed by a specific application certificate, and (ii) a hash of a specific authentication result message, which is a specific authentication result message or a processed value.
  • PKI public key infrastructure
  • the user identification information is obtained from the service providing server that obtains authentication request information including user identification information for identifying the user from the second application that has received an authentication redirection request. Generating, by the authentication server, a variable authentication value in response to the challenge start request information when the challenge start request information is obtained; (b) forwarding the challenge initiation request response information including the generated variable authentication value to the service providing server so that the service providing server delivers the application challenge request information including the variable authentication value to the second application.
  • the authentication server refers to the application challenge request response information and the predetermined blockchain database. Determining whether the application certificate is valid using the obtained application certificate registration transaction; And (d) the authentication server forwards an authentication result message including whether the application certificate is valid to the service providing server and the second application, causing the service providing server to send the authentication result message to the application certificate.
  • said temporary application passed from said second application to said first application and supporting said temporary application to said second application if the authentication success message indicates that is valid; Processing the login by supporting the service via an ID and (ii) an access token included in the authentication success message.
  • a method for performing login through a public key infrastructure (PKI) based on a login request of a user for using a service provided by a service providing server using a blockchain database is provided.
  • the service providing server to perform is provided, the server, at least one matching the first specific hash value of the information of the server certificate that is the certificate of the service providing server or the hash value of the server certificate registration transaction that is a processed value
  • Neighbor Hash Value-The neighbor hash value is (i) a hash value of a specific server certificate registration transaction, which is information of a specific server certificate or a processed value thereof, and (ii) a specific application certificate registration transaction, which is information of a specific application certificate or a processed value thereof.
  • a second representative hash value or a value obtained by processing the second representative hash value generated by hashing together at least one neighboring hash value matching the second specific hash value that is a hash value of an application certificate registration transaction that is a certificate of A communication unit which obtains, from the service providing application executed by the user terminal, authentication request information, which is information for requesting to substitute the login through the authentication application, while being recorded in a predetermined blockchain database; And (i) when the authentication request information is obtained, transferring authentication request response information, which is a result of determining whether the login is possible, to the service providing application, (ii) an authentication redirection request of the service providing application ( After authentication redirection request is transmitted to the authentication application, if server challenge request information including a variable authentication value generated by the authentication server is obtained from the authentication
  • An authentication result message including a server certificate and whether the application certificate is valid is obtained, and if the authentication result message is an authentication success message indicating that the server certificate and the application certificate are valid, predetermined access to the service providing application.
  • a processor that carries a process of handling the login by passing an access token to enable the service providing application to make the service available through the access token.
  • a method for performing login through a public key infrastructure (PKI) based on a login request of a user for using a service provided by a service providing server using a blockchain database is provided.
  • An authentication server for performing is provided, wherein the server includes at least one neighboring hash that matches information of a server certificate that is a certificate of the service providing server or a first specific hash value that is a hash value of a server certificate registration transaction that is a processed value.
  • the neighbor hash value is (i) a hash value of a specific server certificate registration transaction, which is information of or processed by a particular server certificate, (ii) a hash of a specific application certificate registration transaction, which is information of a particular application certificate or a processed value thereof. Value, and (iii) a specific authorization result message or A first representative hash value generated by a hash operation together or a value processed by the first representative hash value, and a certificate of an authentication application executed by the user terminal. A second representative hash value or a value obtained by processing the second representative hash value generated by hashing together at least one neighboring hash value matching the second specific hash value that is a hash value of an in-application certificate registration transaction is predetermined.
  • Handling the login by supporting a service providing application to pass a predetermined access token to the service providing application to enable the service providing application to use the service through the access token.
  • a processor to perform the process.
  • a method for performing login through a public key infrastructure (PKI) based on a login request of a user for using a service provided by a service providing server using a blockchain database is provided.
  • the service providing server to perform is provided, the server is matched with a specific hash value of the information of the application certificate, which is a certificate of the second application executed by the user terminal or a hash value of the application certificate registration transaction that is a processed value thereof.
  • At least one neighbor hash value-The neighbor hash value is (i) a hash value of a specific application certificate registration transaction, which is information of a specific application certificate or a processed value thereof, and (ii) a specific authentication result message or a specific authentication result which is a processed value thereof.
  • the solution containing the hash value of the transaction At least one of the values-from the first application executed by the user terminal in a state in which a representative hash value generated by hashing together or a value obtained by processing the representative hash value is recorded in a predetermined blockchain database;
  • a communication unit configured to obtain authentication request information including user identification information for identifying the user from the second application that has received an authentication redirection request, which is information for requesting a proxy for login through an application; And (i) when the authentication request information is obtained, transferring challenge initiation request information including the user identification information to an authentication server, and (ii) variable authentication generated by the authentication server in response to the challenge initiation request information.
  • the application transmits the application challenge request information including the variable authentication value to the second application so that the second application sends the variable authentication value to the private key of the application certificate ( a process for supporting generation of a value signed with a private key; (iii) if application challenge request response information including a value signed with a private key of the application certificate is obtained, the application challenge request response information is obtained.
  • a method for performing login through a public key infrastructure (PKI) based on a login request of a user for using a service provided by a service providing server using a blockchain database is provided.
  • An authentication server for performing is provided, the server comprising at least one matching information of an application certificate, which is a certificate of a second application executed by a user terminal, or a specific hash value, which is a hash value of an application certificate registration transaction, which is a processed value.
  • the second application from the first application executed by the user terminal in a state in which a representative hash value generated by hashing together or a value obtained by processing the representative hash value is recorded in a predetermined blockchain database. From the service providing server that obtains authentication request information including user identification information for identifying the user from the second application received an authentication redirection request, which is information requesting to act on behalf of the login.
  • the forgery of the certificate-related information is essentially prevented, thereby ensuring the reliability.
  • FIG. 1 is a conceptual diagram schematically illustrating an exemplary configuration of a service providing server, an authentication server, and a user terminal for performing a method for substituting login according to the first to third embodiments of the present invention.
  • FIG. 2 is a sequence diagram exemplarily illustrating a method for performing login through multiple signatures using a server certificate and an application certificate according to the first to third embodiments of the present invention.
  • FIG. 3 is a sequence diagram exemplarily illustrating a method for substituting login using multiple information in the absence of a user ID according to the first to third embodiments of the present invention.
  • 4 and 5 are conceptual views schematically illustrating a process in which transactions are recorded in a predetermined database according to the second embodiment of the present invention.
  • 6 and 7 exemplarily illustrate a smart contract (source code) for limiting the number of times of use of a certificate to initNumber and 10 according to the third embodiment of the present invention.
  • database refers to a system of data, that is, a set of integrated managed information and a system for managing the same, and includes at least some of a general relational database, a MongoDB database, and a blockchain database.
  • a general relational database a MongoDB database
  • a blockchain database a blockchain database of virtual currency is described, but a person skilled in the art may understand that other types of databases may be modified.
  • public blockchain database refers to utilizing all computing devices on a virtual currency system that manages a public blockchain, a blockchain that is widely used in the public as a blockchain of virtual currency, as a database.
  • private blockchain database in the present specification refers to a so-called, privately configured private block that is directly managed by an authentication server according to the present invention, which uses a blockchain of virtual currency but is not a public blockchain used for the public. Refers to a database using a chain.
  • the virtual currency refers to a digital currency circulated by a transaction based on an electronic wallet with blockchain technology, and in the virtual currency, bitcoin, light coin, dark coin, name coin, ceramic coin, ripple, etc. There is this.
  • the "smart contract” is code that can be compiled into executable bytecode and executed on at least one computing device, and is configured to perform a predetermined procedure if a specific condition is satisfied at the time of execution, and the result of the execution Integrity of the execution result refers to a concept characterized in that it is verified by consensus on the execution result calculated from the at least one computing device.
  • the present invention encompasses all possible combinations of the embodiments indicated herein. It should be understood that the various embodiments of the present invention are different but need not be mutually exclusive. For example, certain shapes, structures, and characteristics described herein may be embodied in other embodiments without departing from the spirit and scope of the invention with respect to one embodiment. In addition, it is to be understood that the location or arrangement of individual components within each disclosed embodiment may be changed without departing from the spirit and scope of the invention. The following detailed description, therefore, is not to be taken in a limiting sense, and the scope of the present invention, if properly described, is defined only by the appended claims, along with the full range of equivalents to which such claims are entitled. Like reference numerals in the drawings refer to the same or similar functions throughout the several aspects.
  • the first embodiment of the present invention is an embodiment in which an unspent transaction output (UTXO) of virtual currency is used, and an individual transaction related to the UTXO is recorded in a predetermined blockchain database.
  • UTXO unspent transaction output
  • the second embodiment of the present invention uses a UTXO of virtual currency to record an individual transaction related to the UTXO in a first blockchain database, and then generate a representative hash value generated from the transactions recorded in the first blockchain database.
  • a UTXO of virtual currency to record an individual transaction related to the UTXO in a first blockchain database, and then generate a representative hash value generated from the transactions recorded in the first blockchain database.
  • the third embodiment of the present invention uses a state database (SDB) for managing state information on a certificate that varies by smart contract, and records a transaction in a predetermined blockchain database.
  • SDB state database
  • the change in state is an embodiment that is configured by writing to a state database.
  • the second blockchain database is a blockchain that is indirectly recorded through the first blockchain database for data integrity. It's a database.
  • FIG. 1 is a conceptual diagram schematically illustrating an exemplary configuration of a service providing server, an authentication server, and a user terminal for performing a method for signing in according to the present invention.
  • an authentication server, a service providing server, and a user terminal are typically a computing device 100 (eg, a computer processor, memory, storage, input and output devices, other conventional devices).
  • a device that may include components of a computing device; an electronic communication device such as a router, a switch, etc .; an electronic information storage system such as a network attached storage (NAS) and a storage area network (SAN), computer software (ie, computing device) It may be to carry out the method according to the invention using a combination of instructions to cause it to function in a particular way, such a computing device 100 comprising a communication unit 110, a processor 120, It can communicate indirectly or directly with each other.
  • NAS network attached storage
  • SAN storage area network
  • the communication unit 110 of the computing device may transmit and receive a request and a response with another computing device to which the computing device is linked.
  • the request and response may be made by the same TCP session, but are not limited thereto.
  • it may be transmitted and received as a UDP datagram.
  • the processor 120 of the computing device may include a hardware configuration such as a micro processing unit (MPU) or a central processing unit (CPU), a cache memory, a data bus, and the like.
  • the operating system may further include a software configuration of an application performing a specific purpose.
  • FIG. 2 is a sequence diagram exemplarily illustrating a method for performing login through multiple signatures using a server certificate and an application certificate (hereinafter, referred to as a “multi-signed login proxy method”) according to the present invention.
  • authentication request information which is information for requesting substitute agent login through an authentication application executed by a user terminal used by a user, includes the user terminal.
  • the service providing server delivers the authentication request response information, which is a result of determining whether the agent can perform the login (S215) (S215). , S215).
  • the authentication request information may include authentication type information (auth type), which is information defining a type of authentication.
  • this authentication type information may be used to select the type of authentication requested according to the severity of the service, such as whether to use a service such as a simple inquiry or an important service such as payment when the user wants to use the service. Corresponds to the parameter that makes it possible.
  • the authentication request information may include authentication application identification information for identifying the authentication application
  • the service providing server that obtains the authentication application identification information may include (i) a service provided by the service providing server. Based on information such as whether or not the proxy for login through the authentication application is allowed, and (ii) if the service permits the login through the authentication application, whether the proxy is allowed for the user. It is possible to determine whether the substitution of the login is possible, the result can be returned as authentication request response information.
  • the authentication request information may further include at least one of information for identifying the user terminal and information for identifying the service providing application, in order to determine whether a proxy for login may be allowed for the user.
  • information for identifying the user terminal and information for identifying the service providing application, in order to determine whether a proxy for login may be allowed for the user.
  • the service providing server can allow a proxy to log in through the authentication application.
  • the authentication request response information includes at least one of the authentication application identification information, an authorization level, service providing server identification information capable of identifying a service providing server, and a referrer service key. can do.
  • the approval level refers to the level, range and degree of the service that the user is provided from the service providing server by using the login agent of the present invention.
  • the approval level is a value provided by the authentication server at each login agent.
  • the authentication server determines the level equal to or lower than the access level, which is a value uniquely set for the service providing server.
  • the access level is determined by the authentication server at the time of registration of the server certificate, which is the certificate of the service providing server, which will be described in detail later.
  • reference service key is a value used to identify the identity of the session (session) in which the user is performed when the user uses the login agent method of the present invention, the service providing server The value provided by
  • the step (S210, S215) is the information of the server certificate, which is the certificate of the service providing server or the server certificate registration transaction, which is a processed value, and the information of the application certificate, which is the certificate of the authentication application, or the same.
  • the application certificate registration transaction, which is a value may be performed while being recorded in the blockchain database.
  • the blockchain database may be a private blockchain database or a public blockchain database.
  • the certificate that is, the server certificate and the application certificate generally means a certificate by a public key and a private key generated by the public key infrastructure (PKI) based encryption scheme.
  • PKI public key infrastructure
  • the information of the certificate that can be delivered to the authentication server in the registration phase of the certificate for registering the certificate is, for example, (i) a public key PubA generated by the public key infrastructure (PKI) based encryption scheme. It may include.
  • the information of the certificate may further include (ii) an identification information hash value IdhashA which is a result of hashing identification information for identifying a subject of the certificate, and the information of the certificate may include (iii) the PKI-based encryption scheme.
  • At least one of additional information such as a encryption type, (iv) a license key, and (v) a license level as information for specifying at least one of a type and a type of hash operation. May be further included.
  • the license key is predetermined information that is negotiated in advance between the operator of the service providing server and the operator of the authentication server. Therefore, if the license key is different from the one negotiated in advance or the type of the license key does not conform to a predetermined standard, the information transmitted to the authentication server may be determined as traffic for cracking. Meanwhile, the operator side of the authentication server may change the corresponding license key to an unusable state when the contract relationship with the operator of the service providing server is terminated.
  • the license level corresponds to the level, scope and degree of the service provided by the authentication server to the service providing server for the login agent, the license level is a value that can be predetermined by the above agreement.
  • the information of the certificate may further include information generated in the registration phase of the certificate in response to the information of (i) to (v) obtained by the authentication server, which identifies the certificate.
  • the information may be at least one of certificate identification information and an access level.
  • the certificate identification information is server certificate identification information.
  • the certificate identification information is application certificate identification information.
  • This access level means the range and degree of a service that can be accessed through the certificate when the login agent service is provided through the certificate, and the license level is a unique value between the authentication server and the service providing server.
  • the access level is assigned to the service providing server by the authentication server when the server certificate is issued, and is a value unique to the certificate.
  • the access level may be determined by the authentication server to be equal to or lower than the license level.
  • the identification information hash value IdhashA may be used by a corporation or an individual who is identification information of the user, for example, a service provider who is a user of a service providing server, an authentication application used in a user terminal, or a user who is a user of a second application. It may be a result of hashing information.
  • the identification information may include, for example, at least one of a name (name), a date of establishment (date of birth), contact information, and an e-mail, but the present disclosure is not limited thereto.
  • hash functions used for the hash operation are MD4 function, MD5 function, SHA-0 function, SHA-1 function, SHA-224 function, SHA-256 function, SHA-384 function, SHA-512 function and HAS-. 160 function may be included, but is not limited thereto. For example, Triple SHA256 would be possible.
  • the integrity of the server certificate and the application certificate may be verified by referring to the server certificate registration transaction and the application certificate registration transaction recorded in the blockchain database. This will be described later in detail.
  • the multi-signature login proxy method after the authentication redirection request (authentication redirection request) of the service providing application is transmitted to the authentication application (S220), the authentication server from the authentication application
  • the service providing server delivers the server challenge request response information corresponding to the server challenge request information to the authentication application (S240).
  • S245 to S250 by supporting the authentication server to determine whether a server certificate which is a certificate of the service providing server and an application certificate that is a certificate of the authentication application are valid (S220 to S250).
  • the authentication redirection request may include service providing application identification information for identifying a service providing application, service type information for identifying a type of a provided service, the authentication level, and a service for identifying a service providing server. It may include at least one of the providing server identification information and the reference service key.
  • variable authentication value is used to verify whether the server certificate and the application certificate is valid, and may be a one-time number, for example, a timestamp value, but is not limited thereto. For example, it may be a random random nonce, i.e. a random value, generated from any seed value.
  • the method for generating the variable authentication value will not be described in more detail because it is unnecessary detail in understanding the present invention, as it is known or easily understood by those skilled in the art.
  • the server challenge request information may further include at least one of a referrer auth key and the referrer service key.
  • the referrer authentication key is used to identify which authentication application and challenge initiation request delivered by the service providing server in the user using the login agent method of the present invention, that is, to identify the authentication application and the service providing server.
  • a value provided is a value provided by the authentication server.
  • This referrer authentication key is a value included in the challenge initiation request response information transmitted from the authentication server to the authentication application, which will be described later.
  • the server challenge request response information corresponding to the server challenge request information may further include at least one of the reference authentication key, service type information, authorization level, and service providing server identification information.
  • the information transmitted and received between the subjects performing the method is encoded by using the public key of the receiving side. It is common to be.
  • information to be transmitted can be obtained by decoding using the private key of the receiving side.
  • the server challenge request information may include the variable authentication value encoded by the public key of the server certificate.
  • the service providing server obtains the variable authentication value from the server challenge request information using the private key of the server certificate, and includes the value of signing the variable authentication value using the private key of the server certificate.
  • the server challenge request response information may be delivered to the authentication application.
  • the information to be transmitted will not necessarily be encoded using the public key of the receiving side.
  • the well-known symmetric-key algorithm may be used.
  • the multi-signature login agent method obtains an authentication result message including whether the server certificate and the application certificate are valid from the authentication server ( S260a, S260b), and if the authentication result message is an authentication success message indicating that the server certificate and the application certificate are valid, the service providing server transmits a predetermined access token to the service providing application ( S270) to process the login by supporting the service providing application to use the service through the access token (S260a, S260b and S270).
  • the authentication result message may further include the application certificate identification information, and may further include at least one of the service providing application identification information and the service providing server identification information.
  • the access token is predetermined information transmitted to the service providing server by a user terminal executing the service providing application to use the service, and may be an ASCII value or a binary value.
  • This access token is a unique value for identifying a user using the service providing application and is a value that should be stored without being exposed. Therefore, it may be delivered according to a PKI-based encryption scheme.
  • the access token may be a value that is invalidated when the issuing subject sets a predetermined validity period to exceed the validity period in the future.
  • the access token may be an access token provided in an OAuth authentication scheme, in which case the access token may be a combination of alphanumeric characters and special characters.
  • the access token provided in the OAuth authentication method may be in the form of “fb2e77d.47a0479900504cb3ab4a1f626d174d2d”, and a person of ordinary skill in the art may understand the access token used in the OAuth authentication method provided as an example.
  • the multi-signature login agent method first, request to substitute the login through the authentication application executed by the user terminal
  • the authentication server By generating a variable authentication value corresponding to the challenge initiation request information and transferring the challenge initiation request response information including the variable authentication value to the authentication application (S235), the authentication application is a certificate of the service providing server.
  • the service providing server S245
  • the challenge initiation request information may include at least one of application certificate identification information for identifying an application certificate, the service providing application identification information, and the reference service key.
  • the challenge initiation request response information corresponding thereto may further include at least one of the referrer authentication key and the referrer service key.
  • the referrer authentication key is used to identify which authentication application and challenge initiation request delivered by the service providing server in the user using the login agent method of the present invention, that is, the authentication application and the service provision. A value provided by the authentication server to identify the server.
  • a multi-signature value which is a value obtained by signing the server challenge request response information using a private key of an application certificate which is a certificate of the authentication application. If the response request information including a is obtained from the authentication application, the authentication server further comprises the step of determining whether the server certificate and the application certificate is valid using the response request information (S250).
  • the response request information may further include at least one of the reference authentication key, the service type information, the authorization level, and service providing server identification information.
  • the authentication server verifies whether the server certificate and the application certificate are valid by verifying a signature of the multi-signature value using the public key of the server certificate and the public key of the application certificate. It can be characterized by.
  • a predetermined hash value A can be obtained from the multi-signature value using the public key of the server certificate and the public key of the application certificate, and the predetermined hash value A and the variable authentication value can be obtained.
  • the signature can be validated by comparing the result (B) obtained by applying the hash function. In such a comparison, the signature is invalid if the hash value and the result obtained by applying the predetermined hash function are different, and if the signature is the same, it is well known to a person skilled in the art. You will see how to validate digital signatures.
  • the authentication server may support to manage or manage information regarding an access level to the service providing server, and the approval level may be referred to with reference to the access level.
  • authorization level the authentication result message may include information regarding the authorization level, and whether or not the server certificate is valid may be determined with reference to the authorization level.
  • the access level may include cracking history information related to whether the service providing server has been cracked, if any, how often and how often, or the function and performance of the security service that the service providing server can provide. Information and rating information determined based on the license level.
  • this access level may be a value determined in the registration phase of the certificate, but is not limited thereto, and a person skilled in the art may understand that the access level may vary with time.
  • the permission level determined according to the access level may correspond to information indicating the service use level, for example, when a service allowed to a user who uses the service through the service providing server is differentiated according to the service use level. have.
  • the authorization level may be used as a basis for determining a valid time for using the service with one login.
  • the operator of the authentication server can easily change the access level or the authorization level in the case that the login agent service needs to be restricted due to the service providing server being exposed to cracking.
  • the authentication server sends an authentication result message including whether the server certificate is valid to at least one of the authentication application and the service providing server.
  • the authentication result message is an authentication success message indicating that the server certificate is valid by forwarding (S260a and S260b)
  • a predetermined access token is generated by the service providing server to a service providing application executed by the user terminal.
  • To process the login S260a, S260b, and S270) by supporting the service providing application to use the service through the access token.
  • step S260a is shown after step S260b, but the order may be reversed, and step S260a and step S260b may be performed simultaneously.
  • the authentication server after the step (S250), the authentication server, the authentication result message or a value processed therein recorded in the blockchain database as an authentication result transaction Or supporting another device linked to the authentication server (not shown).
  • the authentication result transaction By recording this authentication result transaction in the blockchain database, not only an administrator using an authentication server or a third party who has authority to access the blockchain database can verify the authenticity of the authentication result message, but also multiple authentication results. You can manage the statistical value of messages.
  • the multi-signature login agent method (i) information of a specific server certificate recorded in the blockchain database, the authentication server, periodically or in response to an integrity verification request Or at least one of a specific server certificate enrollment transaction that is a fictitious value, (ii) a specific application certificate enrollment transaction that is a fictitious value of a specific application certificate or a fictitious value, and (iii) a specific authentication result transaction that is a specific authentication result message or a fictitious value. Verifying the integrity of the information of (i), (ii) and (iii) by referring to the information of (i), or supporting another device linked to the authentication server (not shown). Can be.
  • FIG. 3 is a sequence diagram exemplarily illustrating a method for performing a login using multiple information in the absence of a user ID (hereinafter, “a temporary ID login proxy method”) according to the present invention.
  • a temporary ID login proxy method a method for performing a login using multiple information in the absence of a user ID
  • the temporary ID login proxy method may be configured to request a proxy for login through a second application executed by the user terminal from a first application executed by the user terminal.
  • authentication redirection request which is information (S310)
  • the service providing server receives the user. And transmitting the challenge start request information S330 including the identification information to the authentication server (S310 to S330).
  • the user identification information is information for distinguishing the user from other users and may be anything uniquely determined for each user.
  • the user identification information may be login information for using a service provided through the second application, or may be predetermined certificate information issued for the user.
  • the steps S310 to S330 may include information on a server certificate, which is a certificate of the service providing server, or a server certificate registration transaction, which is a processed value thereof, and the second application.
  • the information on the application certificate, which is a certificate of, or an application certificate registration transaction, which is a processed value thereof, may be performed while being recorded in the blockchain database.
  • the temporary ID login proxy method when the challenge start request response information including the variable authentication value generated by the authentication server in response to the challenge start request information is obtained (S335)
  • the service providing server transmits the application challenge request information (S340) including the variable authentication value to the second application, thereby causing the second application to transmit the variable authentication value to the certificate of the second application.
  • the method may further include steps S335 and S340 for generating a value signed by a private key.
  • the challenge initiation request information may further include a public key of a server certificate which is a certificate of the service providing server, and in this case, the challenge initiation request response information. May include the variable authentication value encoded by the public key of the server certificate. If so, in this example, the service providing server may obtain the variable authentication value from the challenge initiation request response information S335 using the private key of the server certificate in the steps S335 and S340.
  • the application challenge request information including the signed value of the variable authentication value may be transmitted to the second application using the public key of the application certificate (S340).
  • the temporary ID login proxy method includes an application including a value signed by a private key of the application certificate.
  • the service providing server transmits the application challenge request response information to the authentication server (S350) so that the authentication server uses the application challenge request response information to the application certificate. It further includes steps (S345, S350) to assist in determining whether is valid.
  • the application challenge request response information includes a value signed with the private key of the application certificate, whether the value signed using the public key of the application certificate held by the authentication server corresponds to the variable authentication value. Can be verified, thereby determining whether the application certificate is valid.
  • the description will be replaced with the description of the method for validating the above-described signature.
  • an authentication result message including whether the application certificate is valid is obtained from the authentication server, and the authentication result message is obtained. If the authentication success message indicating that the application certificate is valid, the service providing server transmits a temporary ID to the second application, which causes the first application to transmit from the second application to the first application. Processing the login by supporting the use of the service via (i) the temporary ID and (ii) an access token included in the authentication success message.
  • the temporary ID may be determined by referring to the information on the access token and the authorization level included in the authentication success message.
  • the temporary ID may be provided with information regarding a service usage level indicating a service available in accordance with the characteristics of the service provided by the service providing server.
  • the service may be provided through the first application with the temporary ID. The user may use the service within a range determined according to the service use level.
  • the temporary ID login proxy method is, first, by the user terminal from a first application executed by the user terminal.
  • the challenge initiation request information including the user identification information is obtained from the service providing server (S320)
  • the authentication server generates a variable authentication value in response to the challenge initiation request information (S310 to S330).
  • Challenge challenge request response information including the generated variable authentication value;
  • the service providing server S335 to allow the service providing server to deliver the application challenge request information including the variable authentication value to the second application (S340) to allow the second application to the variable authentication value.
  • the authentication server may determine whether the application certificate is valid using the application challenge request response information (S345 and S350).
  • the temporary ID login agent method according to the first embodiment includes the blockchain database as the authentication result transaction by the authentication server as the authentication result transaction. It may further include the step (not shown) for recording to or to record to other devices linked to the authentication server.
  • the authentication server provides the service with an authentication result message including whether the application certificate is valid.
  • Delivers to the server and the second application (S355a, S355b), causing the service providing server to provide a temporary ID when the authentication result message indicates that the application certificate is valid; (I) the temporary IDs (S360, S370a) and (ii) the access included in the authentication success message, which is passed to the first application from the second application and that causes the first application to pass to the application (S360).
  • step S355a is shown as step S355b, but the order may be reversed, and step S355a and step S355b may be performed simultaneously. The same applies to steps 370a and S370b.
  • the temporary ID login proxy method also, periodically or in response to the integrity verification request, the authentication server, (i) the information of the specific server certificate recorded in the blockchain database or processing the same At least one of a value of a specific server certificate enrollment transaction, (ii) information of a specific application certificate or a specific application certificate enrollment transaction that is a processed value, and (iii) a specific authentication result message or a specific authentication result transaction that is a processed value.
  • the method may further include verifying the integrity of the information of (i), (ii), and (iii) or supporting another device linked to the authentication server (not shown).
  • the steps S210 and S215 described above with respect to the first embodiment may include information on a server certificate which is a certificate of the service providing server in the multi-signature login agent method according to the second embodiment of the present invention.
  • at least one neighbor hash value matching the first specific hash value which is a hash value of a server certificate registration transaction, which is a processed value wherein the neighbor hash value is: (i) a specific server certificate information or a processed value of the specific server certificate; A hash value of a registration transaction, (ii) a hash value of a specific application certificate enrollment transaction that is information of, or an instrumentation of, a particular application certificate; Is one of the hash values-a first representative hash value or a first representative hash value generated by hashing together A second representative hash value generated by hashing together an empty value and at least one neighboring hash value matching a second specific hash value that is a hash value of an application certificate registration transaction that is a certificate of an authentication application executed by
  • the authentication server refers to the predetermined blockchain database in determining whether the server certificate and the application certificate are valid.
  • the specific meaning is to determine whether the server certificate and the application certificate are valid using the server certificate registration transaction and the application certificate registration transaction obtained with reference to the predetermined blockchain database.
  • This second embodiment of the present invention uses a UTXO of virtual currency to write an individual transaction related to the UTXO in a first blockchain database, and then, a representative hash generated from transactions recorded in the first blockchain database.
  • the value in the second blockchain database it can be configured in an anchoring manner, which doubles the integrity of the recording.
  • the predetermined blockchain database is the second blockchain database, and in step S210 , S215) is performed while the server certificate registration transaction and the application certificate registration transaction are further recorded in the first blockchain database.
  • the authentication server displays the authentication result message or the processed value thereof.
  • At least one neighbor hash value that matches a particular hash value wherein the neighbor hash value is (i) a hash value of a particular server certificate registration transaction that is information of, or a processed value of, a particular server certificate, (ii) information of a particular application certificate, or A hash value of a specific application certificate enrollment transaction, which is a processed value, and (iii) a specific authentication result message or Is one of hash values including a hash value of a specific authentication result transaction, which is a processed value-a representative hash value generated by hashing together or a value processed by the representative hash value is recorded in the second blockchain database, or Assisting other devices linked to the authentication server to record, and performing a process of acquiring a transaction ID, the representative hash value or a value obtained by processing the representative hash value, is position information recorded in the second blockchain database; It may further include (not shown).
  • the aforementioned anchoring condition may include (i) a condition in which a predetermined number of specific hash values and neighboring hash values are obtained or generated, (ii) a condition that a predetermined time elapses, and (iii) in the first blockchain database. It may include at least one of a condition that the block is generated, (iv) a condition for the service characteristic.
  • a particular hash value is denoted by input, and at least one neighboring hash value is represented by x1, x2,... , represented by xn, can be represented by the following equation.
  • the authentication server may store and manage the specific hash value and the at least one neighbor hash value in a predetermined data structure.
  • the data structure may vary, for example, may be a merkle tree structure.
  • the calculation of the specific hash value and at least one neighbor hash value may be performed through the Merkle tree.
  • the authentication server may support to generate or generate a merkle tree in which the specific hash value is assigned to a leaf node, and if at least one anchoring condition is satisfied, at least one matching the specific hash value Acquire the representative hash value or the processed value of the representative hash value generated by hashing the hash values assigned to one other leaf node together, and recording the obtained value in the second blockchain database or other device. Can help them record.
  • the authentication server may record the hash value finally assigned to the root node of the Merkle tree as the representative hash value in the second blockchain database or allow other devices to record it. At this time, a value obtained by processing the representative hash value may be recorded. For example, the result of performing the hex operation may be registered in the representative hash value.
  • the authentication server stores the particular hash value and the at least one neighboring hash value in a predetermined first data structure, and then stores and manages a second data structure having the same form as the first data structure
  • the first data structure and the second data structure may be connected in a chain form.
  • the root value of the first data structure or the hash value of the root value is the first leaf of the second data structure. Can be assigned to a node.
  • the Merkle tree is the first Merkle tree among at least one Merkle tree connected in a chain form
  • the first leaf node of the Merkle tree has a hash value of a predetermined message data consisting of text, numbers, or symbols or the same.
  • One value can be assigned.
  • a hash value of an input message initially assigned by the authentication server may be assigned when generating the merkle tree.
  • the authentication server calculates (i) a specific hash value and (ii) a hash value assigned to the h3 node which is a sibling node of the h2 node which is the third leaf node to which the specific hash value is assigned or causes another device to perform the operation. Can support calculations.
  • the hash value for the operation value that is the result of the operation is assigned to the parent node (h23 node) of the h2 node and the h3 node.
  • the authentication server may repeat the process by using the hash value assigned to the h23 node as the specific hash value. That is, the hash value assigned to the h23 node is designated as a specific hash value, and the hash value assigned to the h23 node and the hash value assigned to the h01 node are calculated and assigned to the parent node (h0123) node of the h23 node and the h01 node. have.
  • the authentication server since the h0123 node is the root node of the Merkle tree, the authentication server records the hash value assigned to the h0123 node or the processed value (hex (h ⁇ node_index ⁇ )) in the second blockchain database, or to another device. Can help you record.
  • the authentication server is configured to: (i) the sibling of the node to which the particular hash value and (ii) the particular hash value are assigned. Hashing the hash value assigned to the node together or allowing other devices to hash the hash, assigning the hash value for the computed value that is the result of the operation to the parent node of the node or allowing another device to assign it, (x2) if the parent node is the root node of the Merkle tree, supports to record the hash value assigned to the parent node to the second blockchain database as the representative hash value or to allow other devices to record; (x3) If the parent node is not the root node of the Merkle tree, (x1) to (x3) may be repeated by using a hash value assigned to the parent node as the specific hash value. To do.
  • the authentication server may generate the root value of the aforementioned Merkle tree on a predetermined time basis (the (ii) anchoring condition). In this case, when a predetermined time elapses, the authentication server may generate a Merkle tree using the input values up to that time, record the root value of the Merkle tree in the second blockchain database, or support another device to record. .
  • a value may not be assigned to a sibling node of a node to which a specific hash value of the Merkle tree is assigned even after a predetermined time has elapsed.
  • the authentication server allocates a predetermined hash value to the sibling node or causes another device to make a hash value.
  • the allocation may be supported so that the root value of the Merkle tree is calculated in the above-described manner.
  • the authentication server may duplicate the specific hash value and assign it to the sibling node or support another device to assign it.
  • the service characteristic is a company type that is a management entity of the server involved in the record, cost information paid by the entities using the login agent service, time zone information on which the transaction is recorded, area information on the record, and the server involved in the record. It can be at least part of the information. However, it is not limited to what was described here.
  • the authentication server determines that predetermined message data is allocated to the first leaf node and the second leaf node.
  • the Merkle Tree may be generated or supported by another device, and the root value or the processed value of the Merkle Tree may be recorded in the second blockchain database or the other device may be recorded. In this case, for example, a leaf tree of two leaf nodes may be generated.
  • the authentication server stores the specific hash value and the at least one neighboring hash value in a predetermined first data structure, and then stores and manages a second data structure having the same form as the first data structure.
  • the first data structure and the second data structure may be connected in a chain form.
  • a root value of the first data structure or a hash value of the root value may be allocated to the first leaf node of the second data structure.
  • FIG. 5 illustrates a Merkle tree generated as the second data structure according to the present invention.
  • the present invention has an advantage of easily tracking even when data modulation occurs in the middle by connecting a plurality of data structures generated when a transaction occurs, thereby improving the integrity of the data.
  • the certificate registration method in addition, periodically or in response to the integrity verification request, the authentication server, at least one transaction recorded in the first blockchain database-
  • the transaction may include (i) a specific server certificate registration transaction, which is information of a specific server certificate or a processed value thereof, (ii) a specific application certificate registration transaction, which is information of a specific application certificate or a processed value thereof, and (iii) a specific authentication result message. Or a first representative hash value or the first representative hash value generated by hashing together at least one neighboring hash value that matches one of the transactions including a specific authentication result transaction that is a processed value.
  • the processed value is recorded in the second blockchain database corresponding thereto. 2) verifying the integrity of the transaction by verifying whether the representative hash value or the second representative hash value matches a processed value or supporting another device interworking with the authentication server (not shown) It may further include.
  • the first and second blockchain databases may be blockchain databases.
  • the first blockchain database may be a private blockchain database
  • the second blockchain database may be a public blockchain database.
  • the present disclosure is not limited thereto, and a person skilled in the art may refer to the first blockchain database as a private blockchain database or a public blockchain database.
  • the second blockchain database may be any one of a private blockchain database and a public blockchain database. You can understand that it can be one.
  • steps S310 to S330 described above with respect to the first embodiment may be a certificate of a second application executed by a user terminal in the temporary ID login proxy method according to the second embodiment of the present invention.
  • the neighbor hash value is (i) a specific application certificate or a processed value
  • the hash value is stored in a predetermined blockchain database. Performed in the womb. On the other hand, whether the application certificate is valid or not is determined by the authentication server with reference to the predetermined blockchain database.
  • the temporary ID login agent method includes (A) the authentication result message or a value processed by the authentication server as an authentication result transaction.
  • the representative hash value or the processed value of the representative hash value is recorded in the second blockchain database or supported by another device linked to the authentication server, and the representative hash value or the representative hash value is processed.
  • the method may further include performing a process of obtaining a transaction ID, which is position information recorded in the second blockchain database (not shown).
  • the temporary ID login agent method according to the second embodiment essentially includes a specific server certificate registration transaction, which is information of a specific server certificate or a processed value, in a neighbor hash value. This may not be because server certificates are not necessarily used. Except for this difference, the contents described in the multi-signature login agent method according to the second embodiment may be applied to the temporary ID login agent method according to the second embodiment.
  • the method according to the third embodiment is performed using a smart contract.
  • the smart contract is source code that can be compiled on executable bytecode and executed on a plurality of computing devices including an authentication server or other devices linked to the authentication server. Configured to perform, the integrity of the execution result that is the result of the execution is verified by consensus on the execution result calculated from the plurality of computing devices.
  • the information on the smart contract-based certificate includes (i) a public key PubA generated by the public key infrastructure (PKI) -based encryption scheme, and (ii) a smart contract SC corresponding to the valid condition VcertA of the certificate. Contains the byte code BC (SC (VcertA)), which is the result of (VcertA) being compiled.
  • the information on the smart contract-based certificate may further include an identification information hash value IdhashA which is a result of hashing identification information for identifying a subject of the certificate.
  • the information on the smart contract-based certificate may include encryption type, license key, and license level as information for specifying at least one of the type of the PKI-based encryption scheme and the type of the hash operation. At least one of additional information such as a license level may be further included.
  • the information of the certificate includes the public key PubA corresponding to the subject of the certificate, the identification information hash value IdhashA which is a result of hashing the identification information for identifying the subject of the certificate, and the validity of the certificate.
  • the authentication server or other device that obtains the condition VcertA (S205 and S210) generates a smart contract SC (VcertA) corresponding to the valid condition, compiles the smart contract, and as a result, the byte code BC (SC). (VcertA)).
  • a server certificate which is a certificate of the service providing server and an application certificate which is a certificate of an authentication application executed by the user terminal may be the smart contract-based certificate.
  • the steps S210 and S215 described above with respect to the first embodiment may include processing the information of the server certificate or the same in the multi-signature login agent method according to the third embodiment of the present invention.
  • One value is a server certificate registration transaction or information of the application certificate or an application certificate registration transaction, which is a processed value, is recorded in the blockchain database, and is an execution parameter of the smart contract SC (VcertA) of the server certificate and the application certificate.
  • the state S (SC (VcertA)) is performed in the state registered in the state database SDB.
  • the S (SC (VcertA)) will be set to a predetermined initial state and recorded in the state database.
  • the initial state means a state that is first given to the certificate in order to determine whether the validity condition is satisfied.
  • the authentication server refers to a predetermined blockchain database and the state database in determining whether the server certificate and the application certificate are valid.
  • the specific meaning thereof is (i) the server certificate registration transaction obtained with reference to the predetermined blockchain database, (ii) the application certificate registration transaction, (iii) the server certificate and the application obtained from the state database.
  • the existing execution result of each smart contract and (iv) their new execution result is referred to to determine whether the server certificate and the application certificate are valid.
  • the authentication server is further configured to store the server certificate registration transaction and the application certificate registration transaction, which were obtained at the time of registration of each of the server certificate registration transaction and the application certificate registration transaction, in the predetermined blockchain database.
  • the valid condition VcertA of the certificate may include any condition based on information that can be obtained by the smart contract. Some examples include (i) information about the characteristics of the subject, (ii) weather information when using the certificate, (iii) date information when using the certificate, and (v) It may be a condition based on at least one of the information obtained as the acceptance of the use of the certificate, and (iv) information on the limit on the number of times of use of the certificate predetermined.
  • the information on the characteristics of the user means, for example, information such as the gender, height, age, etc.
  • All of the information of (i) to (iv) may be a plurality of computing devices for executing the smart contract. Can be obtained from a variety of sources.
  • FIGS. 6 and 7 An example in which the smart contract is configured according to the valid condition VcertA is illustrated in FIGS. 6 and 7, wherein FIGS. 6 and 7 respectively limit the number of times of use of the certificate to initNumber and 10, respectively. Is a diagram illustrating the code).
  • a source code of a smart contract in which the validity condition is a condition that the number of use of a certificate is limited to initNumber or 10 times.
  • These smart contracts are intended to be executed by a number of computing devices (called “nodes") that are converted to bytecode and constitute a public blockchain database, each of which results in a consensus algorithm. By doing so, the execution result which occupies the most of the execution results can be verified as the true execution result.
  • nodes computing devices
  • the integrity of the execution result of a smart contract is verified by consensus on the execution result calculated from the nodes.
  • Step S230 and S235 of the multi-signature login agent method according to the third embodiment of the present invention a method of determining whether the server certificate and the application certificate are valid will be described in detail.
  • Steps S230 and S235 of the multi-signature login proxy method according to the third embodiment are performed by the authentication server using the public key of the server certificate and the public key of the application certificate as in the first embodiment. Verifying the signature of the signature value.
  • step S230, S235 if the signature of the multi-signature value is verified to be valid, the authentication server, (i) the state S1 of the server certificate smart contract that is the smart contract included in the server certificate
  • the state S1 of the server certificate smart contract that is the smart contract included in the server certificate
  • the execution result of the server certificate smart contract is obtained, and the execution of the server certificate smart contract A process of determining whether the server certificate is valid with reference to a result value, and (ii) the application certificate smart contract using the state S2 of the application certificate smart contract that is the smart contract included in the application certificate as an execution parameter.
  • Byte code BC2 The execution certificate of the application certificate smart contract by obtaining a value of the execution certificate of the application certificate smart contract by executing or by allowing other devices linked to the authentication server to execute, and whether the application certificate is valid with reference to the execution result value of the application certificate smart contract. And performing a process of determining (not shown).
  • the byte code BC1 of the server certificate smart contract is executed using the state S1 of the server certificate smart contract as an execution parameter, and the server certificate is valid with reference to the execution result value of the server certificate smart contract.
  • the meaning of determining whether or not to determine whether the remaining number of use of the certificate corresponding to the state immediately before the execution is an example of an execution parameter in which the integer counter of 0 or more is state S1.
  • the multi-signature login agent method after step (S250), the authentication server, (i) the authentication result message or the value processed therein A process of recording to the blockchain database as an authentication result transaction or allowing other devices linked to the authentication server to record; and (ii) the state of the state database with reference to the execution result value obtained as a result of the execution.
  • the method may further include updating and registering S (SC (VcertA)) as the new state S '(SC (VcertA)) in the state database or performing a process of supporting another device to register (not shown). .
  • a method of registering a certificate according to the second embodiment of the present invention may include verifying the integrity of a specific server certificate registration transaction, a specific application certificate registration transaction, and a specific authentication result transaction as in the first embodiment.
  • the authentication server periodically or in response to an integrity verification request, the authentication server verifies the integrity or executes the integrity of the execution result by referring to the execution result of the respective smart contract recorded in the state database.
  • the method may further include supporting another device interworking with the server to verify.
  • the above-described steps S310 to S330 regarding the temporary ID login proxy method of the first embodiment may include information on the application certificate or the same in the temporary ID login proxy method according to the third embodiment of the present invention.
  • An application certificate registration transaction which is a processed value, is recorded in the blockchain database, and a state (S (SC (VcertA)), which is an execution parameter of the smart contract SC (VcertA) of the application certificate, is stored in a state database SDB.
  • S S
  • SC smart contract SC
  • the method for determining whether the application certificate is valid is replaced with the description regarding the multi-signature login proxy method according to the third embodiment with respect to the smart contract-based decision method.
  • the multi-signature login agent method according to the second embodiment may be implemented in combination with the multi-signature login agent method according to the third embodiment.
  • the Merkle tree may be constructed from the hash values of the individual transactions recorded in the blockchain database (first blockchain database) of the third embodiment and the values recorded in the state database.
  • the representative hash value of the Merkle tree may be recorded in the second blockchain database according to the second embodiment.
  • the advantage of the technique described herein is that the forgery of authentication related information such as public key, hash value, etc. is virtually impossible, thereby ensuring the authenticity of the certificate, and verifying the authentication related transaction by using the blockchain database. By doing this, the integrity is guaranteed.
  • the present invention can be achieved through a combination of software and hardware or by hardware alone.
  • the objects contributing to the object of the technical solution or the prior art of the present invention may be embodied in the form of program instructions that can be executed by various computer components and recorded in a computer-readable recording medium.
  • the computer-readable recording medium may include program instructions, data files, data structures, etc. alone or in combination.
  • Program instructions recorded on the computer-readable recording medium may be those specially designed and configured for the present invention, or may be known and available to those skilled in the art.
  • Examples of computer-readable recording media include magnetic media such as hard disks, floppy disks and magnetic tape, optical recording media such as CD-ROMs, DVDs, and magneto-optical media such as floptical disks. media), and hardware devices specifically configured to store and execute program instructions, such as ROM, RAM, flash memory, and the like.
  • Examples of program instructions include not only machine code generated by a compiler, but also high-level language code that can be executed by a computer using an interpreter or the like.
  • the hardware device may be configured to operate as one or more software modules to perform the process according to the invention, and vice versa.
  • the hardware device may include a processor, such as a CPU or a GPU, coupled with a memory such as a ROM / RAM for storing program instructions and configured to execute instructions stored in the memory, and may exchange signals with an external device. It may include a communication unit. In addition, the hardware device may include a keyboard, a mouse, and other external input devices for receiving instructions written by developers.
  • a processor such as a CPU or a GPU
  • a memory such as a ROM / RAM for storing program instructions and configured to execute instructions stored in the memory, and may exchange signals with an external device. It may include a communication unit.
  • the hardware device may include a keyboard, a mouse, and other external input devices for receiving instructions written by developers.

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Security & Cryptography (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Management, Administration, Business Operations System, And Electronic Commerce (AREA)

Abstract

The present invention provides a method for superseding a log-in through PKI-based authentication with respect to a log-in request of a user by using a blockchain database. According to the method of the present invention, once information requesting superseding of a log-in through an authentication app is obtained from a service provision app on a user terminal, a service provision server transfers authentication request response information to the service provision app and, after an authentication redirection request thereof is transferred to the authentication app and then server challenge request information is obtained, server challenge request response information is transferred to the authentication app, thereby supporting the determination as to whether or not certificates of the server and the app are valid, an authentication result message including information on the validity is obtained from an authentication server, a predetermined access token is transferred to the service provision app, and thereby the log-in is handled by providing support such that a service can be used.

Description

UTXO 기반 프로토콜에서 머클 트리 구조를 사용하여 PKI 기반의 인증을 통해 사용자의 로그인을 대행하는 방법 및 이를 이용한 서버How to substitute user login through PKI based authentication using Merkle Tree structure in UTXO based protocol and server using the same
본 발명은 UTXO(unspent transaction output) 기반 프로토콜에서 머클 트리 구조를 사용하여 서비스 제공 서버에 의하여 제공되는 서비스를 이용하기 위한 사용자의 로그인 요청에 대하여 PKI(public key infrastructure) 기반의 인증을 통해 로그인을 대행하는 방법, 이를 수행하는 서비스 제공 서버 및 인증 서버에 관한 것이다.In the present invention, a login is performed through public key infrastructure (PKI) -based authentication for a user's login request for using a service provided by a service providing server using a Merkle tree structure in an UTXO (unspent transaction output) based protocol. The present invention relates to a service providing server and an authentication server for performing the same.
종래의 사용자 개인 계정의 로그인을 대행하는 서비스로서 OAuth 2.0는 웹, 모바일, 및 데스크톱 애플리케이션 등에서 표준화된 인증 방식이며, 안전하게 인증할 수 있는 개방형 프로토콜이 이용되는 방식이다. 이와 같은 OAuth가 이용되기 전에는 인증 방식의 표준이 없었기 때문에 기존의 기본 인증인 아이디와 비밀번호의 조합을 이용하였는데, 이는 보안상 취약하였다. 기본 인증이 아닐 경우에 각 애플리케이션들이 각자의 개발한 회사의 방법대로 사용자를 확인하였는데 그 방법들에는 예를 들면 구글의 AuthSub, AOL의 OpenAuth, 야후의 BBAuth, 아마존의 웹서비스 API 등이 있었다. OAuth는 이렇게 제각각인 인증 방식을 표준화한 인증 방식으로서, OAuth를 이용하면 이 인증을 공유하는 애플리케이션끼리는 별도의 인증이 필요없게 된다. 따라서 여러 애플리케이션을 통합하여 사용하는 것이 가능해지는바, OAuth 2.0는 이와 같은 OAuth의 최신 버전이다. 이 OAuth 2.0의 방식을 개략적으로 설명하면 다음과 같다.OAuth 2.0 is a service for subscribing to a user's personal account, which is a standardized authentication method in web, mobile, and desktop applications, and an open protocol for secure authentication. Since there was no standard of authentication method before OAuth was used, the combination of ID and password, which is the existing basic authentication, was used, which was weak in security. In the case of non-basic authentication, each application identified the user according to their own company's method, including Google's AuthSub, AOL's OpenAuth, Yahoo's BBAuth, and Amazon's Web Services API. OAuth is an authentication standard that standardizes these different authentication methods. With OAuth, applications that share this authentication do not need separate authentication. This makes it possible to integrate and use multiple applications. OAuth 2.0 is the latest version of OAuth. This OAuth 2.0 method is outlined as follows.
사용자가 서비스 제공 서버에 의하여 제공되는 서비스를 이용하고자 할 때, 우선, 사용자의 조작에 따라 그 사용자의 단말인 사용자 단말로부터 로그인을 위한 인증 요청이 상기 서비스 제공 서버에 전달된다. When a user wants to use a service provided by a service providing server, first, an authentication request for login is transmitted to the service providing server from a user terminal which is a terminal of the user according to the user's operation.
인증 요청을 전달받은 서비스 제공 서버는 로그인 정보를 인증 서버에 전송하고, 인증 서버는 이 로그인 정보를 검증하여, 검증이 성공적으로 완료되면 승인 정보를 서비스 제공 서버에 반환한다. The service providing server receiving the authentication request transmits the login information to the authentication server, and the authentication server verifies the login information and returns the authorization information to the service providing server when the verification is successfully completed.
그 승인 정보에 따라 서비스 제공 서버는 사용자 단말에 소정의 승인 전달 정보를 전송하고, 이를 전송받은 사용자 단말은 접근 토큰(access token)을 요청하는 정보를 인증 서버에 전달함으로써 인증 서버에 의하여 발급된 접근 토큰을 획득한다. 그러면 사용자 단말은 그 접근 토큰을 가지고 서비스 제공 서버에 서비스와 관련된 자원을 요청할 수 있으므로 로그인 대행 절차가 완료된 것이다.According to the approval information, the service providing server transmits predetermined approval delivery information to the user terminal, and the user terminal receiving the received information transmits the information requesting an access token to the authentication server, thereby accessing issued by the authentication server. Obtain a token. Then, the user terminal may request a resource related to the service from the service providing server with the access token, and thus the login agent procedure is completed.
한편, 서비스 제공 서버는 사용자 단말로부터 획득된 접근 토큰이 유효한 것인지를 확인하기 위하여 접근 토큰에 대한 검증 요청을 인증 서버에 요구할 수 있고, 이에 응하여 인증 서버는 사용자의 속성 정보들을 반환할 수 있다.On the other hand, the service providing server may request a verification request for the access token to the authentication server to confirm whether the access token obtained from the user terminal is valid, and in response, the authentication server may return the user's attribute information.
이와 같은 종래의 OAuth도 그 인증 절차가 사용자 ID(사용자 식별 정보) 및 비밀번호 일치 여부의 확인만로 이루어지므로 사용자 ID 및 비밀번호의 탈취 시 보안에 취약한 문제점은 여전히 존재한다. 보안성을 높이기 위하여 도입할 수 있는 인증서, 예컨대 종래의 공인 인증서는 대체로 고액의 발급 비용이 소요되며, 사용상의 제약이 따르는바, 보안성과 사용성이 강하면서도 종래의 공인 인증서 등을 새로이 대체하는 블록체인 기반의 인증서를 이용하는 것이 바람직할 것이다.In the conventional OAuth, the authentication procedure is performed only by checking whether the user ID (user identification information) and the password match, and there is still a problem that the security is weak when the user ID and password are stolen. Certificates that can be introduced to increase security, such as conventional public certificates, generally require a high cost of issuance, and are subject to restrictions on use. The blockchain newly replaces conventional public certificates, although security and usability are strong. It would be desirable to use an underlying certificate.
이에 본 발명자는 종래의 OAuth 2.0의 프로토콜에 한정하지 않고 블록체인 기반의 기술을 이용함으로써 종래의 OAuth 2.0 프로토콜보다 보안성이 더욱 더 강화되고 다양한 구조의 개인 또는 서버 등의 인증을 대행할 수 있는 방법을 제안하고자 한다.Therefore, the present inventor is not limited to the conventional OAuth 2.0 protocol, but by using a blockchain-based technology, the security is more enhanced than the conventional OAuth 2.0 protocol, and a method capable of substituting authentication of individuals or servers of various structures. I would like to propose.
본 발명은 상술한 종래의 OAuth의 보안성과 사용성을 강화하기 위한 방법 및 서버를 제공하고자 하는 것으로서, 본 발명의 목적은 보안성과 사용성이 강하면서도 저비용으로 기존의 방식을 대체할 수 있는 기술 방안을 제공하는 데 있다.The present invention is to provide a method and a server for enhancing the security and usability of the conventional OAuth described above, the object of the present invention is to provide a technical method that can replace the existing method at a low cost while strong security and usability. There is.
구체적으로, 본 발명은 가상 화폐의 프라이빗/퍼블릭 블록체인 데이터베이스에 기록된 인증서 관련 정보를 참조함과 아울러 인증 결과에 관한 정보를 그러한 블록체인 데이터베이스에 기록함으로써 궁극적으로 위변작이 불가능하게 되는 방안을 제공하는 것을 목적으로 한다.Specifically, the present invention provides a method of ultimately preventing forgery by referring to certificate-related information recorded in a private / public blockchain database of virtual currency and recording information on the authentication result in such a blockchain database. It aims to do it.
그리고 본 발명은 다중 서명을 이용하여 사용자 개인에 대한 인증서만 검증하는 것이 아니라 서비스 요청의 대상이 된 서비스 제공 서버의 인증서 또한 함께 검증함으로써 보안성을 높이는 것을 목적으로 한다.In addition, the present invention aims to increase security by verifying not only a certificate for a user individual using multiple signatures but also a certificate of a service providing server that is a target of a service request.
한편, 본 발명은 임시 ID가 제공될 수 있어 사용자 ID가 없는 사용자에 대하여도 서비스를 제공할 수 있으면서도 보안을 강화하는 것을 목적으로 한다.Meanwhile, an object of the present invention is to provide a temporary ID, so that a service can be provided even for a user who does not have a user ID.
또한, 본 발명은 상기와 같이 블록체인 데이터베이스에 기록된 트랜잭션을 이용하여 관련 정보에 관한 검증을 수행함으로써 데이터베이스의 무결성(integrity)을 보장할 수 있는 것을 다른 일 목적으로 한다.In addition, another object of the present invention is to ensure the integrity (integrity) of the database by performing verification on the relevant information using the transaction recorded in the blockchain database as described above.
본 발명의 또 다른 목적은, 다양한 구조의 개인 또는 서버에 대하여 인증을 대행할 수 있는 수단이 구비되는 블록체인을 기반으로 한 로그인 대행 서비스 제공 체계를 제공하는 데 있다.Still another object of the present invention is to provide a system for providing a login agent service based on a blockchain having a means for performing authentication for an individual or a server having various structures.
상기한 바와 같은 본 발명의 목적을 달성하고, 후술하는 본 발명의 특징적인 효과를 실현하기 위한, 본 발명의 특징적인 구성은 하기와 같다. The characteristic structure of this invention for achieving the objective of this invention mentioned above, and realizing the characteristic effect of this invention mentioned later is as follows.
본 발명의 일 태양에 따르면, 블록체인 데이터베이스를 사용하여 서비스 제공 서버에 의하여 제공되는 서비스를 이용하기 위한 사용자의 로그인 요청에 대하여 PKI(public key infrastructure) 기반의 인증을 통해 로그인을 대행하는 방법이 제공되는바, 그 방법은, (a) 상기 서비스 제공 서버의 인증서인 서버 인증서의 정보 또는 이를 가공한 값인 서버 인증서 등록 트랜잭션의 해시값인 제1 특정 해시값과 매칭되는 적어도 하나의 이웃 해시값 - 상기 이웃 해시값은, (i) 특정 서버 인증서의 정보 또는 이를 가공한 값인 특정 서버 인증서 등록 트랜잭션의 해시값, (ii) 특정 애플리케이션 인증서의 정보 또는 이를 가공한 값인 특정 애플리케이션 인증서 등록 트랜잭션의 해시값, 및 (iii) 특정 인증 결과 메시지 또는 이를 가공한 값인 특정 인증 결과 트랜잭션의 해시값을 포함하는 해시값들 중의 하나임 - 을 함께 해시 연산함으로써 생성되는 제1 대표 해시값 또는 상기 제1 대표 해시값을 가공한 값, 및 사용자 단말에 의하여 실행되는 인증 애플리케이션의 인증서인 애플리케이션 인증서 등록 트랜잭션의 해시값인 제2 특정 해시값과 매칭되는 적어도 하나의 상기 이웃 해시값을 함께 해시 연산함으로써 생성되는 제2 대표 해시값 또는 상기 제2 대표 해시값을 가공한 값이 소정의 블록체인 데이터베이스에 기록되어 있는 상태에서, 상기 인증 애플리케이션을 통한 로그인의 대행을 요청하는 정보인 인증 요청 정보가 상기 사용자 단말에 의하여 실행되는 서비스 제공 애플리케이션으로부터 획득되면, 상기 서비스 제공 서버가, 상기 로그인의 대행이 가능한지 여부를 판정한 결과인 인증 요청 응답 정보를 상기 서비스 제공 애플리케이션에 전달하는 단계; (b) 상기 서비스 제공 애플리케이션의 인증 리다이렉션 요청(authentication redirection request)이 상기 인증 애플리케이션에 전달된 후, 상기 인증 애플리케이션으로부터 인증 서버에 의하여 생성된 가변 인증값을 포함하는 서버 챌린지 요청 정보가 획득되면, 상기 서비스 제공 서버가, 상기 서버 챌린지 요청 정보에 대응되는 서버 챌린지 요청 응답 정보를 상기 인증 애플리케이션에 전달함으로써 상기 인증 서버로 하여금 상기 소정의 블록체인 데이터베이스를 참조로 하여 상기 서버 인증서 및 상기 애플리케이션 인증서가 유효한지 여부를 판정하도록 지원하는 단계; 및 (c) 상기 인증 서버로부터 상기 서버 인증서 및 상기 애플리케이션 인증서가 유효한지 여부를 포함하는 인증 결과 메시지가 획득되고, 상기 인증 결과 메시지가 상기 서버 인증서 및 상기 애플리케이션 인증서가 유효함을 나타내는 인증 성공 메시지라면, 상기 서비스 제공 서버가, 상기 서비스 제공 애플리케이션에 소정의 접근 토큰(access token)을 전달하여 상기 서비스 제공 애플리케이션으로 하여금 상기 접근 토큰을 통하여 상기 서비스를 이용할 수 있도록 지원함으로써 상기 로그인을 처리하는 단계를 포함한다.According to an aspect of the present invention, there is provided a method for performing login through a public key infrastructure (PKI) based on a login request of a user for using a service provided by a service providing server using a blockchain database. The method may include (a) at least one neighboring hash value that matches a first specific hash value that is a hash value of a server certificate registration transaction that is a value of a server certificate that is a certificate of the service providing server or a processed value-the The neighbor hash value may include (i) a hash value of a specific server certificate registration transaction that is information of or processed by a specific server certificate, (ii) a hash value of a specific application certificate registration transaction that is information of a specific application certificate or a processed value thereof, and (iii) a hash of a particular authentication result message, or a specific authentication result transaction, which is a processed value. One of the hash values containing the value-an application certificate registration transaction, which is a first representative hash value generated by hashing together or a value of the first representative hash value, and a certificate of an authentication application executed by the user terminal. A second representative hash value or a value obtained by processing the second representative hash value generated by hashing together at least one neighboring hash value matching the second specific hash value, which is a hash value, is recorded in a predetermined blockchain database. In the state in which the authentication request information, which is information for requesting the substitution of the login through the authentication application, is obtained from the service providing application executed by the user terminal, the service providing server determines whether the substitution of the login is possible. The service requests the authentication request response information as a result of the determination. Delivering to the providing application; (b) if the server challenge request information including the variable authentication value generated by the authentication server is obtained from the authentication application after the authentication redirection request of the service providing application is transmitted to the authentication application, The service providing server forwards the server challenge request response information corresponding to the server challenge request information to the authentication application, causing the authentication server to refer to the predetermined blockchain database to determine whether the server certificate and the application certificate are valid. Assisting to determine whether or not; And (c) an authentication result message including whether the server certificate and the application certificate are valid is obtained from the authentication server, and the authentication result message is an authentication success message indicating that the server certificate and the application certificate are valid. And handling, by the service providing server, the login by passing a predetermined access token to the service providing application to enable the service providing application to use the service through the access token. do.
본 발명의 다른 태양에 따르면, 블록체인 데이터베이스를 사용하여 서비스 제공 서버에 의하여 제공되는 서비스를 이용하기 위한 사용자의 로그인 요청에 대하여 PKI(public key infrastructure) 기반의 인증을 통해 로그인을 대행하는 방법이 제공되는바, 그 방법은, (a) 상기 서비스 제공 서버의 인증서인 서버 인증서의 정보 또는 이를 가공한 값인 서버 인증서 등록 트랜잭션의 해시값인 제1 특정 해시값과 매칭되는 적어도 하나의 이웃 해시값 - 상기 이웃 해시값은, (i) 특정 서버 인증서의 정보 또는 이를 가공한 값인 특정 서버 인증서 등록 트랜잭션의 해시값, (ii) 특정 애플리케이션 인증서의 정보 또는 이를 가공한 값인 특정 애플리케이션 인증서 등록 트랜잭션의 해시값, 및 (iii) 특정 인증 결과 메시지 또는 이를 가공한 값인 특정 인증 결과 트랜잭션의 해시값을 포함하는 해시값들 중의 하나임 - 을 함께 해시 연산함으로써 생성되는 제1 대표 해시값 또는 상기 제1 대표 해시값을 가공한 값, 및 사용자 단말에 의하여 실행되는 인증 애플리케이션의 인증서인 애플리케이션 인증서 등록 트랜잭션의 해시값인 제2 특정 해시값과 매칭되는 적어도 하나의 상기 이웃 해시값을 함께 해시 연산함으로써 생성되는 제2 대표 해시값 또는 상기 제2 대표 해시값을 가공한 값이 소정의 블록체인 데이터베이스에 기록되어 있는 상태에서, 상기 인증 애플리케이션을 통한 로그인의 대행을 요청하는 정보인 인증 요청 정보에 대응되는 인증 리다이렉션 요청(authentication redirection request)에 응하여 상기 사용자 단말에 의하여 실행되는 인증 애플리케이션으로부터 챌린지 개시 요청 정보가 획득되면, 인증 서버가, 상기 챌린지 개시 요청 정보에 대응되는 가변 인증값을 생성하고, 상기 가변 인증값을 포함하는 챌린지 개시 요청 응답 정보를 상기 인증 애플리케이션으로 전달함으로써, 상기 인증 애플리케이션으로 하여금 상기 서비스 제공 서버의 인증서인 서버 인증서가 유효한지 여부를 판정하기 위한 서버 챌린지 요청 정보에 대응되는 서버 챌린지 요청 응답 정보를 상기 서비스 제공 서버로부터 획득하도록 지원하는 단계; (b) 상기 인증 애플리케이션의 인증서인 애플리케이션 인증서의 개인키(private key)를 이용하여 상기 서버 챌린지 요청 응답 정보를 서명한 값인 다중 서명값을 포함하는 응답 요청 정보가 상기 인증 애플리케이션으로부터 획득되면, 상기 인증 서버가, 상기 응답 요청 정보, 상기 소정의 블록체인 데이터베이스를 참조로 하여 획득된 상기 서버 인증서 등록 트랜잭션 및 상기 애플리케이션 인증서 등록 트랜잭션을 이용하여 상기 서버 인증서 및 상기 애플리케이션 인증서가 유효한지 여부를 판정하는 단계; 및 (c) 상기 인증 서버가, 상기 서버 인증서가 유효한지 여부를 포함하는 인증 결과 메시지를 상기 인증 애플리케이션 및 상기 서비스 제공 서버 중 적어도 하나에 전달함으로써 상기 인증 결과 메시지가 상기 서버 인증서가 유효함을 나타내는 인증 성공 메시지인 경우에 상기 서비스 제공 서버로 하여금 상기 사용자 단말에 의하여 실행되는 서비스 제공 애플리케이션에 소정의 접근 토큰(access token)을 전달하도록 지원하여 상기 서비스 제공 애플리케이션으로 하여금 상기 접근 토큰을 통하여 상기 서비스를 이용할 수 있도록 지원함으로써 상기 로그인을 처리하는 단계를 포함한다.According to another aspect of the present invention, there is provided a method for performing login through a public key infrastructure (PKI) based on a login request of a user for using a service provided by a service providing server using a blockchain database. The method may include (a) at least one neighboring hash value that matches a first specific hash value that is a hash value of a server certificate registration transaction that is a value of a server certificate that is a certificate of the service providing server or a processed value-the The neighbor hash value may include (i) a hash value of a specific server certificate registration transaction that is information of or processed by a specific server certificate, (ii) a hash value of a specific application certificate registration transaction that is information of a specific application certificate or a processed value thereof, and (iii) the resolution of a specific authentication result transaction, which is a specific authentication result message or a processing value thereof. An application certificate registration transaction, which is a first representative hash value generated by hashing together or a value obtained by processing the first representative hash value, and a certificate of an authentication application executed by the user terminal. A second representative hash value or a value obtained by processing the second representative hash value generated by hashing together at least one neighboring hash value matching the second specific hash value, which is a hash value, is recorded in a predetermined blockchain database. In the state of being present, the challenge initiation request information is obtained from the authentication application executed by the user terminal in response to an authentication redirection request corresponding to the authentication request information, which is information for requesting the substitution of the login through the authentication application. When the authentication server, the challenge Generating a variable authentication value corresponding to the request information and passing the challenge initiation request response information including the variable authentication value to the authentication application, thereby allowing the authentication application to verify whether a server certificate which is a certificate of the service providing server is valid. Supporting server challenge request response information corresponding to server challenge request information for determining whether to obtain from the service providing server; (b) when response request information including a multi-signature value, which is a value obtained by signing the server challenge request response information using a private key of an application certificate which is a certificate of the authentication application, is obtained from the authentication application, Determining, by the server, whether the server certificate and the application certificate are valid using the server certificate registration transaction and the application certificate registration transaction obtained with reference to the response request information, the predetermined blockchain database; And (c) the authentication server forwarding an authentication result message including whether the server certificate is valid to at least one of the authentication application and the service providing server, indicating that the authentication result message indicates that the server certificate is valid. In the case of the authentication success message, the service providing server supports the transfer of a predetermined access token to the service providing application executed by the user terminal, thereby allowing the service providing application to download the service through the access token. Processing the login by making it available for use.
본 발명의 또 다른 태양에 따르면, 블록체인 데이터베이스를 사용하여 서비스 제공 서버에 의하여 제공되는 서비스를 이용하기 위한 사용자의 로그인 요청에 대하여 PKI(public key infrastructure) 기반의 인증을 통해 로그인을 대행하는 방법이 제공되는바, 그 방법은, (a) 사용자 단말에 의하여 실행되는 제2 애플리케이션의 인증서인 애플리케이션 인증서의 정보 또는 이를 가공한 값인 애플리케이션 인증서 등록 트랜잭션의 해시값인 특정 해시값과 매칭되는 적어도 하나의 이웃 해시값 - 상기 이웃 해시값은, (i) 특정 애플리케이션 인증서의 정보 또는 이를 가공한 값인 특정 애플리케이션 인증서 등록 트랜잭션의 해시값 및 (ii) 특정 인증 결과 메시지 또는 이를 가공한 값인 특정 인증 결과 트랜잭션의 해시값을 포함하는 해시값들 중 적어도 하나임 - 을 함께 해시 연산함으로써 생성되는 대표 해시값 또는 상기 대표 해시값을 가공한 값이 소정의 블록체인 데이터베이스에 기록되어 있는 상태에서, 상기 사용자 단말에 의하여 실행되는 제1 애플리케이션으로부터 상기 제2 애플리케이션을 통한 로그인의 대행을 요청하는 정보인 인증 리다이렉션 요청(authentication redirection request)을 전달받은 상기 제2 애플리케이션으로부터 상기 사용자를 식별하기 위한 사용자 식별 정보를 포함하는 인증 요청 정보가 획득되면, 상기 서비스 제공 서버가, 상기 사용자 식별 정보를 포함하는 챌린지 개시 요청 정보를 인증 서버에 전달하는 단계; (b) 상기 챌린지 개시 요청 정보에 응하여 상기 인증 서버에 의하여 생성된 가변 인증값을 포함하는 챌린지 개시 요청 응답 정보가 획득되면, 상기 서비스 제공 서버가, 상기 가변 인증값을 포함하는 애플리케이션 챌린지 요청 정보를 상기 제2 애플리케이션에 전달함으로써 상기 제2 애플리케이션으로 하여금 상기 가변 인증값을 상기 애플리케이션 인증서의 개인키(private key)로 서명한 값을 생성하도록 지원하는 단계; (c) 상기 애플리케이션 인증서의 개인키(private key)로 서명한 값을 포함하는 애플리케이션 챌린지 요청 응답 정보가 획득되면, 상기 서비스 제공 서버가, 상기 애플리케이션 챌린지 요청 응답 정보를 상기 인증 서버에 전달함으로써 상기 인증 서버로 하여금 상기 소정의 블록체인 데이터베이스를 참조로 하여 상기 애플리케이션 인증서가 유효한지 여부를 판정하도록 지원하는 단계; 및 (d) 상기 인증 서버로부터 상기 애플리케이션 인증서가 유효한지 여부를 포함하는 인증 결과 메시지가 획득되고, 상기 인증 결과 메시지가 상기 애플리케이션 인증서가 유효함을 나타내는 인증 성공 메시지라면, 상기 서비스 제공 서버가, 임시 ID(temporary ID)를 상기 제2 애플리케이션에 전달하여, 상기 제1 애플리케이션으로 하여금 상기 제2 애플리케이션으로부터 상기 제1 애플리케이션에 전달된 (i) 상기 임시 ID 및 (ii) 상기 인증 성공 메시지에 포함된 접근 토큰(access token)을 통하여 상기 서비스를 이용할 수 있도록 지원함으로써 상기 로그인을 처리하는 단계를 포함한다.According to another aspect of the present invention, there is provided a method for performing a login through a public key infrastructure (PKI) based on a login request of a user for using a service provided by a service providing server using a blockchain database. Provided, the method comprises: (a) at least one neighbor that matches a particular hash value that is information of an application certificate that is a certificate of a second application executed by the user terminal or a hash value of an application certificate registration transaction that is a processed value; Hash value-The neighbor hash value is (i) a hash value of a specific application certificate registration transaction, which is information of a specific application certificate or a processed value thereof, and (ii) a hash value of a specific authentication result message or a specific authentication result transaction, which is a processed value thereof. Is at least one of hash values containing- Representation of a login through the second application from a first application executed by the user terminal in a state where a representative hash value generated by hash operation or a value obtained by processing the representative hash value is recorded in a predetermined blockchain database. When the authentication request information including the user identification information for identifying the user is obtained from the second application that has received an authentication redirection request, which is information requesting the information, the service providing server determines the user identification information. Delivering challenge initiation request information including an authentication server; (b) when the challenge initiation request response information including the variable authentication value generated by the authentication server is obtained in response to the challenge initiation request information, the service providing server receives the application challenge request information including the variable authentication value. Delivering to the second application to enable the second application to generate a value signed by the variable authentication value with a private key of the application certificate; (c) when the application challenge request response information including a value signed with the private key of the application certificate is obtained, the service providing server transmits the application challenge request response information to the authentication server, thereby authenticating the authentication. Assisting a server to determine whether the application certificate is valid with reference to the predetermined blockchain database; And (d) an authentication result message including whether the application certificate is valid from the authentication server is obtained, and if the authentication result message is an authentication success message indicating that the application certificate is valid, the service providing server is temporary. Passing an ID (temporary ID) to the second application, causing the first application to access (i) the temporary ID and (ii) the authentication success message passed from the second application to the first application. Processing the login by supporting the use of the service through an access token.
다시, 본 발명의 일 태양에 따르면, 블록체인 데이터베이스를 사용하여 서비스 제공 서버에 의하여 제공되는 서비스를 이용하기 위한 사용자의 로그인 요청에 대하여 PKI(public key infrastructure) 기반의 인증을 통해 로그인을 대행하는 방법이 제공되는바, 그 방법은, (a) 사용자 단말에 의하여 실행되는 제2 애플리케이션의 인증서인 애플리케이션 인증서의 정보 또는 이를 가공한 값인 애플리케이션 인증서 등록 트랜잭션의 해시값인 특정 해시값과 매칭되는 적어도 하나의 이웃 해시값 - 상기 이웃 해시값은, (i) 특정 애플리케이션 인증서의 정보 또는 이를 가공한 값인 특정 애플리케이션 인증서 등록 트랜잭션의 해시값 및 (ii) 특정 인증 결과 메시지 또는 이를 가공한 값인 특정 인증 결과 트랜잭션의 해시값을 포함하는 해시값들 중 적어도 하나임 - 을 함께 해시 연산함으로써 생성되는 대표 해시값 또는 상기 대표 해시값을 가공한 값이 소정의 블록체인 데이터베이스에 기록되어 있는 상태에서, 상기 사용자 단말에 의하여 실행되는 제1 애플리케이션으로부터 상기 제2 애플리케이션을 통한 로그인의 대행을 요청하는 정보인 인증 리다이렉션 요청(authentication redirection request)을 전달받은 상기 제2 애플리케이션으로부터 상기 사용자를 식별하기 위한 사용자 식별 정보를 포함하는 인증 요청 정보를 획득한 상기 서비스 제공 서버로부터 상기 사용자 식별 정보를 포함하는 챌린지 개시 요청 정보가 획득되면, 인증 서버가, 상기 챌린지 개시 요청 정보에 응하여 가변 인증값을 생성하는 단계; (b) 생성된 상기 가변 인증값을 포함하는 챌린지 개시 요청 응답 정보를 상기 서비스 제공 서버에 전달함으로써 상기 서비스 제공 서버로 하여금 상기 가변 인증값을 포함하는 애플리케이션 챌린지 요청 정보를 상기 제2 애플리케이션에 전달하도록 지원하여 상기 제2 애플리케이션으로 하여금 상기 가변 인증값을 상기 애플리케이션 인증서의 개인키(private key)로 서명한 값을 생성하도록 지원하는 단계; (c) 상기 애플리케이션 인증서의 개인키(private key)로 서명한 값을 포함하는 애플리케이션 챌린지 요청 응답 정보가 획득되면, 상기 인증 서버가 상기 애플리케이션 챌린지 요청 응답 정보 및 상기 소정의 블록체인 데이터베이스를 참조로 하여 획득된 애플리케이션 인증서 등록 트랜잭션을 이용하여 상기 애플리케이션 인증서가 유효한지 여부를 판정하는 단계; 및 (d) 상기 인증 서버가, 상기 애플리케이션 인증서가 유효한지 여부를 포함하는 인증 결과 메시지를 상기 서비스 제공 서버 및 상기 제2 애플리케이션에 전달하여, 상기 서비스 제공 서버로 하여금 상기 인증 결과 메시지가 상기 애플리케이션 인증서가 유효함을 나타내는 인증 성공 메시지인 경우에 임시 ID(temporary ID)를 상기 제2 애플리케이션에 전달하도록 지원하고 상기 제1 애플리케이션으로 하여금 상기 제2 애플리케이션으로부터 상기 제1 애플리케이션에 전달된 (i) 상기 임시 ID 및 (ii) 상기 인증 성공 메시지에 포함된 접근 토큰(access token)을 통하여 상기 서비스를 이용할 수 있도록 지원함으로써 상기 로그인을 처리하는 단계를 포함한다.Again, according to one aspect of the present invention, a method for performing login through a public key infrastructure (PKI) based on a login request of a user for using a service provided by a service providing server using a blockchain database As provided herein, the method comprises: (a) at least one matching information of an application certificate which is a certificate of a second application executed by the user terminal or a specific hash value which is a hash value of an application certificate registration transaction which is a processed value; Neighbor Hash Value-The neighbor hash value is (i) a hash value of a specific application certificate registration transaction, which is information of or processed by a specific application certificate, and (ii) a hash of a specific authentication result message, which is a specific authentication result message or a processed value. Is at least one of the hash values containing the value Representation of a login through the second application from a first application executed by the user terminal in a state where a representative hash value generated by hash operation or a value obtained by processing the representative hash value is recorded in a predetermined blockchain database. The user identification information is obtained from the service providing server that obtains authentication request information including user identification information for identifying the user from the second application that has received an authentication redirection request. Generating, by the authentication server, a variable authentication value in response to the challenge start request information when the challenge start request information is obtained; (b) forwarding the challenge initiation request response information including the generated variable authentication value to the service providing server so that the service providing server delivers the application challenge request information including the variable authentication value to the second application. Supporting the second application to generate a value signed by the variable authentication value with a private key of the application certificate; (c) when application challenge request response information including a value signed with a private key of the application certificate is obtained, the authentication server refers to the application challenge request response information and the predetermined blockchain database. Determining whether the application certificate is valid using the obtained application certificate registration transaction; And (d) the authentication server forwards an authentication result message including whether the application certificate is valid to the service providing server and the second application, causing the service providing server to send the authentication result message to the application certificate. (I) said temporary application passed from said second application to said first application and supporting said temporary application to said second application if the authentication success message indicates that is valid; Processing the login by supporting the service via an ID and (ii) an access token included in the authentication success message.
본 발명의 또 다른 태양에 따르면, 블록체인 데이터베이스를 사용하여 서비스 제공 서버에 의하여 제공되는 서비스를 이용하기 위한 사용자의 로그인 요청에 대하여 PKI(public key infrastructure) 기반의 인증을 통해 로그인을 대행하는 방법을 수행하는 상기 서비스 제공 서버가 제공되는바, 그 서버는, 상기 서비스 제공 서버의 인증서인 서버 인증서의 정보 또는 이를 가공한 값인 서버 인증서 등록 트랜잭션의 해시값인 제1 특정 해시값과 매칭되는 적어도 하나의 이웃 해시값 - 상기 이웃 해시값은, (i) 특정 서버 인증서의 정보 또는 이를 가공한 값인 특정 서버 인증서 등록 트랜잭션의 해시값, (ii) 특정 애플리케이션 인증서의 정보 또는 이를 가공한 값인 특정 애플리케이션 인증서 등록 트랜잭션의 해시값, 및 (iii) 특정 인증 결과 메시지 또는 이를 가공한 값인 특정 인증 결과 트랜잭션의 해시값을 포함하는 해시값들 중의 하나임 - 을 함께 해시 연산함으로써 생성되는 제1 대표 해시값 또는 상기 제1 대표 해시값을 가공한 값, 및 사용자 단말에 의하여 실행되는 인증 애플리케이션의 인증서인 애플리케이션 인증서 등록 트랜잭션의 해시값인 제2 특정 해시값과 매칭되는 적어도 하나의 상기 이웃 해시값을 함께 해시 연산함으로써 생성되는 제2 대표 해시값 또는 상기 제2 대표 해시값을 가공한 값이 소정의 블록체인 데이터베이스에 기록되어 있는 상태에서, 상기 인증 애플리케이션을 통한 로그인의 대행을 요청하는 정보인 인증 요청 정보를 상기 사용자 단말에 의하여 실행되는 서비스 제공 애플리케이션으로부터 획득하는 통신부; 및 (i) 상기 인증 요청 정보가 획득되면, 상기 로그인의 대행이 가능한지 여부를 판정한 결과인 인증 요청 응답 정보를 상기 서비스 제공 애플리케이션에 전달하는 프로세스, (ii) 상기 서비스 제공 애플리케이션의 인증 리다이렉션 요청(authentication redirection request)이 상기 인증 애플리케이션에 전달된 후, 상기 인증 애플리케이션으로부터 인증 서버에 의하여 생성된 가변 인증값을 포함하는 서버 챌린지 요청 정보가 획득되면, 상기 서버 챌린지 요청 정보에 대응되는 서버 챌린지 요청 응답 정보를 상기 인증 애플리케이션에 전달함으로써 상기 인증 서버로 하여금 상기 소정의 블록체인 데이터베이스를 참조로 하여 상기 서버 인증서 및 상기 애플리케이션 인증서가 유효한지 여부를 판정하도록 지원하는 프로세스, 및 (iii) 상기 인증 서버로부터 상기 서버 인증서 및 상기 애플리케이션 인증서가 유효한지 여부를 포함하는 인증 결과 메시지가 획득되고, 상기 인증 결과 메시지가 상기 서버 인증서 및 상기 애플리케이션 인증서가 유효함을 나타내는 인증 성공 메시지라면, 상기 서비스 제공 애플리케이션에 소정의 접근 토큰(access token)을 전달하여 상기 서비스 제공 애플리케이션으로 하여금 상기 접근 토큰을 통하여 상기 서비스를 이용할 수 있도록 지원함으로써 상기 로그인을 처리하는 프로세스를 수행하는 프로세서를 포함한다.According to another aspect of the present invention, a method for performing login through a public key infrastructure (PKI) based on a login request of a user for using a service provided by a service providing server using a blockchain database is provided. The service providing server to perform is provided, the server, at least one matching the first specific hash value of the information of the server certificate that is the certificate of the service providing server or the hash value of the server certificate registration transaction that is a processed value Neighbor Hash Value-The neighbor hash value is (i) a hash value of a specific server certificate registration transaction, which is information of a specific server certificate or a processed value thereof, and (ii) a specific application certificate registration transaction, which is information of a specific application certificate or a processed value thereof. A hash value of, and (iii) a specific authentication result message or A first representative hash value generated by a hash operation together or a value processed by the first representative hash value, and an authentication application executed by the user terminal. A second representative hash value or a value obtained by processing the second representative hash value generated by hashing together at least one neighboring hash value matching the second specific hash value that is a hash value of an application certificate registration transaction that is a certificate of A communication unit which obtains, from the service providing application executed by the user terminal, authentication request information, which is information for requesting to substitute the login through the authentication application, while being recorded in a predetermined blockchain database; And (i) when the authentication request information is obtained, transferring authentication request response information, which is a result of determining whether the login is possible, to the service providing application, (ii) an authentication redirection request of the service providing application ( After authentication redirection request is transmitted to the authentication application, if server challenge request information including a variable authentication value generated by the authentication server is obtained from the authentication application, server challenge request response information corresponding to the server challenge request information is obtained. Sending the authentication application to the authentication application to enable the authentication server to determine whether the server certificate and the application certificate are valid by reference to the predetermined blockchain database, and (iii) from the authentication server. An authentication result message including a server certificate and whether the application certificate is valid is obtained, and if the authentication result message is an authentication success message indicating that the server certificate and the application certificate are valid, predetermined access to the service providing application. And a processor that carries a process of handling the login by passing an access token to enable the service providing application to make the service available through the access token.
본 발명의 또 다른 태양에 따르면, 블록체인 데이터베이스를 사용하여 서비스 제공 서버에 의하여 제공되는 서비스를 이용하기 위한 사용자의 로그인 요청에 대하여 PKI(public key infrastructure) 기반의 인증을 통해 로그인을 대행하는 방법을 수행하는 인증 서버가 제공되는바, 그 서버는, 상기 서비스 제공 서버의 인증서인 서버 인증서의 정보 또는 이를 가공한 값인 서버 인증서 등록 트랜잭션의 해시값인 제1 특정 해시값과 매칭되는 적어도 하나의 이웃 해시값 - 상기 이웃 해시값은, (i) 특정 서버 인증서의 정보 또는 이를 가공한 값인 특정 서버 인증서 등록 트랜잭션의 해시값, (ii) 특정 애플리케이션 인증서의 정보 또는 이를 가공한 값인 특정 애플리케이션 인증서 등록 트랜잭션의 해시값, 및 (iii) 특정 인증 결과 메시지 또는 이를 가공한 값인 특정 인증 결과 트랜잭션의 해시값을 포함하는 해시값들 중의 하나임 - 을 함께 해시 연산함으로써 생성되는 제1 대표 해시값 또는 상기 제1 대표 해시값을 가공한 값, 및 사용자 단말에 의하여 실행되는 인증 애플리케이션의 인증서인 애플리케이션 인증서 등록 트랜잭션의 해시값인 제2 특정 해시값과 매칭되는 적어도 하나의 상기 이웃 해시값을 함께 해시 연산함으로써 생성되는 제2 대표 해시값 또는 상기 제2 대표 해시값을 가공한 값이 소정의 블록체인 데이터베이스에 기록되어 있는 상태에서, 상기 인증 애플리케이션을 통한 로그인의 대행을 요청하는 정보인 인증 요청 정보에 대응되는 인증 리다이렉션 요청(authentication redirection request)에 응하여 상기 사용자 단말에 의하여 실행되는 인증 애플리케이션으로부터 챌린지 개시 요청 정보를 획득하는 통신부; 및 (i) 상기 챌린지 개시 요청 정보가 획득되면, 상기 챌린지 개시 요청 정보에 대응되는 가변 인증값을 생성하고, 상기 가변 인증값을 포함하는 챌린지 개시 요청 응답 정보를 상기 인증 애플리케이션으로 전달함으로써, 상기 인증 애플리케이션으로 하여금 상기 서비스 제공 서버의 인증서인 서버 인증서가 유효한지 여부를 판정하기 위한 서버 챌린지 요청 정보에 대응되는 서버 챌린지 요청 응답 정보를 상기 서비스 제공 서버로부터 획득하도록 지원하는 프로세스, (ii) 상기 인증 애플리케이션의 인증서인 애플리케이션 인증서의 개인키(private key)를 이용하여 상기 서버 챌린지 요청 응답 정보를 서명한 값인 다중 서명값을 포함하는 응답 요청 정보가 상기 인증 애플리케이션으로부터 획득되면, 상기 응답 요청 정보, 상기 소정의 블록체인 데이터베이스를 참조로 하여 획득된 상기 서버 인증서 등록 트랜잭션 및 상기 애플리케이션 인증서 등록 트랜잭션을 이용하여 상기 서버 인증서 및 상기 애플리케이션 인증서가 유효한지 여부를 판정하는 프로세스, 및 (iii) 상기 서버 인증서가 유효한지 여부를 포함하는 인증 결과 메시지를 상기 인증 애플리케이션 및 상기 서비스 제공 서버 중 적어도 하나에 전달함으로써 상기 인증 결과 메시지가 상기 서버 인증서가 유효함을 나타내는 인증 성공 메시지인 경우에 상기 서비스 제공 서버로 하여금 상기 사용자 단말에 의하여 실행되는 서비스 제공 애플리케이션에 소정의 접근 토큰(access token)을 전달하도록 지원하여 상기 서비스 제공 애플리케이션으로 하여금 상기 접근 토큰을 통하여 상기 서비스를 이용할 수 있도록 지원함으로써 상기 로그인을 처리하는 프로세스를 수행하는 프로세서를 포함한다.According to another aspect of the present invention, a method for performing login through a public key infrastructure (PKI) based on a login request of a user for using a service provided by a service providing server using a blockchain database is provided. An authentication server for performing is provided, wherein the server includes at least one neighboring hash that matches information of a server certificate that is a certificate of the service providing server or a first specific hash value that is a hash value of a server certificate registration transaction that is a processed value. Value-The neighbor hash value is (i) a hash value of a specific server certificate registration transaction, which is information of or processed by a particular server certificate, (ii) a hash of a specific application certificate registration transaction, which is information of a particular application certificate or a processed value thereof. Value, and (iii) a specific authorization result message or A first representative hash value generated by a hash operation together or a value processed by the first representative hash value, and a certificate of an authentication application executed by the user terminal. A second representative hash value or a value obtained by processing the second representative hash value generated by hashing together at least one neighboring hash value matching the second specific hash value that is a hash value of an in-application certificate registration transaction is predetermined. In the state of being recorded in the blockchain database, a challenge from an authentication application executed by the user terminal in response to an authentication redirection request corresponding to authentication request information, which is information for requesting proxy for login through the authentication application. Communication to obtain start request information .; And (i) when the challenge initiation request information is obtained, generating a variable authentication value corresponding to the challenge initiation request information, and transferring the challenge initiation request response information including the variable authentication value to the authentication application, thereby authenticating the authentication. A process for enabling an application to obtain server challenge request response information corresponding to server challenge request information for determining whether a server certificate which is a certificate of the service providing server is valid, (ii) the authentication application; If response request information including a multi-signature value, which is a value of signing the server challenge request response information by using a private key of an application certificate that is a certificate of, is obtained from the authentication application, the response request information and the predetermined Blockchain Database A process of determining whether the server certificate and the application certificate are valid using the server certificate registration transaction and the application certificate registration transaction obtained with reference to the license; and (iii) whether the server certificate is valid. Causing the service providing server to be executed by the user terminal when the authentication result message is an authentication success message indicating that the server certificate is valid by transferring an authentication result message to at least one of the authentication application and the service providing server. Handling the login by supporting a service providing application to pass a predetermined access token to the service providing application to enable the service providing application to use the service through the access token. And a processor to perform the process.
본 발명의 또 다른 태양에 따르면, 블록체인 데이터베이스를 사용하여 서비스 제공 서버에 의하여 제공되는 서비스를 이용하기 위한 사용자의 로그인 요청에 대하여 PKI(public key infrastructure) 기반의 인증을 통해 로그인을 대행하는 방법을 수행하는 상기 서비스 제공 서버가 제공되는바, 그 서버는, 사용자 단말에 의하여 실행되는 제2 애플리케이션의 인증서인 애플리케이션 인증서의 정보 또는 이를 가공한 값인 애플리케이션 인증서 등록 트랜잭션의 해시값인 특정 해시값과 매칭되는 적어도 하나의 이웃 해시값 - 상기 이웃 해시값은, (i) 특정 애플리케이션 인증서의 정보 또는 이를 가공한 값인 특정 애플리케이션 인증서 등록 트랜잭션의 해시값 및 (ii) 특정 인증 결과 메시지 또는 이를 가공한 값인 특정 인증 결과 트랜잭션의 해시값을 포함하는 해시값들 중 적어도 하나임 - 을 함께 해시 연산함으로써 생성되는 대표 해시값 또는 상기 대표 해시값을 가공한 값이 소정의 블록체인 데이터베이스에 기록되어 있는 상태에서, 상기 사용자 단말에 의하여 실행되는 제1 애플리케이션으로부터 상기 제2 애플리케이션을 통한 로그인의 대행을 요청하는 정보인 인증 리다이렉션 요청(authentication redirection request)을 전달받은 상기 제2 애플리케이션으로부터 상기 사용자를 식별하기 위한 사용자 식별 정보를 포함하는 인증 요청 정보를 획득하는 통신부; 및 (i) 상기 인증 요청 정보가 획득되면, 상기 사용자 식별 정보를 포함하는 챌린지 개시 요청 정보를 인증 서버에 전달하는 프로세스, (ii) 상기 챌린지 개시 요청 정보에 응하여 상기 인증 서버에 의하여 생성된 가변 인증값을 포함하는 챌린지 개시 요청 응답 정보가 획득되면, 상기 가변 인증값을 포함하는 애플리케이션 챌린지 요청 정보를 상기 제2 애플리케이션에 전달함으로써 상기 제2 애플리케이션으로 하여금 상기 가변 인증값을 상기 애플리케이션 인증서의 개인키(private key)로 서명한 값을 생성하도록 지원하는 프로세스, (iii) 상기 애플리케이션 인증서의 개인키(private key)로 서명한 값을 포함하는 애플리케이션 챌린지 요청 응답 정보가 획득되면, 상기 애플리케이션 챌린지 요청 응답 정보를 상기 인증 서버에 전달함으로써 상기 인증 서버로 하여금 상기 소정의 블록체인 데이터베이스를 참조로 하여 상기 애플리케이션 인증서가 유효한지 여부를 판정하도록 지원하는 프로세스, 및 (iv) 상기 인증 서버로부터 상기 애플리케이션 인증서가 유효한지 여부를 포함하는 인증 결과 메시지가 획득되고, 상기 인증 결과 메시지가 상기 애플리케이션 인증서가 유효함을 나타내는 인증 성공 메시지라면, 임시 ID(temporary ID)를 상기 제2 애플리케이션에 전달하여, 상기 제1 애플리케이션으로 하여금 상기 제2 애플리케이션으로부터 상기 제1 애플리케이션에 전달된 (i) 상기 임시 ID 및 (ii) 상기 인증 성공 메시지에 포함된 접근 토큰(access token)을 통하여 상기 서비스를 이용할 수 있도록 지원함으로써 상기 로그인을 처리하는 프로세스를 수행하는 프로세서를 포함한다.According to another aspect of the present invention, a method for performing login through a public key infrastructure (PKI) based on a login request of a user for using a service provided by a service providing server using a blockchain database is provided. The service providing server to perform is provided, the server is matched with a specific hash value of the information of the application certificate, which is a certificate of the second application executed by the user terminal or a hash value of the application certificate registration transaction that is a processed value thereof. At least one neighbor hash value-The neighbor hash value is (i) a hash value of a specific application certificate registration transaction, which is information of a specific application certificate or a processed value thereof, and (ii) a specific authentication result message or a specific authentication result which is a processed value thereof. The solution containing the hash value of the transaction At least one of the values-from the first application executed by the user terminal in a state in which a representative hash value generated by hashing together or a value obtained by processing the representative hash value is recorded in a predetermined blockchain database; A communication unit configured to obtain authentication request information including user identification information for identifying the user from the second application that has received an authentication redirection request, which is information for requesting a proxy for login through an application; And (i) when the authentication request information is obtained, transferring challenge initiation request information including the user identification information to an authentication server, and (ii) variable authentication generated by the authentication server in response to the challenge initiation request information. When the challenge initiation request response information including the value is obtained, the application transmits the application challenge request information including the variable authentication value to the second application so that the second application sends the variable authentication value to the private key of the application certificate ( a process for supporting generation of a value signed with a private key; (iii) if application challenge request response information including a value signed with a private key of the application certificate is obtained, the application challenge request response information is obtained. Forwarding to the authentication server to the authentication server A process of assisting to determine whether the application certificate is valid with reference to the predetermined blockchain database, and (iv) an authentication result message including whether the application certificate is valid from the authentication server, If the authentication result message is an authentication success message indicating that the application certificate is valid, a temporary ID is transmitted to the second application, so that the first application is passed from the second application to the first application. And a processor for performing the process of processing the login by supporting the service through (i) the temporary ID and (ii) an access token included in the authentication success message.
본 발명의 또 다른 태양에 따르면, 블록체인 데이터베이스를 사용하여 서비스 제공 서버에 의하여 제공되는 서비스를 이용하기 위한 사용자의 로그인 요청에 대하여 PKI(public key infrastructure) 기반의 인증을 통해 로그인을 대행하는 방법을 수행하는 인증 서버가 제공되는바, 그 서버는, 사용자 단말에 의하여 실행되는 제2 애플리케이션의 인증서인 애플리케이션 인증서의 정보 또는 이를 가공한 값인 애플리케이션 인증서 등록 트랜잭션의 해시값인 특정 해시값과 매칭되는 적어도 하나의 이웃 해시값 - 상기 이웃 해시값은, (i) 특정 애플리케이션 인증서의 정보 또는 이를 가공한 값인 특정 애플리케이션 인증서 등록 트랜잭션의 해시값 및 (ii) 특정 인증 결과 메시지 또는 이를 가공한 값인 특정 인증 결과 트랜잭션의 해시값을 포함하는 해시값들 중 적어도 하나임 - 을 함께 해시 연산함으로써 생성되는 대표 해시값 또는 상기 대표 해시값을 가공한 값이 소정의 블록체인 데이터베이스에 기록되어 있는 상태에서, 상기 사용자 단말에 의하여 실행되는 제1 애플리케이션으로부터 상기 제2 애플리케이션을 통한 로그인의 대행을 요청하는 정보인 인증 리다이렉션 요청(authentication redirection request)을 전달받은 상기 제2 애플리케이션으로부터 상기 사용자를 식별하기 위한 사용자 식별 정보를 포함하는 인증 요청 정보를 획득한 상기 서비스 제공 서버로부터 상기 사용자 식별 정보를 포함하는 챌린지 개시 요청 정보를 획득하는 통신부; 및 (i) 상기 챌린지 개시 요청 정보가 획득되면, 상기 챌린지 개시 요청 정보에 응하여 가변 인증값을 생성하는 프로세스, (ii) 생성된 상기 가변 인증값을 포함하는 챌린지 개시 요청 응답 정보를 상기 서비스 제공 서버에 전달함으로써 상기 서비스 제공 서버로 하여금 상기 가변 인증값을 포함하는 애플리케이션 챌린지 요청 정보를 상기 제2 애플리케이션에 전달하도록 지원하여 상기 제2 애플리케이션으로 하여금 상기 가변 인증값을 상기 애플리케이션 인증서의 개인키(private key)로 서명한 값을 생성하도록 지원하는 프로세스, (iii) 상기 애플리케이션 인증서의 개인키(private key)로 서명한 값을 포함하는 애플리케이션 챌린지 요청 응답 정보가 획득되면, 상기 애플리케이션 챌린지 요청 응답 정보 및 상기 소정의 블록체인 데이터베이스를 참조로 하여 획득된 애플리케이션 인증서 등록 트랜잭션을 이용하여 상기 애플리케이션 인증서가 유효한지 여부를 판정하는 프로세스, 및 (iv) 상기 애플리케이션 인증서가 유효한지 여부를 포함하는 인증 결과 메시지를 상기 서비스 제공 서버 및 상기 제2 애플리케이션에 전달하여, 상기 서비스 제공 서버로 하여금 상기 인증 결과 메시지가 상기 애플리케이션 인증서가 유효함을 나타내는 인증 성공 메시지인 경우에 임시 ID(temporary ID)를 상기 제2 애플리케이션에 전달하도록 지원하고 상기 제1 애플리케이션으로 하여금 상기 제2 애플리케이션으로부터 상기 제1 애플리케이션에 전달된 상기 임시 ID 및 상기 인증 성공 메시지에 포함된 접근 토큰(access token)을 통하여 상기 서비스를 이용할 수 있도록 지원함으로써 상기 로그인을 처리하는 프로세스를 수행하는 프로세서를 포함한다.According to another aspect of the present invention, a method for performing login through a public key infrastructure (PKI) based on a login request of a user for using a service provided by a service providing server using a blockchain database is provided. An authentication server for performing is provided, the server comprising at least one matching information of an application certificate, which is a certificate of a second application executed by a user terminal, or a specific hash value, which is a hash value of an application certificate registration transaction, which is a processed value. Neighbor hash value of-The neighbor hash value of (i) the hash value of a specific application certificate registration transaction that is the information of the application or the processing of the (i) and the (ii) the specific authentication result message or a specific authentication result of the transaction Of hash values containing hash The second application from the first application executed by the user terminal in a state in which a representative hash value generated by hashing together or a value obtained by processing the representative hash value is recorded in a predetermined blockchain database. From the service providing server that obtains authentication request information including user identification information for identifying the user from the second application received an authentication redirection request, which is information requesting to act on behalf of the login. A communication unit for obtaining challenge initiation request information including user identification information; And (i) when the challenge initiation request information is obtained, generating a variable authentication value in response to the challenge initiation request information, and (ii) generating the challenge initiation request response information including the generated variable authentication value. By supporting the service providing server to deliver the application challenge request information including the variable authentication value to the second application so that the second application sends the variable authentication value to the private key of the application certificate. And (iii) if application challenge request response information including a value signed with a private key of the application certificate is obtained, the application challenge request response information and the predetermined value; By referring to the blockchain database of A process of determining whether the application certificate is valid using an obtained application certificate registration transaction, and (iv) delivering an authentication result message to the service providing server and the second application including whether the application certificate is valid; To allow the service providing server to pass a temporary ID to the second application if the authentication result message is an authentication success message indicating that the application certificate is valid and cause the first application to: A process for processing the login by supporting the use of the service through an access token included in the temporary ID and the authentication success message transmitted from a second application to the first application; It includes documents.
본 발명의 방법에 의하면, 보안성과 사용성이 강하면서도 저비용으로 기존의 OAuth를 대체할 수 있는 효과가 있다.According to the method of the present invention, there is an effect that can replace the existing OAuth at a low cost while strong security and usability.
또한, 본 발명의 방법에 의하면, 고수준의 암호화, 다중 서명, 교차 검증을 통한 임시 ID의 발급 등을 통한 높은 보안 수준이 제공되는 효과가 있다.In addition, according to the method of the present invention, there is an effect that a high security level through high level encryption, multiple signatures, issuance of temporary ID through cross-validation, and the like.
또한, 본 발명의 방법에 의하면, 인증서 관련 정보의 위변작이 근본적으로 방지됨으로써 신뢰성이 보장되는 효과가 있다.In addition, according to the method of the present invention, the forgery of the certificate-related information is essentially prevented, thereby ensuring the reliability.
본 발명의 실시예의 설명에 이용되기 위하여 첨부된 아래 도면들은 본 발명의 실시예들 중 단지 일부일 뿐이며, 본 발명이 속한 기술분야에서 통상의 지식을 가진 사람(이하 “통상의 기술자”라 지칭함)에게 있어서는 발명적 작업이 이루어짐 없이 이 도면들에 기초하여 다른 도면들이 얻어질 수 있다.BRIEF DESCRIPTION OF THE DRAWINGS The following drawings, which are attached to be used in the description of the embodiments of the present invention, are merely some of the embodiments of the present invention, and may be used to those skilled in the art to which the present invention pertains (hereinafter referred to as "normally skilled person"). In other drawings, other drawings may be obtained based on these drawings without inventive work being made.
도 1은 본 발명의 제1 내지 제3 실시예에 따라 로그인을 대행하는 방법을 수행하는 서비스 제공 서버, 인증 서버 및 사용자 단말의 예시적 구성을 개략적으로 도시한 개념도이다.1 is a conceptual diagram schematically illustrating an exemplary configuration of a service providing server, an authentication server, and a user terminal for performing a method for substituting login according to the first to third embodiments of the present invention.
도 2는 본 발명의 제1 내지 제3 실시예에 따라 서버 인증서와 애플리케이션 인증서를 이용한 다중 서명을 통하여 로그인을 대행하는 방법을 예시적으로 나타낸 시퀀스 다이어그램(sequence diagram)이다.FIG. 2 is a sequence diagram exemplarily illustrating a method for performing login through multiple signatures using a server certificate and an application certificate according to the first to third embodiments of the present invention.
도 3은 본 발명의 제1 내지 제3 실시예에 따라 사용자 ID가 없는 상태에서 다중 정보를 이용하여 로그인을 대행하는 방법을 예시적으로 나타낸 시퀀스 다이어그램이다.3 is a sequence diagram exemplarily illustrating a method for substituting login using multiple information in the absence of a user ID according to the first to third embodiments of the present invention.
도 4 및 도 5는 본 발명의 제2 실시예에 따라 트랜잭션들이 소정의 데이터베이스에 기록되는 과정을 개략적으로 도시한 개념도이다.4 and 5 are conceptual views schematically illustrating a process in which transactions are recorded in a predetermined database according to the second embodiment of the present invention.
도 6 및 7은 본 발명의 제3 실시예에 따라 각각 인증서의 사용 횟수를 initNumber와 10회로 제한하고 있는 스마트 컨트랙트(소스 코드)를 예시적으로 도시한 도면이다.6 and 7 exemplarily illustrate a smart contract (source code) for limiting the number of times of use of a certificate to initNumber and 10 according to the third embodiment of the present invention.
후술하는 본 발명에 대한 상세한 설명은, 본 발명의 목적들, 기술적 해법들 및 장점들을 분명하게 하기 위하여 본 발명이 실시될 수 있는 특정 실시예를 예시로서 도시하는 첨부 도면을 참조한다. 이들 실시예는 통상의 기술자가 본 발명을 실시할 수 있기에 충분하도록 상세히 설명된다. DETAILED DESCRIPTION The following detailed description of the invention refers to the accompanying drawings that show, by way of illustration, specific embodiments in which the invention may be practiced to clarify the objects, technical solutions and advantages of the invention. These embodiments are described in sufficient detail to enable those skilled in the art to practice the invention.
본 명세서에서 “데이터베이스”라고 함은, 체계화된 데이터, 즉 통합 관리되는 정보의 집합 및 이를 관리하는 시스템을 의미하는바, 일반 관계형 데이터베이스, 몽고 데이터베이스(MongoDB), 및 블록체인 데이터베이스 중 적어도 일부를 포함하나 이에 한정되지 않는다. 본 명세서에서는 설명의 편의상, 가상 화폐의 블록체인 데이터베이스를 설명하고 있으나 다른 종류의 데이터베이스에도 변형 실시될 수 있음을 통상의 기술자는 이해할 수 있을 것이다.As used herein, the term “database” refers to a system of data, that is, a set of integrated managed information and a system for managing the same, and includes at least some of a general relational database, a MongoDB database, and a blockchain database. One is not limited thereto. In the present specification, for convenience of description, a blockchain database of virtual currency is described, but a person skilled in the art may understand that other types of databases may be modified.
본 명세서에서 “퍼블릭 블록체인 데이터베이스”라고 함은, 가상 화폐의 블록체인으로서 공공에 널리 이용되고 있는 블록체인인 퍼블릭 블록체인을 관장하는 가상 화폐 시스템 상의 모든 컴퓨팅 장치들을 데이터베이스로서 활용하는 것을 지칭한다.As used herein, the term “public blockchain database” refers to utilizing all computing devices on a virtual currency system that manages a public blockchain, a blockchain that is widely used in the public as a blockchain of virtual currency, as a database.
또한, 본 명세서에서 “프라이빗 블록체인 데이터베이스”라고 함은, 가상 화폐의 블록체인을 이용하되, 상기 공공에 이용되는 퍼블릭 블록체인이 아닌 본 발명에 따른 인증 서버가 직접 관리하는 이른바, 독자 구성된 프라이빗 블록체인을 이용하는 데이터베이스를 지칭한다.In addition, the term “private blockchain database” in the present specification refers to a so-called, privately configured private block that is directly managed by an authentication server according to the present invention, which uses a blockchain of virtual currency but is not a public blockchain used for the public. Refers to a database using a chain.
상기 가상 화폐는 블록체인 기술이 적용된 전자 지갑을 기반으로 하는 트랜잭션(transaction)에 의하여 유통되는 디지털 화폐를 지칭하는바, 가상 화폐에는 비트코인, 라이트코인, 다크코인, 네임코인, 도기코인 및 리플 등이 있다.The virtual currency refers to a digital currency circulated by a transaction based on an electronic wallet with blockchain technology, and in the virtual currency, bitcoin, light coin, dark coin, name coin, ceramic coin, ripple, etc. There is this.
그리고 본 명세서에서 “스마트 컨트랙트”는 실행 가능한 바이트 코드로 컴파일되어 적어도 하나의 컴퓨팅 장치 상에서 실행될 수 있는 코드이고, 상기 실행 시에 특정 조건이 만족되면 미리 정해진 절차를 수행하도록 구성되며, 상기 실행의 결과인 실행 결과값의 무결성은 상기 적어도 하나의 컴퓨팅 장치로부터 산출된 상기 실행 결과값에 대한 합의(consensus)에 의하여 검증되는 것을 특징으로 하는 개념을 지칭한다.In the present specification, the "smart contract" is code that can be compiled into executable bytecode and executed on at least one computing device, and is configured to perform a predetermined procedure if a specific condition is satisfied at the time of execution, and the result of the execution Integrity of the execution result refers to a concept characterized in that it is verified by consensus on the execution result calculated from the at least one computing device.
또한, 본 발명의 상세한 설명 및 청구항들에 걸쳐, ‘포함하다’라는 단어 및 그것의 변형은 다른 기술적 특징들, 부가물들, 구성요소들 또는 단계들을 제외하는 것으로 의도된 것이 아니다. 통상의 기술자에게 본 발명의 다른 목적들, 장점들 및 특성들이 일부는 본 설명서로부터, 그리고 일부는 본 발명의 실시로부터 드러날 것이다. 아래의 예시 및 도면은 실례로서 제공되며, 본 발명을 한정하는 것으로 의도된 것이 아니다.Moreover, throughout the description and claims of the present invention, the word "comprises" and variations thereof are not intended to exclude other technical features, additives, components or steps. Other objects, advantages and features of the present invention will become apparent to those skilled in the art, in part from this description and in part from the practice of the invention. The following examples and drawings are provided by way of illustration and are not intended to limit the invention.
더욱이 본 발명은 본 명세서에 표시된 실시예들의 모든 가능한 조합들을 망라한다. 본 발명의 다양한 실시예는 서로 다르지만 상호 배타적일 필요는 없음이 이해되어야 한다. 예를 들어, 여기에 기재되어 있는 특정 형상, 구조 및 특성은 일 실시예에 관련하여 본 발명의 정신 및 범위를 벗어나지 않으면서 다른 실시예로 구현될 수 있다. 또한, 각각의 개시된 실시예 내의 개별 구성요소의 위치 또는 배치는 본 발명의 정신 및 범위를 벗어나지 않으면서 변경될 수 있음이 이해되어야 한다. 따라서, 후술하는 상세한 설명은 한정적인 의미로서 취하려는 것이 아니며, 본 발명의 범위는, 적절하게 설명된다면, 그 청구항들이 주장하는 것과 균등한 모든 범위와 더불어 첨부된 청구항에 의해서만 한정된다. 도면에서 유사한 참조부호는 여러 측면에 걸쳐서 동일하거나 유사한 기능을 지칭한다. Moreover, the present invention encompasses all possible combinations of the embodiments indicated herein. It should be understood that the various embodiments of the present invention are different but need not be mutually exclusive. For example, certain shapes, structures, and characteristics described herein may be embodied in other embodiments without departing from the spirit and scope of the invention with respect to one embodiment. In addition, it is to be understood that the location or arrangement of individual components within each disclosed embodiment may be changed without departing from the spirit and scope of the invention. The following detailed description, therefore, is not to be taken in a limiting sense, and the scope of the present invention, if properly described, is defined only by the appended claims, along with the full range of equivalents to which such claims are entitled. Like reference numerals in the drawings refer to the same or similar functions throughout the several aspects.
본 발명의 제1 실시예는, 가상 화폐의 UTXO(unspent transaction output)를 이용하되, 그 UTXO에 관한 개별 트랜잭션을 소정의 블록체인 데이터베이스에 기록하는 방식으로 구성되는 실시예이다. The first embodiment of the present invention is an embodiment in which an unspent transaction output (UTXO) of virtual currency is used, and an individual transaction related to the UTXO is recorded in a predetermined blockchain database.
본 발명의 제2 실시예는, 가상 화폐의 UTXO를 이용하여, 그 UTXO에 관한 개별 트랜잭션을 제1 블록체인 데이터베이스에 기록한 후, 그 제1 블록체인 데이터베이스에 기록된 트랜잭션들로부터 생성되는 대표 해시값을 제2 블록체인 데이터베이스에 기록함으로써 이중으로 기록의 무결성을 도모하는 앵커링(anchoring) 방식으로 구성되는 실시예이다.The second embodiment of the present invention uses a UTXO of virtual currency to record an individual transaction related to the UTXO in a first blockchain database, and then generate a representative hash value generated from the transactions recorded in the first blockchain database. Is an embodiment configured in an anchoring manner in which the integrity of the recording is doubled by recording a in the second blockchain database.
본 발명의 제3 실시예는, 스마트 컨트랙트에 의하여 달라지는 인증서에 관한 상태(state)의 정보를 관리하기 위한 상태 데이터베이스(SDB; state database)를 이용하되, 트랜잭션을 소정의 블록체인 데이터베이스에 기록하고, 상태의 변경 사항은 상태 데이터베이스에 기록하는 방식으로 구성되는 실시예이다.The third embodiment of the present invention uses a state database (SDB) for managing state information on a certificate that varies by smart contract, and records a transaction in a predetermined blockchain database. The change in state is an embodiment that is configured by writing to a state database.
참고로, 본 발명에서 상기 제1 블록체인 데이터베이스가 데이터가 직접 기록되는 블록체인 데이터베이스라고 한다면, 상기 제2 블록체인 데이터베이스는 데이터의 무결성을 위하여 상기 제1 블록체인 데이터베이스를 거쳐 간접적으로 기록되는 블록체인 데이터베이스라고 할 수 있다.For reference, in the present invention, if the first blockchain database is a blockchain database in which data is directly recorded, the second blockchain database is a blockchain that is indirectly recorded through the first blockchain database for data integrity. It's a database.
본 명세서에서 달리 표시되거나 분명히 문맥에 모순되지 않는 한, 단수로 지칭된 항목은, 그 문맥에서 달리 요구되지 않는 한, 복수의 것을 아우른다. 이하, 통상의 기술자가 본 발명을 용이하게 실시할 수 있도록 하기 위하여, 본 발명의 바람직한 실시예들에 관하여 첨부된 도면을 참조하여 상세히 설명하기로 한다.Unless otherwise indicated herein or clearly contradicted by context, an item referred to in the singular encompasses the plural unless the context otherwise requires. Hereinafter, preferred embodiments of the present invention will be described in detail with reference to the accompanying drawings so that those skilled in the art can easily implement the present invention.
도 1은 본 발명에 따라 로그인을 대행하는 방법을 수행하는 서비스 제공 서버, 인증 서버 및 사용자 단말의 예시적 구성을 개략적으로 도시한 개념도이다.1 is a conceptual diagram schematically illustrating an exemplary configuration of a service providing server, an authentication server, and a user terminal for performing a method for signing in according to the present invention.
도 1을 참조하면, 본 발명의 일 실시예에 따른 인증 서버, 서비스 제공 서버 및 사용자 단말은 전형적으로 컴퓨팅 장치(100)(예컨대, 컴퓨터 프로세서, 메모리, 스토리지, 입력 장치 및 출력 장치, 기타 기존의 컴퓨팅 장치의 구성요소들을 포함할 수 있는 장치; 라우터, 스위치 등과 같은 전자 통신 장치; 네트워크 부착 스토리지(NAS) 및 스토리지 영역 네트워크(SAN)와 같은 전자 정보 스토리지 시스템)로서, 컴퓨터 소프트웨어(즉, 컴퓨팅 장치로 하여금 특정의 방식으로 기능하게 하는 인스트럭션들)의 조합을 이용하여 본 발명에 따른 방법을 수행하는 것일 수 있는바, 그러한 컴퓨팅 장치(100)는 통신부(110), 프로세서(120)를 포함하며, 서로 간접 또는 직접적으로 통신할 수 있다.Referring to FIG. 1, an authentication server, a service providing server, and a user terminal according to an embodiment of the present invention are typically a computing device 100 (eg, a computer processor, memory, storage, input and output devices, other conventional devices). A device that may include components of a computing device; an electronic communication device such as a router, a switch, etc .; an electronic information storage system such as a network attached storage (NAS) and a storage area network (SAN), computer software (ie, computing device) It may be to carry out the method according to the invention using a combination of instructions to cause it to function in a particular way, such a computing device 100 comprising a communication unit 110, a processor 120, It can communicate indirectly or directly with each other.
이와 같은 컴퓨팅 장치의 통신부(110)는 연동되는 타 컴퓨팅 장치와 요청과 응답을 송수신할 수 있는바, 일 예시로서 그러한 요청과 응답은 동일한 TCP 세션에 의하여 이루어질 수 있지만, 이에 한정되지는 않는바, 예컨대 UDP 데이터그램으로서 송수신될 수도 있을 것이다. The communication unit 110 of the computing device may transmit and receive a request and a response with another computing device to which the computing device is linked. For example, the request and response may be made by the same TCP session, but are not limited thereto. For example, it may be transmitted and received as a UDP datagram.
또한 컴퓨팅 장치의 프로세서(120)는 MPU(Micro Processing Unit) 또는 CPU(Central Processing Unit), 캐쉬 메모리(Cache Memory), 데이터 버스(Data Bus) 등의 하드웨어 구성을 포함할 수 있다. 또한, 운영체제, 특정 목적을 수행하는 애플리케이션의 소프트웨어 구성을 더 포함할 수도 있다.In addition, the processor 120 of the computing device may include a hardware configuration such as a micro processing unit (MPU) or a central processing unit (CPU), a cache memory, a data bus, and the like. In addition, the operating system may further include a software configuration of an application performing a specific purpose.
제1 실시예First embodiment
이제 본 발명에 따라 로그인을 대행하는 방법을 제1 실시예부터 설명하기로 한다.Now, a method of substituting login according to the present invention will be described from the first embodiment.
도 2는 본 발명에 따라 서버 인증서와 애플리케이션 인증서를 이용한 다중 서명을 통하여 로그인을 대행하는 방법(이하 “다중 서명 로그인 대행 방법”이라 함)을 예시적으로 나타낸 시퀀스 다이어그램(sequence diagram)이다.FIG. 2 is a sequence diagram exemplarily illustrating a method for performing login through multiple signatures using a server certificate and an application certificate (hereinafter, referred to as a “multi-signed login proxy method”) according to the present invention.
도 2를 참조하면, 본 발명의 제1 실시예에 따른 다중 서명 로그인 대행 방법은, 사용자가 이용하는 사용자 단말에 의하여 실행되는 인증 애플리케이션을 통한 로그인의 대행을 요청하는 정보인 인증 요청 정보가 상기 사용자 단말에 의하여 실행되는 서비스 제공 애플리케이션으로부터 획득(S210)되면, 상기 서비스 제공 서버가, 상기 로그인의 대행이 가능한지 여부를 판정한 결과인 인증 요청 응답 정보를 상기 서비스 제공 애플리케이션에 전달(S215)하는 단계(S210, S215)를 포함한다.Referring to FIG. 2, in the multi-signature login agent method according to the first embodiment of the present invention, authentication request information, which is information for requesting substitute agent login through an authentication application executed by a user terminal used by a user, includes the user terminal. When obtaining from the service providing application executed by (S210), the service providing server delivers the authentication request response information, which is a result of determining whether the agent can perform the login (S215) (S215). , S215).
여기에서 상기 인증 요청 정보는 인증의 유형을 정의하는 정보인 인증 유형(auth type) 정보를 포함할 수 있다. 예를 들면, 이 인증 유형 정보는, 사용자가 서비스를 사용하고자 할 때 단순한 조회 등의 서비스만 이용할 것인지, 혹은 결제 등의 중요한 서비스를 이용할 것인지와 같은 서비스의 경중에 따라 요청하는 인증의 종류를 선택할 수 있게 하는 파라미터에 해당한다.In this case, the authentication request information may include authentication type information (auth type), which is information defining a type of authentication. For example, this authentication type information may be used to select the type of authentication requested according to the severity of the service, such as whether to use a service such as a simple inquiry or an important service such as payment when the user wants to use the service. Corresponds to the parameter that makes it possible.
또한, 상기 인증 요청 정보는, 상기 인증 애플리케이션을 식별할 수 있는 인증 애플리케이션 식별 정보를 포함하고 있을 수 있으며, 상기 인증 애플리케이션 식별 정보를 획득한 서비스 제공 서버는 (i) 상기 서비스 제공 서버가 제공하는 서비스가 상기 인증 애플리케이션을 통한 로그인의 대행을 허용하는지 여부, (ii) 상기 서비스가 상기 인증 애플리케이션을 통한 로그인의 대행을 허용한다면, 상기 로그인의 대행이 상기 사용자에 대하여 허용되어 있는지 여부 등의 정보에 기초하여 상기 로그인의 대행이 가능한지 여부를 판정할 수 있는바, 그 결과는 인증 요청 응답 정보로서 반환될 수 있다.The authentication request information may include authentication application identification information for identifying the authentication application, and the service providing server that obtains the authentication application identification information may include (i) a service provided by the service providing server. Based on information such as whether or not the proxy for login through the authentication application is allowed, and (ii) if the service permits the login through the authentication application, whether the proxy is allowed for the user. It is possible to determine whether the substitution of the login is possible, the result can be returned as authentication request response information.
예컨대, 상기 사용자에 대하여 로그인의 대행이 허용될 수 있는지 여부를 판정하기 위하여 상기 인증 요청 정보는 상기 사용자 단말을 식별하기 위한 정보 및 상기 서비스 제공 애플리케이션을 식별하기 위한 정보 중 적어도 하나를 더 포함할 수도 있을 것이나, 이에 한정되지 않고 통상의 기술자는 상기 서비스 제공 서버가 상기 인증 애플리케이션을 통한 로그인의 대행을 허용할 수 있는 다양한 기준들을 상정할 수 있을 것이다.For example, the authentication request information may further include at least one of information for identifying the user terminal and information for identifying the service providing application, in order to determine whether a proxy for login may be allowed for the user. There will be, but is not limited to, a person of ordinary skill in the art may assume various criteria by which the service providing server can allow a proxy to log in through the authentication application.
상기 인증 요청 응답 정보는, 상기 인증 애플리케이션 식별 정보, 승인 수준(authorization level), 서비스 제공 서버를 식별할 수 있는 서비스 제공 서버 식별 정보 및 참조자 서비스 키(referrer service key) 중 적어도 하나의 정보를 포함할 수 있다.The authentication request response information includes at least one of the authentication application identification information, an authorization level, service providing server identification information capable of identifying a service providing server, and a referrer service key. can do.
여기에서 승인 수준은 사용자가 본 발명의 로그인 대행을 이용함으로써 서비스 제공 서버로부터 제공받게 되는 서비스의 수준, 범위와 정도를 지칭하는바, 이 승인 수준은 매 로그인 대행 시마다 인증 서버에 의하여 제공되는 값이며, 인증 서버에 의하여 해당 서비스 제공 서버에 대하여 고유하게 설정되어 있는 값인 접근 수준(access level)과 같거나 그보다 낮은 수준으로 정해진다. 접근 수준은 서비스 제공 서버의 인증서인 서버 인증서의 등록 시에 인증 서버에 의하여 정해지는바, 이에 대하여 자세하게 후술하기로 한다.Here, the approval level refers to the level, range and degree of the service that the user is provided from the service providing server by using the login agent of the present invention. The approval level is a value provided by the authentication server at each login agent. In addition, the authentication server determines the level equal to or lower than the access level, which is a value uniquely set for the service providing server. The access level is determined by the authentication server at the time of registration of the server certificate, which is the certificate of the service providing server, which will be described in detail later.
또한, 여기에서 참조자 서비스 키(referrer service key)는 사용자가 본 발명의 로그인 대행 방법을 이용함에 있어서 그 방법이 수행되는 세션(session)의 동일성을 식별하기 위하여 이용되는 값으로서, 상기 서비스 제공 서버에 의하여 제공되는 값이다. In addition, the reference service key (referrer service key) is a value used to identify the identity of the session (session) in which the user is performed when the user uses the login agent method of the present invention, the service providing server The value provided by
한편, 제1 실시예에서 상기 단계(S210, S215)는 상기 서비스 제공 서버의 인증서인 서버 인증서의 정보 또는 이를 가공한 값인 서버 인증서 등록 트랜잭션, 및 상기 인증 애플리케이션의 인증서인 애플리케이션 인증서의 정보 또는 이를 가공한 값인 애플리케이션 인증서 등록 트랜잭션이 상기 블록체인 데이터베이스에 기록된 상태에서 수행되는 것을 특징으로 할 수 있다. 여기에서 상기 블록체인 데이터베이스는 프라이빗 블록체인 데이터베이스 또는 퍼블릭 블록체인 데이터베이스일 수 있다.On the other hand, in the first embodiment the step (S210, S215) is the information of the server certificate, which is the certificate of the service providing server or the server certificate registration transaction, which is a processed value, and the information of the application certificate, which is the certificate of the authentication application, or the same. The application certificate registration transaction, which is a value, may be performed while being recorded in the blockchain database. The blockchain database may be a private blockchain database or a public blockchain database.
본 명세서에서 인증서, 즉, 상기 서버 인증서 및 상기 애플리케이션 인증서는, 통상, 상기 PKI(public key infrastructure) 기반 암호화 방식으로 생성된 공개키(public key) 및 개인키(private key)에 의한 인증서를 의미한다.In the present specification, the certificate, that is, the server certificate and the application certificate generally means a certificate by a public key and a private key generated by the public key infrastructure (PKI) based encryption scheme. .
상기 인증서를 등록하기 위한 인증서의 등록 국면에 인증 서버에 전달될 수 있는 인증서의 정보는, 예를 들어, (i) 상기 PKI(public key infrastructure) 기반 암호화 방식으로 생성된 공개키(public key) PubA를 포함할 수 있다. 상기 인증서의 정보에는 (ii) 상기 인증서의 이용 주체를 식별하기 위한 식별 정보를 해시 연산한 결과값인 식별 정보 해시값 IdhashA이 더 포함될 수도 있으며, 상기 인증서의 정보에는 (iii) 상기 PKI 기반 암호화 방식의 종류 및 상기 해시 연산의 종류 중 적어도 하나를 특정하기 위한 정보로서 암호화 유형(crypto type), (iv) 라이선스 키(license key), (v) 라이선스 수준(license level)과 같은 추가적인 정보 중 적어도 하나가 더 포함될 수도 있다. The information of the certificate that can be delivered to the authentication server in the registration phase of the certificate for registering the certificate is, for example, (i) a public key PubA generated by the public key infrastructure (PKI) based encryption scheme. It may include. The information of the certificate may further include (ii) an identification information hash value IdhashA which is a result of hashing identification information for identifying a subject of the certificate, and the information of the certificate may include (iii) the PKI-based encryption scheme. At least one of additional information such as a encryption type, (iv) a license key, and (v) a license level as information for specifying at least one of a type and a type of hash operation. May be further included.
구체적으로, 라이선스 키는 서비스 제공 서버의 운영자와 인증 서버의 운영자 간에 미리 협의된 소정의 정보이다. 따라서, 이 라이선스 키가 미리 협의된 것과 상이하거나, 라이선스 키의 형태가 정해진 규격을 따르지 않은 경우, 인증 서버에 전달된 정보를 크래킹을 위한 트래픽으로 판정할 수도 있을 것이다. 한편, 인증 서버의 운영자 측에서는 서비스 제공 서버의 운영자와의 계약 관계가 종료되면 해당 라이선스 키를 이용 불가능한 상태로 변경할 수도 있다.Specifically, the license key is predetermined information that is negotiated in advance between the operator of the service providing server and the operator of the authentication server. Therefore, if the license key is different from the one negotiated in advance or the type of the license key does not conform to a predetermined standard, the information transmitted to the authentication server may be determined as traffic for cracking. Meanwhile, the operator side of the authentication server may change the corresponding license key to an unusable state when the contract relationship with the operator of the service providing server is terminated.
또한, 라이선스 수준은 로그인 대행을 위하여 인증 서버에 의하여 서비스 제공 서버에 제공되는 서비스의 수준, 범위 및 정도에 해당되며, 이 라이선스 수준은 상기 협의에 의하여 미리 정해질 수 있는 값이다.In addition, the license level corresponds to the level, scope and degree of the service provided by the authentication server to the service providing server for the login agent, the license level is a value that can be predetermined by the above agreement.
한편, 상기 인증서의 정보는, 상기 인증 서버에 의하여 획득된 상기 (i) 내지 (v)의 정보에 대한 응답으로서 인증서의 등록 국면에 생성되는 정보를 더 포함할 수도 있는바, 이는 상기 인증서를 식별할 수 있는 인증서 식별 정보 및 접근 수준(access level) 중 적어도 하나의 정보일 수 있다. 상기 인증서가 서버 인증서인 경우, 상기 인증서 식별 정보는 서버 인증서 식별 정보이며, 상기 인증서가 애플리케이션 인증서인 경우, 상기 인증서 식별 정보는 애플리케이션 인증서 식별 정보이다.On the other hand, the information of the certificate may further include information generated in the registration phase of the certificate in response to the information of (i) to (v) obtained by the authentication server, which identifies the certificate. The information may be at least one of certificate identification information and an access level. When the certificate is a server certificate, the certificate identification information is server certificate identification information. When the certificate is an application certificate, the certificate identification information is application certificate identification information.
이 접근 수준은, 상기 인증서를 통하여 상기 로그인 대행 서비스를 제공받을 때, 상기 인증서를 통하여 접근할 수 있는 서비스의 범위와 정도를 의미하는바, 상기 라이선스 수준이 인증 서버와 서비스 제공 서버 간에 고유한 값인 반면, 상기 접근 수준은 서버 인증서의 발급 시에 인증 서버에 의하여 서비스 제공 서버에 부여되는 것으로서 인증서에 고유한 값이다. 접근 수준은 인증 서버에 의하여 라이선스 수준과 같거나 그보다 낮도록 정해질 수 있다. This access level means the range and degree of a service that can be accessed through the certificate when the login agent service is provided through the certificate, and the license level is a unique value between the authentication server and the service providing server. On the other hand, the access level is assigned to the service providing server by the authentication server when the server certificate is issued, and is a value unique to the certificate. The access level may be determined by the authentication server to be equal to or lower than the license level.
또한, 상기 식별 정보 해시값 IdhashA은 상기 이용 주체, 예컨대, 서비스 제공 서버의 이용 주체인 서비스 제공자, 사용자 단말에서 이용되는 인증 애플리케이션 또는 제2 애플리케이션의 이용 주체인 사용자 등의 식별 정보인 법인 또는 개인의 정보를 해시 연산한 결과값일 수 있다. 상기 식별 정보라고 함은, 예를 들어 명칭(이름), 설립년월일(생년월일), 연락처 정보, 전자우편 중 적어도 하나를 포함할 수 있으나, 이에 한정되지 않음은 통상의 기술자가 알 수 있을 것이다.In addition, the identification information hash value IdhashA may be used by a corporation or an individual who is identification information of the user, for example, a service provider who is a user of a service providing server, an authentication application used in a user terminal, or a user who is a user of a second application. It may be a result of hashing information. The identification information may include, for example, at least one of a name (name), a date of establishment (date of birth), contact information, and an e-mail, but the present disclosure is not limited thereto.
또한, 상기 해시 연산에 이용되는 해시 함수는, MD4 함수, MD5 함수, SHA-0 함수, SHA-1 함수, SHA-224 함수, SHA-256 함수, SHA-384 함수, SHA-512 함수 및 HAS-160 함수를 포함할 수 있으나, 이에 한정되지는 않는다. 예를 들어 Triple SHA256도 가능할 것이다. In addition, hash functions used for the hash operation are MD4 function, MD5 function, SHA-0 function, SHA-1 function, SHA-224 function, SHA-256 function, SHA-384 function, SHA-512 function and HAS-. 160 function may be included, but is not limited thereto. For example, Triple SHA256 would be possible.
한편, 상기 블록체인 데이터베이스에 기록된 상기 서버 인증서 등록 트랜잭션 및 상기 애플리케이션 인증서 등록 트랜잭션을 참조함으로써 상기 서버 인증서 및 상기 애플리케이션 인증서의 무결성이 검증될 수 있다. 이에 대하여는 자세하게 후술하기로 한다.The integrity of the server certificate and the application certificate may be verified by referring to the server certificate registration transaction and the application certificate registration transaction recorded in the blockchain database. This will be described later in detail.
다음으로, 본 발명의 제1 실시예에 따른 다중 서명 로그인 대행 방법은, 상기 서비스 제공 애플리케이션의 인증 리다이렉션 요청(authentication redirection request)이 상기 인증 애플리케이션에 전달(S220)된 후, 상기 인증 애플리케이션으로부터 인증 서버에 의하여 생성된 가변 인증값을 포함하는 서버 챌린지 요청 정보가 획득(S230, S235)되면, 상기 서비스 제공 서버가, 상기 서버 챌린지 요청 정보에 대응되는 서버 챌린지 요청 응답 정보를 상기 인증 애플리케이션에 전달(S240)함으로써 상기 인증 서버로 하여금 상기 서비스 제공 서버의 인증서인 서버 인증서 및 상기 인증 애플리케이션의 인증서인 애플리케이션 인증서가 유효한지 여부를 판정하도록 지원(S245 내지 S250)하는 단계(S220 내지 S250)를 더 포함한다.Next, the multi-signature login proxy method according to the first embodiment of the present invention, after the authentication redirection request (authentication redirection request) of the service providing application is transmitted to the authentication application (S220), the authentication server from the authentication application When the server challenge request information including the variable authentication value generated by the obtained (S230, S235), the service providing server delivers the server challenge request response information corresponding to the server challenge request information to the authentication application (S240). (S245 to S250) by supporting the authentication server to determine whether a server certificate which is a certificate of the service providing server and an application certificate that is a certificate of the authentication application are valid (S220 to S250).
여기에서 인증 리다이렉션 요청은 서비스 제공 애플리케이션을 식별할 수 있는 서비스 제공 애플리케이션 식별 정보, 제공되는 서비스의 유형을 식별하기 위한 서비스 유형(service type) 정보, 상기 인증 수준, 서비스 제공 서버를 식별할 수 있는 서비스 제공 서버 식별 정보 및 참조자 서비스 키 중 적어도 하나를 포함할 수 있다.Herein, the authentication redirection request may include service providing application identification information for identifying a service providing application, service type information for identifying a type of a provided service, the authentication level, and a service for identifying a service providing server. It may include at least one of the providing server identification information and the reference service key.
또한, 여기에서 가변 인증값은 상기 서버 인증서 및 상기 애플리케이션 인증서가 유효한지를 검증하기 위한 것으로서, 일회성 번호인바, 예를 들어 타임스탬프값(timestamp)일 수 있으나 이에 한정되지 않는다. 예를 들어 임의의 시드(seed)값으로부터 생성되는 소정의 랜덤 넌스값(random nonce), 즉, 랜덤값(random value)일 수도 있다. 이와 같이 가변 인증값을 생성하는 방법은 본 발명을 이해하는 데 있어서 불필요한 세부이므로 더 자세하게 설명되지 않을 것인바, 이는 통상의 기술자에게 알려져 있거나 용이하게 이해될 수 있는 바와 같다.In addition, the variable authentication value is used to verify whether the server certificate and the application certificate is valid, and may be a one-time number, for example, a timestamp value, but is not limited thereto. For example, it may be a random random nonce, i.e. a random value, generated from any seed value. As such, the method for generating the variable authentication value will not be described in more detail because it is unnecessary detail in understanding the present invention, as it is known or easily understood by those skilled in the art.
그리고 여기에서 서버 챌린지 요청 정보는, 참조자 인증 키(referrer auth key) 및 상기 참조자 서비스 키 중 적어도 하나의 정보를 더 포함할 수 있다. 참조자 인증 키는 사용자가 본 발명의 로그인 대행 방법을 이용함에 있어서 어느 인증 애플리케이션, 어느 서비스 제공 서버에 의하여 전달된 챌린지 개시 요청인지를 식별하기 위하여, 즉 인증 애플리케이션 및 서비스 제공 서버를 식별하기 위하여 이용되는 값으로서, 상기 인증 서버에 의하여 제공된 값이다. 이 참조자 인증 키는 상기 인증 서버로부터 인증 애플리케이션에 전달되는 챌린지 개시 요청 응답 정보에 포함된 값으로서, 이 챌린지 개시 요청 응답 정보에 대하여는 후술하기로 한다.The server challenge request information may further include at least one of a referrer auth key and the referrer service key. The referrer authentication key is used to identify which authentication application and challenge initiation request delivered by the service providing server in the user using the login agent method of the present invention, that is, to identify the authentication application and the service providing server. A value provided is a value provided by the authentication server. This referrer authentication key is a value included in the challenge initiation request response information transmitted from the authentication server to the authentication application, which will be described later.
한편, 서버 챌린지 요청 정보에 대응되는 서버 챌린지 요청 응답 정보는, 상기 참조자 인증 키, 서비스 유형 정보, 승인 수준 및 서비스 제공 서버 식별 정보 중 적어도 하나를 더 포함할 수 있다.Meanwhile, the server challenge request response information corresponding to the server challenge request information may further include at least one of the reference authentication key, service type information, authorization level, and service providing server identification information.
본 발명에서 이용되는 PKI 기반의 암호화 방식에 있어서는 상기 방법을 수행하는 주체들 간에 송수신되는 정보는 송신하는 측이 송신하고자 하는 정보는 수신하는 측의 공개키(public key)를 이용하여 인코딩(encoding)되는 것이 일반적이다. 수신하는 측에서는 그 인코딩된 정보를 수신하는 측의 개인키(private key)를 이용하여 디코딩(decoding)함으로써 송신하고자 하는 정보가 획득될 수 있다. 이와 같은 경우에 구체적으로, 상기 서버 챌린지 요청 정보는 상기 서버 인증서의 공개키(public key)에 의하여 인코딩된 상기 가변 인증값을 포함할 수 있다. 그러면, 상기 서비스 제공 서버는, 상기 서버 인증서의 개인키를 이용하여 상기 서버 챌린지 요청 정보로부터 상기 가변 인증값을 획득하고, 상기 서버 인증서의 개인키를 이용하여 상기 가변 인증값을 서명한 값을 포함하는 상기 서버 챌린지 요청 응답 정보를 상기 인증 애플리케이션에 전달할 수 있다. 다만, 송신하고자 하는 정보가 반드시 수신하는 측의 공개키(public key)를 이용하여 인코딩(encoding)되는 것은 아닐 것이다. 가령 잘 알려진 대칭키 암호화 방식(symmetric-key algorithm)이 이용될 수도 있을 것이다.In the PKI-based encryption scheme used in the present invention, the information transmitted and received between the subjects performing the method is encoded by using the public key of the receiving side. It is common to be. On the receiving side, information to be transmitted can be obtained by decoding using the private key of the receiving side. Specifically, in this case, the server challenge request information may include the variable authentication value encoded by the public key of the server certificate. Then, the service providing server obtains the variable authentication value from the server challenge request information using the private key of the server certificate, and includes the value of signing the variable authentication value using the private key of the server certificate. The server challenge request response information may be delivered to the authentication application. However, the information to be transmitted will not necessarily be encoded using the public key of the receiving side. For example, the well-known symmetric-key algorithm may be used.
상기 단계(S220 내지 S250) 이후에, 본 발명의 제1 실시예에 따른 다중 서명 로그인 대행 방법은, 상기 인증 서버로부터 상기 서버 인증서 및 상기 애플리케이션 인증서가 유효한지 여부를 포함하는 인증 결과 메시지가 획득(S260a, S260b)되고, 상기 인증 결과 메시지가 상기 서버 인증서 및 상기 애플리케이션 인증서가 유효함을 나타내는 인증 성공 메시지라면, 상기 서비스 제공 서버가, 상기 서비스 제공 애플리케이션에 소정의 접근 토큰(access token)을 전달(S270)하여 상기 서비스 제공 애플리케이션으로 하여금 상기 접근 토큰을 통하여 상기 서비스를 이용할 수 있도록 지원함으로써 상기 로그인을 처리하는 단계(S260a, S260b 및 S270)를 더 포함한다. After the steps S220 to S250, the multi-signature login agent method according to the first embodiment of the present invention obtains an authentication result message including whether the server certificate and the application certificate are valid from the authentication server ( S260a, S260b), and if the authentication result message is an authentication success message indicating that the server certificate and the application certificate are valid, the service providing server transmits a predetermined access token to the service providing application ( S270) to process the login by supporting the service providing application to use the service through the access token (S260a, S260b and S270).
여기에서 상기 인증 결과 메시지는, 상기 애플리케이션 인증서 식별 정보를 더 포함할 수 있으며, 상기 서비스 제공 애플리케이션 식별 정보 및 서비스 제공 서버 식별 정보 중 적어도 하나를 더 포함할 수 있다.Here, the authentication result message may further include the application certificate identification information, and may further include at least one of the service providing application identification information and the service providing server identification information.
또한, 상기 접근 토큰은 상기 서비스를 이용하기 위하여 상기 서비스 제공 애플리케이션을 실행하는 사용자 단말이 상기 서비스 제공 서버에 전달하는 소정의 정보로서, 아스키(ASCII) 값이거나 바이너리(binary) 값일 수 있다. 이 접근 토큰은 상기 서비스 제공 애플리케이션을 이용하는 사용자를 식별하기 위한 유일한 값(unique value)이며, 노출되지 않게 저장되어야 하는 값이다. 따라서, PKI 기반의 암호화 방식에 따라 전달될 수도 있다. 상기 접근 토큰은 발급하는 주체가 소정의 유효 기간을 설정함으로써 향후 유효 기간을 도과한 경우 무효화되는 값일 수 있다.In addition, the access token is predetermined information transmitted to the service providing server by a user terminal executing the service providing application to use the service, and may be an ASCII value or a binary value. This access token is a unique value for identifying a user using the service providing application and is a value that should be stored without being exposed. Therefore, it may be delivered according to a PKI-based encryption scheme. The access token may be a value that is invalidated when the issuing subject sets a predetermined validity period to exceed the validity period in the future.
일 예시로서, 상기 접근 토큰은 OAuth 인증 방식에서 제공되는 접근 토큰일 수 있는바, 이 경우에 상기 접근 토큰은 영숫자와 특수문자의 조합일 수 있다. 예를 들어 OAuth 인증 방식에서 제공되는 접근 토큰은 “fb2e77d.47a0479900504cb3ab4a1f626d174d2d”와 같은 형태의 것일 수 있는바, 통상의 기술자는 일 예시로 제공된 OAuth 인증 방식에서 이용되는 접근 토큰을 잘 이해할 수 있을 것이다.As an example, the access token may be an access token provided in an OAuth authentication scheme, in which case the access token may be a combination of alphanumeric characters and special characters. For example, the access token provided in the OAuth authentication method may be in the form of “fb2e77d.47a0479900504cb3ab4a1f626d174d2d”, and a person of ordinary skill in the art may understand the access token used in the OAuth authentication method provided as an example.
전술한 본 발명의 제1 실시예에 따른 다중 서명 로그인 대행 방법을 인증 서버를 기준으로 다시 설명하자면, 다중 서명 로그인 대행 방법은, 우선, 사용자 단말에 의하여 실행되는 인증 애플리케이션을 통한 로그인의 대행을 요청하는 정보인 인증 요청 정보(S210)에 대응되는 인증 리다이렉션 요청(authentication redirection request)(S220)에 응하여 상기 사용자 단말에 의하여 실행되는 인증 애플리케이션으로부터 챌린지 개시 요청 정보가 획득(S230)되면, 인증 서버가, 상기 챌린지 개시 요청 정보에 대응되는 가변 인증값을 생성하고, 상기 가변 인증값을 포함하는 챌린지 개시 요청 응답 정보를 상기 인증 애플리케이션으로 전달(S235)함으로써, 상기 인증 애플리케이션으로 하여금 상기 서비스 제공 서버의 인증서인 서버 인증서가 유효한지 여부를 판정하기 위한 서버 챌린지 요청 정보(S240)에 대응되는 서버 챌린지 요청 응답 정보를 상기 서비스 제공 서버로부터 획득(S245)하도록 지원하는 단계(S210 내지 S245)를 포함한다.Referring again to the multi-signature login agent method according to the first embodiment of the present invention based on the authentication server, the multi-signature login agent method, first, request to substitute the login through the authentication application executed by the user terminal When the challenge initiation request information is obtained from the authentication application executed by the user terminal in response to an authentication redirection request S220 corresponding to the authentication request information S210, the authentication server, By generating a variable authentication value corresponding to the challenge initiation request information and transferring the challenge initiation request response information including the variable authentication value to the authentication application (S235), the authentication application is a certificate of the service providing server. To determine whether a server certificate is valid And supporting the server challenge request response information corresponding to the server challenge request information (S240) from the service providing server (S245) (S210 to S245).
여기에서 챌린지 개시 요청 정보는, 애플리케이션 인증서를 식별할 수 있는 애플리케이션 인증서 식별 정보, 상기 서비스 제공 애플리케이션 식별 정보, 상기 참조자 서비스 키 중 적어도 하나를 포함할 수 있다. Herein, the challenge initiation request information may include at least one of application certificate identification information for identifying an application certificate, the service providing application identification information, and the reference service key.
이에 대응되는 챌린지 개시 요청 응답 정보는, 상기 참조자 인증 키 및 상기 참조자 서비스 키 중 적어도 하나의 정보를 더 포함할 수 있다. 전술한 바와 같이, 상기 참조자 인증 키는 사용자가 본 발명의 로그인 대행 방법을 이용함에 있어서 어느 인증 애플리케이션, 어느 서비스 제공 서버에 의하여 전달된 챌린지 개시 요청인지를 식별하기 위하여, 즉 인증 애플리케이션 및 서비스 제공 서버를 식별하기 위하여 상기 인증 서버에 의하여 제공되는 값이다.The challenge initiation request response information corresponding thereto may further include at least one of the referrer authentication key and the referrer service key. As described above, the referrer authentication key is used to identify which authentication application and challenge initiation request delivered by the service providing server in the user using the login agent method of the present invention, that is, the authentication application and the service provision. A value provided by the authentication server to identify the server.
다음으로, 본 발명의 제1 실시예에 따른 다중 서명 로그인 대행 방법은, 상기 인증 애플리케이션의 인증서인 애플리케이션 인증서의 개인키(private key)를 이용하여 상기 서버 챌린지 요청 응답 정보를 서명한 값인 다중 서명값을 포함하는 응답 요청 정보가 상기 인증 애플리케이션으로부터 획득되면, 상기 인증 서버가, 상기 응답 요청 정보를 이용하여 상기 서버 인증서 및 상기 애플리케이션 인증서가 유효한지 여부를 판정하는 단계(S250)를 더 포함한다.Next, in the multi-signature login agent method according to the first embodiment of the present invention, a multi-signature value which is a value obtained by signing the server challenge request response information using a private key of an application certificate which is a certificate of the authentication application. If the response request information including a is obtained from the authentication application, the authentication server further comprises the step of determining whether the server certificate and the application certificate is valid using the response request information (S250).
여기에서 상기 응답 요청 정보는 상기 참조자 인증 키, 상기 서비스 유형 정보, 상기 승인 수준 및 서비스 제공 서버 식별 정보 중 적어도 하나를 더 포함할 수 있다.Here, the response request information may further include at least one of the reference authentication key, the service type information, the authorization level, and service providing server identification information.
상기 단계(S250)는, 상기 인증 서버가, 상기 서버 인증서의 공개키 및 상기 애플리케이션 인증서의 공개키를 이용하여 상기 다중 서명값의 서명을 검증함으로써 상기 서버 인증서 및 상기 애플리케이션 인증서가 유효한지 여부를 판정하는 것을 특징으로 할 수 있다. 이 경우, 상기 다중 서명값으로부터 상기 서버 인증서의 공개키 및 상기 애플리케이션 인증서의 공개키를 이용하여 소정의 해시값(A)을 얻을 수 있으며, 이 해시값(A)과 상기 가변 인증값에 소정의 해시 함수를 적용하여 얻은 결과값(B)을 비교함으로써 서명의 유효성을 검증할 수 있다. 이와 같은 비교에서 상기 해시값과 상기 소정의 해시 함수를 적용하여 얻은 결과값이 상이하면 서명이 무효이고 동일하면 서명이 유효한 것은 이미 통상의 기술자에게 잘 알려진 바와 같은바, 통상의 기술자는 서명(여기에서는 전자 서명)의 유효성을 검증하는 방법을 잘 알 수 있을 것이다.In step S250, the authentication server verifies whether the server certificate and the application certificate are valid by verifying a signature of the multi-signature value using the public key of the server certificate and the public key of the application certificate. It can be characterized by. In this case, a predetermined hash value A can be obtained from the multi-signature value using the public key of the server certificate and the public key of the application certificate, and the predetermined hash value A and the variable authentication value can be obtained. The signature can be validated by comparing the result (B) obtained by applying the hash function. In such a comparison, the signature is invalid if the hash value and the result obtained by applying the predetermined hash function are different, and if the signature is the same, it is well known to a person skilled in the art. You will see how to validate digital signatures.
한편, 상기 단계(S250)와 관련하여, 상기 인증 서버는, 상기 서비스 제공 서버에 대한 접근 수준(access level)에 관한 정보를 관리하거나 관리하도록 지원할 수 있고, 상기 접근 수준을 참조로 하여 승인 수준(authorization level)을 결정할 수 있으며, 이 경우에 상기 인증 결과 메시지는 상기 승인 수준에 관한 정보를 포함하되, 상기 서버 인증서가 유효한지 여부는 상기 승인 수준을 참조로 하여 판정되는 것을 특징으로 할 수 있다. Meanwhile, in relation to step S250, the authentication server may support to manage or manage information regarding an access level to the service providing server, and the approval level may be referred to with reference to the access level. authorization level), and in this case, the authentication result message may include information regarding the authorization level, and whether or not the server certificate is valid may be determined with reference to the authorization level.
예를 들어 접근 수준은 상기 서비스 제공 서버가 크래킹(cracking)되었던 적이 있는지, 있다면 그 횟수와 빈도는 어떠한지와 관련된 크래킹 이력 정보, 또는 상기 서비스 제공 서버가 제공할 수 있는 보안 서비스의 기능과 성능 등과 같은 정보 및 상기 라이선스 수준을 기초로 하여 정해지는 등급 정보일 수 있을 것이다. 전술한 인증서의 등록 국면에 관한 예시에서와 같이 이 접근 수준은 인증서의 등록 국면에서 정해지는 값일 수 있으나 이에 한정되지 않으며 접근 수준이 시기에 따라 달라질 수도 있는 값임을 통상의 기술자는 이해할 수 있을 것이다.For example, the access level may include cracking history information related to whether the service providing server has been cracked, if any, how often and how often, or the function and performance of the security service that the service providing server can provide. Information and rating information determined based on the license level. As the example of the registration phase of the certificate described above, this access level may be a value determined in the registration phase of the certificate, but is not limited thereto, and a person skilled in the art may understand that the access level may vary with time.
한편, 상기 접근 수준에 따라 정해지는 승인 수준은, 예컨대, 상기 서비스 제공 서버를 통하여 서비스를 이용하는 사용자에게 허용되는 서비스가 서비스 이용 등급에 따라 차별화된 경우에 그 서비스 이용 등급을 나타내는 정보에 대응될 수 있다. 또한, 승인 수준은 한번의 로그인으로써 서비스를 이용할 수 있는 유효 시간을 결정하는 기초로 이용될 수도 있다. 또한, 인증 서버의 운영자는 서비스 제공 서버가 크래킹에 노출되거나 하는 등의 이유로 그 로그인 대행 서비스에 있어 제약이 필요한 경우에 접근 수준이나 승인 수준을 손쉽게 변경할 수 있을 것이다.Meanwhile, the permission level determined according to the access level may correspond to information indicating the service use level, for example, when a service allowed to a user who uses the service through the service providing server is differentiated according to the service use level. have. In addition, the authorization level may be used as a basis for determining a valid time for using the service with one login. In addition, the operator of the authentication server can easily change the access level or the authorization level in the case that the login agent service needs to be restricted due to the service providing server being exposed to cracking.
그 다음, 본 발명의 제1 실시예에 따른 다중 서명 로그인 대행 방법은, 상기 인증 서버가, 상기 서버 인증서가 유효한지 여부를 포함하는 인증 결과 메시지를 상기 인증 애플리케이션 및 상기 서비스 제공 서버 중 적어도 하나에 전달(S260a, S260b)함으로써 상기 인증 결과 메시지가 상기 서버 인증서가 유효함을 나타내는 인증 성공 메시지인 경우에 상기 서비스 제공 서버로 하여금 상기 사용자 단말에 의하여 실행되는 서비스 제공 애플리케이션에 소정의 접근 토큰(access token)을 전달(S270)하도록 지원하여 상기 서비스 제공 애플리케이션으로 하여금 상기 접근 토큰을 통하여 상기 서비스를 이용할 수 있도록 지원함으로써 상기 로그인을 처리하는 단계(S260a, S260b 및 S270)를 더 포함한다. 도 2의 시퀀스 다이어그램에서는 단계(S260a) 뒤에 단계(S260b)가 오는 것으로 도시되었으나, 그 순서는 반대가 될 수도 있으며, 단계(S260a)와 단계(S260b)는 동시에 수행될 수도 있다.Next, in the multi-signature login agent method according to the first embodiment of the present invention, the authentication server sends an authentication result message including whether the server certificate is valid to at least one of the authentication application and the service providing server. When the authentication result message is an authentication success message indicating that the server certificate is valid by forwarding (S260a and S260b), a predetermined access token is generated by the service providing server to a service providing application executed by the user terminal. ) To process the login (S260a, S260b, and S270) by supporting the service providing application to use the service through the access token. In the sequence diagram of FIG. 2, step S260a is shown after step S260b, but the order may be reversed, and step S260a and step S260b may be performed simultaneously.
한편, 본 발명의 제1 실시예에 따른 다중 서명 로그인 대행 방법은, 상기 단계(S250) 후에, 상기 인증 서버가, 상기 인증 결과 메시지 또는 이를 가공한 값을 인증 결과 트랜잭션으로서 상기 블록체인 데이터베이스에 기록하거나 상기 인증 서버에 연동되는 타 장치로 하여금 기록하도록 지원하는 단계(미도시)를 더 포함할 수도 있다. 이 인증 결과 트랜잭션을 블록체인 데이터베이스에 기록해둠으로써 인증 서버를 이용하는 관리자 또는 상기 블록체인 데이터베이스에 접근할 수 있는 권한을 가진 제3자가 상기 인증 결과 메시지의 진위를 검증할 수 있을 뿐만 아니라 다수의 인증 결과 메시지의 통계적 수치 등을 관리할 수 있게 된다.On the other hand, in the multi-signature login agent method according to the first embodiment of the present invention, after the step (S250), the authentication server, the authentication result message or a value processed therein recorded in the blockchain database as an authentication result transaction Or supporting another device linked to the authentication server (not shown). By recording this authentication result transaction in the blockchain database, not only an administrator using an authentication server or a third party who has authority to access the blockchain database can verify the authenticity of the authentication result message, but also multiple authentication results. You can manage the statistical value of messages.
또한, 본 발명의 제1 실시예에 따른 다중 서명 로그인 대행 방법은, 주기적으로(periodically) 또는 무결성 검증 요청에 응하여, 상기 인증 서버가, 상기 블록체인 데이터베이스에 기록된 (i) 특정 서버 인증서의 정보 또는 이를 가공한 값인 특정 서버 인증서 등록 트랜잭션, (ii) 특정 애플리케이션 인증서의 정보 또는 이를 가공한 값인 특정 애플리케이션 인증서 등록 트랜잭션, 및 (iii) 특정 인증 결과 메시지 또는 이를 가공한 값인 특정 인증 결과 트랜잭션 중 적어도 하나의 정보를 참조함으로써 상기 (i), (ii), (iii)의 정보의 무결성(integrity)을 검증하거나 상기 인증 서버에 연동되는 타 장치로 하여금 검증하도록 지원하는 단계(미도시)를 더 포함할 수 있다.In addition, the multi-signature login agent method according to the first embodiment of the present invention, (i) information of a specific server certificate recorded in the blockchain database, the authentication server, periodically or in response to an integrity verification request Or at least one of a specific server certificate enrollment transaction that is a fictitious value, (ii) a specific application certificate enrollment transaction that is a fictitious value of a specific application certificate or a fictitious value, and (iii) a specific authentication result transaction that is a specific authentication result message or a fictitious value. Verifying the integrity of the information of (i), (ii) and (iii) by referring to the information of (i), or supporting another device linked to the authentication server (not shown). Can be.
다음으로, 도 3은 본 발명에 따라 사용자 ID가 없는 상태에서 다중 정보를 이용하여 로그인을 대행하는 방법(이하 “임시 ID 로그인 대행 방법”)을 예시적으로 나타낸 시퀀스 다이어그램이다. 하기에서는 전술한 제1 실시예에 따른 다중 서명 로그인 대행 방법과 동일한 세부 특징은 반복하여 설명하지 않을 것인바, 차이점만을 구체적으로 설명하기로 한다.Next, FIG. 3 is a sequence diagram exemplarily illustrating a method for performing a login using multiple information in the absence of a user ID (hereinafter, “a temporary ID login proxy method”) according to the present invention. In the following description, the same detailed features as the multi-signature login agent method according to the first embodiment will not be described repeatedly, and only the differences will be described in detail.
도 3을 참조하면, 본 발명의 제1 실시예에 따른 임시 ID 로그인 대행 방법은, 사용자 단말에 의하여 실행되는 제1 애플리케이션으로부터 상기 사용자 단말에 의하여 실행되는 제2 애플리케이션을 통한 로그인의 대행을 요청하는 정보인 인증 리다이렉션 요청(authentication redirection request)을 전달(S310)받은 상기 제2 애플리케이션으로부터 사용자를 식별하기 위한 사용자 식별 정보를 포함하는 인증 요청 정보가 획득(S320)되면, 상기 서비스 제공 서버가, 상기 사용자 식별 정보를 포함하는 챌린지 개시 요청 정보(S330)를 인증 서버에 전달하는 단계(S310 내지 S330)를 포함한다.Referring to FIG. 3, the temporary ID login proxy method according to the first embodiment of the present invention may be configured to request a proxy for login through a second application executed by the user terminal from a first application executed by the user terminal. When the authentication request information including the user identification information for identifying the user from the second application that has received the authentication redirection request (authentication redirection request), which is information (S310), is obtained (S320), the service providing server receives the user. And transmitting the challenge start request information S330 including the identification information to the authentication server (S310 to S330).
여기에서 사용자 식별 정보는, 상기 사용자를 다른 사용자와 구별하여 식별할 수 있게 하는 정보로서, 사용자마다 일의적(unique)으로 정해진 정보이면 무엇이든 무방하다. 예를 들어, 사용자 식별 정보는 상기 제2 애플리케이션을 통하여 제공되는 서비스를 이용하기 위한 로그인 정보일 수 있고, 또는 상기 사용자에 대하여 발급된 소정의 인증서 정보일 수도 있다.In this case, the user identification information is information for distinguishing the user from other users and may be anything uniquely determined for each user. For example, the user identification information may be login information for using a service provided through the second application, or may be predetermined certificate information issued for the user.
또한, 제1 실시예에 따른 다중 서명 로그인 대행 방법과 유사하게 상기 단계(S310 내지 S330)는 상기 서비스 제공 서버의 인증서인 서버 인증서의 정보 또는 이를 가공한 값인 서버 인증서 등록 트랜잭션, 및 상기 제2 애플리케이션의 인증서인 애플리케이션 인증서의 정보 또는 이를 가공한 값인 애플리케이션 인증서 등록 트랜잭션이 상기 블록체인 데이터베이스에 기록된 상태에서 수행되는 것을 특징으로 할 수 있다.In addition, similar to the multi-signature login agent method according to the first embodiment, the steps S310 to S330 may include information on a server certificate, which is a certificate of the service providing server, or a server certificate registration transaction, which is a processed value thereof, and the second application. The information on the application certificate, which is a certificate of, or an application certificate registration transaction, which is a processed value thereof, may be performed while being recorded in the blockchain database.
다음으로, 본 발명의 제1 실시예에 따른 임시 ID 로그인 대행 방법은, 상기 챌린지 개시 요청 정보에 응하여 상기 인증 서버에 의하여 생성된 가변 인증값을 포함하는 챌린지 개시 요청 응답 정보가 획득(S335)되면, 상기 서비스 제공 서버가, 상기 가변 인증값을 포함하는 애플리케이션 챌린지 요청 정보(S340)를 상기 제2 애플리케이션에 전달함으로써 상기 제2 애플리케이션으로 하여금 상기 가변 인증값을 상기 제2 애플리케이션의 인증서인 애플리케이션 인증서의 개인키(private key)로 서명한 값을 생성하도록 지원하는 단계(S335, S340)를 더 포함한다.Next, the temporary ID login proxy method according to the first embodiment of the present invention, when the challenge start request response information including the variable authentication value generated by the authentication server in response to the challenge start request information is obtained (S335) The service providing server transmits the application challenge request information (S340) including the variable authentication value to the second application, thereby causing the second application to transmit the variable authentication value to the certificate of the second application. The method may further include steps S335 and S340 for generating a value signed by a private key.
본 발명에서 이용되는 PKI 기반의 암호화 방식이 적용되는 일 예시로서, 상기 챌린지 개시 요청 정보는 상기 서비스 제공 서버의 인증서인 서버 인증서의 공개키를 더 포함할 수 있으며, 이 경우 상기 챌린지 개시 요청 응답 정보는 상기 서버 인증서의 공개키에 의하여 인코딩된 상기 가변 인증값을 포함할 수 있다. 그렇다면, 이 예시에서 상기 단계(S335, S340)에서 상기 서비스 제공 서버는, 상기 서버 인증서의 개인키(private key)를 이용하여 상기 챌린지 개시 요청 응답 정보(S335)로부터 상기 가변 인증값을 획득할 수 있으며, 상기 애플리케이션 인증서의 공개키를 이용하여 상기 가변 인증값을 서명한 값을 포함하는 상기 애플리케이션 챌린지 요청 정보를 상기 제2 애플리케이션에 전달(S340)할 수 있다.As an example to which the PKI-based encryption scheme used in the present invention is applied, the challenge initiation request information may further include a public key of a server certificate which is a certificate of the service providing server, and in this case, the challenge initiation request response information. May include the variable authentication value encoded by the public key of the server certificate. If so, in this example, the service providing server may obtain the variable authentication value from the challenge initiation request response information S335 using the private key of the server certificate in the steps S335 and S340. The application challenge request information including the signed value of the variable authentication value may be transmitted to the second application using the public key of the application certificate (S340).
다시 도 3을 참조하면, 상기 단계(S335, S340) 후에, 본 발명의 제1 실시예에 따른 임시 ID 로그인 대행 방법은, 상기 애플리케이션 인증서의 개인키(private key)로 서명한 값을 포함하는 애플리케이션 챌린지 요청 응답 정보가 획득(S345)되면, 상기 서비스 제공 서버가, 상기 애플리케이션 챌린지 요청 응답 정보를 상기 인증 서버에 전달(S350)함으로써 상기 인증 서버로 하여금 상기 애플리케이션 챌린지 요청 응답 정보를 이용하여 상기 애플리케이션 인증서가 유효한지 여부를 판정하도록 지원하는 단계(S345, S350)를 더 포함한다.Referring back to FIG. 3, after the steps S335 and S340, the temporary ID login proxy method according to the first embodiment of the present invention includes an application including a value signed by a private key of the application certificate. When the challenge request response information is obtained (S345), the service providing server transmits the application challenge request response information to the authentication server (S350) so that the authentication server uses the application challenge request response information to the application certificate. It further includes steps (S345, S350) to assist in determining whether is valid.
상기 애플리케이션 챌린지 요청 응답 정보는 상기 애플리케이션 인증서의 개인키로 서명한 값을 포함하고 있으므로 상기 인증 서버가 보유하고 있는 상기 애플리케이션 인증서의 공개키를 이용하여 그 서명한 값이 상기 가변 인증값에 대응되는 값인지를 검증할 수 있는바, 이로써 상기 애플리케이션 인증서가 유효한지 여부를 판정할 수 있다. 이에 대한 설명은 전술한 서명의 유효성을 검증하는 방법에 관한 설명으로 갈음한다.Since the application challenge request response information includes a value signed with the private key of the application certificate, whether the value signed using the public key of the application certificate held by the authentication server corresponds to the variable authentication value. Can be verified, thereby determining whether the application certificate is valid. The description will be replaced with the description of the method for validating the above-described signature.
상기 단계(S345, S350) 후에 본 발명의 제1 실시예에 따른 임시 ID 로그인 대행 방법은, 상기 인증 서버로부터 상기 애플리케이션 인증서가 유효한지 여부를 포함하는 인증 결과 메시지가 획득되고, 상기 인증 결과 메시지가 상기 애플리케이션 인증서가 유효함을 나타내는 인증 성공 메시지라면, 상기 서비스 제공 서버가, 임시 ID(temporary ID)를 상기 제2 애플리케이션에 전달하여, 상기 제1 애플리케이션으로 하여금 상기 제2 애플리케이션으로부터 상기 제1 애플리케이션에 전달된 (i) 상기 임시 ID 및 (ii) 상기 인증 성공 메시지에 포함된 접근 토큰(access token)을 통하여 상기 서비스를 이용할 수 있도록 지원함으로써 상기 로그인을 처리하는 단계를 더 포함한다.After the steps S345 and S350, in the temporary ID login proxy method according to the first embodiment of the present invention, an authentication result message including whether the application certificate is valid is obtained from the authentication server, and the authentication result message is obtained. If the authentication success message indicating that the application certificate is valid, the service providing server transmits a temporary ID to the second application, which causes the first application to transmit from the second application to the first application. Processing the login by supporting the use of the service via (i) the temporary ID and (ii) an access token included in the authentication success message.
여기에서 임시 ID는, 상기 인증 성공 메시지에 포함된 접근 토큰 및 승인 수준에 관한 정보를 참조로 하여 결정될 수 있다. 예컨대, 상기 임시 ID에는 상기 서비스 제공 서버가 제공하는 서비스의 특성에 맞춰 이용할 수 있는 서비스를 나타내는 서비스 이용 등급에 관한 정보가 부여될 수 있는바, 상기 임시 ID를 가지고 제1 애플리케이션을 통하여 상기 서비스를 이용하는 사용자는 서비스 이용 등급에 따라 정해진 범위 내에서 서비스를 이용하게 할 수도 있을 것이다.In this case, the temporary ID may be determined by referring to the information on the access token and the authorization level included in the authentication success message. For example, the temporary ID may be provided with information regarding a service usage level indicating a service available in accordance with the characteristics of the service provided by the service providing server. The service may be provided through the first application with the temporary ID. The user may use the service within a range determined according to the service use level.
전술한 본 발명의 제1 실시예에 따른 임시 ID 로그인 대행 방법을 인증 서버를 기준으로 다시 설명하자면, 임시 ID 로그인 대행 방법은, 우선, 사용자 단말에 의하여 실행되는 제1 애플리케이션으로부터 상기 사용자 단말에 의하여 실행되는 제2 애플리케이션을 통한 로그인의 대행을 요청하는 정보인 인증 리다이렉션 요청(authentication redirection request)을 전달(S310)받은 상기 제2 애플리케이션으로부터 사용자를 식별하기 위한 사용자 식별 정보를 포함하는 인증 요청 정보를 획득(S320)한 상기 서비스 제공 서버로부터 상기 사용자 식별 정보를 포함하는 챌린지 개시 요청 정보가 획득(S330)되면, 인증 서버가, 상기 챌린지 개시 요청 정보에 응하여 가변 인증값을 생성하는 단계(S310 내지 S330), 생성된 상기 가변 인증값을 포함하는 챌린지 개시 요청 응답 정보를 상기 서비스 제공 서버에 전달(S335)함으로써 상기 서비스 제공 서버로 하여금 상기 가변 인증값을 포함하는 애플리케이션 챌린지 요청 정보를 상기 제2 애플리케이션에 전달(S340)하도록 지원하여 상기 제2 애플리케이션으로 하여금 상기 가변 인증값을 상기 제2 애플리케이션의 인증서인 애플리케이션 인증서의 개인키(private key)로 서명한 값을 생성하도록 지원하는 단계(S335, S340), 및 상기 애플리케이션 인증서의 개인키(private key)로 서명한 값을 포함하는 애플리케이션 챌린지 요청 응답 정보가 획득(S345, S350)되면, 상기 인증 서버가 상기 애플리케이션 챌린지 요청 응답 정보를 이용하여 상기 애플리케이션 인증서가 유효한지 여부를 판정하는 단계(S345, S350)를 포함한다.Referring again to the temporary ID login proxy method according to the first embodiment of the present invention with reference to the authentication server, the temporary ID login proxy method is, first, by the user terminal from a first application executed by the user terminal. Obtaining authentication request information including user identification information for identifying a user from the second application, which receives an authentication redirection request, which is information for requesting the proxy for login through the executed second application (S310). When the challenge initiation request information including the user identification information is obtained from the service providing server (S320), the authentication server generates a variable authentication value in response to the challenge initiation request information (S310 to S330). Challenge challenge request response information including the generated variable authentication value; By transmitting to the service providing server (S335) to allow the service providing server to deliver the application challenge request information including the variable authentication value to the second application (S340) to allow the second application to the variable authentication value. To generate a value signed with a private key of an application certificate which is a certificate of the second application (S335, S340), and a value signed with a private key of the application certificate. When the application challenge request response information is obtained (S345 and S350), the authentication server may determine whether the application certificate is valid using the application challenge request response information (S345 and S350).
제1 실시예에 따른 다중 서명 로그인 대행 방법과 유사하게 제1 실시예에 따른 임시 ID 로그인 대행 방법은, 상기 인증 서버가, 상기 인증 결과 메시지 또는 이를 가공한 값을 인증 결과 트랜잭션으로서 상기 블록체인 데이터베이스에 기록하거나 상기 인증 서버에 연동되는 타 장치로 하여금 기록하도록 지원하는 단계(미도시)를 더 포함할 수 있다. Similar to the multi-signature login agent method according to the first embodiment, the temporary ID login agent method according to the first embodiment includes the blockchain database as the authentication result transaction by the authentication server as the authentication result transaction. It may further include the step (not shown) for recording to or to record to other devices linked to the authentication server.
다시 도 3을 참조하면, 제1 실시예에 따른 임시 ID 로그인 대행 방법은, 단계(S345, S350) 후에, 상기 인증 서버가, 상기 애플리케이션 인증서가 유효한지 여부를 포함하는 인증 결과 메시지를 상기 서비스 제공 서버 및 상기 제2 애플리케이션에 전달(S355a, S355b)하여, 상기 서비스 제공 서버로 하여금 상기 인증 결과 메시지가 상기 애플리케이션 인증서가 유효함을 나타내는 인증 성공 메시지인 경우에 임시 ID(temporary ID)를 상기 제2 애플리케이션에 전달(S360)하도록 지원하고 상기 제1 애플리케이션으로 하여금 상기 제2 애플리케이션으로부터 상기 제1 애플리케이션에 전달된 (i) 상기 임시 ID(S360, S370a) 및 (ii) 상기 인증 성공 메시지에 포함된 접근 토큰(access token)(S355b, S370b)을 통하여 상기 서비스를 이용(S380)할 수 있도록 지원함으로써 상기 로그인을 처리하는 단계(S355a 내지 S370b)를 더 포함한다. 도 3의 시퀀스 다이어그램에서는 단계(S355a) 뒤에 단계(S355b)가 오는 것으로 도시되었으나, 그 순서는 반대가 될 수도 있으며, 단계(S355a)와 단계(S355b)는 동시에 수행될 수도 있다. 단계(370a)와 단계(S370b)도 이와 마찬가지이다.Referring back to FIG. 3, in the temporary ID login proxy method according to the first embodiment, after the steps S345 and S350, the authentication server provides the service with an authentication result message including whether the application certificate is valid. Delivers to the server and the second application (S355a, S355b), causing the service providing server to provide a temporary ID when the authentication result message indicates that the application certificate is valid; (I) the temporary IDs (S360, S370a) and (ii) the access included in the authentication success message, which is passed to the first application from the second application and that causes the first application to pass to the application (S360). By processing the login by supporting the use of the service (S380) through access tokens (S355b, S370b) The system (S355a to S370b) further includes. In the sequence diagram of FIG. 3, step S355a is shown as step S355b, but the order may be reversed, and step S355a and step S355b may be performed simultaneously. The same applies to steps 370a and S370b.
한편, 제1 실시예에 따른 임시 ID 로그인 대행 방법 또한, 주기적으로(periodically) 또는 무결성 검증 요청에 응하여, 상기 인증 서버가, 상기 블록체인 데이터베이스에 기록된 (i) 특정 서버 인증서의 정보 또는 이를 가공한 값인 특정 서버 인증서 등록 트랜잭션, (ii) 특정 애플리케이션 인증서의 정보 또는 이를 가공한 값인 특정 애플리케이션 인증서 등록 트랜잭션, 및 (iii) 특정 인증 결과 메시지 또는 이를 가공한 값인 특정 인증 결과 트랜잭션 중 적어도 하나의 정보를 참조함으로써 상기 (i), (ii), (iii)의 정보의 무결성(integrity)을 검증하거나 상기 인증 서버에 연동되는 타 장치로 하여금 검증하도록 지원하는 단계(미도시)를 더 포함할 수 있다.On the other hand, the temporary ID login proxy method according to the first embodiment also, periodically or in response to the integrity verification request, the authentication server, (i) the information of the specific server certificate recorded in the blockchain database or processing the same At least one of a value of a specific server certificate enrollment transaction, (ii) information of a specific application certificate or a specific application certificate enrollment transaction that is a processed value, and (iii) a specific authentication result message or a specific authentication result transaction that is a processed value. The method may further include verifying the integrity of the information of (i), (ii), and (iii) or supporting another device linked to the authentication server (not shown).
제2 실시예Second embodiment
다음으로 본 발명에 따른 로그인 대행 방법에 관한 제2 실시예를 설명하기로 한다. 하기에서는 전술한 제1 실시예와 동일한 기술적 특징은 반복하여 설명되지 않을 것인바, 차이점만이 구체적으로 설명될 것이다.Next, a second embodiment of a login proxy method according to the present invention will be described. In the following, the same technical features as those of the above-described first embodiment will not be repeatedly described, and only the differences will be described in detail.
다시 도 2를 참조하면, 제1 실시예에 관하여 전술한 단계(S210, S215)는, 본 발명의 제2 실시예에 따른 다중 서명 로그인 대행 방법에서는, 상기 서비스 제공 서버의 인증서인 서버 인증서의 정보 또는 이를 가공한 값인 서버 인증서 등록 트랜잭션의 해시값인 제1 특정 해시값과 매칭되는 적어도 하나의 이웃 해시값 - 상기 이웃 해시값은, (i) 특정 서버 인증서의 정보 또는 이를 가공한 값인 특정 서버 인증서 등록 트랜잭션의 해시값, (ii) 특정 애플리케이션 인증서의 정보 또는 이를 가공한 값인 특정 애플리케이션 인증서 등록 트랜잭션의 해시값, 및 (iii) 특정 인증 결과 메시지 또는 이를 가공한 값인 특정 인증 결과 트랜잭션의 해시값을 포함하는 해시값들 중의 하나임 - 을 함께 해시 연산함으로써 생성되는 제1 대표 해시값 또는 상기 제1 대표 해시값을 가공한 값, 및 사용자 단말에 의하여 실행되는 인증 애플리케이션의 인증서인 애플리케이션 인증서 등록 트랜잭션의 해시값인 제2 특정 해시값과 매칭되는 적어도 하나의 상기 이웃 해시값을 함께 해시 연산함으로써 생성되는 제2 대표 해시값 또는 상기 제2 대표 해시값을 가공한 값이 소정의 블록체인 데이터베이스에 기록되어 있는 상태에서 수행된다. Referring back to FIG. 2, the steps S210 and S215 described above with respect to the first embodiment may include information on a server certificate which is a certificate of the service providing server in the multi-signature login agent method according to the second embodiment of the present invention. Or at least one neighbor hash value matching the first specific hash value which is a hash value of a server certificate registration transaction, which is a processed value, wherein the neighbor hash value is: (i) a specific server certificate information or a processed value of the specific server certificate; A hash value of a registration transaction, (ii) a hash value of a specific application certificate enrollment transaction that is information of, or an instrumentation of, a particular application certificate; Is one of the hash values-a first representative hash value or a first representative hash value generated by hashing together A second representative hash value generated by hashing together an empty value and at least one neighboring hash value matching a second specific hash value that is a hash value of an application certificate registration transaction that is a certificate of an authentication application executed by the user terminal; Or a value obtained by processing the second representative hash value is recorded in a predetermined blockchain database.
이후, 단계(S230, S235)에서 상기 인증 서버는 상기 서버 인증서 및 상기 애플리케이션 인증서가 유효한지 여부를 판정함에 있어서 상기 소정의 블록체인 데이터베이스를 참조한다. 그 구체적인 의미는, 상기 소정의 블록체인 데이터베이스를 참조로 하여 획득된 상기 서버 인증서 등록 트랜잭션 및 상기 애플리케이션 인증서 등록 트랜잭션을 이용하여 상기 서버 인증서 및 상기 애플리케이션 인증서가 유효한지 여부를 판정한다는 것이다.Thereafter, in steps S230 and S235, the authentication server refers to the predetermined blockchain database in determining whether the server certificate and the application certificate are valid. The specific meaning is to determine whether the server certificate and the application certificate are valid using the server certificate registration transaction and the application certificate registration transaction obtained with reference to the predetermined blockchain database.
이 본 발명의 제2 실시예는, 가상 화폐의 UTXO를 이용하여, 그 UTXO에 관한 개별 트랜잭션을 제1 블록체인 데이터베이스에 기록한 후, 그 제1 블록체인 데이터베이스에 기록된 트랜잭션들로부터 생성되는 대표 해시값을 제2 블록체인 데이터베이스에 기록함으로써 이중으로 기록의 무결성을 도모하는 앵커링(anchoring) 방식으로 구성될 수 있는바, 이 경우에 상기 소정의 블록체인 데이터베이스는 제2 블록체인 데이터베이스이며, 단계(S210, S215)는 상기 서버 인증서 등록 트랜잭션, 및 상기 애플리케이션 인증서 등록 트랜잭션이 추가로 제1 블록체인 데이터베이스에 기록되어 있는 상태에서 수행된다.This second embodiment of the present invention uses a UTXO of virtual currency to write an individual transaction related to the UTXO in a first blockchain database, and then, a representative hash generated from transactions recorded in the first blockchain database. By recording the value in the second blockchain database, it can be configured in an anchoring manner, which doubles the integrity of the recording. In this case, the predetermined blockchain database is the second blockchain database, and in step S210 , S215) is performed while the server certificate registration transaction and the application certificate registration transaction are further recorded in the first blockchain database.
이 앵커링 방식을 더 구체적으로 설명하면, 본 발명의 제2 실시예에 따른 다중 서명 로그인 대행 방법에서는, 단계(S250) 후에, (A) 상기 인증 서버가, 상기 인증 결과 메시지 또는 이를 가공한 값을 인증 결과 트랜잭션으로서 상기 제1 블록체인 데이터베이스에 기록하거나 상기 인증 서버에 연동되는 타 장치로 하여금 기록하도록 지원하는 프로세스, 및 (B) 적어도 하나의 anchoring 조건이 만족되면, 상기 인증 결과 트랜잭션의 해시값인 특정 해시값과 매칭되는 적어도 하나의 이웃 해시값 - 상기 이웃 해시값은, (i) 특정 서버 인증서의 정보 또는 이를 가공한 값인 특정 서버 인증서 등록 트랜잭션의 해시값, (ii) 특정 애플리케이션 인증서의 정보 또는 이를 가공한 값인 특정 애플리케이션 인증서 등록 트랜잭션의 해시값, 및 (iii) 특정 인증 결과 메시지 또는 이를 가공한 값인 특정 인증 결과 트랜잭션의 해시값을 포함하는 해시값들 중의 하나임 - 을 함께 해시 연산함으로써 생성되는 대표 해시값 또는 상기 대표 해시값을 가공한 값을 상기 제2 블록체인 데이터베이스에 기록하거나 상기 인증 서버에 연동되는 타 장치로 하여금 기록하도록 지원하고, 상기 대표 해시값 또는 상기 대표 해시값을 가공한 값이 상기 제2 블록체인 데이터베이스에 기록된 위치 정보인 트랜잭션 ID를 획득하는 프로세스를 수행하는 단계(미도시)를 더 포함할 수 있다.In more detail, the anchoring scheme is described. In the multi-signature login agent method according to the second embodiment of the present invention, after step S250, (A) the authentication server displays the authentication result message or the processed value thereof. A process of recording to the first blockchain database as an authentication result transaction or allowing other devices to interoperate with the authentication server to record; and (B) a hash value of the authentication result transaction if at least one anchoring condition is satisfied. At least one neighbor hash value that matches a particular hash value, wherein the neighbor hash value is (i) a hash value of a particular server certificate registration transaction that is information of, or a processed value of, a particular server certificate, (ii) information of a particular application certificate, or A hash value of a specific application certificate enrollment transaction, which is a processed value, and (iii) a specific authentication result message or Is one of hash values including a hash value of a specific authentication result transaction, which is a processed value-a representative hash value generated by hashing together or a value processed by the representative hash value is recorded in the second blockchain database, or Assisting other devices linked to the authentication server to record, and performing a process of acquiring a transaction ID, the representative hash value or a value obtained by processing the representative hash value, is position information recorded in the second blockchain database; It may further include (not shown).
이때 전술한 anchoring 조건이란, (i) 소정의 개수만큼의 상기 특정 해시값과 이웃 해시값이 획득되거나 생성되는 조건, (ii) 소정 시간이 경과하는 조건, (iii) 상기 제1 블록체인 데이터베이스에서 블록이 생성되는 조건, (iv) 서비스 특성에 대한 조건 중 적어도 하나를 포함할 수 있다.In this case, the aforementioned anchoring condition may include (i) a condition in which a predetermined number of specific hash values and neighboring hash values are obtained or generated, (ii) a condition that a predetermined time elapses, and (iii) in the first blockchain database. It may include at least one of a condition that the block is generated, (iv) a condition for the service characteristic.
특정 해시값과 적어도 하나의 이웃 해시값의 연산은 다양한 함수에 의하여 수행될 수 있다. 특정 해시값을 input이라고 나타내고, 적어도 하나의 이웃 해시값을 x1, x2, …, xn이라고 나타낼 때, 대표 해시값 t은 다음 수학식과 같이 나타낼 수 있다.The operation of a particular hash value and at least one neighbor hash value may be performed by various functions. A particular hash value is denoted by input, and at least one neighboring hash value is represented by x1, x2,... , represented by xn, can be represented by the following equation.
[수학식 1][Equation 1]
Figure PCTKR2018000913-appb-I000001
Figure PCTKR2018000913-appb-I000001
이때, 인증 서버는 상기 특정 해시값과 상기 적어도 하나의 이웃 해시값을 소정의 데이터 구조로 저장하여 관리할 수 있다. 여기에서 데이터 구조는 다양할 수 있는데, 일 예로 머클 트리(merkle tree) 구조가 될 수도 있다. 이 경우, 상기 특정 해시값과 적어도 하나의 이웃 해시값의 연산은 머클 트리를 통하여 이루어질 수 있다.In this case, the authentication server may store and manage the specific hash value and the at least one neighbor hash value in a predetermined data structure. The data structure may vary, for example, may be a merkle tree structure. In this case, the calculation of the specific hash value and at least one neighbor hash value may be performed through the Merkle tree.
즉, 상기 인증 서버는, 상기 특정 해시값이 리프 노드에 할당된 머클 트리(merkle tree)를 생성하거나 생성하도록 지원할 수 있고, 적어도 하나의 상기 anchoring 조건이 만족되면, 상기 특정 해시값과 매칭되는 적어도 하나의 다른 리프 노드에 할당된 해시값을 함께 해시 연산하여 생성되는 상기 대표 해시값 또는 상기 대표 해시값을 가공한 값을 획득하고, 상기 획득된 값을 상기 제2 블록체인 데이터베이스에 기록하거나 타 장치로 하여금 기록하도록 지원할 수 있다.That is, the authentication server may support to generate or generate a merkle tree in which the specific hash value is assigned to a leaf node, and if at least one anchoring condition is satisfied, at least one matching the specific hash value Acquire the representative hash value or the processed value of the representative hash value generated by hashing the hash values assigned to one other leaf node together, and recording the obtained value in the second blockchain database or other device. Can help them record.
상기 인증 서버는, 최종적으로 머클 트리의 루트 노드에 할당된 해시값을 대표 해시값으로서 상기 제2 블록체인 데이터베이스에 기록하거나 타 장치로 하여금 기록하도록 지원할 수 있다. 이때, 대표 해시값을 가공한 값이 기록될 수도 있다. 예를 들어, 대표 해시값에 hex 연산이 수행된 결과값이 등록될 수 있다.The authentication server may record the hash value finally assigned to the root node of the Merkle tree as the representative hash value in the second blockchain database or allow other devices to record it. At this time, a value obtained by processing the representative hash value may be recorded. For example, the result of performing the hex operation may be registered in the representative hash value.
한편, 상기 인증 서버가 상기 특정 해시값과 상기 적어도 하나의 이웃 해시값을 소정의 제1 데이터 구조로 저장하고, 이후 상기 제1 데이터 구조와 동일한 형태의 제2 데이터 구조를 저장하여 관리하는 경우, 상기 제1 데이터 구조와 상기 제2 데이터 구조는 체인 형태로 연결될 수 있다.On the other hand, when the authentication server stores the particular hash value and the at least one neighboring hash value in a predetermined first data structure, and then stores and manages a second data structure having the same form as the first data structure, The first data structure and the second data structure may be connected in a chain form.
특히, 상술한 예에서와 같이 상기 제1 데이터 구조 및 상기 제2 데이터 구조가 머클 트리인 경우, 상기 제1 데이터 구조의 루트값 또는 상기 루트값의 해시값이 상기 제2 데이터 구조의 첫 번째 리프 노드에 할당될 수 있다.In particular, when the first data structure and the second data structure are Merkle trees as in the above-described example, the root value of the first data structure or the hash value of the root value is the first leaf of the second data structure. Can be assigned to a node.
또한, 제2 데이터 구조가 생성될 때는 제1 데이터 구조에 대한 검증이 이루어짐으로써 데이터의 무결성이 좀 더 확실히 보장될 수 있다.In addition, when the second data structure is generated, verification of the first data structure is performed to more surely ensure the integrity of the data.
또한, 상기 머클 트리가 체인 형태로 연결된 적어도 하나의 머클 트리 중 첫 번째 머클 트리인 경우, 상기 머클 트리의 첫 번째 리프 노드에는 텍스트, 숫자, 또는 기호로 이루어진 소정의 메시지 데이터의 해시값 또는 이를 가공한 값이 할당될 수 있다. 예를 들어, 머클 트리 생성시 인증 서버에 의하여 최초로 부여된 입력 메시지의 해시값이 할당될 수 있다.In addition, when the Merkle tree is the first Merkle tree among at least one Merkle tree connected in a chain form, the first leaf node of the Merkle tree has a hash value of a predetermined message data consisting of text, numbers, or symbols or the same. One value can be assigned. For example, a hash value of an input message initially assigned by the authentication server may be assigned when generating the merkle tree.
도 4 및 5는 본 발명에 따라 생성된 머클 트리의 예를 도시한 도면이다.4 and 5 show examples of merkle trees generated in accordance with the present invention.
도 4에서는 리프 노드의 개수가 4(22)개인 머클 트리가 도시된다. 도시된 머클 트리는 첫 번째 머클 트리이기 때문에(tree_id = 0), 첫 번째 리프 노드인 h1 노드에는 소정의 메시지 데이터 PrivBC_unique_message의 해시값 SHA256(PrivBC_unique_message)이 할당되었음을 알 수 있다. 트랜잭션들의 등록이 있는 경우, 상기 인증 서버는, 현재 구성 중인 머클 트리의 가장 마지막 리프 노드의 다음 리프 노드를 생성하여 특정 해시값 또는 특정 해시값을 가공한 값을 할당하거나 타 장치로 하여금 할당하도록 지원한다. 예를 들어, 도 4의 머클 트리에서 이전 단계에서 두 번째 리프 노드인 h1 노드까지 값 할당이 완료된 경우, 다음 리프 노드인 h2 노드를 생성하여 특정 해시값 또는 특정 해시값을 가공한 값(SHA256(input2))을 할당할 수 있다. 또한, 상기 인증 서버는, (i) 특정 해시값과, (ii) 상기 특정 해시값이 할당된 세 번째 리프 노드인 h2 노드의 형제 노드인 h3 노드에 할당된 해시값을 연산하거나 타 장치로 하여금 연산하도록 지원할 수 있다. 상기 연산의 결과인 연산값에 대한 해시값은 h2 노드와 h3 노드의 부모 노드(h23 노드)에 할당된다. 부모 노드(h23 노드)가 머클 트리의 루트 노드가 아니므로, 상기 인증 서버는, 상기 h23 노드에 할당된 해시값을 상기 특정 해시값으로 하여 상기 과정을 반복하여 수행할 수 있다. 즉, h23 노드에 할당된 해시값을 특정 해시값으로 하고, h23 노드에 할당된 해시값과 h01 노드에 할당된 해시값을 연산하여 h23 노드와 h01 노드의 부모 노드(h0123) 노드에 할당할 수 있다. 이때, h0123 노드가 머클 트리의 루트 노드이므로, 상기 인증 서버는, h0123 노드에 할당된 해시값 또는 이를 가공한 값(hex(h{node_index}))을 제2 블록체인 데이터베이스에 기록하거나 타 장치로 하여금 기록하도록 지원할 수 있다.In FIG. 4, a Merkle tree with 4 (2 2 ) leaf nodes is shown. Since the illustrated Merkle tree is the first Merkle tree (tree_id = 0), it can be seen that the hash value SHA256 (PrivBC_unique_message) of the predetermined message data PrivBC_unique_message is assigned to the h1 node which is the first leaf node. If there is a registration of transactions, the authentication server creates a next leaf node of the last leaf node of the Merkle tree currently being configured, and assigns a specific hash value or a processed value of a specific hash value or allows another device to assign it. do. For example, in the merkle tree of FIG. 4, when the value assignment is completed from the previous step to the second leaf node h1 node, the next leaf node h2 node is created to process a specific hash value or a specific hash value (SHA256 ( input2)) can be assigned. In addition, the authentication server calculates (i) a specific hash value and (ii) a hash value assigned to the h3 node which is a sibling node of the h2 node which is the third leaf node to which the specific hash value is assigned or causes another device to perform the operation. Can support calculations. The hash value for the operation value that is the result of the operation is assigned to the parent node (h23 node) of the h2 node and the h3 node. Since the parent node (h23 node) is not the root node of the Merkle tree, the authentication server may repeat the process by using the hash value assigned to the h23 node as the specific hash value. That is, the hash value assigned to the h23 node is designated as a specific hash value, and the hash value assigned to the h23 node and the hash value assigned to the h01 node are calculated and assigned to the parent node (h0123) node of the h23 node and the h01 node. have. At this time, since the h0123 node is the root node of the Merkle tree, the authentication server records the hash value assigned to the h0123 node or the processed value (hex (h {node_index})) in the second blockchain database, or to another device. Can help you record.
이를 재귀적(recursive)으로 설명하자면, 적어도 하나의 상기 anchoring 조건이 만족될 때, (x1) 상기 인증 서버가, (i) 상기 특정 해시값과 (ii) 상기 특정 해시값이 할당된 노드의 형제 노드에 할당된 해시값을 함께 해시 연산하거나 타 장치로 하여금 해시 연산하도록 지원하고, 상기 연산의 결과인 연산값에 대한 해시값을 상기 노드의 부모 노드에 할당하거나 타 장치로 하여금 할당하도록 지원하며, (x2) 상기 부모 노드가 상기 머클 트리의 루트 노드이면, 상기 부모 노드에 할당된 해시값을 상기 대표 해시값으로서 상기 제2 블록체인 데이터베이스에 기록하거나 타 장치로 하여금 기록하도록 지원하고, (x3) 상기 부모 노드가 상기 머클 트리의 루트 노드가 아니면, 상기 부모 노드에 할당된 해시값을 상기 특정 해시값으로 하여 상기 (x1) 내지 (x3)을 반복하여 수행하는 것이다.To describe this recursively, when at least one anchoring condition is satisfied, (x1) the authentication server is configured to: (i) the sibling of the node to which the particular hash value and (ii) the particular hash value are assigned. Hashing the hash value assigned to the node together or allowing other devices to hash the hash, assigning the hash value for the computed value that is the result of the operation to the parent node of the node or allowing another device to assign it, (x2) if the parent node is the root node of the Merkle tree, supports to record the hash value assigned to the parent node to the second blockchain database as the representative hash value or to allow other devices to record; (x3) If the parent node is not the root node of the Merkle tree, (x1) to (x3) may be repeated by using a hash value assigned to the parent node as the specific hash value. To do.
제2 실시예에서, 해시값들 - (i) 특정 서버 인증서의 정보 또는 이를 가공한 값인 특정 서버 인증서 등록 트랜잭션의 해시값, (ii) 특정 애플리케이션 인증서의 정보 또는 이를 가공한 값인 특정 애플리케이션 인증서 등록 트랜잭션의 해시값, 및 (iii) 특정 인증 결과 메시지 또는 이를 가공한 값인 특정 인증 결과 트랜잭션의 해시값 - 이 리프 노드 수만큼 획득되면, 각각의 해시값이 전술한 머클 트리의 입력값(리프 노드에 할당된 값)이 될 수 있다.In a second embodiment, the hash values-(i) a hash value of a specific server certificate registration transaction, which is information of or processed by a particular server certificate, (ii) a specific application certificate registration transaction, which is information of a particular application certificate or a processed value of it. A hash value of, and (iii) a hash value of a particular authentication result message or a particular authentication result transaction that is a truncated value-if this number of leaf nodes is obtained, each hash value is assigned to the aforementioned Merkle tree input (leaved to the leaf node). Value).
또한, 인증 서버는, 소정 시간 단위로 전술한 머클 트리의 루트값을 생성할 수 있다(상기 (ii) anchoring 조건). 이 경우, 상기 인증 서버는, 소정의 시간이 경과되면 그때까지의 입력값을 이용하여 머클 트리를 생성하고 머클 트리의 루트값을 제2 블록체인 데이터베이스에 기록하거나 타 장치로 하여금 기록하도록 지원할 수 있다.In addition, the authentication server may generate the root value of the aforementioned Merkle tree on a predetermined time basis (the (ii) anchoring condition). In this case, when a predetermined time elapses, the authentication server may generate a Merkle tree using the input values up to that time, record the root value of the Merkle tree in the second blockchain database, or support another device to record. .
그런데, 이 경우에는 소정 시간이 경과하였음에도 머클 트리의 특정 해시값이 할당된 노드의 형제 노드에 값이 할당되지 않을 수 있다. 이처럼 소정의 상기 anchoring 조건이 만족되었음에도 상기 특정 해시값이 할당된 노드의 형제 노드에 해시값이 할당되어 있지 않은 경우, 상기 인증 서버는, 상기 형제 노드에 소정의 해시값을 할당하거나 타 장치로 하여금 할당하도록 지원하여 전술한 방식으로 머클 트리의 루트값이 산출되도록 할 수 있다. 예를 들어, 상기 인증 서버는, 상기 특정 해시값을 복제하여 상기 형제 노드에 할당하거나 타 장치로 하여금 할당하도록 지원할 수 있다.In this case, however, a value may not be assigned to a sibling node of a node to which a specific hash value of the Merkle tree is assigned even after a predetermined time has elapsed. In this case, when a predetermined anchoring condition is satisfied and a hash value is not assigned to a sibling node of a node to which the specific hash value is assigned, the authentication server allocates a predetermined hash value to the sibling node or causes another device to make a hash value. The allocation may be supported so that the root value of the Merkle tree is calculated in the above-described manner. For example, the authentication server may duplicate the specific hash value and assign it to the sibling node or support another device to assign it.
또한, 상기 서비스 특성이란, 로그인 대행 서비스를 이용하는 엔티티(entity)들이 지급한 비용 정보, 상기 트랜잭션의 기록이 이루어지는 시간대 정보, 상기 기록이 이루어지는 지역 정보, 상기 기록에 관여한 서버의 관리 주체인 회사 타입 정보 중 적어도 일부가 될 수 있다. 다만, 여기에서 기재한 것에 한정되지는 않는다.In addition, the service characteristic is a company type that is a management entity of the server involved in the record, cost information paid by the entities using the login agent service, time zone information on which the transaction is recorded, area information on the record, and the server involved in the record. It can be at least part of the information. However, it is not limited to what was described here.
한편, 새로운 머클 트리의 생성이 시작되고, 트랜잭션의 수신이 없는 상태에서 적어도 하나의 상기 anchoring 조건이 만족되면, 상기 인증 서버는, 소정의 메시지 데이터가 첫 번째 리프 노드와 두 번째 리프 노드에 할당된 머클 트리를 생성하거나 타 장치로 하여금 생성하도록 지원하고, 상기 머클 트리의 루트값 또는 이를 가공한 값을 제2 블록체인 데이터베이스에 기록하거나 타 장치로 하여금 기록하도록 지원할 수 있다. 예컨대, 이 경우에는 리프 노드 2개짜리의 머클 트리가 생성될 수도 있을 것이다.On the other hand, if generation of a new Merkle tree is started and at least one anchoring condition is satisfied in the absence of receiving a transaction, the authentication server determines that predetermined message data is allocated to the first leaf node and the second leaf node. The Merkle Tree may be generated or supported by another device, and the root value or the processed value of the Merkle Tree may be recorded in the second blockchain database or the other device may be recorded. In this case, for example, a leaf tree of two leaf nodes may be generated.
한편, 전술한 것처럼 인증 서버가 상기 특정 해시값과 상기 적어도 하나의 이웃 해시값을 소정의 제1 데이터 구조로 저장하고, 이후 상기 제1 데이터 구조와 동일한 형태의 제2 데이터 구조를 저장하여 관리하는 경우, 상기 제1 데이터 구조와 상기 제2 데이터 구조는 체인 형태로 연결될 수 있다. 특히, 상기 제1 데이터 구조 및 상기 제2 데이터 구조가 머클 트리인 경우, 상기 제1 데이터 구조의 루트값 또는 상기 루트값의 해시값이 상기 제2 데이터 구조의 첫 번째 리프 노드에 할당될 수 있다.Meanwhile, as described above, the authentication server stores the specific hash value and the at least one neighboring hash value in a predetermined first data structure, and then stores and manages a second data structure having the same form as the first data structure. In this case, the first data structure and the second data structure may be connected in a chain form. In particular, when the first data structure and the second data structure are Merkle trees, a root value of the first data structure or a hash value of the root value may be allocated to the first leaf node of the second data structure. .
도 5은 본 발명에 따라 상기 제2 데이터 구조로서 생성된 머클 트리를 도시한 도면이다.5 illustrates a Merkle tree generated as the second data structure according to the present invention.
도 5을 참조하면, 도 4의 머클 트리(tree_id = 0)의 루트값(hex(h0123))이 새로운 머클 트리의 첫 번째 리프 노드(h4 노드)에 할당되었음을 알 수 있다. 본 발명은 이와 같이 트랜잭션 발생시에 생성되는 복수의 데이터 구조를 연결함으로써 중간에 데이터의 변조가 발생되는 경우라도 쉽게 트래킹이 가능하여 데이터의 무결성을 향상시키는 장점을 가진다.Referring to FIG. 5, it can be seen that the root value hex (h0123) of the merkle tree (tree_id = 0) of FIG. 4 is assigned to the first leaf node (h4 node) of the new merkle tree. The present invention has an advantage of easily tracking even when data modulation occurs in the middle by connecting a plurality of data structures generated when a transaction occurs, thereby improving the integrity of the data.
또한, 본 발명의 제2 실시예에 따른 인증서의 등록 방법은, 추가적으로, 주기적으로(periodically) 또는 무결성 검증 요청에 응하여, 상기 인증 서버가, 상기 제1 블록체인 데이터베이스에 기록된 적어도 하나의 트랜잭션 - 상기 트랜잭션은, (i) 특정 서버 인증서의 정보 또는 이를 가공한 값인 특정 서버 인증서 등록 트랜잭션, (ii) 특정 애플리케이션 인증서의 정보 또는 이를 가공한 값인 특정 애플리케이션 인증서 등록 트랜잭션, 및 (iii) 특정 인증 결과 메시지 또는 이를 가공한 값인 특정 인증 결과 트랜잭션을 포함하는 트랜잭션들 중의 하나임 - 의 해시값과 매칭되는 적어도 하나의 상기 이웃 해시값을 함께 해시 연산함으로써 생성되는 제1 대표 해시값 또는 상기 제1 대표 해시값을 가공한 값을 이에 대응되는 상기 제2 블록체인 데이터베이스에 기록된 제2 대표 해시값 또는 상기 제2 대표 해시값을 가공한 값과 일치하는지를 검증함으로써 상기 트랜잭션의 무결성(integrity)을 검증하거나 상기 인증 서버에 연동되는 타 장치로 하여금 검증하도록 지원하는 단계(미도시)를 더 포함할 수 있다.In addition, the certificate registration method according to the second embodiment of the present invention, in addition, periodically or in response to the integrity verification request, the authentication server, at least one transaction recorded in the first blockchain database- The transaction may include (i) a specific server certificate registration transaction, which is information of a specific server certificate or a processed value thereof, (ii) a specific application certificate registration transaction, which is information of a specific application certificate or a processed value thereof, and (iii) a specific authentication result message. Or a first representative hash value or the first representative hash value generated by hashing together at least one neighboring hash value that matches one of the transactions including a specific authentication result transaction that is a processed value. The processed value is recorded in the second blockchain database corresponding thereto. 2) verifying the integrity of the transaction by verifying whether the representative hash value or the second representative hash value matches a processed value or supporting another device interworking with the authentication server (not shown) It may further include.
일 예시로서, 상기 제1 및 제2 블록체인 데이터베이스는 블록체인 데이터베이스일 수 있다. 이때, 상기 제1 블록체인 데이터베이스가 프라이빗(private) 블록체인 데이터베이스이고, 상기 제2 블록체인 데이터베이스가 퍼블릭(public) 블록체인 데이터베이스일 수 있다.As an example, the first and second blockchain databases may be blockchain databases. In this case, the first blockchain database may be a private blockchain database, and the second blockchain database may be a public blockchain database.
다만, 이에 한정되지 않으며, 통상의 기술자는 상기 제1 블록체인 데이터베이스가 프라이빗 블록체인 데이터베이스 또는 퍼블릭 블록체인 데이터베이스일 수 있으며, 마찬가지로 상기 제2 블록체인 데이터베이스가 프라이빗 블록체인 데이터베이스와 퍼블릭 블록체인 데이터베이스 중의 어느 하나일 수 있다는 점을 잘 이해할 수 있을 것이다.However, the present disclosure is not limited thereto, and a person skilled in the art may refer to the first blockchain database as a private blockchain database or a public blockchain database. Likewise, the second blockchain database may be any one of a private blockchain database and a public blockchain database. You can understand that it can be one.
다음으로, 제2 실시예에 따른 임시 ID 로그인 대행 방법이 설명될 것인바, 전술한 제1 실시예에서와 동일한 기술적 특징은 반복하여 설명하지 않고, 차이점만을 구체적으로 설명하기로 한다.Next, the temporary ID login proxy method according to the second embodiment will be described. The same technical features as in the above-described first embodiment will not be repeatedly described, and only differences will be described in detail.
도 3을 참조하면, 제1 실시예에 관하여 전술한 단계(S310 내지 S330)는, 본 발명의 제2 실시예에 따른 임시 ID 로그인 대행 방법에서는, 사용자 단말에 의하여 실행되는 제2 애플리케이션의 인증서인 애플리케이션 인증서의 정보 또는 이를 가공한 값인 애플리케이션 인증서 등록 트랜잭션의 해시값인 특정 해시값과 매칭되는 적어도 하나의 이웃 해시값 - 상기 이웃 해시값은, (i) 특정 애플리케이션 인증서의 정보 또는 이를 가공한 값인 특정 애플리케이션 인증서 등록 트랜잭션의 해시값 및 (ii) 특정 인증 결과 메시지 또는 이를 가공한 값인 특정 인증 결과 트랜잭션의 해시값을 포함하는 해시값들 중 적어도 하나임 - 을 함께 해시 연산함으로써 생성되는 대표 해시값 또는 상기 대표 해시값을 가공한 값이 소정의 블록체인 데이터베이스에 기록되어 있는 상태에서 수행된다. 한편, 상기 애플리케이션 인증서가 유효한지 여부는 상기 인증 서버에 의하여 상기 소정의 블록체인 데이터베이스를 참조로 하여 판정된다.Referring to FIG. 3, steps S310 to S330 described above with respect to the first embodiment may be a certificate of a second application executed by a user terminal in the temporary ID login proxy method according to the second embodiment of the present invention. At least one neighbor hash value that matches the information of the application certificate or a specific hash value that is a hash value of an application certificate registration transaction that is a processed value-The neighbor hash value is (i) a specific application certificate or a processed value A representative hash value generated by hashing together a hash value of an application certificate enrollment transaction and (ii) a hash value of a particular authentication result message or a hash value of a particular authentication result transaction that is a truncated value thereof. The hash value is stored in a predetermined blockchain database. Performed in the womb. On the other hand, whether the application certificate is valid or not is determined by the authentication server with reference to the predetermined blockchain database.
또한 제2 실시예에 따른 다중 서명 로그인 대행 방법과 유사하게 제2 실시예에 따른 임시 ID 로그인 대행 방법은, 상기 인증 서버가, (A) 상기 인증 결과 메시지 또는 이를 가공한 값을 인증 결과 트랜잭션으로서 상기 제1 블록체인 데이터베이스에 기록하거나 상기 인증 서버에 연동되는 타 장치로 하여금 기록하도록 지원하는 프로세스, 및 (B) 적어도 하나의 anchoring 조건이 만족되면, 상기 인증 결과 트랜잭션의 해시값인 특정 해시값과 매칭되는 적어도 하나의 이웃 해시값 - 상기 이웃 해시값은, (i) 특정 애플리케이션 인증서의 정보 또는 이를 가공한 값인 특정 애플리케이션 인증서 등록 트랜잭션의 해시값 및 (ii) 특정 인증 결과 메시지 또는 이를 가공한 값인 특정 인증 결과 트랜잭션의 해시값 중 적어도 하나를 포함함 - 을 함께 해시 연산함으로써 생성되는 대표 해시값 또는 상기 대표 해시값을 가공한 값을 상기 제2 블록체인 데이터베이스에 기록하거나 상기 인증 서버에 연동되는 타 장치로 하여금 기록하도록 지원하고, 상기 대표 해시값 또는 상기 대표 해시값을 가공한 값이 상기 제2 블록체인 데이터베이스에 기록된 위치 정보인 트랜잭션 ID를 획득하는 프로세스를 수행하는 단계(미도시)를 더 포함할 수 있다. In addition, similar to the multi-signature login agent method according to the second embodiment, the temporary ID login agent method according to the second embodiment includes (A) the authentication result message or a value processed by the authentication server as an authentication result transaction. A process for supporting recording by the other device linked to the first blockchain database or interworking with the authentication server, and (B) a specific hash value which is a hash value of the authentication result transaction if at least one anchoring condition is satisfied; At least one neighboring hash value matched, wherein the neighboring hash value is (i) a hash value of a specific application certificate enrollment transaction that is information of, or a processed value of, a particular application certificate registration transaction; Contains at least one of the hash values of the authentication result transaction. The representative hash value or the processed value of the representative hash value is recorded in the second blockchain database or supported by another device linked to the authentication server, and the representative hash value or the representative hash value is processed. The method may further include performing a process of obtaining a transaction ID, which is position information recorded in the second blockchain database (not shown).
제2 실시예에 따른 다중 서명 로그인 대행 방법에서와 달리 제2 실시예에 따른 임시 ID 로그인 대행 방법에서는 이웃 해시값에 특정 서버 인증서의 정보 또는 이를 가공한 값인 특정 서버 인증서 등록 트랜잭션이 필수적으로 포함되는 것은 아닐 것인바, 이는 서버 인증서가 반드시 이용되는 것은 아니기 때문이다. 이와 같은 차이점을 제외하면 제2 실시예에 따른 다중 서명 로그인 대행 방법에서 설명했던 내용이 제2 실시예에 따른 임시 ID 로그인 대행 방법에도 적용될 수 있다.Unlike the multi-signature login agent method according to the second embodiment, the temporary ID login agent method according to the second embodiment essentially includes a specific server certificate registration transaction, which is information of a specific server certificate or a processed value, in a neighbor hash value. This may not be because server certificates are not necessarily used. Except for this difference, the contents described in the multi-signature login agent method according to the second embodiment may be applied to the temporary ID login agent method according to the second embodiment.
제3 실시예Third embodiment
다음으로, 본 발명에 따른 로그인 대행 방법에 관한 제3 실시예를 설명한다. 아래에서는 전술한 제1 실시예와 상이한 제3 실시예의 기술적 특징만을 설명하기로 한다.Next, a third embodiment of the login proxy method according to the present invention will be described. Hereinafter, only technical features of the third embodiment different from the above-described first embodiment will be described.
제3 실시예에 따른 방법은 스마트 컨트랙트를 이용하여 수행된다. 이 스마트 컨트랙트는 실행 가능한 바이트 코드로 컴파일되어 인증 서버 또는 상기 인증 서버에 연동되는 타 장치를 포함하는 복수의 컴퓨팅 장치 상에서 실행될 수 있는 소스 코드이고, 상기 실행 시에 특정 조건이 만족되면 미리 정해진 절차를 수행하도록 구성되며, 상기 실행의 결과인 실행 결과값의 무결성(integrity)은 상기 복수의 컴퓨팅 장치로부터 산출된 상기 실행 결과값에 대한 합의(consensus)에 의하여 검증된다.The method according to the third embodiment is performed using a smart contract. The smart contract is source code that can be compiled on executable bytecode and executed on a plurality of computing devices including an authentication server or other devices linked to the authentication server. Configured to perform, the integrity of the execution result that is the result of the execution is verified by consensus on the execution result calculated from the plurality of computing devices.
상기 스마트 컨트랙트 기반의 인증서의 정보는, (i) 상기 PKI(public key infrastructure) 기반 암호화 방식으로 생성된 공개키(public key) PubA, 및 (ii) 상기 인증서의 유효 조건 VcertA에 대응되는 스마트 컨트랙트 SC(VcertA)가 컴파일(compile)된 결과인 바이트 코드 BC(SC(VcertA))를 포함한다. 상기 스마트 컨트랙트 기반의 인증서의 정보에는 (iii) 상기 인증서의 이용 주체를 식별하기 위한 식별 정보를 해시 연산한 결과값인 식별 정보 해시값 IdhashA이 더 포함할 수도 있다. 또한, 상기 스마트 컨트랙트 기반의 인증서의 정보에는 상기 PKI 기반 암호화 방식의 종류 및 상기 해시 연산의 종류 중 적어도 하나를 특정하기 위한 정보로서 암호화 유형(crypto type), 라이선스 키(license key), 라이선스 수준(license level)과 같은 추가적인 정보 중 적어도 하나가 더 포함될 수도 있다.The information on the smart contract-based certificate includes (i) a public key PubA generated by the public key infrastructure (PKI) -based encryption scheme, and (ii) a smart contract SC corresponding to the valid condition VcertA of the certificate. Contains the byte code BC (SC (VcertA)), which is the result of (VcertA) being compiled. The information on the smart contract-based certificate may further include an identification information hash value IdhashA which is a result of hashing identification information for identifying a subject of the certificate. The information on the smart contract-based certificate may include encryption type, license key, and license level as information for specifying at least one of the type of the PKI-based encryption scheme and the type of the hash operation. At least one of additional information such as a license level may be further included.
이와 같은 인증서의 정보는, 인증서의 이용 주체에 대응되는 공개키(public key) PubA, 인증서의 이용 주체를 식별하기 위한 식별 정보를 해시 연산한 결과값인 식별 정보 해시값 IdhashA, 및 상기 인증서의 유효 조건 VcertA를 획득(S205 및 S210)한 인증 서버 또는 타 장치가, 상기 유효 조건에 대응되는 스마트 컨트랙트 SC(VcertA)를 생성하고, 상기 스마트 컨트랙트를 컴파일(compile)하여 그 결과인 바이트 코드 BC(SC(VcertA))를 생성함으로써 얻어진 것일 수 있다.The information of the certificate includes the public key PubA corresponding to the subject of the certificate, the identification information hash value IdhashA which is a result of hashing the identification information for identifying the subject of the certificate, and the validity of the certificate. The authentication server or other device that obtains the condition VcertA (S205 and S210) generates a smart contract SC (VcertA) corresponding to the valid condition, compiles the smart contract, and as a result, the byte code BC (SC). (VcertA)).
이 제3 실시예에서 상기 서비스 제공 서버의 인증서인 서버 인증서 및 사용자 단말에 의하여 실행되는 인증 애플리케이션의 인증서인 애플리케이션 인증서는 상기 스마트 컨트랙트 기반의 인증서일 수 있다.In this third embodiment, a server certificate which is a certificate of the service providing server and an application certificate which is a certificate of an authentication application executed by the user terminal may be the smart contract-based certificate.
구체적으로, 다시 도 2를 참조하면, 제1 실시예에 관하여 전술한 단계(S210, S215)는, 본 발명의 제3 실시예에 따른 다중 서명 로그인 대행 방법에서는, 상기 서버 인증서의 정보 또는 이를 가공한 값인 서버 인증서 등록 트랜잭션 또는 상기 애플리케이션 인증서의 정보 또는 이를 가공한 값인 애플리케이션 인증서 등록 트랜잭션이 상기 블록체인 데이터베이스에 기록되어 있고, 상기 서버 인증서 및 상기 애플리케이션 인증서의 상기 스마트 컨트랙트 SC(VcertA)의 실행 파라미터인 상태 S(SC(VcertA))가 상태 데이터베이스(state database) SDB에 등록되어 있는 상태에서 수행된다. 상기 스마트 컨트랙트를 포함하는 서버 인증서 및 애플리케이션 인증서가 최초 기록되는 때에는 상기 S(SC(VcertA))는 소정의 초기 상태(initial state)로 설정되어 상태 데이터베이스에 기록될 것이다. 여기에서 상기 초기 상태라고 함은, 상기 유효 조건의 만족 여부를 판단하기 위하여 인증서에 대하여 최초로 주어지는 상태를 의미하는바, 예컨대 도 7의 스마트 컨트랙트에 대응되는 초기 상태는 counter = 10일 것이다. Specifically, referring back to FIG. 2, the steps S210 and S215 described above with respect to the first embodiment may include processing the information of the server certificate or the same in the multi-signature login agent method according to the third embodiment of the present invention. One value is a server certificate registration transaction or information of the application certificate or an application certificate registration transaction, which is a processed value, is recorded in the blockchain database, and is an execution parameter of the smart contract SC (VcertA) of the server certificate and the application certificate. The state S (SC (VcertA)) is performed in the state registered in the state database SDB. When the server certificate and the application certificate including the smart contract are initially recorded, the S (SC (VcertA)) will be set to a predetermined initial state and recorded in the state database. Here, the initial state means a state that is first given to the certificate in order to determine whether the validity condition is satisfied. For example, an initial state corresponding to the smart contract of FIG. 7 may be counter = 10.
이후, 단계(S230, S235)에서 상기 인증 서버는 상기 서버 인증서 및 상기 애플리케이션 인증서가 유효한지 여부를 판정함에 있어서 소정의 블록체인 데이터베이스 및 상기 상태 데이터베이스를 참조한다. 그 구체적인 의미는, (i) 상기 소정의 블록체인 데이터베이스를 참조로 하여 획득된 상기 서버 인증서 등록 트랜잭션, (ii) 상기 애플리케이션 인증서 등록 트랜잭션, (iii) 상기 상태 데이터베이스로부터 획득된 상기 서버 인증서 및 상기 애플리케이션 인증서 각각의 스마트 컨트랙트의 기존 실행 결과값 및 (iv) 이들의 새로운 실행 결과값을 참조하여 상기 서버 인증서 및 상기 애플리케이션 인증서가 유효한지 여부를 판정한다는 것이다. 상기 소정의 블록체인 데이터베이스를 참조하기 위하여 상기 인증 서버는 상기 서버 인증서 등록 트랜잭션 및 애플리케이션 인증서 등록 트랜잭션 각각의 등록 시에 획득되었던 상기 서버 인증서 등록 트랜잭션 및 애플리케이션 인증서 등록 트랜잭션 각각이 상기 소정의 블록체인 데이터베이스에 등록된 위치를 참조하는 트랜잭션 위치 식별자를 이용할 수도 있다. 인증서의 유효 여부 판정에 관한 더 구체적인 설명은 인증 서버와 관련하여 후술하기로 한다.여기에서 상기 인증서의 유효 조건 VcertA은, 상기 스마트 컨트랙트에 의하여 획득될 수 있는 정보에 기초한 조건이면 어느 것이나 포함될 수 있을 것이나, 몇 가지 예시를 들자면, (i) 상기 이용 주체의 특징에 관한 정보, (ii) 상기 인증서의 사용 시의 날씨 정보, (iii) 상기 인증서의 사용 시의 날짜 정보, (v) 특정 타인의 상기 인증서 사용에 관한 승낙으로서 획득되는 정보, 및 (iv) 미리 정해진 상기 인증서의 사용 횟수 제한에 관한 정보 중 적어도 하나에 기초한 조건일 수 있다. 여기에서 이용 주체의 특징에 관한 정보라고 함은, 예컨대 이용 주체가 개인인 경우에 그 개인의 성별, 키, 나이 등과 같은 정보를 의미하는바, 이는 스마트 컨트랙트를 실행하는 컴퓨팅 장치 상에서 다양한 소스로부터 획득될 수 있다. 심지어 상기 스마트 컨트랙트 내에 포함될 수도 있을 것이다. 또한, 상기 인증서의 사용 시의 날짜 정보도 인터넷 웹 사이트 등에서 제공하는 등의 데이터로서 획득될 수 있는바, 상기 (i) 내지 (iv)의 정보들 모두는 상기 스마트 컨트랙트를 실행하는 복수의 컴퓨팅 장치 상에서 다양한 소스로부터 획득될 수 있는 것이다.Thereafter, in steps S230 and S235, the authentication server refers to a predetermined blockchain database and the state database in determining whether the server certificate and the application certificate are valid. The specific meaning thereof is (i) the server certificate registration transaction obtained with reference to the predetermined blockchain database, (ii) the application certificate registration transaction, (iii) the server certificate and the application obtained from the state database. The existing execution result of each smart contract and (iv) their new execution result is referred to to determine whether the server certificate and the application certificate are valid. In order to refer to the predetermined blockchain database, the authentication server is further configured to store the server certificate registration transaction and the application certificate registration transaction, which were obtained at the time of registration of each of the server certificate registration transaction and the application certificate registration transaction, in the predetermined blockchain database. It is also possible to use transaction location identifiers that refer to registered locations. A more detailed description of the validity of the certificate will be described later with reference to the authentication server. Here, the valid condition VcertA of the certificate may include any condition based on information that can be obtained by the smart contract. Some examples include (i) information about the characteristics of the subject, (ii) weather information when using the certificate, (iii) date information when using the certificate, and (v) It may be a condition based on at least one of the information obtained as the acceptance of the use of the certificate, and (iv) information on the limit on the number of times of use of the certificate predetermined. Herein, the information on the characteristics of the user means, for example, information such as the gender, height, age, etc. of the individual when the user is an individual, which is obtained from various sources on a computing device executing a smart contract. Can be. It may even be included in the smart contract. In addition, the date information at the time of use of the certificate may also be obtained as data such as provided by an Internet web site, etc. All of the information of (i) to (iv) may be a plurality of computing devices for executing the smart contract. Can be obtained from a variety of sources.
이러한 상기 유효 조건 VcertA에 따라 상기 스마트 컨트랙트가 구성되어 있는 예시는 도 6 및 7에 도시되어 있는바, 도 6 및 7은 각각 상기 인증서의 사용 횟수를 initNumber와 10회로 제한하고 있는 상기 스마트 컨트랙트(소스 코드)를 예시적으로 도시한 도면이다.An example in which the smart contract is configured according to the valid condition VcertA is illustrated in FIGS. 6 and 7, wherein FIGS. 6 and 7 respectively limit the number of times of use of the certificate to initNumber and 10, respectively. Is a diagram illustrating the code).
도 6 또는 7을 참조하면, 상기 유효 조건이 인증서의 사용 횟수가 initNumber 또는 10회로 제한된다는 조건인 스마트 컨트랙트의 소스 코드가 개시되어 있다. useCounter는 스마트 컨트랙트에 부여된 임의의 제목(title)을 의미하며, 사용 횟수를 계수하는 카운터의 상태에 해당되는 것이 int counter;로 지정된 명령어이며, 일회 실행 후에 counter -= 1;이라는 명령어에 의하여 변화된 카운터의 상태가 return counter;라는 명령어에 의하여 반환된다. 6 or 7, a source code of a smart contract is disclosed in which the validity condition is a condition that the number of use of a certificate is limited to initNumber or 10 times. useCounter means an arbitrary title given to the smart contract, and the command corresponding to the state of the counter that counts the number of use is designated as int counter; and changed by the command counter-= 1; after one execution. The status of the counter is returned by the command return counter;
이러한 스마트 컨트랙트는 바이트 코드로 변환되어 퍼블릭 블록체인 데이터베이스를 구성하는 다수 컴퓨팅 장치들(“노드”들이라고 지칭함)에 의하여 실행되는 것을 의도한 것인바, 그 각각의 실행 결과는 합의 알고리즘(consensus algorithm)에 의하여 그 실행 결과들 중 최다수를 차지하는 실행 결과가 진정한 실행 결과로 검증될 수 있다. 요컨대, 스마트 컨트랙트의 실행 결과의 무결성은 상기 노드들로부터 산출된 상기 실행 결과값에 대한 합의(consensus)에 의하여 검증되는 것임을 통상의 기술자가 이해할 수 있을 것이다. 물론, 경우에 따라 노드는 한 개일 수도 있으며, 이 경우 하나의 컴퓨팅 장치가 이와 같은 합의에 준하는 검증 결과를 출력할 수도 있을 것이다.These smart contracts are intended to be executed by a number of computing devices (called "nodes") that are converted to bytecode and constitute a public blockchain database, each of which results in a consensus algorithm. By doing so, the execution result which occupies the most of the execution results can be verified as the true execution result. In sum, one of ordinary skill in the art will appreciate that the integrity of the execution result of a smart contract is verified by consensus on the execution result calculated from the nodes. Of course, in some cases, there may be one node, and in this case, one computing device may output verification results based on such an agreement.
참고로, 도 7에 도시된 스마트 컨트랙트가 컴파일된 결과인 바이트 코드의 예시는 아래와 같다:For reference, an example of byte code resulting from the compilation of the smart contract shown in FIG. 7 is as follows:
60606040525b600a6000600050819055505b607e80601d6000396000f360606040526000357c010000000000000000000000000000000000000000000000000000000090048063d732d955146039576035565b6002565b60446004805050605a565b6040518082815260200191505060405180910390f35b6000600160006000828282505403925050819055506000600050549050607b565b9056.60606040525b600a6000600050819055505b607e80601d6000396000f360606040526000357c010000000000000000000000000000000000000000000000000000000090048063d732d955146039576035565b6002565b60446004805050605a565b6040518082815260200191505060405180910390f35b5506001600060008282825055059205050
이제 본 발명의 제3 실시예에 따른 다중 서명 로그인 대행 방법의 단계(S230, S235)에서 상기 인증 서버가 상기 서버 인증서 및 상기 애플리케이션 인증서가 유효한지 여부를 판정하는 방식을 구체적으로 설명한다. 제3 실시예에 따른 다중 서명 로그인 대행 방법의 단계(S230, S235)는, 제1 실시예에서와 마찬가지로 상기 인증 서버가, 상기 서버 인증서의 공개키 및 상기 애플리케이션 인증서의 공개키를 이용하여 상기 다중 서명값의 서명을 검증하는 단계를 포함한다. 그 후, 상기 단계(S230, S235)는, 상기 다중 서명값의 서명이 유효한 것으로 검증되면, 상기 인증 서버가, (i) 상기 서버 인증서에 포함된 상기 스마트 컨트랙트인 서버 인증서 스마트 컨트랙트의 상태 S1를 실행 파라미터로 하여 상기 서버 인증서 스마트 컨트랙트의 바이트 코드 BC1를 실행하거나 상기 인증 서버에 연동되는 타 장치로 하여금 실행하도록 지원함으로써 상기 서버 인증서 스마트 컨트랙트의 실행 결과값을 획득하고, 상기 서버 인증서 스마트 컨트랙트의 실행 결과값을 참조로 하여 상기 서버 인증서가 유효한지 여부를 판정하는 프로세스, 및 (ii) 상기 애플리케이션 인증서에 포함된 상기 스마트 컨트랙트인 애플리케이션 인증서 스마트 컨트랙트의 상태 S2를 실행 파라미터로 하여 상기 애플리케이션 인증서 스마트 컨트랙트의 바이트 코드 BC2를 실행하거나 상기 인증 서버에 연동되는 타 장치로 하여금 실행하도록 지원함으로써 상기 애플리케이션 인증서 스마트 컨트랙트의 실행 결과값을 획득하고, 상기 애플리케이션 인증서 스마트 컨트랙트의 실행 결과값을 참조로 하여 상기 애플리케이션 인증서가 유효한지 여부를 판정하는 프로세스를 수행하는 단계(미도시)를 더 포함한다.Now, in step S230 and S235 of the multi-signature login agent method according to the third embodiment of the present invention, a method of determining whether the server certificate and the application certificate are valid will be described in detail. Steps S230 and S235 of the multi-signature login proxy method according to the third embodiment are performed by the authentication server using the public key of the server certificate and the public key of the application certificate as in the first embodiment. Verifying the signature of the signature value. Thereafter, the step S230, S235, if the signature of the multi-signature value is verified to be valid, the authentication server, (i) the state S1 of the server certificate smart contract that is the smart contract included in the server certificate By executing the byte code BC1 of the server certificate smart contract as an execution parameter or by supporting other devices interworking with the authentication server, the execution result of the server certificate smart contract is obtained, and the execution of the server certificate smart contract A process of determining whether the server certificate is valid with reference to a result value, and (ii) the application certificate smart contract using the state S2 of the application certificate smart contract that is the smart contract included in the application certificate as an execution parameter. Byte code BC2 The execution certificate of the application certificate smart contract by obtaining a value of the execution certificate of the application certificate smart contract by executing or by allowing other devices linked to the authentication server to execute, and whether the application certificate is valid with reference to the execution result value of the application certificate smart contract. And performing a process of determining (not shown).
여기에서 (i) 프로세스는 상기 서버 인증서가 유효한지 여부를 판정하는 프로세스이고 (ii) 프로세스는 상기 애플리케이션 인증서가 유효한지 여부를 판정하는 프로세스라는 점에서 서로 대응되므로 아래에서는 (i) 프로세스를 기준으로 설명한다.Here, (i) the processes correspond to each other in that the process of determining whether the server certificate is valid and (ii) the process of determining whether the application certificate is valid. Explain.
(i) 프로세스에 있어서 서버 인증서 스마트 컨트랙트의 상태 S1를 실행 파라미터로 하여 상기 서버 인증서 스마트 컨트랙트의 바이트 코드 BC1를 실행하고, 상기 서버 인증서 스마트 컨트랙트의 실행 결과값을 참조로 하여 상기 서버 인증서가 유효한지 여부를 판정한다는 의미를 도 6 및 7의 예시를 들어 설명하면, 실행 직전의 상태에 해당되는 인증서의 남은 사용 횟수로서, 0 이상인 정수 counter가 상태 S1인 실행 파라미터를 예시로 들 수 있다. 만약 그 남은 사용 횟수 counter가 0이라면, 더 이상 인증서를 이용할 수 없는 것이므로 이를 실행 파라미터로 하여 상기 바이트 코드 BC1를 실행함으로써, 인증되지 않았다는 실행 결과값, 예컨대 counter=-1를 얻거나, 대안으로서(alternatively) 상기 바이트 코드 BC1를 실행하지 않고도 인증될 수 없다는 기존의 실행 결과값을 상태 데이터베이스로부터 얻을 수 있을 것이다. 이외에도 다양한 조건의 실행 파라미터에 기초하여 실행 결과값을 산출해냄으로써 그 실행 결과값을 참조로 하여 인증서가 유효한지 여부를 판정할 수 있게 하는 많은 스마트 컨트랙트가 있을 수 있다.(i) In the process, the byte code BC1 of the server certificate smart contract is executed using the state S1 of the server certificate smart contract as an execution parameter, and the server certificate is valid with reference to the execution result value of the server certificate smart contract. 6 and 7, the meaning of determining whether or not to determine whether the remaining number of use of the certificate corresponding to the state immediately before the execution is an example of an execution parameter in which the integer counter of 0 or more is state S1. If the remaining usage counter is 0, since the certificate is no longer available, the byte code BC1 is executed with this execution parameter, so that an execution result value, for example counter = -1, which is not authenticated is obtained, or alternatively ( alternatively) an existing result of execution may be obtained from the state database that it cannot be authenticated without executing the byte code BC1. In addition, there can be many smart contracts that can determine whether a certificate is valid by referring to the execution result value by calculating the execution result value based on execution parameters of various conditions.
전술한 바와 같이 인증서가 이용된 후, 본 발명의 제3 실시예에 따른 다중 서명 로그인 대행 방법은, 단계(S250) 후에, 상기 인증 서버가, (i) 상기 인증 결과 메시지 또는 이를 가공한 값을 인증 결과 트랜잭션으로서 상기 블록체인 데이터베이스에 기록하거나 상기 인증 서버에 연동되는 타 장치로 하여금 기록하도록 지원하는 프로세스 및 (ii) 상기 실행의 결과로서 획득된 상기 실행 결과값을 참조하여 상기 상태 데이터베이스의 상기 상태 S(SC(VcertA))를 새로운 상태 S’(SC(VcertA))로서 상기 상태 데이터베이스에 업데이트하여 등록하거나 타 장치로 하여금 등록하도록 지원하는 프로세스를 수행하는 단계(미도시)를 더 포함할 수 있다.After the certificate is used as described above, the multi-signature login agent method according to the third embodiment of the present invention, after step (S250), the authentication server, (i) the authentication result message or the value processed therein A process of recording to the blockchain database as an authentication result transaction or allowing other devices linked to the authentication server to record; and (ii) the state of the state database with reference to the execution result value obtained as a result of the execution. The method may further include updating and registering S (SC (VcertA)) as the new state S '(SC (VcertA)) in the state database or performing a process of supporting another device to register (not shown). .
또한, 본 발명의 제2 실시예에 다른 인증서의 등록 방법은, 제1 실시예에서와 같이 특정 서버 인증서 등록 트랜잭션, 특정 애플리케이션 인증서 등록 트랜잭션, 특정 인증 결과 트랜잭션의 무결성을 검증하는 단계를 포함할 수 있을 뿐만 아니라, 추가적으로, 주기적으로(periodically) 또는 무결성 검증 요청에 응하여, 상기 인증 서버가, 상기 상태 데이터베이스에 기록된 개별 스마트 컨트랙트의 실행 결과값을 참조함으로써 상기 실행 결과값의 무결성을 검증하거나 상기 인증 서버에 연동되는 타 장치로 하여금 검증하도록 지원하는 단계(미도시)를 더 포함할 수 있다.In addition, a method of registering a certificate according to the second embodiment of the present invention may include verifying the integrity of a specific server certificate registration transaction, a specific application certificate registration transaction, and a specific authentication result transaction as in the first embodiment. In addition, periodically or in response to an integrity verification request, the authentication server verifies the integrity or executes the integrity of the execution result by referring to the execution result of the respective smart contract recorded in the state database. The method may further include supporting another device interworking with the server to verify.
다음으로, 제3 실시예에 따른 임시 ID 로그인 대행 방법을 설명한다. 도 3을 참조하면, 제1 실시예의 임시 ID 로그인 대행 방법에 관하여 전술한 단계(S310 내지 S330)는, 본 발명의 제3 실시예에 따른 임시 ID 로그인 대행 방법에서는, 상기 애플리케이션 인증서의 정보 또는 이를 가공한 값인 애플리케이션 인증서 등록 트랜잭션이 상기 블록체인 데이터베이스에 기록되어 있고, 상기 애플리케이션 인증서의 상기 스마트 컨트랙트 SC(VcertA)의 실행 파라미터인 상태 (S(SC(VcertA))가 상태 데이터베이스(state database) SDB에 등록되어 있는 상태에서 수행된다. 한편, 상기 애플리케이션 인증서가 유효한지 여부는 상기 인증 서버에 의하여 상기 블록체인 데이터베이스 및 상기 상태 데이터베이스를 참조로 하여 판정된다.Next, the temporary ID login proxy method according to the third embodiment will be described. Referring to FIG. 3, the above-described steps S310 to S330 regarding the temporary ID login proxy method of the first embodiment may include information on the application certificate or the same in the temporary ID login proxy method according to the third embodiment of the present invention. An application certificate registration transaction, which is a processed value, is recorded in the blockchain database, and a state (S (SC (VcertA)), which is an execution parameter of the smart contract SC (VcertA) of the application certificate, is stored in a state database SDB. On the other hand, whether the application certificate is valid or not is determined by the authentication server with reference to the blockchain database and the state database.
이 상기 애플리케이션 인증서가 유효한지 여부를 판정하는 방식은 스마트 컨트랙트 기반의 판정 방식에 관하여 제3 실시예에 따른 다중 서명 로그인 대행 방법에 관하여 설명한 내용으로 갈음한다. The method for determining whether the application certificate is valid is replaced with the description regarding the multi-signature login proxy method according to the third embodiment with respect to the smart contract-based decision method.
한편, 전술한 본 발명의 모든 실시예들은 서로 독립적으로 실시될 수 있지만, 서로 조합하여 실시될 수도 있다는 점을 통상의 기술자가 이해할 수 있을 것이다. 예를 들어, 제2 실시예에 따른 다중 서명 로그인 대행 방법은 제3 실시예에 따른 다중 서명 로그인 대행 방법과 조합하여 실시될 수 있다. 이 경우에, 하나의 예시로서, 제3 실시예의 블록체인 데이터베이스(제1 블록체인 데이터베이스)에 기록된 개별 트랜잭션의 해시값과 상태 데이터베이스에 기록된 값의 해시값으로부터 머클 트리가 구성될 수도 있을 것이며, 그 머클 트리의 대표 해시값이 제2 실시예에 따른 제2 블록체인 데이터베이스에 기록될 수 있다. 이와 같은 앵커링을 통하여 추후에 제1 블록체인 데이터베이스에 기록된 정보를 이용하여 생성한 해시값과 제2 블록체인 데이터베이스에 기록된 대표 해시값을 상호 비교함으로써 제1 블록체인 데이터베이스에 기록된 내용의 무결성이 검증될 수 있을 것이다.On the other hand, all the embodiments of the present invention described above may be implemented independently of one another, it will be understood by those skilled in the art that may be implemented in combination with each other. For example, the multi-signature login agent method according to the second embodiment may be implemented in combination with the multi-signature login agent method according to the third embodiment. In this case, as an example, the Merkle tree may be constructed from the hash values of the individual transactions recorded in the blockchain database (first blockchain database) of the third embodiment and the values recorded in the state database. The representative hash value of the Merkle tree may be recorded in the second blockchain database according to the second embodiment. Through such anchoring, the integrity of the contents recorded in the first blockchain database is compared by comparing the hash value generated using the information recorded in the first blockchain database with the representative hash value recorded in the second blockchain database. This can be verified.
지금까지 설명한 본 발명의 모든 실시예들에 걸쳐, 종래의 OAuth에 비하여 보안성과 사용성이 강화되면서도 블록체인 데이터베이스를 이용하여 인증서의 위변작이 불가능하게 되는 효과가 있다.Through all the embodiments of the present invention described so far, there is an effect that the forgery of the certificate is impossible using the blockchain database, while enhancing security and usability compared to the conventional OAuth.
상기 실시예들로서 여기에서 설명된 기술의 이점은, 공개키, 해시값 등의 인증 관련 정보의 위변작이 사실상 불가능하게 됨으로써 인증서의 신뢰성이 보장되고, 블록체인 데이터베이스를 이용함으로써 인증 관련 트랜잭션에 관한 검증을 수행함으로써 그 무결성이 보장된다는 점이다.As the above embodiments, the advantage of the technique described herein is that the forgery of authentication related information such as public key, hash value, etc. is virtually impossible, thereby ensuring the authenticity of the certificate, and verifying the authentication related transaction by using the blockchain database. By doing this, the integrity is guaranteed.
위 실시예의 설명에 기초하여 통상의 기술자는, 본 발명이 소프트웨어 및 하드웨어의 결합을 통하여 달성되거나 하드웨어만으로 달성될 수 있다는 점을 명확하게 이해할 수 있다. 본 발명의 기술적 해법의 대상물 또는 선행 기술들에 기여하는 부분들은 다양한 컴퓨터 구성요소를 통하여 수행될 수 있는 프로그램 명령어의 형태로 구현되어 컴퓨터 판독 가능한 기록 매체에 기록될 수 있다. 상기 컴퓨터 판독 가능한 기록 매체는 프로그램 명령어, 데이터 파일, 자료 구조 등을 단독으로 또는 조합하여 포함할 수 있다. 상기 컴퓨터 판독 가능한 기록 매체에 기록되는 프로그램 명령어는 본 발명을 위하여 특별히 설계되고 구성된 것들이거나 통상의 기술자에게 공지되어 사용 가능한 것일 수도 있다. 컴퓨터 판독 가능한 기록 매체의 예에는, 하드 디스크, 플로피 디스크 및 자기 테이프와 같은 자기 매체, CD-ROM, DVD와 같은 광기록 매체, 플롭티컬 디스크(floptical disk)와 같은 자기-광 매체(magneto-optical media), 및 ROM, RAM, 플래시 메모리 등과 같은 프로그램 명령어를 저장하고 수행하도록 특별히 구성된 하드웨어 장치가 포함된다. 프로그램 명령어의 예에는, 컴파일러에 의해 만들어지는 것과 같은 기계어 코드뿐만 아니라 인터프리터 등을 사용해서 컴퓨터에 의해서 실행될 수 있는 고급 언어 코드도 포함된다. 상기 하드웨어 장치는 본 발명에 따른 처리를 수행하기 위해 하나 이상의 소프트웨어 모듈로서 작동하도록 구성될 수 있으며, 그 역도 마찬가지이다. 상기 하드웨어 장치는, 프로그램 명령어를 저장하기 위한 ROM/RAM 등과 같은 메모리와 결합되고 상기 메모리에 저장된 명령어들을 실행하도록 구성되는 CPU나 GPU와 같은 프로세서를 포함할 수 있으며, 외부 장치와 신호를 주고 받을 수 있는 통신부를 포함할 수 있다. 덧붙여, 상기 하드웨어 장치는 개발자들에 의하여 작성된 명령어들을 전달받기 위한 키보드, 마우스, 기타 외부 입력장치를 포함할 수 있다.Based on the description of the above embodiment, a person skilled in the art can clearly understand that the present invention can be achieved through a combination of software and hardware or by hardware alone. The objects contributing to the object of the technical solution or the prior art of the present invention may be embodied in the form of program instructions that can be executed by various computer components and recorded in a computer-readable recording medium. The computer-readable recording medium may include program instructions, data files, data structures, etc. alone or in combination. Program instructions recorded on the computer-readable recording medium may be those specially designed and configured for the present invention, or may be known and available to those skilled in the art. Examples of computer-readable recording media include magnetic media such as hard disks, floppy disks and magnetic tape, optical recording media such as CD-ROMs, DVDs, and magneto-optical media such as floptical disks. media), and hardware devices specifically configured to store and execute program instructions, such as ROM, RAM, flash memory, and the like. Examples of program instructions include not only machine code generated by a compiler, but also high-level language code that can be executed by a computer using an interpreter or the like. The hardware device may be configured to operate as one or more software modules to perform the process according to the invention, and vice versa. The hardware device may include a processor, such as a CPU or a GPU, coupled with a memory such as a ROM / RAM for storing program instructions and configured to execute instructions stored in the memory, and may exchange signals with an external device. It may include a communication unit. In addition, the hardware device may include a keyboard, a mouse, and other external input devices for receiving instructions written by developers.
이상에서 본 발명이 구체적인 구성요소 등과 같은 특정 사항들과 한정된 실시예 및 도면에 의해 설명되었으나, 이는 본 발명의 보다 전반적인 이해를 돕기 위해서 제공된 것일 뿐, 본 발명이 상기 실시예들에 한정되는 것은 아니며, 본 발명이 속하는 기술분야에서 통상적인 지식을 가진 자라면 이러한 기재로부터 다양한 수정 및 변형을 꾀할 수 있다.Although the present invention has been described by specific embodiments such as specific components and the like, but the embodiments and the drawings are provided to assist in a more general understanding of the present invention, the present invention is not limited to the above embodiments. For those skilled in the art, various modifications and variations can be made from these descriptions.
따라서, 본 발명의 사상은 상기 설명된 실시예에 국한되어 정해져서는 아니 되며, 후술하는 특허청구범위뿐만 아니라 이 특허청구범위와 균등하게 또는 등가적으로 변형된 모든 것들은 본 발명의 사상의 범주에 속한다고 할 것이다.Accordingly, the spirit of the present invention should not be limited to the above-described embodiments, and all of the equivalents or equivalents of the claims, as well as the appended claims, fall within the scope of the spirit of the present invention. I will say.

Claims (40)

  1. 블록체인 데이터베이스를 사용하여 서비스 제공 서버에 의하여 제공되는 서비스를 이용하기 위한 사용자의 로그인 요청에 대하여 PKI(public key infrastructure) 기반의 인증을 통해 로그인을 대행하는 방법에 있어서, In the method of using the blockchain database to log in through public key infrastructure (PKI) -based authentication for the user's login request to use the service provided by the service providing server,
    (a) 상기 서비스 제공 서버의 인증서인 서버 인증서의 정보 또는 이를 가공한 값인 서버 인증서 등록 트랜잭션의 해시값인 제1 특정 해시값과 매칭되는 적어도 하나의 이웃 해시값 - 상기 이웃 해시값은, (i) 특정 서버 인증서의 정보 또는 이를 가공한 값인 특정 서버 인증서 등록 트랜잭션의 해시값, (ii) 특정 애플리케이션 인증서의 정보 또는 이를 가공한 값인 특정 애플리케이션 인증서 등록 트랜잭션의 해시값, 및 (iii) 특정 인증 결과 메시지 또는 이를 가공한 값인 특정 인증 결과 트랜잭션의 해시값을 포함하는 해시값들 중의 하나임 - 을 함께 해시 연산함으로써 생성되는 제1 대표 해시값 또는 상기 제1 대표 해시값을 가공한 값, 및 사용자 단말에 의하여 실행되는 인증 애플리케이션의 인증서인 애플리케이션 인증서 등록 트랜잭션의 해시값인 제2 특정 해시값과 매칭되는 적어도 하나의 상기 이웃 해시값을 함께 해시 연산함으로써 생성되는 제2 대표 해시값 또는 상기 제2 대표 해시값을 가공한 값이 소정의 블록체인 데이터베이스에 기록되어 있는 상태에서, 상기 인증 애플리케이션을 통한 로그인의 대행을 요청하는 정보인 인증 요청 정보가 상기 사용자 단말에 의하여 실행되는 서비스 제공 애플리케이션으로부터 획득되면, 상기 서비스 제공 서버가, 상기 로그인의 대행이 가능한지 여부를 판정한 결과인 인증 요청 응답 정보를 상기 서비스 제공 애플리케이션에 전달하거나 타 장치로 하여금 전달하도록 지원하는 단계; (a) at least one neighboring hash value matching the information of a server certificate which is a certificate of the service providing server or a first specific hash value which is a hash value of a server certificate registration transaction which is a processed value-the neighboring hash value is (i ) A hash value of a specific server certificate registration transaction, which is information of a specific server certificate or a processed value, (ii) a hash value of a specific application certificate registration transaction, which is a value of a specific application certificate or a processed value, and (iii) a specific authentication result message. Or one of hash values including a hash value of a specific authentication result transaction, which is a processed value of the first representative hash value generated by hashing together or a value processed by the first representative hash value, and by the user terminal. A second hash value of the application certificate enrollment transaction, which is the certificate of the executing authentication application In a state in which a second representative hash value or a value obtained by processing the second representative hash value generated by hashing at least one neighboring hash value matching a predetermined hash value is recorded in a predetermined blockchain database, When authentication request information, which is information for requesting proxy for login through an authentication application, is obtained from a service providing application executed by the user terminal, an authentication request that is a result of the service providing server determining whether or not the login is possible. Delivering response information to the service providing application or allowing another device to deliver it;
    (b) 상기 서비스 제공 애플리케이션의 인증 리다이렉션 요청(authentication redirection request)이 상기 인증 애플리케이션에 전달된 후, 상기 인증 애플리케이션으로부터 인증 서버에 의하여 생성된 가변 인증값을 포함하는 서버 챌린지 요청 정보가 획득되면, 상기 서비스 제공 서버가, 상기 서버 챌린지 요청 정보에 대응되는 서버 챌린지 요청 응답 정보를 상기 인증 애플리케이션에 전달하거나 타 장치로 하여금 전달하도록 지원함으로써 상기 인증 서버로 하여금 상기 소정의 블록체인 데이터베이스를 참조로 하여 상기 서버 인증서 및 상기 애플리케이션 인증서가 유효한지 여부를 판정하도록 지원하는 단계; 및 (b) if the server challenge request information including the variable authentication value generated by the authentication server is obtained from the authentication application after the authentication redirection request of the service providing application is transmitted to the authentication application, The service providing server may allow the authentication server to transmit the server challenge request response information corresponding to the server challenge request information to the authentication application or to be transmitted to another device, thereby causing the authentication server to refer to the predetermined blockchain database. Supporting determining a certificate and whether the application certificate is valid; And
    (c) 상기 인증 서버로부터 상기 서버 인증서 및 상기 애플리케이션 인증서가 유효한지 여부를 포함하는 인증 결과 메시지가 획득되고, 상기 인증 결과 메시지가 상기 서버 인증서 및 상기 애플리케이션 인증서가 유효함을 나타내는 인증 성공 메시지라면, 상기 서비스 제공 서버가, 상기 서비스 제공 애플리케이션에 소정의 접근 토큰(access token)을 전달하거나 타 장치로 하여금 전달하도록 지원하여 상기 서비스 제공 애플리케이션으로 하여금 상기 접근 토큰을 통하여 상기 서비스를 이용할 수 있도록 지원함으로써 상기 로그인을 처리하는 단계(c) if an authentication result message including whether the server certificate and the application certificate is obtained from the authentication server is obtained, and the authentication result message is an authentication success message indicating that the server certificate and the application certificate are valid, The service providing server, by passing a predetermined access token to the service providing application or by allowing other devices to pass to enable the service providing application to use the service through the access token; Steps to Process a Login
    를 포함하는 방법.How to include.
  2. 제1항에 있어서, The method of claim 1,
    상기 (b) 단계에서, In step (b),
    상기 서버 챌린지 요청 정보는 상기 서버 인증서의 공개키(public key)에 의하여 인코딩된 상기 가변 인증값을 포함하며, The server challenge request information includes the variable authentication value encoded by a public key of the server certificate,
    상기 서비스 제공 서버는, 상기 서버 인증서의 개인키(private key)를 이용하여 상기 서버 챌린지 요청 정보로부터 상기 가변 인증값을 획득하고, 상기 서버 인증서의 개인키를 이용하여 상기 가변 인증값을 서명한 값을 포함하는 상기 서버 챌린지 요청 응답 정보를 상기 인증 애플리케이션에 전달하는 것을 특징으로 하는 방법.The service providing server obtains the variable authentication value from the server challenge request information using a private key of the server certificate, and signs the variable authentication value using the private key of the server certificate. Delivering the server challenge request response information to the authentication application.
  3. 제1항에 있어서, The method of claim 1,
    상기 (a) 단계는, In step (a),
    상기 서버 인증서 등록 트랜잭션, 및 상기 애플리케이션 인증서 등록 트랜잭션이 추가로 제1 블록체인 데이터베이스에 기록되어 있는 상태에서 수행되고, The server certificate registration transaction and the application certificate registration transaction are further performed in a state of being recorded in a first blockchain database,
    상기 소정의 블록체인 데이터베이스는 제2 블록체인 데이터베이스이며, The predetermined blockchain database is a second blockchain database,
    상기 (b) 단계는, In step (b),
    상기 인증 서버로 하여금 상기 제1 블록체인 데이터베이스 및 상기 제2 블록체인 데이터베이스 중 적어도 하나를 참조로 하여 상기 서버 인증서 및 상기 애플리케이션 인증서가 유효한지 여부를 판정하도록 지원하는 것을 특징으로 하는 방법.And support the authentication server to determine whether the server certificate and the application certificate are valid with reference to at least one of the first blockchain database and the second blockchain database.
  4. 제3항에 있어서, The method of claim 3,
    상기 (b) 단계는, In step (b),
    상기 인증 서버로 하여금 상기 제1 블록체인 데이터베이스 및 상기 제2 블록체인 데이터베이스 중 적어도 하나를 참조로 하여 상기 서버 인증서 및 상기 애플리케이션 인증서가 유효한지 여부를 판정하도록 지원함으로써, 상기 인증 서버로 하여금, (A) 상기 인증 결과 메시지 또는 이를 가공한 값을 인증 결과 트랜잭션으로서 상기 제1 블록체인 데이터베이스에 기록하거나 상기 인증 서버에 연동되는 타 장치로 하여금 기록하도록 지원하는 프로세스, 및 (B) 소정의 조건이 만족되면, 상기 인증 결과 트랜잭션의 해시값인 특정 해시값과 매칭되는 적어도 하나의 이웃 해시값 - 상기 이웃 해시값은, (i) 특정 서버 인증서의 정보 또는 이를 가공한 값인 특정 서버 인증서 등록 트랜잭션의 해시값, (ii) 특정 애플리케이션 인증서의 정보 또는 이를 가공한 값인 특정 애플리케이션 인증서 등록 트랜잭션의 해시값, 및 (iii) 특정 인증 결과 메시지 또는 이를 가공한 값인 특정 인증 결과 트랜잭션의 해시값을 포함하는 해시값들 중의 하나임 - 을 함께 해시 연산함으로써 생성되는 대표 해시값 또는 상기 대표 해시값을 가공한 값을 상기 제2 블록체인 데이터베이스에 기록하거나 상기 인증 서버에 연동되는 타 장치로 하여금 기록하도록 지원하고, 상기 대표 해시값 또는 상기 대표 해시값을 가공한 값이 상기 제2 블록체인 데이터베이스에 기록된 위치 정보인 트랜잭션 ID를 획득하는 프로세스를 수행하도록 지원하는 것을 특징으로 하는 방법.Assisting the authentication server to determine whether the server certificate and the application certificate are valid with reference to at least one of the first blockchain database and the second blockchain database, thereby causing the authentication server to: (A ) A process of recording the authentication result message or a processed value thereof as an authentication result transaction in the first blockchain database or by allowing other devices linked to the authentication server to record, and (B) a predetermined condition is satisfied. At least one neighbor hash value that matches a specific hash value that is a hash value of the authentication result transaction, wherein the neighbor hash value is (i) a hash value of a specific server certificate registration transaction, which is information of a specific server certificate or a processed value, (ii) the information in a particular application certificate or its value A representative hash value generated by hashing together a hash value of a specific application certificate enrollment transaction, and (iii) a hash value comprising a specific authentication result message or a hash value of a specific authentication result transaction that is a processed value thereof. Support to record the processed value of the representative hash value in the second blockchain database or to allow other devices linked to the authentication server to record, and the value of processing the representative hash value or the representative hash value is the second block. And performing a process of obtaining a transaction ID which is location information recorded in the chain database.
  5. 제3항에 있어서, The method of claim 3,
    상기 제1 블록체인 데이터베이스는 프라이빗 블록체인 데이터베이스 또는 퍼블릭 블록체인 데이터베이스이고, The first blockchain database is a private blockchain database or a public blockchain database,
    상기 제2 블록체인 데이터베이스는 상기 프라이빗 블록체인 데이터베이스 또는 상기 퍼블릭 블록체인 데이터베이스인 것을 특징으로 하는 방법.And wherein the second blockchain database is the private blockchain database or the public blockchain database.
  6. 블록체인 데이터베이스를 사용하여 서비스 제공 서버에 의하여 제공되는 서비스를 이용하기 위한 사용자의 로그인 요청에 대하여 PKI(public key infrastructure) 기반의 인증을 통해 로그인을 대행하는 방법에 있어서, In the method of using the blockchain database to log in through public key infrastructure (PKI) -based authentication for the user's login request to use the service provided by the service providing server,
    (a) 상기 서비스 제공 서버의 인증서인 서버 인증서의 정보 또는 이를 가공한 값인 서버 인증서 등록 트랜잭션의 해시값인 제1 특정 해시값과 매칭되는 적어도 하나의 이웃 해시값 - 상기 이웃 해시값은, (i) 특정 서버 인증서의 정보 또는 이를 가공한 값인 특정 서버 인증서 등록 트랜잭션의 해시값, (ii) 특정 애플리케이션 인증서의 정보 또는 이를 가공한 값인 특정 애플리케이션 인증서 등록 트랜잭션의 해시값, 및 (iii) 특정 인증 결과 메시지 또는 이를 가공한 값인 특정 인증 결과 트랜잭션의 해시값을 포함하는 해시값들 중의 하나임 - 을 함께 해시 연산함으로써 생성되는 제1 대표 해시값 또는 상기 제1 대표 해시값을 가공한 값, 및 사용자 단말에 의하여 실행되는 인증 애플리케이션의 인증서인 애플리케이션 인증서 등록 트랜잭션의 해시값인 제2 특정 해시값과 매칭되는 적어도 하나의 상기 이웃 해시값을 함께 해시 연산함으로써 생성되는 제2 대표 해시값 또는 상기 제2 대표 해시값을 가공한 값이 소정의 블록체인 데이터베이스에 기록되어 있는 상태에서, 상기 인증 애플리케이션을 통한 로그인의 대행을 요청하는 정보인 인증 요청 정보에 대응되는 인증 리다이렉션 요청(authentication redirection request)에 응하여 상기 사용자 단말에 의하여 실행되는 인증 애플리케이션으로부터 챌린지 개시 요청 정보가 획득되면, 인증 서버가, 상기 챌린지 개시 요청 정보에 대응되는 가변 인증값을 생성하고, 상기 가변 인증값을 포함하는 챌린지 개시 요청 응답 정보를 상기 인증 애플리케이션으로 전달하거나 타 장치로 하여금 전달하도록 지원함으로써, 상기 인증 애플리케이션으로 하여금 상기 서비스 제공 서버의 인증서인 서버 인증서가 유효한지 여부를 판정하기 위한 서버 챌린지 요청 정보에 대응되는 서버 챌린지 요청 응답 정보를 상기 서비스 제공 서버로부터 획득하도록 지원하는 단계; (a) at least one neighboring hash value matching the information of a server certificate which is a certificate of the service providing server or a first specific hash value which is a hash value of a server certificate registration transaction which is a processed value-the neighboring hash value is (i ) A hash value of a specific server certificate registration transaction, which is information of a specific server certificate or a processed value, (ii) a hash value of a specific application certificate registration transaction, which is a value of a specific application certificate or a processed value, and (iii) a specific authentication result message. Or one of hash values including a hash value of a specific authentication result transaction, which is a processed value of the first representative hash value generated by hashing together or a value processed by the first representative hash value, and by the user terminal. A second hash value of the application certificate enrollment transaction, which is the certificate of the executing authentication application In a state in which a second representative hash value or a value obtained by processing the second representative hash value generated by hashing at least one neighboring hash value matching a predetermined hash value is recorded in a predetermined blockchain database, If the challenge initiation request information is obtained from the authentication application executed by the user terminal in response to an authentication redirection request corresponding to the authentication request information, which is information for requesting the substitution of the login through the authentication application, the authentication server, By generating a variable authentication value corresponding to the challenge initiation request information, and by passing the challenge initiation request response information including the variable authentication value to the authentication application or by allowing other devices to pass, the authentication application allows the service Offer standing Supporting server challenge request response information corresponding to server challenge request information for determining whether a server certificate which is a server's certificate is valid from the service providing server;
    (b) 상기 인증 애플리케이션의 인증서인 애플리케이션 인증서의 개인키(private key)를 이용하여 상기 서버 챌린지 요청 응답 정보를 서명한 값인 다중 서명값을 포함하는 응답 요청 정보가 상기 인증 애플리케이션으로부터 획득되면, 상기 인증 서버가, 상기 응답 요청 정보, 상기 소정의 블록체인 데이터베이스를 참조로 하여 획득된 상기 서버 인증서 등록 트랜잭션 및 상기 애플리케이션 인증서 등록 트랜잭션을 이용하여 상기 서버 인증서 및 상기 애플리케이션 인증서가 유효한지 여부를 판정하거나 타 장치로 하여금 판정하도록 지원하는 단계; 및 (b) when response request information including a multi-signature value, which is a value obtained by signing the server challenge request response information using a private key of an application certificate which is a certificate of the authentication application, is obtained from the authentication application, The server determines whether the server certificate and the application certificate are valid by using the server certificate registration transaction and the application certificate registration transaction obtained by referring to the response request information, the predetermined blockchain database, or other device. Assisting the user to determine; And
    (c) 상기 인증 서버가, 상기 서버 인증서가 유효한지 여부를 포함하는 인증 결과 메시지를 상기 인증 애플리케이션 및 상기 서비스 제공 서버 중 적어도 하나에 전달하거나 타 장치로 하여금 전달하도록 지원함으로써 상기 인증 결과 메시지가 상기 서버 인증서가 유효함을 나타내는 인증 성공 메시지인 경우에 상기 서비스 제공 서버로 하여금 상기 사용자 단말에 의하여 실행되는 서비스 제공 애플리케이션에 소정의 접근 토큰(access token)을 전달하도록 지원하여 상기 서비스 제공 애플리케이션으로 하여금 상기 접근 토큰을 통하여 상기 서비스를 이용할 수 있도록 지원함으로써 상기 로그인을 처리하는 단계(c) the authentication server delivers an authentication result message including whether the server certificate is valid to at least one of the authentication application and the service providing server, or supports another device to deliver the authentication result message. In the case of the authentication success message indicating that the server certificate is valid, the service providing server supports the transfer of a predetermined access token to the service providing application executed by the user terminal, thereby causing the service providing application to perform the Processing the login by supporting the use of the service via an access token
    를 포함하는 방법.How to include.
  7. 제6항에 있어서, The method of claim 6,
    상기 인증 서버는, 상기 서비스 제공 서버에 대한 접근 수준(access level)에 관한 정보를 관리하거나 관리하도록 지원하고, 상기 접근 수준을 참조로 하여 승인 수준(authorization level)을 결정하며, The authentication server supports to manage or manage the information about the access level (access level) to the service providing server, determine the authorization level (reference) with reference to the access level,
    상기 인증 결과 메시지는 상기 승인 수준에 관한 정보를 포함하되, 상기 서버 인증서가 유효한지 여부는 상기 승인 수준을 참조로 하여 판정되는 것을 특징으로 하는 방법.The authentication result message includes information regarding the approval level, wherein whether the server certificate is valid is determined with reference to the approval level.
  8. 제6항에 있어서, The method of claim 6,
    상기 (b) 단계는, In step (b),
    상기 서버 인증서의 공개키 및 상기 애플리케이션 인증서의 공개키를 이용하여 상기 다중 서명값의 서명을 검증함으로써 상기 서버 인증서 및 상기 애플리케이션 인증서가 유효한지 여부를 판정하는 것을 특징으로 하는 방법.And determining whether the server certificate and the application certificate are valid by verifying the signature of the multi-signature value using the public key of the server certificate and the public key of the application certificate.
  9. 제6항에 있어서, The method of claim 6,
    상기 (a) 단계는, In step (a),
    상기 서버 인증서 등록 트랜잭션, 및 상기 애플리케이션 인증서 등록 트랜잭션이 추가로 제1 블록체인 데이터베이스에 기록되어 있는 상태에서 수행되고, The server certificate registration transaction and the application certificate registration transaction are further performed in a state of being recorded in a first blockchain database,
    상기 소정의 블록체인 데이터베이스는 제2 블록체인 데이터베이스이며, The predetermined blockchain database is a second blockchain database,
    상기 (b) 단계 후에, After step (b),
    (c0) 상기 인증 서버가, 상기 인증 결과 메시지 또는 이를 가공한 값을 인증 결과 트랜잭션으로서 상기 제1 블록체인 데이터베이스에 기록하거나 상기 인증 서버에 연동되는 타 장치로 하여금 기록하도록 지원하는 프로세스, 및 (c0) a process for the authentication server to record the authentication result message or a processed value thereof as an authentication result transaction in the first blockchain database or to allow other devices linked to the authentication server to record;
    소정의 조건이 만족되면, 상기 인증 결과 트랜잭션의 해시값인 특정 해시값과 매칭되는 적어도 하나의 이웃 해시값 - 상기 이웃 해시값은, (i) 특정 서버 인증서의 정보 또는 이를 가공한 값인 특정 서버 인증서 등록 트랜잭션의 해시값, (ii) 특정 애플리케이션 인증서의 정보 또는 이를 가공한 값인 특정 애플리케이션 인증서 등록 트랜잭션의 해시값, 및 (iii) 특정 인증 결과 메시지 또는 이를 가공한 값인 특정 인증 결과 트랜잭션의 해시값을 포함하는 해시값들 중의 하나임 - 을 함께 해시 연산함으로써 생성되는 대표 해시값 또는 상기 대표 해시값을 가공한 값을 상기 제2 블록체인 데이터베이스에 기록하거나 상기 인증 서버에 연동되는 타 장치로 하여금 기록하도록 지원하고, 상기 대표 해시값 또는 상기 대표 해시값을 가공한 값이 상기 제2 블록체인 데이터베이스에 기록된 위치 정보인 트랜잭션 ID를 획득하는 프로세스를 수행하는 단계If a predetermined condition is satisfied, at least one neighbor hash value matching a specific hash value which is a hash value of the authentication result transaction-The neighbor hash value is (i) a specific server certificate which is information of a specific server certificate or a processed value thereof. A hash value of a registration transaction, (ii) a hash value of a specific application certificate enrollment transaction that is information of, or an instrumentation of, a particular application certificate, and (iii) a hash value of a particular authentication result message, or a specific authentication result transaction, which is a fabricated value. Is one of the hash values, and-the representative hash value generated by hashing together or the processed value of the representative hash value is recorded in the second blockchain database or supported by another device linked to the authentication server. The second hash value is obtained by processing the representative hash value or the representative hash value. Performing a process of obtaining a transaction ID, the position information recorded in the database
    를 더 포함하는 방법.How to include more.
  10. 제9항에 있어서, The method of claim 9,
    상기 소정의 조건은, The predetermined condition is
    (i) 소정의 개수만큼의 상기 특정 해시값, 및 상기 이웃 해시값이 획득되거나 생성되는 조건, (ii) 소정 시간이 경과하는 조건, (iii) 블록이 생성되는 조건, 및 (iv) 서비스 특성에 대한 조건 중 적어도 하나를 포함하는 것을 특징으로 하는 방법.(i) a certain number of said specific hash values, and a condition under which said neighbor hash values are obtained or generated, (ii) a condition over which a predetermined time elapses, (iii) a condition under which a block is generated, and (iv) a service characteristic. A method comprising at least one of the conditions for.
  11. 제9항에 있어서, The method of claim 9,
    상기 (c0) 단계에서, In the step (c0),
    상기 인증 서버는, 상기 특정 해시값이 리프 노드에 할당된 머클 트리(merkle tree)를 생성하거나 상기 타 장치로 하여금 생성하도록 지원하고, The authentication server may generate a merkle tree or allow the other device to generate a merkle tree in which the specific hash value is assigned to a leaf node,
    상기 소정의 조건이 만족되면, 상기 특정 해시값과 매칭되는 적어도 하나의 다른 리프 노드에 할당된 해시값을 함께 해시 연산하여 생성되는 상기 대표 해시값 또는 상기 대표 해시값을 가공한 값을 획득하고, 상기 획득된 값을 상기 제2 블록체인 데이터베이스에 기록하거나 상기 타 장치로 하여금 기록하도록 지원하는 것을 특징으로 하는 방법.When the predetermined condition is satisfied, the representative hash value or the value of the representative hash value generated by hashing together the hash values assigned to the at least one other leaf node matching the specific hash value is obtained. And record the obtained value in the second blockchain database or allow the other device to record it.
  12. 제11항에 있어서, The method of claim 11,
    상기 머클 트리가 체인 형태로 연결된 적어도 하나의 머클 트리 중 첫 번째 머클 트리인 경우, 상기 머클 트리의 첫 번째 리프 노드에는 텍스트, 숫자 또는 기호로 이루어진 소정의 메시지 데이터의 해시값 또는 이를 가공한 값이 할당되는 것을 특징으로 하는 방법.When the Merkle tree is the first Merkle tree of at least one Merkle tree connected in a chain form, the first leaf node of the Merkle tree has a hash value or a processed value of predetermined message data consisting of text, numbers or symbols. Assigned method.
  13. 제11항에 있어서, The method of claim 11,
    상기 소정의 조건이 만족되면, If the predetermined condition is satisfied,
    (x1) 상기 인증 서버는, (i) 상기 특정 해시값과 (ii) 상기 특정 해시값이 할당된 노드의 형제 노드에 할당된 해시값을 함께 해시 연산하거나 해시 연산하도록 지원하고, 상기 연산의 결과인 연산값에 대한 해시값을 상기 노드의 부모 노드에 할당하거나 할당하도록 지원하며, (x1) the authentication server supports (i) hashing or hashing the specified hash value and (ii) the hash value assigned to the sibling node of the node to which the particular hash value is assigned, and the result of the operation Supports assigning or assigning a hash value for the computed value to the parent node of the node,
    (x2) 상기 부모 노드가 상기 머클 트리의 루트 노드이면, 상기 부모 노드에 할당된 해시값을 상기 대표 해시값으로서 상기 제2 블록체인 데이터베이스에 기록하거나 기록하도록 지원하고, (x2) if the parent node is a root node of the Merkle tree, supports to record or record a hash value assigned to the parent node as the representative hash value in the second blockchain database,
    (x3) 상기 부모 노드가 상기 머클 트리의 루트 노드가 아니면, 상기 부모 노드에 할당된 해시값을 상기 특정 해시값으로 하여 상기 (x1) 내지 (x3)을 반복하여 수행하는 것을 특징으로 하는 방법.(x3) if the parent node is not the root node of the Merkle tree, repeating the steps (x1) to (x3) by using the hash value assigned to the parent node as the specific hash value.
  14. 제13항에 있어서, The method of claim 13,
    상기 (x1)에서, In (x1) above,
    상기 소정의 조건이 만족되었음에도 상기 특정 해시값이 할당된 노드의 형제 노드에 해시값이 할당되어 있지 않은 경우, 상기 인증 서버는, 상기 형제 노드에 소정의 해시값을 할당하거나 상기 타 장치로 하여금 할당하도록 지원하여 상기 (x1) 내지 (x3)을 수행하는 것을 특징으로 하는 방법.If a hash value is not assigned to a sibling node of a node to which the specific hash value is assigned even though the predetermined condition is satisfied, the authentication server allocates a predetermined hash value to the sibling node or causes the other device to allocate the hash value. And performing (x1) to (x3).
  15. 제9항에 있어서, The method of claim 9,
    상기 인증 서버가 상기 특정 해시값과 상기 적어도 하나의 이웃 해시값을 소정의 제1 데이터 구조로 저장하고, 이후 상기 제1 데이터 구조와 동일한 형태의 제2 데이터 구조를 저장하여 관리하는 경우, 상기 제1 데이터 구조와 상기 제2 데이터 구조는 체인 형태로 연결되는 것을 특징으로 하는 방법.When the authentication server stores the specific hash value and the at least one neighboring hash value in a predetermined first data structure, and then stores and manages a second data structure having the same form as the first data structure, And the first data structure and the second data structure are connected in a chain form.
  16. 제15항에 있어서, The method of claim 15,
    상기 제1 데이터 구조 및 상기 제2 데이터 구조가 머클 트리인 경우, 상기 제1 데이터 구조의 루트값 또는 상기 루트값의 해시값이 상기 제2 데이터 구조의 첫 번째 리프 노드에 할당되는 것을 특징으로 하는 방법.When the first data structure and the second data structure are Merkle trees, a root value of the first data structure or a hash value of the root value is assigned to the first leaf node of the second data structure. Way.
  17. 제9항에 있어서, The method of claim 9,
    상기 (a) 단계 및 상기 (b) 단계에서, 상기 인증 서버의 수신이 없고, 상기 (c0) 단계에서, 상기 소정의 조건이 만족되면, 상기 인증 서버는, 소정의 메시지 데이터가 첫 번째 리프 노드와 두 번째 리프 노드에 할당된 머클 트리를 생성하거나 생성하도록 지원하고, 상기 머클 트리의 루트값 또는 이를 가공한 값을 상기 제2 블록체인 데이터베이스에 기록하거나 기록하도록 지원하는 것을 특징으로 하는 방법.In step (a) and step (b), if there is no reception of the authentication server, and in step (c0), if the predetermined condition is satisfied, the authentication server determines that the predetermined message data is the first leaf node. And generating or generating a Merkle tree assigned to a second leaf node, and recording or recording the root value or the processed value of the Merkle tree in the second blockchain database.
  18. 제9항에 있어서, The method of claim 9,
    (e) 주기적으로(periodically) 또는 무결성 검증 요청에 응하여, 상기 인증 서버가, 상기 제1 블록체인 데이터베이스에 기록된 적어도 하나의 트랜잭션 - 상기 트랜잭션은, (i) 특정 서버 인증서의 정보 또는 이를 가공한 값인 특정 서버 인증서 등록 트랜잭션, (ii) 특정 애플리케이션 인증서의 정보 또는 이를 가공한 값인 특정 애플리케이션 인증서 등록 트랜잭션, 및 (iii) 특정 인증 결과 메시지 또는 이를 가공한 값인 특정 인증 결과 트랜잭션을 포함하는 트랜잭션들 중의 하나임 - 의 해시값과 매칭되는 적어도 하나의 상기 이웃 해시값을 함께 해시 연산함으로써 생성되는 제1 대표 해시값 또는 상기 제1 대표 해시값을 가공한 값을 이에 대응되는 상기 제2 블록체인 데이터베이스에 기록된 제2 대표 해시값 또는 상기 제2 대표 해시값을 가공한 값과 일치하는지를 검증함으로써 상기 트랜잭션의 무결성(integrity)을 검증하거나 상기 인증 서버에 연동되는 타 장치로 하여금 검증하도록 지원하는 단계(e) at least one transaction recorded in the first blockchain database, either periodically or in response to an integrity verification request, wherein the transaction comprises: (i) information of a particular server certificate or processing it; A specific server certificate enrollment transaction, which is a value, (ii) a specific application certificate enrollment transaction, which is information of a specific application certificate or a fabricated value, and (iii) a specific authentication result transaction, which is a specific authentication result message or a fabricated value. A first representative hash value generated by hashing together at least one neighboring hash value matching the hash value of or a value obtained by processing the first representative hash value is recorded in the second blockchain database corresponding thereto. The second representative hash value or a value corresponding to the processed second representative hash value By verifying the step of support to verify the integrity (integrity) of the transaction or verifying a cause other devices that work with the authentication server,
    를 더 포함하는 것을 특징으로 하는 방법.Method further comprising a.
  19. 블록체인 데이터베이스를 사용하여 서비스 제공 서버에 의하여 제공되는 서비스를 이용하기 위한 사용자의 로그인 요청에 대하여 PKI(public key infrastructure) 기반의 인증을 통해 로그인을 대행하는 방법에 있어서, In the method of using the blockchain database to log in through public key infrastructure (PKI) -based authentication for the user's login request to use the service provided by the service providing server,
    (a) 사용자 단말에 의하여 실행되는 제2 애플리케이션의 인증서인 애플리케이션 인증서의 정보 또는 이를 가공한 값인 애플리케이션 인증서 등록 트랜잭션의 해시값인 특정 해시값과 매칭되는 적어도 하나의 이웃 해시값 - 상기 이웃 해시값은, (i) 특정 애플리케이션 인증서의 정보 또는 이를 가공한 값인 특정 애플리케이션 인증서 등록 트랜잭션의 해시값 및 (ii) 특정 인증 결과 메시지 또는 이를 가공한 값인 특정 인증 결과 트랜잭션의 해시값을 포함하는 해시값들 중 적어도 하나임 - 을 함께 해시 연산함으로써 생성되는 대표 해시값 또는 상기 대표 해시값을 가공한 값이 소정의 블록체인 데이터베이스에 기록되어 있는 상태에서, 상기 사용자 단말에 의하여 실행되는 제1 애플리케이션으로부터 상기 제2 애플리케이션을 통한 로그인의 대행을 요청하는 정보인 인증 리다이렉션 요청(authentication redirection request)을 전달받은 상기 제2 애플리케이션으로부터 상기 사용자를 식별하기 위한 사용자 식별 정보를 포함하는 인증 요청 정보가 획득되면, 상기 서비스 제공 서버가, 상기 사용자 식별 정보를 포함하는 챌린지 개시 요청 정보를 인증 서버에 전달하거나 타 장치로 하여금 전달하도록 지원하는 단계; (a) at least one neighboring hash value matching the information of the application certificate which is a certificate of the second application executed by the user terminal or a specific hash value which is a hash value of the application certificate registration transaction which is a processed value-the neighbor hash value is at least one of hash values including (i) a hash value of a specific application certificate enrollment transaction, which is information of a specific application certificate or a processed value thereof, and (ii) a hash value of a specific authentication result message or a specific authentication result transaction, which is a processed value thereof. The second application from the first application executed by the user terminal in a state in which the representative hash value generated by hashing together or the processed value of the representative hash value is recorded in a predetermined blockchain database. Request to act on login When the authentication request information including the user identification information for identifying the user from the second application received the authentication redirection request that is information is obtained, the service providing server includes the user identification information Delivering the challenge initiation request information to the authentication server or allowing another device to deliver the challenge initiation request information;
    (b) 상기 챌린지 개시 요청 정보에 응하여 상기 인증 서버에 의하여 생성된 가변 인증값을 포함하는 챌린지 개시 요청 응답 정보가 획득되면, 상기 서비스 제공 서버가, 상기 가변 인증값을 포함하는 애플리케이션 챌린지 요청 정보를 상기 제2 애플리케이션에 전달하거나 타 장치로 하여금 전달하도록 지원함으로써 상기 제2 애플리케이션으로 하여금 상기 가변 인증값을 상기 애플리케이션 인증서의 개인키(private key)로 서명한 값을 생성하도록 지원하는 단계; (b) when the challenge initiation request response information including the variable authentication value generated by the authentication server is obtained in response to the challenge initiation request information, the service providing server receives the application challenge request information including the variable authentication value. Supporting the second application to generate a value signed by the variable certificate with the private key of the application certificate by delivering to the second application or by allowing another device to deliver;
    (c) 상기 애플리케이션 인증서의 개인키(private key)로 서명한 값을 포함하는 애플리케이션 챌린지 요청 응답 정보가 획득되면, 상기 서비스 제공 서버가, 상기 애플리케이션 챌린지 요청 응답 정보를 상기 인증 서버에 전달하거나 타 장치로 하여금 전달하도록 지원함으로써 상기 인증 서버로 하여금 상기 소정의 블록체인 데이터베이스를 참조로 하여 상기 애플리케이션 인증서가 유효한지 여부를 판정하도록 지원하는 단계; 및 (c) when the application challenge request response information including the value signed with the private key of the application certificate is obtained, the service providing server transmits the application challenge request response information to the authentication server or another device; Assisting the authentication server to determine whether the application certificate is valid by referring to the predetermined blockchain database by supporting the forwarding; And
    (d) 상기 인증 서버로부터 상기 애플리케이션 인증서가 유효한지 여부를 포함하는 인증 결과 메시지가 획득되고, 상기 인증 결과 메시지가 상기 애플리케이션 인증서가 유효함을 나타내는 인증 성공 메시지라면, 상기 서비스 제공 서버가, 임시 ID(temporary ID)를 상기 제2 애플리케이션에 전달하거나 타 장치로 하여금 전달하도록 지원하여, 상기 제1 애플리케이션으로 하여금 상기 제2 애플리케이션으로부터 상기 제1 애플리케이션에 전달된 (i) 상기 임시 ID 및 (ii) 상기 인증 성공 메시지에 포함된 접근 토큰(access token)을 통하여 상기 서비스를 이용할 수 있도록 지원함으로써 상기 로그인을 처리하는 단계(d) if an authentication result message including whether the application certificate is valid is obtained from the authentication server, and if the authentication result message is an authentication success message indicating that the application certificate is valid, the service providing server provides a temporary ID. (temporary ID) to the second application or to enable other devices to pass, thereby allowing the first application to pass (i) the temporary ID and (ii) the second application from the second application to the first application. Processing the login by supporting the use of the service through an access token included in an authentication success message;
    를 포함하는 방법.How to include.
  20. 제19항에 있어서, The method of claim 19,
    상기 챌린지 개시 요청 정보는 상기 서비스 제공 서버의 인증서인 서버 인증서의 공개키를 더 포함하고, The challenge initiation request information further includes a public key of a server certificate which is a certificate of the service providing server,
    상기 챌린지 개시 요청 응답 정보는 상기 서버 인증서의 공개키에 의하여 인코딩된 상기 가변 인증값을 포함하며, The challenge initiation request response information includes the variable authentication value encoded by the public key of the server certificate,
    상기 (b) 단계에서, In step (b),
    상기 서비스 제공 서버는, 상기 서버 인증서의 개인키(private key)를 이용하여 상기 챌린지 개시 요청 응답 정보로부터 상기 가변 인증값을 획득하고, 상기 애플리케이션 인증서의 공개키를 이용하여 상기 가변 인증값을 서명한 값을 포함하는 상기 애플리케이션 챌린지 요청 정보를 상기 제2 애플리케이션에 전달하는 것을 특징으로 하는 방법.The service providing server obtains the variable authentication value from the challenge initiation request response information using a private key of the server certificate, and signs the variable authentication value using a public key of the application certificate. Conveying the application challenge request information including a value to the second application.
  21. 제19항에 있어서, The method of claim 19,
    상기 (a) 단계는, In step (a),
    상기 애플리케이션 인증서의 정보 또는 이를 가공한 값인 애플리케이션 인증서 등록 트랜잭션이 추가로 제1 블록체인 데이터베이스에 기록되어 있는 상태에서 수행되고, The application certificate registration transaction, which is the information of the application certificate or a processed value thereof, is additionally recorded in the first blockchain database,
    상기 소정의 블록체인 데이터베이스는 제2 블록체인 데이터베이스이며, The predetermined blockchain database is a second blockchain database,
    상기 (c) 단계는, In step (c),
    상기 인증 서버로 하여금 상기 제1 블록체인 데이터베이스 및 상기 제2 블록체인 데이터베이스 중 적어도 하나를 참조로 하여 상기 애플리케이션 인증서가 유효한지 여부를 판정하는 것을 특징으로 하는 방법.And wherein the authentication server determines whether the application certificate is valid with reference to at least one of the first blockchain database and the second blockchain database.
  22. 제19항에 있어서, The method of claim 19,
    상기 임시 ID는, The temporary ID is,
    상기 인증 성공 메시지에 포함된 접근 토큰(access token) 및 승인 수준에 관한 정보를 참조로 하여 결정되는 것을 특징으로 하는 방법.And the information on the access token and the authorization level included in the authentication success message.
  23. 블록체인 데이터베이스를 사용하여 서비스 제공 서버에 의하여 제공되는 서비스를 이용하기 위한 사용자의 로그인 요청에 대하여 PKI(public key infrastructure) 기반의 인증을 통해 로그인을 대행하는 방법에 있어서, In the method of using the blockchain database to log in through public key infrastructure (PKI) -based authentication for the user's login request to use the service provided by the service providing server,
    (a) 사용자 단말에 의하여 실행되는 제2 애플리케이션의 인증서인 애플리케이션 인증서의 정보 또는 이를 가공한 값인 애플리케이션 인증서 등록 트랜잭션의 해시값인 특정 해시값과 매칭되는 적어도 하나의 이웃 해시값 - 상기 이웃 해시값은, (i) 특정 애플리케이션 인증서의 정보 또는 이를 가공한 값인 특정 애플리케이션 인증서 등록 트랜잭션의 해시값 및 (ii) 특정 인증 결과 메시지 또는 이를 가공한 값인 특정 인증 결과 트랜잭션의 해시값을 포함하는 해시값들 중 적어도 하나임 - 을 함께 해시 연산함으로써 생성되는 대표 해시값 또는 상기 대표 해시값을 가공한 값이 소정의 블록체인 데이터베이스에 기록되어 있는 상태에서, 상기 사용자 단말에 의하여 실행되는 제1 애플리케이션으로부터 상기 제2 애플리케이션을 통한 로그인의 대행을 요청하는 정보인 인증 리다이렉션 요청(authentication redirection request)을 전달받은 상기 제2 애플리케이션으로부터 상기 사용자를 식별하기 위한 사용자 식별 정보를 포함하는 인증 요청 정보를 획득한 상기 서비스 제공 서버로부터 상기 사용자 식별 정보를 포함하는 챌린지 개시 요청 정보가 획득되면, 인증 서버가, 상기 챌린지 개시 요청 정보에 응하여 가변 인증값을 생성하거나 타 장치로 하여금 생성하도록 지원하는 단계; (a) at least one neighboring hash value matching the information of the application certificate which is a certificate of the second application executed by the user terminal or a specific hash value which is a hash value of the application certificate registration transaction which is a processed value-the neighbor hash value at least one of hash values including (i) a hash value of a specific application certificate enrollment transaction, which is information of a specific application certificate or a processed value thereof, and (ii) a hash value of a specific authentication result message or a specific authentication result transaction, which is a processed value thereof. The second application from the first application executed by the user terminal in a state in which the representative hash value generated by hashing together or the processed value of the representative hash value is recorded in a predetermined blockchain database. Request to act on login Is a challenge that includes the user identification information from the service providing server that obtains authentication request information including user identification information for identifying the user from the second application received an authentication redirection request, which is information. When the start request information is obtained, by the authentication server, generating a variable authentication value in response to the challenge start request information or supporting another device to generate the variable authentication value;
    (b) 생성된 상기 가변 인증값을 포함하는 챌린지 개시 요청 응답 정보를 상기 서비스 제공 서버에 전달하거나 타 장치로 하여금 전달하도록 지원함으로써 상기 서비스 제공 서버로 하여금 상기 가변 인증값을 포함하는 애플리케이션 챌린지 요청 정보를 상기 제2 애플리케이션에 전달하도록 지원하여 상기 제2 애플리케이션으로 하여금 상기 가변 인증값을 상기 애플리케이션 인증서의 개인키(private key)로 서명한 값을 생성하도록 지원하는 단계; (b) delivering the challenge initiation request response information including the generated variable authentication value to the service providing server or by allowing another device to deliver the application challenge request information including the variable authentication value; Supporting the second application to generate a value signed by the variable authentication value with the private key of the application certificate;
    (c) 상기 애플리케이션 인증서의 개인키(private key)로 서명한 값을 포함하는 애플리케이션 챌린지 요청 응답 정보가 획득되면, 상기 인증 서버가 상기 애플리케이션 챌린지 요청 응답 정보 및 상기 소정의 블록체인 데이터베이스를 참조로 하여 획득된 애플리케이션 인증서 등록 트랜잭션을 이용하여 상기 애플리케이션 인증서가 유효한지 여부를 판정하거나 타 장치로 하여금 판정하도록 지원하는 단계; 및 (c) when application challenge request response information including a value signed with a private key of the application certificate is obtained, the authentication server refers to the application challenge request response information and the predetermined blockchain database. Determining whether the application certificate is valid using the obtained application certificate registration transaction or supporting another device to determine; And
    (d) 상기 인증 서버가, 상기 애플리케이션 인증서가 유효한지 여부를 포함하는 인증 결과 메시지를 상기 서비스 제공 서버 및 상기 제2 애플리케이션에 전달하거나 타 장치로 하여금 전달하도록 지원하여, 상기 서비스 제공 서버로 하여금 상기 인증 결과 메시지가 상기 애플리케이션 인증서가 유효함을 나타내는 인증 성공 메시지인 경우에 임시 ID(temporary ID)를 상기 제2 애플리케이션에 전달하도록 지원하고 상기 제1 애플리케이션으로 하여금 상기 제2 애플리케이션으로부터 상기 제1 애플리케이션에 전달된 (i) 상기 임시 ID 및 (ii) 상기 인증 성공 메시지에 포함된 접근 토큰(access token)을 통하여 상기 서비스를 이용할 수 있도록 지원함으로써 상기 로그인을 처리하는 단계(d) the authentication server assists the service providing server to deliver or transmits an authentication result message including whether the application certificate is valid to the service providing server and the second application or to another device. If the authentication result message is an authentication success message indicating that the application certificate is valid, assisting the first application to pass a temporary ID to the second application, and causing the first application to transmit from the second application to the first application. Processing the login by supporting the use of the service via (i) the temporary ID and (ii) an access token included in the authentication success message.
    를 포함하는 방법.How to include.
  24. 제23항에 있어서, The method of claim 23,
    상기 (a) 단계는, In step (a),
    상기 애플리케이션 인증서 등록 트랜잭션이 추가로 제1 블록체인 데이터베이스에 기록되어 있는 상태에서 수행되고, The application certificate registration transaction is further performed in a state of being recorded in the first blockchain database,
    상기 소정의 블록체인 데이터베이스는 제2 블록체인 데이터베이스이며, The predetermined blockchain database is a second blockchain database,
    상기 (c) 단계 후에, After step (c),
    (d0) 상기 인증 서버가, 상기 인증 결과 메시지 또는 이를 가공한 값을 인증 결과 트랜잭션으로서 상기 제1 블록체인 데이터베이스에 기록하거나 상기 인증 서버에 연동되는 타 장치로 하여금 기록하도록 지원하는 프로세스, 및 (d0) a process for the authentication server to record the authentication result message or a processed value thereof as an authentication result transaction in the first blockchain database or to allow other devices linked to the authentication server to record;
    소정의 조건이 만족되면, 상기 인증 결과 트랜잭션의 해시값인 특정 해시값과 매칭되는 적어도 하나의 이웃 해시값 - 상기 이웃 해시값은, (i) 특정 애플리케이션 인증서의 정보 또는 이를 가공한 값인 특정 애플리케이션 인증서 등록 트랜잭션의 해시값 및 (ii) 특정 인증 결과 메시지 또는 이를 가공한 값인 특정 인증 결과 트랜잭션의 해시값 중 적어도 하나를 포함함 - 을 함께 해시 연산함으로써 생성되는 대표 해시값 또는 상기 대표 해시값을 가공한 값을 상기 제2 블록체인 데이터베이스에 기록하거나 상기 인증 서버에 연동되는 타 장치로 하여금 기록하도록 지원하고, 상기 대표 해시값 또는 상기 대표 해시값을 가공한 값이 상기 제2 블록체인 데이터베이스에 기록된 위치 정보인 트랜잭션 ID를 획득하는 프로세스를 수행하는 단계If a predetermined condition is satisfied, at least one neighbor hash value matching a specific hash value which is a hash value of the authentication result transaction, wherein the neighbor hash value is (i) a specific application certificate or a specific application certificate which is a processed value. A hash value of a registration transaction and (ii) at least one of a specific authentication result message or a hash value of a specific authentication result transaction which is a processed value thereof. A value recorded in the second blockchain database or supported by another device interoperating with the authentication server, wherein the representative hash value or a value obtained by processing the representative hash value is recorded in the second blockchain database Performing a process of obtaining a transaction ID, which is information
    를 더 포함하는 방법.How to include more.
  25. 제24항에 있어서, The method of claim 24,
    (e) 주기적으로(periodically) 또는 무결성 검증 요청에 응하여, 상기 인증 서버가, 상기 제1 블록체인 데이터베이스에 기록된 적어도 하나의 트랜잭션 - 상기 트랜잭션은, (i) 특정 애플리케이션 인증서의 정보 또는 이를 가공한 값인 특정 애플리케이션 인증서 등록 트랜잭션 및 (ii) 특정 인증 결과 메시지 또는 이를 가공한 값인 특정 인증 결과 트랜잭션 중 적어도 하나를 포함함 - 의 해시값과 매칭되는 적어도 하나의 상기 이웃 해시값을 함께 해시 연산함으로써 생성되는 제1 대표 해시값 또는 상기 제1 대표 해시값을 가공한 값을 이에 대응되는 상기 제2 블록체인 데이터베이스에 기록된 제2 대표 해시값 또는 상기 제2 대표 해시값을 가공한 값과 일치하는지를 검증함으로써 상기 트랜잭션의 무결성(integrity)을 검증하거나 상기 인증 서버에 연동되는 타 장치로 하여금 검증하도록 지원하는 단계(e) at least one transaction recorded in the first blockchain database, either periodically or in response to an integrity verification request, wherein the transaction comprises: (i) information of a particular application certificate or Generated by hashing together at least one of the neighbor hash values matching a hash value of a specific application certificate enrollment transaction that is a value and (ii) a particular authentication result message or a particular authentication result transaction that is a processed value thereof. By verifying whether the first representative hash value or the value of the first representative hash value matches the second representative hash value or the second representative hash value recorded in the second blockchain database corresponding thereto. Others verifying the integrity of the transaction or interworking with the authentication server Steps that help to enable verification
    를 더 포함하는 것을 특징으로 하는 방법.Method further comprising a.
  26. 블록체인 데이터베이스를 사용하여 서비스 제공 서버에 의하여 제공되는 서비스를 이용하기 위한 사용자의 로그인 요청에 대하여 PKI(public key infrastructure) 기반의 인증을 통해 로그인을 대행하는 방법을 수행하는 상기 서비스 제공 서버에 있어서, A service providing server performing a method for performing a login through a public key infrastructure (PKI) -based authentication for a user's login request for using a service provided by a service providing server using a blockchain database.
    상기 서비스 제공 서버의 인증서인 서버 인증서의 정보 또는 이를 가공한 값인 서버 인증서 등록 트랜잭션의 해시값인 제1 특정 해시값과 매칭되는 적어도 하나의 이웃 해시값 - 상기 이웃 해시값은, (i) 특정 서버 인증서의 정보 또는 이를 가공한 값인 특정 서버 인증서 등록 트랜잭션의 해시값, (ii) 특정 애플리케이션 인증서의 정보 또는 이를 가공한 값인 특정 애플리케이션 인증서 등록 트랜잭션의 해시값, 및 (iii) 특정 인증 결과 메시지 또는 이를 가공한 값인 특정 인증 결과 트랜잭션의 해시값을 포함하는 해시값들 중의 하나임 - 을 함께 해시 연산함으로써 생성되는 제1 대표 해시값 또는 상기 제1 대표 해시값을 가공한 값, 및 사용자 단말에 의하여 실행되는 인증 애플리케이션의 인증서인 애플리케이션 인증서 등록 트랜잭션의 해시값인 제2 특정 해시값과 매칭되는 적어도 하나의 상기 이웃 해시값을 함께 해시 연산함으로써 생성되는 제2 대표 해시값 또는 상기 제2 대표 해시값을 가공한 값이 소정의 블록체인 데이터베이스에 기록되어 있는 상태에서, 상기 인증 애플리케이션을 통한 로그인의 대행을 요청하는 정보인 인증 요청 정보를 상기 사용자 단말에 의하여 실행되는 서비스 제공 애플리케이션으로부터 획득하거나 타 장치로 하여금 획득하도록 지원하는 통신부; 및 At least one neighbor hash value matching the information of a server certificate which is a certificate of the service providing server or a first specific hash value which is a hash value of a server certificate registration transaction which is a processed value, wherein the neighbor hash value is (i) a specific server A hash value of a specific server certificate enrollment transaction, which is the information of the certificate or a fabricated value, (ii) a hash value of a specific application certificate enrollment transaction, which is the information of a specific application certificate or a fabricated value, and (iii) a specific authentication result message or a fabrication thereof. One of the hash values including the hash value of the specific authentication result transaction, which is a value-a first representative hash value generated by hash operation together, or a value obtained by processing the first representative hash value, and authentication performed by the user terminal. A second specific hash value of the application certificate enrollment transaction that is the application's certificate The authentication is performed in a state in which a second representative hash value generated by hashing together at least one neighboring hash value matching the hash value or a value obtained by processing the second representative hash value is recorded in a predetermined blockchain database. A communication unit for acquiring authentication request information, which is information for requesting the substitution of a login through an application, from a service providing application executed by the user terminal or for allowing another device to obtain the authentication request information; And
    (i) 상기 인증 요청 정보가 획득되면, 상기 로그인의 대행이 가능한지 여부를 판정한 결과인 인증 요청 응답 정보를 상기 서비스 제공 애플리케이션에 전달하거나 타 장치로 하여금 전달하도록 지원하는 프로세스, (ii) 상기 서비스 제공 애플리케이션의 인증 리다이렉션 요청(authentication redirection request)이 상기 인증 애플리케이션에 전달된 후, 상기 인증 애플리케이션으로부터 인증 서버에 의하여 생성된 가변 인증값을 포함하는 서버 챌린지 요청 정보가 획득되면, 상기 서버 챌린지 요청 정보에 대응되는 서버 챌린지 요청 응답 정보를 상기 인증 애플리케이션에 전달하거나 타 장치로 하여금 전달하도록 지원함으로써 상기 인증 서버로 하여금 상기 소정의 블록체인 데이터베이스를 참조로 하여 상기 서버 인증서 및 상기 애플리케이션 인증서가 유효한지 여부를 판정하도록 지원하는 프로세스, 및 (iii) 상기 인증 서버로부터 상기 서버 인증서 및 상기 애플리케이션 인증서가 유효한지 여부를 포함하는 인증 결과 메시지가 획득되고, 상기 인증 결과 메시지가 상기 서버 인증서 및 상기 애플리케이션 인증서가 유효함을 나타내는 인증 성공 메시지라면, 상기 서비스 제공 애플리케이션에 소정의 접근 토큰(access token)을 전달하거나 타 장치로 하여금 전달하도록 지원하여 상기 서비스 제공 애플리케이션으로 하여금 상기 접근 토큰을 통하여 상기 서비스를 이용할 수 있도록 지원함으로써 상기 로그인을 처리하는 프로세스를 수행하는 프로세서(i) when the authentication request information is obtained, a process of passing authentication request response information, which is a result of determining whether the login is possible, to the service providing application or supporting other devices to deliver; (ii) the service After the authentication redirection request of the providing application is forwarded to the authentication application, if server challenge request information including a variable authentication value generated by the authentication server is obtained from the authentication application, the server challenge request information is added to the server challenge request information. The server certificate and the application certificate are valid by referring the predetermined blockchain database by passing the corresponding server challenge request response information to the authentication application or by allowing another device to deliver the corresponding server challenge request response information. And (iii) an authentication result message is obtained from the authentication server, the authentication result message including whether the server certificate and the application certificate are valid, and wherein the authentication result message is the server certificate and the application certificate. Is an authentication success message indicating that is valid, the service providing application may pass a predetermined access token or support to another device to allow the service providing application to use the service through the access token. A processor that performs the process of handling the login by
    를 포함하는 서비스 제공 서버.Service providing server comprising a.
  27. 제26항에 있어서, The method of claim 26,
    상기 (ii) 프로세스에서, In the above (ii) process,
    상기 서버 챌린지 요청 정보는 상기 서버 인증서의 공개키(public key)에 의하여 인코딩된 상기 가변 인증값을 포함하며, The server challenge request information includes the variable authentication value encoded by a public key of the server certificate,
    상기 프로세서는, 상기 서버 인증서의 개인키(private key)를 이용하여 상기 서버 챌린지 요청 정보로부터 상기 가변 인증값을 획득하고, 상기 서버 인증서의 개인키를 이용하여 상기 가변 인증값을 서명한 값을 포함하는 상기 서버 챌린지 요청 응답 정보를 상기 인증 애플리케이션에 전달하는 것을 특징으로 하는 서비스 제공 서버.The processor may include obtaining a variable authentication value from the server challenge request information by using a private key of the server certificate, and signing the variable authentication value by using a private key of the server certificate. And delivering the server challenge request response information to the authentication application.
  28. 제26항에 있어서, The method of claim 26,
    상기 (i) 프로세스는, The process (i),
    상기 서버 인증서 등록 트랜잭션, 및 상기 애플리케이션 인증서 등록 트랜잭션이 추가로 제1 블록체인 데이터베이스에 기록되어 있는 상태에서 수행되고, The server certificate registration transaction and the application certificate registration transaction are further performed in a state of being recorded in a first blockchain database,
    상기 소정의 블록체인 데이터베이스는 제2 블록체인 데이터베이스이며, The predetermined blockchain database is a second blockchain database,
    상기 (ii) 프로세스는, The process (ii),
    상기 인증 서버로 하여금 상기 제1 블록체인 데이터베이스 및 상기 제2 블록체인 데이터베이스 중 적어도 하나를 참조로 하여 상기 서버 인증서 및 상기 애플리케이션 인증서가 유효한지 여부를 판정하도록 지원하는 것을 특징으로 하는 서비스 제공 서버.And support the authentication server to determine whether the server certificate and the application certificate are valid by referring to at least one of the first blockchain database and the second blockchain database.
  29. 제28항에 있어서, The method of claim 28,
    상기 (ii) 프로세스는, The process (ii),
    상기 인증 서버로 하여금 상기 제1 블록체인 데이터베이스 및 상기 제2 블록체인 데이터베이스 중 적어도 하나를 참조로 하여 상기 서버 인증서 및 상기 애플리케이션 인증서가 유효한지 여부를 판정하도록 지원함으로써, 상기 인증 서버로 하여금, (A) 상기 인증 결과 메시지 또는 이를 가공한 값을 인증 결과 트랜잭션으로서 상기 제1 블록체인 데이터베이스에 기록하거나 상기 인증 서버에 연동되는 타 장치로 하여금 기록하도록 지원하는 프로세스, 및 (B) 소정의 조건이 만족되면, 상기 인증 결과 트랜잭션의 해시값인 특정 해시값과 매칭되는 적어도 하나의 이웃 해시값 - 상기 이웃 해시값은, (i) 특정 서버 인증서의 정보 또는 이를 가공한 값인 특정 서버 인증서 등록 트랜잭션의 해시값, (ii) 특정 애플리케이션 인증서의 정보 또는 이를 가공한 값인 특정 애플리케이션 인증서 등록 트랜잭션의 해시값, 및 (iii) 특정 인증 결과 메시지 또는 이를 가공한 값인 특정 인증 결과 트랜잭션의 해시값을 포함하는 해시값들 중의 하나임 - 을 함께 해시 연산함으로써 생성되는 대표 해시값 또는 상기 대표 해시값을 가공한 값을 상기 제2 블록체인 데이터베이스에 기록하거나 상기 인증 서버에 연동되는 타 장치로 하여금 기록하도록 지원하고, 상기 대표 해시값 또는 상기 대표 해시값을 가공한 값이 상기 제2 블록체인 데이터베이스에 기록된 위치 정보인 트랜잭션 ID를 획득하는 프로세스를 수행하도록 지원하는 것을 특징으로 하는 서비스 제공 서버.Assisting the authentication server to determine whether the server certificate and the application certificate are valid with reference to at least one of the first blockchain database and the second blockchain database, thereby causing the authentication server to: (A ) A process of recording the authentication result message or a processed value thereof as an authentication result transaction in the first blockchain database or by allowing other devices linked to the authentication server to record, and (B) a predetermined condition is satisfied. At least one neighbor hash value that matches a specific hash value that is a hash value of the authentication result transaction, wherein the neighbor hash value is (i) a hash value of a specific server certificate registration transaction, which is information of a specific server certificate or a processed value, (ii) the information in a particular application certificate or its value A representative hash value generated by hashing together a hash value of a specific application certificate enrollment transaction, and (iii) a hash value comprising a specific authentication result message or a hash value of a specific authentication result transaction that is a processed value thereof. Support to record the processed value of the representative hash value in the second blockchain database or to allow other devices linked to the authentication server to record, and the value of processing the representative hash value or the representative hash value is the second block. And a process for acquiring a transaction ID which is location information recorded in a chain database.
  30. 블록체인 데이터베이스를 사용하여 서비스 제공 서버에 의하여 제공되는 서비스를 이용하기 위한 사용자의 로그인 요청에 대하여 PKI(public key infrastructure) 기반의 인증을 통해 로그인을 대행하는 방법을 수행하는 인증 서버에 있어서, An authentication server performing a method of performing a login through a public key infrastructure (PKI) -based authentication for a user's login request to use a service provided by a service providing server using a blockchain database.
    상기 서비스 제공 서버의 인증서인 서버 인증서의 정보 또는 이를 가공한 값인 서버 인증서 등록 트랜잭션의 해시값인 제1 특정 해시값과 매칭되는 적어도 하나의 이웃 해시값 - 상기 이웃 해시값은, (i) 특정 서버 인증서의 정보 또는 이를 가공한 값인 특정 서버 인증서 등록 트랜잭션의 해시값, (ii) 특정 애플리케이션 인증서의 정보 또는 이를 가공한 값인 특정 애플리케이션 인증서 등록 트랜잭션의 해시값, 및 (iii) 특정 인증 결과 메시지 또는 이를 가공한 값인 특정 인증 결과 트랜잭션의 해시값을 포함하는 해시값들 중의 하나임 - 을 함께 해시 연산함으로써 생성되는 제1 대표 해시값 또는 상기 제1 대표 해시값을 가공한 값, 및 사용자 단말에 의하여 실행되는 인증 애플리케이션의 인증서인 애플리케이션 인증서 등록 트랜잭션의 해시값인 제2 특정 해시값과 매칭되는 적어도 하나의 상기 이웃 해시값을 함께 해시 연산함으로써 생성되는 제2 대표 해시값 또는 상기 제2 대표 해시값을 가공한 값이 소정의 블록체인 데이터베이스에 기록되어 있는 상태에서, 상기 인증 애플리케이션을 통한 로그인의 대행을 요청하는 정보인 인증 요청 정보에 대응되는 인증 리다이렉션 요청(authentication redirection request)에 응하여 상기 사용자 단말에 의하여 실행되는 인증 애플리케이션으로부터 챌린지 개시 요청 정보를 획득하거나 타 장치로 하여금 획득하도록 지원하는 통신부; 및 At least one neighbor hash value matching the information of a server certificate which is a certificate of the service providing server or a first specific hash value which is a hash value of a server certificate registration transaction which is a processed value, wherein the neighbor hash value is (i) a specific server A hash value of a specific server certificate enrollment transaction, which is the information of the certificate or a fabricated value, (ii) a hash value of a specific application certificate enrollment transaction, which is the information of a specific application certificate or a fabricated value, and (iii) a specific authentication result message or a fabrication thereof. One of the hash values including the hash value of the specific authentication result transaction, which is a value-a first representative hash value generated by hash operation together, or a value obtained by processing the first representative hash value, and authentication performed by the user terminal. A second specific hash value of the application certificate enrollment transaction that is the application's certificate The authentication is performed in a state in which a second representative hash value generated by hashing together at least one neighboring hash value matching the hash value or a value obtained by processing the second representative hash value is recorded in a predetermined blockchain database. Obtaining challenge initiation request information from an authentication application executed by the user terminal in response to an authentication redirection request corresponding to authentication request information, which is information for requesting a login through an application, or allowing another device to obtain the challenge initiation request information. Supporting communication unit; And
    (i) 상기 챌린지 개시 요청 정보가 획득되면, 상기 챌린지 개시 요청 정보에 대응되는 가변 인증값을 생성하고, 상기 가변 인증값을 포함하는 챌린지 개시 요청 응답 정보를 상기 인증 애플리케이션으로 전달하거나 타 장치로 하여금 전달하도록 지원함으로써, 상기 인증 애플리케이션으로 하여금 상기 서비스 제공 서버의 인증서인 서버 인증서가 유효한지 여부를 판정하기 위한 서버 챌린지 요청 정보에 대응되는 서버 챌린지 요청 응답 정보를 상기 서비스 제공 서버로부터 획득하도록 지원하는 프로세스, (ii) 상기 인증 애플리케이션의 인증서인 애플리케이션 인증서의 개인키(private key)를 이용하여 상기 서버 챌린지 요청 응답 정보를 서명한 값인 다중 서명값을 포함하는 응답 요청 정보가 상기 인증 애플리케이션으로부터 획득되면, 상기 응답 요청 정보, 상기 소정의 블록체인 데이터베이스를 참조로 하여 획득된 상기 서버 인증서 등록 트랜잭션 및 상기 애플리케이션 인증서 등록 트랜잭션을 이용하여 상기 서버 인증서 및 상기 애플리케이션 인증서가 유효한지 여부를 판정하거나 타 장치로 하여금 판정하도록 지원하는 프로세스, 및 (iii) 상기 서버 인증서가 유효한지 여부를 포함하는 인증 결과 메시지를 상기 인증 애플리케이션 및 상기 서비스 제공 서버 중 적어도 하나에 전달하거나 타 장치로 하여금 전달하도록 지원함으로써 상기 인증 결과 메시지가 상기 서버 인증서가 유효함을 나타내는 인증 성공 메시지인 경우에 상기 서비스 제공 서버로 하여금 상기 사용자 단말에 의하여 실행되는 서비스 제공 애플리케이션에 소정의 접근 토큰(access token)을 전달하도록 지원하여 상기 서비스 제공 애플리케이션으로 하여금 상기 접근 토큰을 통하여 상기 서비스를 이용할 수 있도록 지원함으로써 상기 로그인을 처리하는 프로세스를 수행하는 프로세서(i) when the challenge initiation request information is obtained, generates a variable authentication value corresponding to the challenge initiation request information, passes the challenge initiation request response information including the variable authentication value to the authentication application, or causes another device to Assisting the authentication application to obtain, from the service providing server, server authentication request response information corresponding to the server challenge request information for determining whether a server certificate which is a certificate of the service providing server is valid. (ii) when response request information is obtained from the authentication application, the response request information including a multi-signature value signed by the server challenge request response information using a private key of an application certificate that is a certificate of the authentication application; Response request Determining whether the server certificate and the application certificate are valid by using information, the server certificate registration transaction and the application certificate registration transaction obtained with reference to the predetermined blockchain database, or to allow other devices to determine Process, and (iii) forwarding an authentication result message including whether the server certificate is valid to at least one of the authentication application and the service providing server or by allowing another device to forward the authentication result message to the server certificate. Is a successful authentication message indicating that is valid, the service providing server supports the transfer of a predetermined access token to a service providing application executed by the user terminal to provide the service. It allows the application processor to perform the process that handles the login by enabling access to the service through the access token
    를 포함하는 인증 서버.Authentication server comprising a.
  31. 제30항에 있어서, The method of claim 30,
    상기 프로세서는, The processor,
    상기 서비스 제공 서버에 대한 접근 수준(access level)에 관한 정보를 관리하거나 관리하도록 지원하고, 상기 접근 수준을 참조로 하여 승인 수준(authorization level)을 결정하며, Support or manage information about an access level for the service providing server, determine an authorization level with reference to the access level,
    상기 인증 결과 메시지는 상기 승인 수준에 관한 정보를 포함하되, 상기 서버 인증서가 유효한지 여부는 상기 승인 수준을 참조로 하여 판정되는 것을 특징으로 하는 인증 서버.And the authentication result message includes information regarding the approval level, wherein whether the server certificate is valid is determined by referring to the approval level.
  32. 제30항에 있어서, The method of claim 30,
    상기 (ii) 프로세스는, The process (ii),
    상기 서버 인증서의 공개키 및 상기 애플리케이션 인증서의 공개키를 이용하여 상기 다중 서명값의 서명을 검증함으로써 상기 서버 인증서 및 상기 애플리케이션 인증서가 유효한지 여부를 판정하는 것을 특징으로 하는 인증 서버.And verifying whether the server certificate and the application certificate are valid by verifying the signature of the multi-signature value using the public key of the server certificate and the public key of the application certificate.
  33. 제30항에 있어서, The method of claim 30,
    상기 (i) 프로세스는, The process (i),
    상기 서버 인증서 등록 트랜잭션, 및 상기 애플리케이션 인증서 등록 트랜잭션이 추가로 제1 블록체인 데이터베이스에 기록되어 있는 상태에서 수행되고, The server certificate registration transaction and the application certificate registration transaction are further performed in a state of being recorded in a first blockchain database,
    상기 소정의 블록체인 데이터베이스는 제2 블록체인 데이터베이스이며, The predetermined blockchain database is a second blockchain database,
    상기 프로세서는, The processor,
    상기 (ii) 프로세스 후에, After the above (ii) process,
    (iii0-a) 상기 인증 결과 메시지 또는 이를 가공한 값을 인증 결과 트랜잭션으로서 상기 제1 블록체인 데이터베이스에 기록하거나 상기 인증 서버에 연동되는 타 장치로 하여금 기록하도록 지원하는 프로세스, 및 (iii0-a) a process of recording the authentication result message or a processed value thereof as an authentication result transaction in the first blockchain database or by allowing other devices linked to the authentication server to record;
    (iii0-b) 소정의 조건이 만족되면, 상기 인증 결과 트랜잭션의 해시값인 특정 해시값과 매칭되는 적어도 하나의 이웃 해시값 - 상기 이웃 해시값은, (i) 특정 서버 인증서의 정보 또는 이를 가공한 값인 특정 서버 인증서 등록 트랜잭션의 해시값, (ii) 특정 애플리케이션 인증서의 정보 또는 이를 가공한 값인 특정 애플리케이션 인증서 등록 트랜잭션의 해시값, 및 (iii) 특정 인증 결과 메시지 또는 이를 가공한 값인 특정 인증 결과 트랜잭션의 해시값을 포함하는 해시값들 중의 하나임 - 을 함께 해시 연산함으로써 생성되는 대표 해시값 또는 상기 대표 해시값을 가공한 값을 상기 제2 블록체인 데이터베이스에 기록하거나 상기 인증 서버에 연동되는 타 장치로 하여금 기록하도록 지원하고, 상기 대표 해시값 또는 상기 대표 해시값을 가공한 값이 상기 제2 블록체인 데이터베이스에 기록된 위치 정보인 트랜잭션 ID를 획득하는 프로세스를 수행하는 것을 특징으로 하는 인증 서버.(iii0-b) if a predetermined condition is satisfied, at least one neighbor hash value that matches a specific hash value that is a hash value of the authentication result transaction, wherein the neighbor hash value is (i) information of a specific server certificate or the same A hash value of a specific server certificate enrollment transaction, which is a value, (ii) a hash value of a specific application certificate enrollment transaction, which is information of a specific application certificate or a fabricated value, and (iii) a specific authentication result transaction, a specific authentication result message or a fabricated value. Is one of the hash values including a hash value of-a representative hash value generated by hashing together or a value obtained by processing the representative hash value into the second blockchain database or written to another device linked to the authentication server. And record the representative hash value or the representative hash value by processing the representative hash value. The authentication server, characterized in that for performing the process for acquiring the transaction ID, the position information recorded in the database lock chain.
  34. 제33항에 있어서, The method of claim 33, wherein
    주기적으로(periodically) 또는 무결성 검증 요청에 응하여, 상기 프로세서가, 상기 제1 블록체인 데이터베이스에 기록된 적어도 하나의 트랜잭션 - 상기 트랜잭션은, (i) 특정 서버 인증서의 정보 또는 이를 가공한 값인 특정 서버 인증서 등록 트랜잭션, (ii) 특정 애플리케이션 인증서의 정보 또는 이를 가공한 값인 특정 애플리케이션 인증서 등록 트랜잭션, 및 (iii) 특정 인증 결과 메시지 또는 이를 가공한 값인 특정 인증 결과 트랜잭션을 포함하는 트랜잭션들 중의 하나임 - 의 해시값과 매칭되는 적어도 하나의 상기 이웃 해시값을 함께 해시 연산함으로써 생성되는 제1 대표 해시값 또는 상기 제1 대표 해시값을 가공한 값을 이에 대응되는 상기 제2 블록체인 데이터베이스에 기록된 제2 대표 해시값 또는 상기 제2 대표 해시값을 가공한 값과 일치하는지를 검증함으로써 상기 트랜잭션의 무결성(integrity)을 검증하거나 상기 인증 서버에 연동되는 타 장치로 하여금 검증하도록 지원하는 것을 특징으로 하는 인증 서버.Periodically or in response to an integrity verification request, at least one transaction recorded by the processor in the first blockchain database, wherein the transaction is: (i) a specific server certificate that is information of a particular server certificate or a processed value thereof A hash value of a transaction comprising a registration transaction, (ii) a specific application certificate enrollment transaction that is information of, or a fictitious value of, a particular application certificate; A second representative hash value generated by hashing at least one neighboring hash value matched with the second representative hash value or a value obtained by processing the first representative hash value, corresponding to the second representative hash value recorded in the second blockchain database. Value or the second representative hash value to match the processed value And verifying the integrity of the transaction by verifying or supporting another device interworking with the authentication server.
  35. 블록체인 데이터베이스를 사용하여 서비스 제공 서버에 의하여 제공되는 서비스를 이용하기 위한 사용자의 로그인 요청에 대하여 PKI(public key infrastructure) 기반의 인증을 통해 로그인을 대행하는 방법을 수행하는 상기 서비스 제공 서버에 있어서, A service providing server performing a method for performing a login through a public key infrastructure (PKI) -based authentication for a user's login request for using a service provided by a service providing server using a blockchain database.
    사용자 단말에 의하여 실행되는 제2 애플리케이션의 인증서인 애플리케이션 인증서의 정보 또는 이를 가공한 값인 애플리케이션 인증서 등록 트랜잭션의 해시값인 특정 해시값과 매칭되는 적어도 하나의 이웃 해시값 - 상기 이웃 해시값은, (i) 특정 애플리케이션 인증서의 정보 또는 이를 가공한 값인 특정 애플리케이션 인증서 등록 트랜잭션의 해시값 및 (ii) 특정 인증 결과 메시지 또는 이를 가공한 값인 특정 인증 결과 트랜잭션의 해시값을 포함하는 해시값들 중 적어도 하나임 - 을 함께 해시 연산함으로써 생성되는 대표 해시값 또는 상기 대표 해시값을 가공한 값이 소정의 블록체인 데이터베이스에 기록되어 있는 상태에서, 상기 사용자 단말에 의하여 실행되는 제1 애플리케이션으로부터 상기 제2 애플리케이션을 통한 로그인의 대행을 요청하는 정보인 인증 리다이렉션 요청(authentication redirection request)을 전달받은 상기 제2 애플리케이션으로부터 상기 사용자를 식별하기 위한 사용자 식별 정보를 포함하는 인증 요청 정보를 획득하거나 타 장치로 하여금 획득하도록 지원하는 통신부; 및 At least one neighboring hash value matching the information of the application certificate which is the certificate of the second application executed by the user terminal or the specific hash value which is the hash value of the application certificate registration transaction which is a processed value-The neighboring hash value is (i At least one of a hash value of a specific application certificate registration transaction, which is information of a specific application certificate or a processed value thereof, and (ii) a hash value of a specific authentication result message or a specific authentication result transaction that is a processed value thereof. The representative hash value generated by the hash operation together or the value processed by the representative hash value is recorded in a predetermined blockchain database, and the login through the second application is executed from the first application executed by the user terminal. Requesting agency A communication unit for obtaining authentication request information including user identification information for identifying the user from the second application that has received an authentication redirection request, which is information, or for allowing another device to obtain the authentication request information; And
    (i) 상기 인증 요청 정보가 획득되면, 상기 사용자 식별 정보를 포함하는 챌린지 개시 요청 정보를 인증 서버에 전달하거나 타 장치로 하여금 전달하도록 지원하는 프로세스, (ii) 상기 챌린지 개시 요청 정보에 응하여 상기 인증 서버에 의하여 생성된 가변 인증값을 포함하는 챌린지 개시 요청 응답 정보가 획득되면, 상기 가변 인증값을 포함하는 애플리케이션 챌린지 요청 정보를 상기 제2 애플리케이션에 전달하거나 타 장치로 하여금 전달하도록 지원함으로써 상기 제2 애플리케이션으로 하여금 상기 가변 인증값을 상기 애플리케이션 인증서의 개인키(private key)로 서명한 값을 생성하도록 지원하는 프로세스, (iii) 상기 애플리케이션 인증서의 개인키(private key)로 서명한 값을 포함하는 애플리케이션 챌린지 요청 응답 정보가 획득되면, 상기 애플리케이션 챌린지 요청 응답 정보를 상기 인증 서버에 전달하거나 타 장치로 하여금 전달하도록 지원함으로써 상기 인증 서버로 하여금 상기 소정의 블록체인 데이터베이스를 참조로 하여 상기 애플리케이션 인증서가 유효한지 여부를 판정하도록 지원하는 프로세스, 및 (iv) 상기 인증 서버로부터 상기 애플리케이션 인증서가 유효한지 여부를 포함하는 인증 결과 메시지가 획득되고, 상기 인증 결과 메시지가 상기 애플리케이션 인증서가 유효함을 나타내는 인증 성공 메시지라면, 임시 ID(temporary ID)를 상기 제2 애플리케이션에 전달하거나 타 장치로 하여금 전달하도록 지원하여, 상기 제1 애플리케이션으로 하여금 상기 제2 애플리케이션으로부터 상기 제1 애플리케이션에 전달된 (i) 상기 임시 ID 및 (ii) 상기 인증 성공 메시지에 포함된 접근 토큰(access token)을 통하여 상기 서비스를 이용할 수 있도록 지원함으로써 상기 로그인을 처리하는 프로세스를 수행하는 프로세서(i) when the authentication request information is obtained, delivering challenge initiation request information including the user identification information to an authentication server or allowing another device to deliver it; (ii) the authentication in response to the challenge initiation request information. When the challenge initiation request response information including the variable authentication value generated by the server is obtained, the application challenge request information including the variable authentication value may be transmitted to the second application or the other device may be transmitted to support the second device. A process for enabling an application to generate a value signed by the variable authentication value with a private key of the application certificate, and (iii) an application comprising a value signed by the private key of the application certificate Once the challenge request response information is obtained, the application A process of assisting the authentication server to determine whether the application certificate is valid by referring to the predetermined blockchain database by passing the challenge challenge request response information to the authentication server or by allowing another device to deliver it; and (iv) if an authentication result message including whether the application certificate is valid is obtained from the authentication server, and if the authentication result message is an authentication success message indicating that the application certificate is valid, the temporary ID is entered. To allow the first application to forward to a second application or to allow another device to forward, so that the first application is included in (i) the temporary ID and (ii) the authentication success message passed from the second application to the first application. Access token By allowing the services available through the processor to carry out the process for processing the login
    를 포함하는 서비스 제공 서버.Service providing server comprising a.
  36. 제35항에 있어서, 36. The method of claim 35 wherein
    상기 챌린지 개시 요청 정보는 상기 서비스 제공 서버의 인증서인 서버 인증서의 공개키를 더 포함하고, The challenge initiation request information further includes a public key of a server certificate which is a certificate of the service providing server,
    상기 챌린지 개시 요청 응답 정보는 상기 서버 인증서의 공개키에 의하여 인코딩된 상기 가변 인증값을 포함하며, The challenge initiation request response information includes the variable authentication value encoded by the public key of the server certificate,
    상기 (ii) 프로세스에서, In the above (ii) process,
    상기 프로세서는, The processor,
    상기 서버 인증서의 개인키(private key)를 이용하여 상기 챌린지 개시 요청 응답 정보로부터 상기 가변 인증값을 획득하고, 상기 애플리케이션 인증서의 공개키를 이용하여 상기 가변 인증값을 서명한 값을 포함하는 상기 애플리케이션 챌린지 요청 정보를 상기 제2 애플리케이션에 전달하는 것을 특징으로 하는 서비스 제공 서버.The application including a value obtained by acquiring the variable authentication value from the challenge initiation request response information using a private key of the server certificate and signing the variable authentication value using a public key of the application certificate Service providing server, wherein the challenge request information is transmitted to the second application.
  37. 제35항에 있어서, 36. The method of claim 35 wherein
    상기 (i) 프로세스는, The process (i),
    상기 애플리케이션 인증서의 정보 또는 이를 가공한 값인 애플리케이션 인증서 등록 트랜잭션이 추가로 제1 블록체인 데이터베이스에 기록되어 있는 상태에서 수행되고, The application certificate registration transaction, which is the information of the application certificate or a processed value thereof, is additionally recorded in the first blockchain database,
    상기 소정의 블록체인 데이터베이스는 제2 블록체인 데이터베이스이며, The predetermined blockchain database is a second blockchain database,
    상기 (iii) 프로세스는, The process (iii),
    상기 인증 서버로 하여금 상기 제1 블록체인 데이터베이스 및 상기 제2 블록체인 데이터베이스 중 적어도 하나를 참조로 하여 상기 애플리케이션 인증서가 유효한지 여부를 판정하는 것을 특징으로 하는 서비스 제공 서버.And wherein the authentication server determines whether the application certificate is valid by referring to at least one of the first blockchain database and the second blockchain database.
  38. 블록체인 데이터베이스를 사용하여 서비스 제공 서버에 의하여 제공되는 서비스를 이용하기 위한 사용자의 로그인 요청에 대하여 PKI(public key infrastructure) 기반의 인증을 통해 로그인을 대행하는 방법을 수행하는 인증 서버에 있어서, An authentication server performing a method of performing a login through a public key infrastructure (PKI) -based authentication for a user's login request to use a service provided by a service providing server using a blockchain database.
    사용자 단말에 의하여 실행되는 제2 애플리케이션의 인증서인 애플리케이션 인증서의 정보 또는 이를 가공한 값인 애플리케이션 인증서 등록 트랜잭션의 해시값인 특정 해시값과 매칭되는 적어도 하나의 이웃 해시값 - 상기 이웃 해시값은, (i) 특정 애플리케이션 인증서의 정보 또는 이를 가공한 값인 특정 애플리케이션 인증서 등록 트랜잭션의 해시값 및 (ii) 특정 인증 결과 메시지 또는 이를 가공한 값인 특정 인증 결과 트랜잭션의 해시값을 포함하는 해시값들 중 적어도 하나임 - 을 함께 해시 연산함으로써 생성되는 대표 해시값 또는 상기 대표 해시값을 가공한 값이 소정의 블록체인 데이터베이스에 기록되어 있는 상태에서, 상기 사용자 단말에 의하여 실행되는 제1 애플리케이션으로부터 상기 제2 애플리케이션을 통한 로그인의 대행을 요청하는 정보인 인증 리다이렉션 요청(authentication redirection request)을 전달받은 상기 제2 애플리케이션으로부터 상기 사용자를 식별하기 위한 사용자 식별 정보를 포함하는 인증 요청 정보를 획득한 상기 서비스 제공 서버로부터 상기 사용자 식별 정보를 포함하는 챌린지 개시 요청 정보를 획득하거나 타 장치로 하여금 획득하도록 지원하는 통신부; 및 At least one neighboring hash value matching the information of the application certificate which is the certificate of the second application executed by the user terminal or the specific hash value which is the hash value of the application certificate registration transaction which is a processed value-The neighboring hash value is (i At least one of a hash value of a specific application certificate registration transaction, which is information of a specific application certificate or a processed value thereof, and (ii) a hash value of a specific authentication result message or a specific authentication result transaction that is a processed value thereof. The representative hash value generated by the hash operation together or the value processed by the representative hash value is recorded in a predetermined blockchain database, and the login through the second application is executed from the first application executed by the user terminal. Requesting agency A challenge initiation including the user identification information from the service providing server that obtains authentication request information including user identification information for identifying the user from the second application that has received an authentication redirection request, which is information; A communication unit for obtaining request information or supporting another device from obtaining the request information; And
    (i) 상기 챌린지 개시 요청 정보가 획득되면, 상기 챌린지 개시 요청 정보에 응하여 가변 인증값을 생성하거나 타 장치로 하여금 생성하도록 지원하는 프로세스, (ii) 생성된 상기 가변 인증값을 포함하는 챌린지 개시 요청 응답 정보를 상기 서비스 제공 서버에 전달하거나 타 장치로 하여금 전달하도록 지원함으로써 상기 서비스 제공 서버로 하여금 상기 가변 인증값을 포함하는 애플리케이션 챌린지 요청 정보를 상기 제2 애플리케이션에 전달하도록 지원하여 상기 제2 애플리케이션으로 하여금 상기 가변 인증값을 상기 애플리케이션 인증서의 개인키(private key)로 서명한 값을 생성하도록 지원하는 프로세스, (iii) 상기 애플리케이션 인증서의 개인키(private key)로 서명한 값을 포함하는 애플리케이션 챌린지 요청 응답 정보가 획득되면, 상기 애플리케이션 챌린지 요청 응답 정보 및 상기 소정의 블록체인 데이터베이스를 참조로 하여 획득된 애플리케이션 인증서 등록 트랜잭션을 이용하여 상기 애플리케이션 인증서가 유효한지 여부를 판정하거나 타 장치로 하여금 판정하도록 지원하는 프로세스, 및 (iv) 상기 애플리케이션 인증서가 유효한지 여부를 포함하는 인증 결과 메시지를 상기 서비스 제공 서버 및 상기 제2 애플리케이션에 전달하거나 타 장치로 하여금 전달하도록 지원하여, 상기 서비스 제공 서버로 하여금 상기 인증 결과 메시지가 상기 애플리케이션 인증서가 유효함을 나타내는 인증 성공 메시지인 경우에 임시 ID(temporary ID)를 상기 제2 애플리케이션에 전달하도록 지원하고 상기 제1 애플리케이션으로 하여금 상기 제2 애플리케이션으로부터 상기 제1 애플리케이션에 전달된 상기 임시 ID 및 상기 인증 성공 메시지에 포함된 접근 토큰(access token)을 통하여 상기 서비스를 이용할 수 있도록 지원함으로써 상기 로그인을 처리하는 프로세스를 수행하는 프로세서(i) when the challenge initiation request information is obtained, generating a variable authentication value in response to the challenge initiation request information or supporting another device to generate it; and (ii) a challenge initiation request including the generated variable authentication value. By sending the response information to the service providing server or by allowing another device to deliver the response information to the second application by supporting the service providing server to transmit the application challenge request information including the variable authentication value to the second application. A process for assisting the user to generate a value signed by the variable authentication value with a private key of the application certificate, and (iii) an application challenge request comprising a value signed by the private key of the application certificate. Once the response information is obtained, the application A process of determining whether or not the application certificate is valid or supporting another device to determine whether the application certificate registration transaction obtained with reference to the challenge challenge request response information and the predetermined blockchain database, and (iv) the Supporting the delivery of the authentication result message including whether the application certificate is valid to the service providing server and the second application or to allow other devices to deliver, so that the service providing server the authentication result message is valid The temporary ID passed from the second application to the first application by supporting the first application to transmit a temporary ID to the second application when the authentication success message indicates By enabling the services available through the access token (access token) included in the authentication success message processor to perform the process that handles the login
    를 포함하는 인증 서버.Authentication server comprising a.
  39. 제38항에 있어서, The method of claim 38,
    상기 (i) 프로세스는, The process (i),
    상기 애플리케이션 인증서 등록 트랜잭션이 추가로 제1 블록체인 데이터베이스에 기록되어 있는 상태에서 수행되고, The application certificate registration transaction is further performed in a state of being recorded in the first blockchain database,
    상기 소정의 블록체인 데이터베이스는 제2 블록체인 데이터베이스이며, The predetermined blockchain database is a second blockchain database,
    상기 프로세서는, The processor,
    상기 (iii) 프로세스 후에, After the above (iii) process,
    (iv0-a) 상기 인증 결과 메시지 또는 이를 가공한 값을 인증 결과 트랜잭션으로서 상기 제1 블록체인 데이터베이스에 기록하거나 상기 인증 서버에 연동되는 타 장치로 하여금 기록하도록 지원하는 프로세스, 및 (iv0-a) a process of recording the authentication result message or the processed value thereof as an authentication result transaction in the first blockchain database or allowing another device linked to the authentication server to record the authentication result message;
    (iv0-b) 소정의 조건이 만족되면, 상기 인증 결과 트랜잭션의 해시값인 특정 해시값과 매칭되는 적어도 하나의 이웃 해시값 - 상기 이웃 해시값은, (i) 특정 애플리케이션 인증서의 정보 또는 이를 가공한 값인 특정 애플리케이션 인증서 등록 트랜잭션의 해시값 및 (ii) 특정 인증 결과 메시지 또는 이를 가공한 값인 특정 인증 결과 트랜잭션의 해시값 중 적어도 하나를 포함함 - 을 함께 해시 연산함으로써 생성되는 대표 해시값 또는 상기 대표 해시값을 가공한 값을 상기 제2 블록체인 데이터베이스에 기록하거나 상기 인증 서버에 연동되는 타 장치로 하여금 기록하도록 지원하고, 상기 대표 해시값 또는 상기 대표 해시값을 가공한 값이 상기 제2 블록체인 데이터베이스에 기록된 위치 정보인 트랜잭션 ID를 획득하는 프로세스를 수행하는 것을 특징으로 하는 인증 서버.(iv0-b) if a predetermined condition is satisfied, at least one neighbor hash value matching a specific hash value that is a hash value of the authentication result transaction, wherein the neighbor hash value is: (i) information of a specific application certificate or the same; A representative hash value generated by hash operation together with at least one of a hash value of a specific application certificate enrollment transaction, which is a value, and (ii) a particular authentication result message or a hash value of a specific authentication result transaction, which is a processed value thereof. Record the processed hash value in the second blockchain database or allow other devices linked to the authentication server to record, and the representative hash value or the processed value of the representative hash value is the second blockchain. And performing a process of obtaining a transaction ID, which is location information recorded in a database. The authentication server.
  40. 제39항에 있어서, The method of claim 39,
    주기적으로(periodically) 또는 무결성 검증 요청에 응하여, 상기 프로세서가, 상기 제1 블록체인 데이터베이스에 기록된 적어도 하나의 트랜잭션 - 상기 트랜잭션은, (i) 특정 애플리케이션 인증서의 정보 또는 이를 가공한 값인 특정 애플리케이션 인증서 등록 트랜잭션 및 (ii) 특정 인증 결과 메시지 또는 이를 가공한 값인 특정 인증 결과 트랜잭션 중 적어도 하나를 포함함 - 의 해시값과 매칭되는 적어도 하나의 상기 이웃 해시값을 함께 해시 연산함으로써 생성되는 제1 대표 해시값 또는 상기 제1 대표 해시값을 가공한 값을 이에 대응되는 상기 제2 블록체인 데이터베이스에 기록된 제2 대표 해시값 또는 상기 제2 대표 해시값을 가공한 값과 일치하는지를 검증함으로써 상기 트랜잭션의 무결성(integrity)을 검증하거나 상기 인증 서버에 연동되는 타 장치로 하여금 검증하도록 지원하는 것을 특징으로 하는 인증 서버.Periodically or in response to an integrity verification request, at least one transaction recorded by the processor in the first blockchain database, wherein the transaction is: (i) a specific application certificate that is information of, or a processed value of, a particular application certificate; And at least one of a registration transaction and (ii) a particular authentication result message or a particular authentication result transaction that is a truncated value of the first representative hash generated by hashing together at least one of the neighbor hash values that match the hash value of. Integrity of the transaction by verifying whether a value or a value for processing the first representative hash value matches a value for processing a second representative hash value or the second representative hash value recorded in the second blockchain database corresponding thereto. (integrity) or to another device linked to the authentication server Authentication server, characterized in that for supporting the verification.
PCT/KR2018/000913 2017-02-14 2018-01-19 Method for superseding log-in of user through pki-based authentication by using merkle tree structure in utxo-based protocol, and server employing same WO2018151426A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
KR1020170019771A KR101816652B1 (en) 2017-02-14 2017-02-14 Method for providing login flow via authentication based on public key infrastructure in response to user’s login request for using service provided by service provider server in use of merkle tree structure on the basis of unspent transaction output protocol and server using the same
KR10-2017-0019771 2017-02-14

Publications (1)

Publication Number Publication Date
WO2018151426A1 true WO2018151426A1 (en) 2018-08-23

Family

ID=61000273

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/KR2018/000913 WO2018151426A1 (en) 2017-02-14 2018-01-19 Method for superseding log-in of user through pki-based authentication by using merkle tree structure in utxo-based protocol, and server employing same

Country Status (2)

Country Link
KR (1) KR101816652B1 (en)
WO (1) WO2018151426A1 (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109218981A (en) * 2018-11-20 2019-01-15 太原理工大学 Wi-Fi access authentication method based on position signal feature common recognition
CN110706102A (en) * 2019-09-03 2020-01-17 杭州趣链科技有限公司 Multistage signature method with anonymity for alliance block chain
WO2021092445A1 (en) * 2019-11-07 2021-05-14 Micron Technology, Inc. Delegation of cryptographic key to a memory sub-system

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR102500497B1 (en) * 2018-03-09 2023-02-15 삼성에스디에스 주식회사 Apparatus for performing access control based on blockchain and method thereof
KR102216305B1 (en) * 2018-03-30 2021-02-18 주식회사 코인플러그 Method for sso service through blockchain, and terminal and server using the same
KR102216285B1 (en) * 2018-03-30 2021-02-18 주식회사 코인플러그 Method for sso service through blockchain, and terminal and server using the same

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20060123470A (en) * 2004-01-09 2006-12-01 코아스트리트 리미티드 Signature-efficient real time credentials for ocsp and distributed ocsp
KR101085631B1 (en) * 2003-06-27 2011-11-22 마이크로소프트 코포레이션 Three way validation and authentication of boot files transmitted from server to client
KR20140110540A (en) * 2013-03-08 2014-09-17 에스케이플래닛 주식회사 Method for acquiring trust relation between application, system and apparatus thereof
KR101628004B1 (en) * 2016-03-02 2016-06-08 (주)케이스마텍 User simple authentication method and system using user terminal in trusted execution environment
KR101661933B1 (en) * 2015-12-16 2016-10-05 주식회사 코인플러그 Ccertificate authentication system and method based on block chain

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR101085631B1 (en) * 2003-06-27 2011-11-22 마이크로소프트 코포레이션 Three way validation and authentication of boot files transmitted from server to client
KR20060123470A (en) * 2004-01-09 2006-12-01 코아스트리트 리미티드 Signature-efficient real time credentials for ocsp and distributed ocsp
KR20140110540A (en) * 2013-03-08 2014-09-17 에스케이플래닛 주식회사 Method for acquiring trust relation between application, system and apparatus thereof
KR101661933B1 (en) * 2015-12-16 2016-10-05 주식회사 코인플러그 Ccertificate authentication system and method based on block chain
KR101628004B1 (en) * 2016-03-02 2016-06-08 (주)케이스마텍 User simple authentication method and system using user terminal in trusted execution environment

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109218981A (en) * 2018-11-20 2019-01-15 太原理工大学 Wi-Fi access authentication method based on position signal feature common recognition
CN109218981B (en) * 2018-11-20 2019-06-21 太原理工大学 Wi-Fi access authentication method based on position signal feature common recognition
CN110706102A (en) * 2019-09-03 2020-01-17 杭州趣链科技有限公司 Multistage signature method with anonymity for alliance block chain
WO2021092445A1 (en) * 2019-11-07 2021-05-14 Micron Technology, Inc. Delegation of cryptographic key to a memory sub-system
US11296872B2 (en) 2019-11-07 2022-04-05 Micron Technology, Inc. Delegation of cryptographic key to a memory sub-system
US11736276B2 (en) 2019-11-07 2023-08-22 Micron Technology, Inc. Delegation of cryptographic key to a memory sub-system

Also Published As

Publication number Publication date
KR101816652B1 (en) 2018-01-09

Similar Documents

Publication Publication Date Title
WO2018151427A1 (en) Method for superseding log-in of user through pki-based authentication by using smart contact and blockchain database, and server employing same
WO2018151425A1 (en) Method for superseding log-in of user through pki-based authentication by using blockchain database of utxo-based protocol, and server employing same
WO2018151426A1 (en) Method for superseding log-in of user through pki-based authentication by using merkle tree structure in utxo-based protocol, and server employing same
WO2018131886A1 (en) Method for providing payment gateway service using utxo-based protocol and server using same
WO2018155822A1 (en) Method for providing simplified account registration service and user authentication service, and authentication server using same
Almadhoun et al. A user authentication scheme of IoT devices using blockchain-enabled fog nodes
WO2018070848A1 (en) Method for providing smart contract-based certificate service, and server employing same
WO2018194350A1 (en) Method for managing document on basis of blockchain by using utxo-based protocol, and document management server using same
WO2018194351A1 (en) Method for managing document on basis of blockchain by using merkle tree structure in utxo-based protocol, and document management server using same
US20230376584A1 (en) Systems and methods for device and user authorization
CN108259438B (en) Authentication method and device based on block chain technology
WO2018124857A1 (en) Blockchain database-based method and terminal for authenticating user non-face-to-face by utilizing mobile id, and server utilizing method and terminal
WO2018194379A1 (en) Method for approving use of card by using token id on basis of blockchain and merkle tree structure associated therewith, and server using same
WO2017135670A1 (en) Method and server for providing notary service for file and verifying file recorded by notary service
WO2020189926A1 (en) Method and server for managing user identity by using blockchain network, and method and terminal for user authentication using blockchain network-based user identity
WO2017135669A1 (en) Method and server for providing notary service for file and verifying file recorded by notary service
US11979392B2 (en) Systems and methods for managing device association
US11729175B2 (en) Blockchain folding
EP3966997B1 (en) Methods and devices for public key management using a blockchain
CN112818325A (en) Method for realizing API gateway independent authentication based on application
JP2023503607A (en) Method and device for automatic digital certificate verification
WO2020141782A1 (en) Method and server for managing identity of user by using blockchain network, and method and terminal for authenticating user by using user identity based on blockchain network
CN113271311A (en) Digital identity management method and system in cross-link network
WO2022246193A1 (en) Lifecycle administration of domain name blockchain addresses
WO2020141783A1 (en) Method and server for managing user identity using blockchain network, and method and terminal for authenticating user using blockchain network-based user identity

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 18754516

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

32PN Ep: public notification in the ep bulletin as address of the adressee cannot be established

Free format text: NOTING OF LOSS OF RIGHTS PURSUANT TO RULE 112(1) EPC (EPO FORM 1205A DATED 15-11-2019)

122 Ep: pct application non-entry in european phase

Ref document number: 18754516

Country of ref document: EP

Kind code of ref document: A1