Personal identification program, personal identification method, and user terminal
The identity verification program uses zero-knowledge proof to balance user privacy and convenience in online services by securing data encryption and authentication without disclosing sensitive information, offering flexible backup and recovery.
Patent Information
- Application Number
- JP2021524820
- Authority / Receiving Office
- JP · JP
- Patent Type
- Patents
- Current Assignee / Owner
- Priority Date
- 2019-06-05
- Filing Date
- 2020-05-29
- Publication Date
- 2024-10-16
- Estimated Expiration
- 2040-05-29
Smart Images

Figure 0007567788000001 
Figure 0007567788000002 
Figure 0007567788000003
Abstract
Description
[Technical field]
[0001] The present disclosure relates to a personal identification program, a personal identification method, and User end At the end Regarding. [Background technology]
[0002] As the use of various online services such as cloud services becomes more common, various measures are being attempted to manage and protect user data, such as measures to prevent unauthorized access using user IDs and passwords, and measures to prevent leaks by encrypting user data. [Prior art documents] [Patent documents]
[0003] [Patent Document 1] JP 2015-95877 A Summary of the Invention [Problem to be solved by the invention]
[0004] When providing various online services, measures to protect user data must be taken to simultaneously protect user privacy and improve user convenience.
[0005] Therefore, the present disclosure provides an identity verification program, an identity verification method, and a method for verifying an identity that can simultaneously protect user privacy and improve user convenience. and User end The end suggest. [Means for solving the problem]
[0006] In order to solve the above problems, an identity verification program according to an embodiment of the present disclosure causes a computer, which is a user terminal, to execute a processing function for identity verification using zero-knowledge proof. The identity verification program acquires a witness, which is information that only the user of the user terminal can know, generates a proof for user authentication using zero-knowledge proof based on the acquired witness, and transmits a user authentication request based on the generated proof to an authentication device. [Brief description of the drawings]
[0007] [Figure 1] FIG. 1 is a diagram illustrating an example of an information processing system according to an embodiment. [Diagram 2] FIG. 1 is a diagram showing an overview of a setup process according to an embodiment. [Diagram 3] FIG. 11 is a diagram showing an overview of processing of a user terminal according to an embodiment. [Figure 4] FIG. 11 is a diagram illustrating an example of a procedure of a user registration process according to the embodiment. [Diagram 5] FIG. 11 is a diagram illustrating an example of a procedure of a user authentication process according to the embodiment. [Figure 6] FIG. 11 is a diagram showing an example of a procedure for generating and storing a user private key according to the embodiment; [Figure 7] FIG. 11 is a diagram illustrating another example of the procedure of the user private key generation and storage process according to the embodiment. [Figure 8] FIG. 13 is a diagram illustrating an example of a procedure for saving public parameters according to a modified example. [Figure 9] FIG. 13 is a diagram showing an example of a user interface for selecting a personal authentication algorithm according to a modified example. [Figure 10] FIG. 11 is a diagram showing another example of the procedure of the user private key generation and storage process according to the modified example. [Figure 11] FIG. 13 is a diagram showing an example of a procedure for recovering a user private key using public parameters according to a modified example. [Figure 12] FIG. 11 is a diagram showing an example of a procedure for generating and storing a backup private key according to a modified example. [Figure 13]FIG. 13 is a diagram showing an example of a procedure for a process of recovering a user private key using a backup private key according to a modified example. [Figure 14] FIG. 1 is a diagram illustrating an example of application of multiple authentication algorithms. [Figure 15] FIG. 2 is a hardware configuration diagram illustrating an example of a computer that realizes the functions of a user terminal. DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS
[0008] Hereinafter, embodiments of the present disclosure will be described in detail with reference to the drawings. In the following embodiments, the same components are designated by the same reference numerals, and duplicated descriptions may be omitted.
[0009] The present disclosure will be described in the following order. 1. Introduction 2. Functional configuration example 3. Example of processing procedure 4. Variations 5.Other 6.Effects 7.Hardware Configuration
[0010] (1. Introduction) 2. Description of the Related Art When providing various online services, the service formats for managing and protecting user data are roughly divided into centralized service formats and decentralized service formats.
[0011] In a centralized service form, the service provider manages the user's secret information. For example, when login authentication is performed using a user ID and password, the service provider manages the password and the secret password in case the password is forgotten. This allows for flexible response to password loss. The service provider also manages information (decryption key) for decrypting the user's encrypted data. This means that there is no risk of losing information for decrypting encrypted data, and data availability is high. In this way, the centralized service form is highly convenient for users. On the other hand, since the service provider manages information (decryption key) for decrypting encrypted data, an authorized administrator can decrypt the encrypted user data and look at the contents. In addition, when using a service, user data may be provided to a third party, and it is desirable to avoid the encrypted data being decrypted by the service provider as much as possible. In this way, the centralized service form has a problem in terms of protecting user privacy. A decentralized service form is considered to address the issue of user privacy.
[0012] In a decentralized service form, the user himself manages information (user key) for decrypting encrypted data that has been encrypted. As a result, the service provider that manages the encrypted data cannot decrypt the encrypted data, and only the user can decrypt it, so user privacy can be protected. On the other hand, if the user should lose the information (user key) for decrypting the encrypted data, the encrypted data cannot be restored and referenced, and data availability is low. As such, a decentralized service form has issues in terms of user convenience.
[0013] There is also a backup method in which the service provider encrypts and manages the user key used to encrypt user data, but the service provider can decrypt the user key, which poses a problem in terms of user privacy. There is also a method in which the user backs up the user key offline, but the user must prepare a separate location to back up the user key, which poses a problem in terms of user convenience. There is also a method in which the service provider backs up the encrypted user key encrypted by the user using a password or the like, but there is a risk that the password will be forgotten, and the encrypted user key is managed using a standard method such as a password provided by the service provider, which poses a problem in terms of user convenience.
[0014] In view of the above, this embodiment proposes an information processing device that can achieve both protection of user privacy and improvement of user convenience.
[0015] (2. Functional configuration example) Fig. 1 is a diagram showing an example of an information processing system 1 according to an embodiment. As shown in Fig. 1, the information processing system 1 includes a user terminal 100 and a cloud server 200 that are capable of data communication with each other via a communication network 10.
[0016] The user terminal 100 is a user device used by a user who is a user of the online services provided by the cloud server 200. The user terminal 100 is realized by an information processing device such as a mobile phone including a smartphone, a tablet terminal, a desktop PC, a notebook PC, or a PDA (Personal Digital Assistant).
[0017] Cloud server 200 is a device managed by a service provider that provides various online services in a cloud environment to user terminal 100. Cloud server 200 is an example of an authentication device that processes a user authentication request transmitted from user terminal 100. Note that cloud server 200 shown in Fig. 1 may be composed of multiple servers distributed for each process according to the embodiment described below.
[0018] [2-1. User terminal] The user terminal 100 includes a communication unit 101 , an input unit 102 , an output unit 103 , an imaging unit 104 , a positioning unit 105 , a detection unit 106 , a storage unit 115 , and a control unit 117 .
[0019] The communication unit 101 is realized by, for example, a network interface card (NIC) or the like. The communication unit 101 is connected to a communication network 10 by wire or wirelessly, and transmits and receives information to and from a cloud server 200 or the like via the communication network 10. The communication network 10 includes a local area network (LAN), a wide area network (WAN), a telephone network (mobile phone network, landline telephone network, etc.), a regional Internet Protocol (IP) network, the Internet, etc.
[0020] The input unit 102 includes a keyboard, a mouse, and the like, and accepts various operations from the user of the user terminal 100. The operations that the input unit 102 accepts from the user terminal 100 include a user registration operation and a login operation associated with the use of a service provided by the cloud server 200. The input unit 102 may also include an audio input device such as a microphone, and accepts input such as the user's voice.
[0021] The output unit 103 includes a display, a speaker, etc., and outputs various information. The information output by the output unit 103 includes a user interface for user registration and service use provided by the cloud server 200.
[0022] The imaging unit 104 includes a device such as a camera and captures an image. The imaging unit 104 can obtain a face image, an iris image, and the like of the user as user data that can be handled by the personal authentication algorithm.
[0023] The positioning unit 105 includes a GPS (Global Positioning System) and acquires the position of the user terminal 100. The positioning unit 105 can acquire position information of the user's home or parent's home as user data that can be handled by the personal authentication algorithm.
[0024] The detection unit 106 includes an acceleration sensor, a gyro sensor, a biometric sensor, and the like, and detects various information acting on the user terminal 100. The detection unit 106 can acquire biometric information such as features corresponding to the user's gait, a heartbeat waveform, and fingerprint features as user data that can be handled by an identity verification algorithm.
[0025] The storage unit 115 stores programs and data for implementing various processing functions executed by the control unit 117. The storage unit 115 is implemented by, for example, a semiconductor memory element such as a random access memory (RAM) or a flash memory, or a storage device such as a hard disk or an optical disk. The programs stored in the storage unit 115 include an identity verification program for implementing processing functions corresponding to each unit of the control unit 117. The identity verification program provides a function for causing the user terminal 100 to execute a processing function for identity verification using zero-knowledge proof, which will be described below.
[0026] The control unit 117 executes various processes in the user terminal 100. The control unit 117 is realized by a processor such as a CPU (Central Processing Unit) or an MPU (Micro Processing Unit). For example, the control unit 117 is realized by the processor executing various programs stored in a storage device provided inside the user terminal 100 using a RAM (Random Access Memory) or the like as a working area. The control unit 107 may be realized by an integrated circuit such as an ASIC (Application Specific Integrated Circuit) or an FPGA (Field Programmable Gate Array).
[0027] The control unit 117 includes a personal authentication algorithm generation unit 171, a ZKP-Setup processing unit 172, a Witness input unit 173, a user registration unit 174, a ZKP-Prove processing unit 175, and a key generation unit 176. The control unit 107 realizes or executes the functions and actions of various processes of the user terminal 100 described below, using these units. The functional configuration of the control unit 107 does not need to be particularly limited to the example configuration shown in Fig. 1, and may be other configurations as long as they are capable of performing various processes of the user terminal 100 described below.
[0028] The personal identification algorithm generating unit 171 generates a personal identification algorithm which is a method for performing personal identification. The personal identification algorithm generating unit 171 generates the algorithm using a witness (hereinafter, referred to as "Witness") which is information known only to the user of the user terminal 100 via the input unit 102. Examples of the personal identification algorithm include matching a name and a password, matching a name and a plurality of secret passwords, matching a name and the position of a face image, matching a name and a fingerprint, and the like.
[0029] In addition to the above, examples of data that can be used as an identity verification algorithm include other information such as secret information such as a card number, a combination of publicly known information, sensing data, My Number, credit card information, etc. Examples of combinations of publicly known information include names of family members, home addresses and telephone numbers, parents' addresses and telephone numbers, parents' maiden names, etc. Examples of sensing data include the above-mentioned fingerprints, as well as position information of a specific location such as a home, and biometric information such as irises, faces, and gait.
[0030] The identity verification algorithm may employ a conditional expression such as exact match, fuzzy match, size comparison, or inclusion relationship as appropriate depending on the data exchanged in the identity verification algorithm. In the case of an identity verification algorithm in which a password, secret password, or biometric information is exchanged, an exact match may be employed as the conditional expression. In the case of an identity verification algorithm in which biometric information or secret password is exchanged, a fuzzy match may be employed as the conditional expression. In the case of an identity verification algorithm in which location information is exchanged, for example, an inclusion relationship, such as whether the location information is included in a specific area, may be employed as the conditional expression. The combination of data exchanged in the identity verification algorithm and conditional expressions may be an AND condition or an OR condition.
[0031] The data for the authentication algorithm may be input interactively via the input unit 102, the image capturing unit 104, etc., or may be input non-interactively.
[0032] The ZKP (Zero Knowledge Proof)-Setup processing unit 172 executes a setup process to generate public parameters for user authentication by zero knowledge proof based on a personal authentication algorithm. The ZKP-Setup processing unit 172 functions as a setup processing unit that executes a setup process to generate public parameters for user authentication by zero knowledge proof.
[0033] 2 is a diagram showing an overview of the setup process according to the embodiment. As shown in FIG. 2, the ZKP-Setup processing unit 172 converts the personal authentication algorithm A1 generated by the personal authentication algorithm generating unit 171 into an NP-complete class problem Q1 by inputting the personal authentication algorithm A1 to a logic gate G1.
[0034] Such an NP-complete class problem Q1 cannot be solved in polynomial time unless the Witness, which is information that is known only to the user and used to generate the personal authentication algorithm, is known. This realizes completeness, soundness, and zero-knowledge of personal authentication using the personal authentication algorithm. The user of the user terminal 100 can prove that he or she is the user without disclosing the Witness to the service provider.
[0035] The Witness input unit 173 accepts input of the Witness of the user of the user terminal 100. The Witness input unit 173 functions as an acquisition unit that acquires the Witness, which is information that only the user of the user terminal 100 can know.
[0036] The user registration unit 174 registers the user information of the user terminal 100 in the cloud server 200. The user registration unit 174 acquires user identification information (user ID) unique to the user from the user of the user terminal 100 via the input unit 102. The user registration unit 174 associates the user identification information (user ID), public parameters, and an encrypted witness, and registers them in the cloud server 200. It is assumed that information that the user is unlikely to forget, such as an email address, is used as the user identification information.
[0037] The ZKP-Prove processing unit 175 includes a WitnessReduction processing unit 175a and a Proof generation unit 175b. The ZKP-Prove processing unit 175 functions as a generation unit that generates a proof for user authentication by zero-knowledge proof based on the Witness using these units. The ZKP-Prove processing unit 175 also functions as a transmission unit that transmits a user authentication request using the proof to the cloud server 200.
[0038] The WitnessReduction processing unit 175a executes a WitnessReduction process to generate a secret polynomial h based on the Witness, the public parameters, and the encrypted Witness. The secret polynomial h (hereinafter, referred to as polynomial h) generated by the WitnessReduction process is a polynomial that cannot be generated in polynomial time without the Witness, which is information that only the user can know. In other words, if the Witness and the encrypted Witness do not match, the correct polynomial h will not be generated by the WitnessReduction process.
[0039] The proof generation unit 175b generates a proof for user authentication by zero-knowledge proof based on the polynomial h generated by the WitnessReduction process. For example, the proof generation unit 175b generates a proof by hashing the polynomial h. The proof generation unit 175b transmits the generated proof to the cloud server 200.
[0040] The key generation unit 176 uses the polynomial h to generate a user private key for encrypting user data of the user of the user terminal 100. The key generation unit 176 also uses the polynomial h to generate a backup private key for encrypting the user private key.
[0041] [2-2. Cloud Server] The cloud server 200 includes a communication unit 201 , a storage unit 202 , and a control unit 203 .
[0042] The communication unit 201 is realized by, for example, a network interface card (NIC) etc. The communication unit 201 is connected to the communication network 10 by wire or wirelessly, and transmits and receives information to and from the user terminal 100 etc. via the communication network 10.
[0043] The storage unit 202 stores programs and data for implementing various processing functions executed by the control unit 203. The storage unit 202 is implemented by, for example, a semiconductor memory element such as a random access memory (RAM) or a flash memory, or a storage device such as a hard disk or an optical disk. The programs stored in the storage unit 202 include a user authentication program for implementing processing functions corresponding to each unit of the control unit 203. The user authentication program provides a function for executing user authentication based on a proof for user authentication by zero-knowledge proof generated based on a Witness and an encrypted Witness obtained by encrypting the Witness.
[0044] The control unit 203 executes various processes in the cloud server 200. The control unit 203 is realized by a processor such as a central processing unit (CPU) or a micro processing unit (MPU). For example, the control unit 203 is realized by the processor executing various programs stored in a storage device provided inside the cloud server 200 using a random access memory (RAM) or the like as a working area. The control unit 203 may be realized by an integrated circuit such as an application specific integrated circuit (ASIC) or a field programmable gate array (FPGA).
[0045] Control unit 203 includes service unit 231, public parameter management unit 232, and ZKP-Verify processing unit 233, and these units realize or execute the functions and actions of various processes of cloud server 200 described below. The functional configuration of control unit 203 does not need to be particularly limited to the example configuration shown in Fig. 1, and may be other configurations as long as they are capable of performing various processes of cloud server 200 described below.
[0046] The service unit 231 provides various online services to the user of the user terminal 100. The service unit 231 accepts user registration and user authentication requests from the user terminal 100 when providing various online services.
[0047] The public parameter management unit 232 registers and manages the public parameters, user identification information (user ID), and encrypted Witness provided by the user terminal 100 in association with one another.
[0048] The ZKP-verify processing unit 233 performs user authentication of the user of the user terminal 100 based on the proof included in the user authentication request received from the user terminal 100. The ZKP-verify processing unit 233 obtains public parameters and an encrypted witness linked to the user ID included in the user authentication request from the public parameter management unit 232. The ZKP-verify processing unit 233 verifies the proof received from the user terminal 100 based on the public parameters and the encrypted witness. It verifies whether the proof was generated by the user of the user terminal 100. The ZKP-verify processing unit 233 compares the calculation result based on the public parameters and the encrypted witness with the proof, and verifies whether the proof was generated from the correct polynomial h.
[0049] If the ZKP-verify processing unit 233 can prove that the proof was generated from the correct polynomial h, it derives a verification result that the user of the user terminal 100 that sent the proof is the genuine user. A correct polynomial h means that the polynomial was generated by the same witness as the witness used in the identity verification algorithm used when generating the public parameters. On the other hand, if the ZKP-verify processing unit 233 cannot prove that the proof was generated from the correct polynomial h, it derives a verification result that the user of the user terminal 100 that sent the proof is not the genuine user.
[0050] Fig. 3 is a diagram showing an overview of the processing of the user terminal 100 according to the embodiment. As shown in Fig. 3, the personal authentication algorithm generation unit 171 generates a personal authentication algorithm. The ZKP-Setup processing unit 172 generates public parameters for user authentication by zero-knowledge proof based on the personal authentication algorithm.
[0051] The Witness input unit 173 generates an encrypted Witness by encrypting the Witness inputted in association with the user registration. The user registration unit 174 associates the user ID, the public parameters, and the encrypted Witness, and transmits them to the cloud server 200. In this manner, the user terminal 100 completes the user registration process.
[0052] In addition, the Witness input unit 173 accepts input of a Witness from a user in association with user authentication. The WitnessReduction processing unit 175a executes a WitnessReduction process to generate a secret polynomial h based on the Witness, the public parameters, and the encrypted Witness.
[0053] The proof generation unit 175b generates a proof for user authentication by zero-knowledge proof based on the polynomial h generated by the Witness Reduction process. For example, the proof generation unit 175b generates a proof by hashing the polynomial h. The user terminal 100 undergoes user authentication processing by the cloud server 200 by transmitting the proof generated by the proof generation unit 175b to the cloud server 200.
[0054] Furthermore, the key generation unit 176 generates a user private key using the polynomial h generated by the Witness Reduction processing unit 175a.
[0055] (3. Processing procedure example) [3-1. User Registration] 4 is a diagram showing an example of a procedure of a user registration process according to the embodiment. As shown in FIG 4, the personal authentication algorithm generating unit 171 of the user terminal 100 generates a personal authentication algorithm (step S101).
[0056] The ZKP-Setup processing unit 172 of the user terminal 100 executes a setup process to generate public parameters for user authentication by zero-knowledge proof based on the personal authentication algorithm (step S102).
[0057] The Witness input unit 173 of the user terminal 100 generates an encrypted Witness by encrypting the input Witness (steps S103 and S104).
[0058] The user registration unit 174 of the user terminal 100 associates the user ID, the public parameters, and the encrypted Witness, and transmits them to the cloud server 200 (step S105).
[0059] The service unit 231 of the cloud server 200 requests the public parameter management unit 232 to register the user ID, the public parameters, and the encrypted Witness received from the user terminal 100 (step S106).
[0060] The service unit 231 transmits a user registration completion notification to the user terminal 100 (step S107).
[0061] [3-2. User authentication] 5 is a diagram showing an example of a procedure of a user authentication process according to an embodiment. As shown in FIG 5, the user terminal 100 transmits a request to the cloud server 200 to acquire public parameters associated with a user ID input by the user in association with user authentication (step S201).
[0062] The ZKP-Verify processing unit 233 of the cloud server 200 requests the public parameter management unit 232 to provide public parameters (step S202).
[0063] In response to a request from the ZKP-verify processing unit 233, the public parameter management unit 232 of the cloud server 200 provides the ZKP-verify processing unit 233 with the public parameters and the encrypted witness (step S203).
[0064] The ZKP-Verify processing unit 233 of the cloud server 200 transmits the public parameters and the encrypted Witness to the user terminal 100 (step S204).
[0065] The Witness input unit 173 of the user terminal 100 accepts input of a Witness from the user following user authentication (step S205).
[0066] The ZKP-Prove processing unit 175 executes the ZKP-Prove process based on the Witness, the encrypted Witness, and the public parameters, and generates a proof for user authentication using zero-knowledge proof (step S206).
[0067] The ZKP-Prove processing unit 175 transmits a user authentication request based on the user ID input in step S201 and the proof generated in step S206 to the cloud server 200 (step S207).
[0068] The ZKP-Verify processing unit 233 of the cloud server 200 requests the public parameter management unit 232 to provide an encrypted witness linked to the user ID included in the user authentication request received from the user terminal 100 (step S208).
[0069] In response to a request from the ZKP-verify processing unit 233, the public parameter management unit 232 of the cloud server 200 provides the encrypted witness to the ZKP-verify processing unit 233 (step S209).
[0070] The ZKP-Verify processing unit 233 of the cloud server 200 verifies the proof included in the user authentication request based on the proof, the public parameters linked to the user ID included in the user authentication request, and the encrypted witness (step S210).
[0071] [3-3. Generation and storage of user private keys through identity verification] <3-3-1.Hashing> Fig. 6 is a diagram showing an example of a procedure for generating and storing a user private key according to an embodiment. In the procedure shown in Fig. 6, the processes in steps S301 to S304 are basically the same as the processes in steps S201 to S204 shown in Fig. 5, so detailed description thereof will be omitted.
[0072] As shown in FIG. 6, the user terminal 100 requests the user to input the Witness used in generating the personal authentication algorithm in order to verify the user's identity (user authentication), and the Witness input unit 173 accepts the input of the Witness (step S305).
[0073] The WitnessReduction processing unit 175a executes a WitnessReduction process based on the Witness acquired in step S305, the encrypted Witness, and the public parameters, to generate a polynomial h (step S306).
[0074] The key generation unit 176 generates a user private key by encoding and hashing the polynomial h generated by the Witness Reduction process (step S307), and stores the generated user private key in the device (step S308).
[0075] <3-3-2. Random numbers> Fig. 7 is a diagram showing another example of the procedure of generating and storing a user private key according to the embodiment. In the procedure shown in Fig. 7, the processes of steps S401 to S404 are basically the same as the processes of steps S201 to S204 shown in Fig. 5, so detailed description will be omitted.
[0076] As shown in FIG. 7, the user terminal 100 requests the user to input the Witness used in generating the personal authentication algorithm in order to verify the user's identity (user authentication), and the Witness input unit 173 accepts the input of the Witness (step S405).
[0077] The WitnessReduction processing unit 175a executes a WitnessReduction process based on the Witness acquired in step S405, the encrypted Witness, and the public parameters, to generate a polynomial h (step S406).
[0078] The key generating unit 176 generates an arbitrary random number r (step S407), and generates a value obtained by inputting the generated random number r to a polynomial h as a user private key (step S408).
[0079] The key generating unit 176 transmits a backup request for the random number r generated in step S407 to the cloud server 200 (step S409), and stores the user private key generated in step S408 in the device (step S410).
[0080] When the service unit 231 of the cloud server 200 receives a backup request for the random number r from the user terminal 100, the service unit 231 requests the public parameter management unit 232 to back up the random number r (step S411).
[0081] (4. Modifications) [4-1. Generation and management of multiple identity verification algorithms] In the above embodiment, the user terminal 100 may generate a plurality of personal identification algorithms to be selected by the user, and register public parameters corresponding to each of the plurality of personal identification algorithms in the cloud server 200. Fig. 8 is a diagram showing an example of a procedure for a public parameter saving process according to a modified example. Fig. 9 is a diagram showing an example of a user interface for selecting a personal identification algorithm according to a modified example.
[0082] As shown in FIG. 8, the authentication algorithm generation unit 171 generates an authentication algorithm by providing the user with the selection user interface 113 shown in FIG. 9, and the ZKP-Setup processing unit 172 generates public parameters (step S501).
[0083] As shown in Fig. 9, the personal authentication algorithm generation unit 171 displays a selection user interface 113 from which a plurality of personal authentication methods can be selected on the output unit 103, and provides it to the user. The selection user interface 113 shown in Fig. 9 has a plurality of selection items 113a to 113d for selecting a personal authentication method. The selection user interface 113 is configured to be able to accept a selection of the selection items 113a to 113d from the user and display Witness input screens 131a to 131d corresponding to the selection items 113a to 113d, respectively. The personal authentication algorithm generation unit 171 generates a personal authentication algorithm every time a personal authentication method is selected and a Witness is input.
[0084] The ZKP-Setup processing unit 172 generates public parameters based on the authentication algorithm for each of the multiple authentication algorithms generated by the authentication algorithm generation unit 171.
[0085] Returning to FIG. 8, the user registration unit 174 associates the user ID with all the public parameters generated by the ZKP-Setup processing unit 172, and transmits a public parameter save request to the cloud server 200 (step S502).
[0086] When the service unit 231 of the cloud server 200 receives a request to save the public parameters from the user terminal 100, the service unit 231 requests the public parameter management unit 232 to save the public parameters (step S503). The public parameter management unit 232 registers and manages the user ID and all public parameters in association with each other.
[0087] [4-2. Generation and storage of user private key when registering for the first time] Fig. 10 is a diagram showing another example of the procedure for generating and storing a user private key according to a modified example. Fig. 10 shows the procedure for generating and storing a user private key at the time of initial user registration. In the procedure shown in Fig. 10, the processes of steps S601 to S607 are similar to the processes of steps S101 to S107 shown in Fig. 4, and therefore detailed explanations will be omitted. In the procedure shown in Fig. 10, the processes of steps S608 to S610 are basically similar to the processes of steps S306 to S308 shown in Fig. 6.
[0088] Upon receiving the user registration completion notification, the WitnessReduction processing unit 175a of the user terminal 100 generates a polynomial h based on the Witness acquired in step S603, the encrypted Witness, and the public parameters (step S608).
[0089] The key generation unit 176 generates a user private key by encoding and hashing the polynomial h generated by the Witness Reduction process (step S609), and stores the generated user private key in the device (step S610).
[0090] In step S609, the user terminal 100 may generate an arbitrary random number r as shown in FIG. 7, and input the generated random number r to a polynomial h to generate a value as the user private key.
[0091] [4-3. Recovering user private keys using public parameters] FIG. 11 is a diagram showing an example of a procedure of a recovery process of a user private key using public parameters according to a modified example. Steps S701 to S708 shown in FIG. 11 are basically the same as steps S301 to S308 shown in FIG. 6, and therefore detailed description will be omitted. When the user of the user terminal 100 manages the user private key by himself / herself by storing it in the device, etc., a situation where the user private key is lost may occur. At this time, the user terminal 100 requests the user to input the Witness used in generating the personal authentication algorithm (step S705). Next, the user terminal 100 executes a WitnessReduction process based on the public parameters and the encrypted Witness acquired from the cloud server 200 and the Witness acquired from the user, to generate a polynomial h (step S706). The user terminal 100 can recover the user private key by generating the user private key again using the polynomial h generated by the WitnessReduction process (step S707).
[0092] [4-4. Creating and storing a backup private key] Fig. 12 is a diagram showing an example of a procedure for generating and storing a backup private key according to a modified example. In the procedure shown in Fig. 12, the processes of steps S803 to S810 are basically the same as the processes of steps S601 to S610 shown in Fig. 10, and therefore detailed description thereof will be omitted.
[0093] As shown in FIG. 12, the user terminal 100 generates a user private key based on a generated random number (step S801), and stores the generated user private key in the device (step S802).
[0094] Next, the user ID, the public parameters, and the encrypted Witness are registered between the user terminal 100 and the cloud server 200 (steps S803 to S809). After the user registration is completed, the user terminal 100 generates a polynomial h (step S810).
[0095] The key generation unit 176 generates a backup private key for encrypting the user private key generated in step S801 based on the polynomial h generated in step S810 (step S811). The key generation unit 176 generates the backup private key by, for example, encoding and hashing the polynomial h.
[0096] The key generating unit 176 generates an encrypted user private key by encrypting the user private key generated in step S801 with the backup private key generated in step S811 (step S812).
[0097] The key generating unit 176 transmits a backup request for the encrypted user private key generated in step S812 to the cloud server 200 (step S813).
[0098] When the service unit 231 of the cloud server 200 receives the backup request for the encrypted user private key from the user terminal 100, the service unit 231 requests the public parameter management unit 232 to back up the encrypted user private key (step S815). The public parameter management unit 232 registers and manages the encrypted user private key by linking it to the user ID.
[0099] [4-5. Recovering user private keys using backup private keys] FIG. 13 is a diagram showing an example of a procedure for a process of recovering a user private key using a backup private key according to the modified example.
[0100] As shown in FIG. 13, in response to a user request to recover a user private key, the user terminal 100 requests input of a user ID and sends a request to the cloud server 200 to obtain an encrypted user private key and public parameters based on the input user ID (step S901).
[0101] When the service unit 231 of the cloud server 200 receives the request to obtain the encrypted user private key and public parameters from the user terminal 100, it requests the public parameter management unit 232 to provide the encrypted user private key and public parameters (step S902).
[0102] In response to a request from the service unit 231, the public parameter management unit 232 of the cloud server 200 provides the service unit 231 with the encrypted user private key, the public parameters, and the encrypted Witness.
[0103] The service unit 231 transmits the encrypted user private key, the public parameters, and the encrypted Witness to the user terminal 100 (step S904).
[0104] The user terminal 100 then requests input of the Witness used in generating the personal authentication algorithm when the encrypted user private key was backed up, and the Witness input unit 173 accepts the input of the Witness (step S905).
[0105] The WitnessReduction processing unit 175a executes a WitnessReduction process based on the Witness acquired in step S905, the encrypted Witness, and the public parameters, and generates a polynomial h (step S906).
[0106] The key generation unit 176 newly generates a backup private key by encoding and hashing the polynomial h generated by the WitnessReduction process (step S907).
[0107] The key generating unit 176 recovers the user private key by decrypting the encrypted user private key obtained from the cloud server 200 using the backup private key regenerated in step S907 (step S908).
[0108] (5. Other) [5-1. Examples of application of multiple identity verification algorithms] For example, when backing up the encrypted user private key shown in Fig. 13, a plurality of authentication algorithms can be applied. Fig. 14 is a diagram showing an example of application of a plurality of authentication algorithms. As shown in Fig. 14, for example, the user terminal 100 applies a plurality of authentication algorithms A1 to A n , respectively, the backup private key SK 1 ~SK n That is, a backup private key SK 1 is generated from a polynomial h based on the identity proof algorithm A1, and the backup private key SK n is the identity verification algorithm A n Next, the user terminal 100 generates a backup private key SK 1 ~SK n The encrypted user private key E is obtained by encrypting the user private key UK using each of the 1 ~E n is generated and backed up, for example, to the cloud server 200. If the user of the user terminal 100 can be identified using any one of the multiple identity verification algorithms, the user can obtain the encrypted user private key from the backup destination. Then, the user of the user terminal 100 can restore the user private key by using the encrypted user private key obtained from the backup destination.
[0109] [5-2. Use Cases] The user authentication method according to the above-described embodiment can be used for purposes other than logging in to online services such as web services provided by the cloud server 200. For example, it can be used for identity verification at the time of admission to a concert or event, identity verification for various contracts, identity verification for various services such as student discounts, etc. Furthermore, by linking with the processing of various game applications, the user authentication according to the above-described embodiment can be used for processing related to the progress of a game, such as obtaining secret information that causes an event to occur or proving that a secret place has been reached. For example, a specific place on the game field where a secret password is written may be prepared, and only a user who has reached the specific place may be able to generate a proof (that can prove that the user has reached the place).
[0110] Furthermore, among the processes described in the above embodiments, all or part of the processes described as being performed automatically can be performed manually, or all or part of the processes described as being performed manually can be performed automatically by a known method. In addition, the information including the processing procedures, specific names, various data and parameters shown in the above documents and drawings can be changed arbitrarily unless otherwise specified. For example, the various information shown in each drawing is not limited to the illustrated information.
[0111] In addition, each component of each device shown in the figure is a functional concept, and does not necessarily have to be physically configured as shown in the figure. In other words, the specific form of distribution and integration of each device is not limited to that shown in the figure, and all or part of them can be functionally or physically distributed and integrated in any unit depending on various loads, usage conditions, etc. For example, the processing function of the ZKP-Prove processing unit 175 shown in FIG. 1 may be distributed from the user terminal 100 and implemented in a verification device provided outside the user terminal 100. In this case, when the verification device obtains a Witness from the user terminal 100, it obtains public parameters and the like from the cloud server 200, executes user authentication processing based on the obtained public parameters and the like, and transmits the result of the user authentication to the cloud server 200.
[0112] Furthermore, the above-described embodiments and modifications can be appropriately combined as long as the processing contents are not contradictory.
[0113] In addition, the effects described in this specification are merely examples and are not limiting, and other effects may be present. In addition, the effects may be at least one of the effects described in this disclosure.
[0114] (6. Effects) As described above, the identity verification program according to the present disclosure causes a computer, which is a user terminal (such as the user terminal 100 in the embodiments), to execute a processing function for identity verification using zero-knowledge proof. The identity verification program acquires a witness, which is information that only the user of the user terminal can know. The identity verification program generates a proof for user authentication using zero-knowledge proof based on the acquired witness. The identity verification program transmits a user authentication request based on the generated proof to an authentication device (such as the cloud server 200 in the embodiments). As a result, the identity verification program according to the present disclosure can cause the authentication device to execute user authentication processing without disclosing information that only the user can know. Therefore, the identity verification program according to the present disclosure can realize protection of user privacy in user authentication when using online services, for example.
[0115] Further, the personal identification program according to the present disclosure executes a setup process for generating public parameters for user authentication by zero-knowledge proof based on a personal identification algorithm for personal identification. The personal identification program associates user identification information specific to the user of the user terminal, the public parameters, and the encrypted witness, and registers them in the authentication device. The personal identification program generates a polynomial that can be derived in polynomial time, on the condition that the witness is correct, using the witness, the public parameters, and the encrypted witness obtained by encrypting the witness. The personal identification program generates a proof using the polynomial. The personal identification program transmits a user authentication request based on the user identification information and the proof to the authentication device. As a result, the personal identification program according to the present disclosure registers public parameters based on the personal identification algorithm in advance in the authentication device, and can cause the user terminal to execute a user authentication process based on the public parameters without disclosing information that only the user can know. Therefore, according to the personal identification program according to the present disclosure, it is possible to realize protection of user privacy in user authentication when using online services, for example.
[0116] In addition, the identity verification program according to the present disclosure uses a polynomial to generate a user private key for encrypting the user's user data. As a result, the identity verification program according to the present disclosure can safely encrypt the user data with the user private key that cannot be generated unless identity verification is successful based on information known only to the user himself / herself. Therefore, according to the identity verification program according to the present disclosure, even if the user data encrypted with the user private key is uploaded to an online service, there is no need to worry about the user data being decrypted, and the user's privacy can be protected when using the online service.
[0117] Further, the identity verification program according to the present disclosure uses a polynomial to generate a backup private key for encrypting the user private key, generates an encrypted user private key by encrypting the user private key using the backup private key, and registers the encrypted user private key in the authentication device. As a result, the identity verification program according to the present disclosure can realize a safe backup of the user private key that encrypted the user data using the backup private key that is generated on the condition that identity verification is successful. That is, the identity verification program according to the present disclosure backs up the encrypted user private key that encrypted the user private key with the backup private key that cannot be generated unless identity verification is successful. Therefore, according to the identity verification program according to the present disclosure, there is no risk of the encrypted user private key being decrypted. Furthermore, according to the identity verification program according to the present disclosure, even if the user private key is lost, the user private key can be restored by decrypting the encrypted user private key backed up on the online service using the backup private key. Therefore, according to the identity verification program according to the present disclosure, data availability can be increased, and the user's convenience in safely backing up user data can be improved.
[0118] In addition, the identity verification program according to the present disclosure provides an interface for accepting a selection of an identity verification algorithm from a user of a user terminal. As a result, the identity verification program according to the present disclosure allows the user terminal to execute a user authentication process using an identity verification algorithm selected by the user. As a result, the identity verification program according to the present disclosure allows a user to use an identity verification algorithm desired by the user, instead of an identity verification algorithm set by a service provider providing an online service. Therefore, the identity verification program according to the present disclosure can improve the convenience of the user in user authentication when using an online service, while protecting user privacy in user authentication when using an online service, for example.
[0119] (7. Hardware Configuration) The user terminal 100 according to each of the above-described embodiments is realized by a computer 1000 having a configuration as shown in Fig. 15, for example. Fig. 15 is a hardware configuration diagram showing an example of the computer 1000 that realizes the functions of the user terminal 100. The computer 1000 has a CPU 1100, a RAM 1200, a ROM (Read Only Memory) 1300, a HDD (Hard Disk Drive) 1400, a communication interface 1500, and an input / output interface 1600. The various components of the computer 1000 are connected by a bus 1050.
[0120] The CPU 1100 operates and controls each unit based on programs stored in the ROM 1300 or the HDD 1400. For example, the CPU 1100 loads the programs stored in the ROM 1300 or the HDD 1400 into the RAM 1200 and executes processes corresponding to the various programs.
[0121] The ROM 1300 stores boot programs such as a basic input output system (BIOS) executed by the CPU 1100 when the computer 1000 is started, and programs that depend on the hardware of the computer 1000.
[0122] The HDD 1400 is a recording medium that non-temporarily records programs executed by the CPU 1100 and data used by the programs, and is readable by the computer 1000. Specifically, the HDD 1400 is a recording medium that records a program for implementing the antenna switching process shown in FIG.
[0123] The communication interface 1500 is an interface for connecting the computer 1000 to an external network 1550 (e.g., the Internet). For example, the CPU 1100 receives data from other devices and transmits data generated by the CPU 1100 to other devices via the communication interface 1500.
[0124] The input / output interface 1600 is an interface for connecting the input / output device 1650 and the computer 1000. For example, the CPU 1100 receives data from an input device such as a keyboard or a mouse via the input / output interface 1600. The CPU 1100 also transmits data to an output device such as a display, a speaker, or a printer via the input / output interface 1600. The input / output interface 1600 may also function as a media interface for reading a program or the like recorded on a predetermined recording medium. The medium may be, for example, an optical recording medium such as a DVD (Digital Versatile Disc) or a PD (Phase change rewritable Disk), a magneto-optical recording medium such as an MO (Magneto-Optical disk), a tape medium, a magnetic recording medium, or a semiconductor memory.
[0125] For example, when the computer 1000 functions as the user terminal 100 according to the embodiment, the CPU 1100 of the computer 1000 executes a program (such as a program for implementing antenna switching processing) loaded onto the RAM 1200. This realizes functions such as various processes executed by the control unit 117 of the user terminal 100. In addition, the HDD 1400 stores a program (an example of an identity verification program) for implementing the processing of the user terminal 100 according to the present disclosure, data stored in the storage unit 111, and the like. The CPU 1100 reads and executes the program data 1450 from the HDD 1400, but as another example, the CPU 1100 may obtain these programs from other devices via the external network 1550.
[0126] The present technology can also be configured as follows. (1) An identity verification program for causing a computer that is a user terminal to execute a processing function for identity verification using zero-knowledge proof, Obtaining a Witness, which is information that only the user of the user terminal can know, Based on the obtained witness, a proof is generated for user authentication using zero-knowledge proof. A user authentication request based on the generated proof is sent to the authentication device. Identity verification program. (2) execute a setup process for generating public parameters for user authentication using the zero-knowledge proof based on an identity proof algorithm for the identity verification; registering, in the authentication device, user identification information unique to the user of the user terminal, the public parameters, and an encrypted witness obtained by encrypting the witness, in association with each other; Using the Witness, the public parameters, and the encrypted Witness, generate a polynomial that can be derived in polynomial time, provided that the Witness is correct; generating the proof using the polynomial; Sending a user authentication request based on the user identification information and the proof to an authentication device. The identity verification program described in (1) above. (3) Using the polynomial, generate a user private key for encrypting user data for the user. The identity verification program described in (2) above. (4) generating a backup private key for encrypting the user private key using the polynomial; generating an encrypted user private key by encrypting the user private key using the backup private key; The encrypted user private key is registered in the authentication device. The identity verification program described in (3) above. (5) providing an interface for accepting a selection of the authentication algorithm from a user of the user terminal; The personal identification program according to any one of (2) to (4). (6) A computer that is a user terminal that executes a processing function for identity verification using zero-knowledge proof, Obtaining a Witness, which is information that only the user of the user terminal can know, Based on the obtained witness, a proof is generated for user authentication using zero-knowledge proof. A user authentication request using the generated proof is sent to the authentication device. Methods of identity verification, including: (7) A user terminal that executes a processing function for identity verification using zero-knowledge proof, An acquisition unit that acquires Witness, which is information that only the user of the user terminal can know; A generator that generates a proof for user authentication using zero-knowledge proof based on the witness; a transmitting unit that transmits a user authentication request using the proof to an authentication device; A user terminal comprising: (8) A user authentication program for causing a computer to execute a processing function for user authentication using zero-knowledge proof, receiving a user authentication request from a user terminal; User authentication is performed based on a proof for user authentication using a zero-knowledge proof generated based on a Witness, which is information included in the user authentication request and is information known only to the user of the user terminal, and an encrypted Witness, which is information previously registered in association with the user identification information included in the user authentication request and is obtained by encrypting the Witness. User authentication programs. [Explanation of symbols]
[0127] 1. Information Processing Systems 10. Communications Networks 100 user terminals 101 Communications Department 102 Input section 103 Output section 104 Imaging unit 105 Positioning unit 106 Detection unit 115 Storage section 117 Control Unit 171 Identity Proof Algorithm Generation Unit 172 ZKP-Setup processing section 173 Witness input section 174 User Registration Section 175 ZKP-Prove Processing Unit 175a Witness Reduction Processing Unit 175b Proof generation part 176 Key generation section 200 Cloud Servers 201 Communications Department 202 Storage section 203 Control Unit 231 Service Department 232 Public Parameter Management Unit 233 ZKP-Verify processing unit
Claims
1. An identity verification program for causing a computer that is a user terminal to execute a processing function for identity verification using zero-knowledge proof, Obtaining a Witness, which is information that only the user of the user terminal can know, Based on the obtained witness, a proof is generated for user authentication using zero-knowledge proof. Sending a user authentication request based on the generated proof to the authentication device; execute a setup process for generating public parameters for user authentication using the zero-knowledge proof based on an identity proof algorithm for the identity verification; registering, in the authentication device, user identification information unique to the user of the user terminal, the public parameters, and an encrypted witness obtained by encrypting the witness, in association with each other; Using the Witness, the public parameters, and the encrypted Witness, generate a polynomial that can be derived in polynomial time, provided that the Witness is correct; generating the proof using the polynomial; Sending a user authentication request based on the user identification information and the proof to an authentication device. Identity verification program.
2. 2. The personal identification program according to claim 1, wherein the polynomial is used to generate a user private key for encrypting user data of the user.
3. generating a backup private key for encrypting the user private key using the polynomial; generating an encrypted user private key by encrypting the user private key using the backup private key; The encrypted user private key is registered in the authentication device.
3. The personal identification program according to claim 2.
4. providing an interface for accepting a selection of the authentication algorithm from a user of the user terminal; The personal identification program according to claim 1.
5. A computer that is a user terminal that executes a processing function for identity verification using zero-knowledge proof, Obtaining a Witness, which is information that only the user of the user terminal can know, Based on the obtained witness, a proof is generated for user authentication using zero-knowledge proof. A user authentication request using the generated proof is transmitted to the authentication device; execute a setup process for generating public parameters for user authentication using the zero-knowledge proof based on an identity proof algorithm for the identity verification; registering, in the authentication device, user identification information unique to the user of the user terminal, the public parameters, and an encrypted witness obtained by encrypting the witness, in association with each other; Using the Witness, the public parameters, and the encrypted Witness, generate a polynomial that can be derived in polynomial time, provided that the Witness is correct; generating the proof using the polynomial; Sending a user authentication request based on the user identification information and the proof to an authentication device. Methods of identity verification, including:
6. A user terminal that executes a processing function for identity verification using zero-knowledge proof, An acquisition unit that acquires Witness, which is information that only the user of the user terminal can know; A generator that generates a proof for user authentication using zero-knowledge proof based on the witness; a transmitting unit for transmitting a user authentication request using the proof to an authentication device; a setup processing unit that executes a setup process for generating public parameters for user authentication using the zero-knowledge proof based on an identity proof algorithm for the identity verification; a registration unit that associates user identification information unique to a user of the user terminal, the public parameters, and an encrypted witness obtained by encrypting the witness, and registers the associated information in the authentication device; Equipped with The generation unit is Using the Witness, the public parameters, and the encrypted Witness, generate a polynomial that can be derived in polynomial time, provided that the Witness is correct; Generate the proof using the polynomial: The transmission unit is Sending a user authentication request based on the user identification information and the proof to an authentication device. User terminal.
Citation Information
Patent Citations
A data traceability method for block chains
CN109274481A
Biometric authentication system, biometric authentication method, and computer program
JP2015095877A
Zero-knowledge proof system and method, prover device, verifier device and program
JP2016105567A
