WO2020241817A1 - 公開鍵の信頼性を証明するための装置、方法及びそのためのプログラム - Google Patents

公開鍵の信頼性を証明するための装置、方法及びそのためのプログラム Download PDF

Info

Publication number
WO2020241817A1
WO2020241817A1 PCT/JP2020/021283 JP2020021283W WO2020241817A1 WO 2020241817 A1 WO2020241817 A1 WO 2020241817A1 JP 2020021283 W JP2020021283 W JP 2020021283W WO 2020241817 A1 WO2020241817 A1 WO 2020241817A1
Authority
WO
WIPO (PCT)
Prior art keywords
public key
data
key
random number
integer
Prior art date
Application number
PCT/JP2020/021283
Other languages
English (en)
French (fr)
Inventor
峰史 小宮山
Original Assignee
株式会社bitFlyer Blockchain
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 株式会社bitFlyer Blockchain filed Critical 株式会社bitFlyer Blockchain
Priority to US17/614,451 priority Critical patent/US20220239481A1/en
Priority to EP20812821.5A priority patent/EP3979554A4/en
Priority to CN202080050983.3A priority patent/CN114128213A/zh
Publication of WO2020241817A1 publication Critical patent/WO2020241817A1/ja

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
    • H04L9/3268Cryptographic 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 using certificate validation, registration, distribution or revocation, e.g. certificate revocation list [CRL]
    • 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/30Public key, i.e. encryption algorithm being computationally infeasible to invert or user's encryption keys not requiring secrecy
    • 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/06Cryptographic mechanisms or cryptographic arrangements for secret or secure communications; Network security protocols the encryption apparatus using shift registers or memories for block-wise or stream coding, e.g. DES systems or RC4; Hash functions; Pseudorandom sequence generators
    • H04L9/0643Hash functions, e.g. MD5, SHA, HMAC or f9 MAC
    • 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/08Key distribution or management, e.g. generation, sharing or updating, of cryptographic keys or passwords
    • H04L9/0861Generation of secret information including derivation or calculation of cryptographic keys or passwords
    • H04L9/0869Generation of secret information including derivation or calculation of cryptographic keys or passwords involving random numbers or seeds
    • 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/08Key distribution or management, e.g. generation, sharing or updating, of cryptographic keys or passwords
    • H04L9/088Usage controlling of secret information, e.g. techniques for restricting cryptographic keys to pre-authorized uses, different access levels, validity of crypto-period, different key- or password length, or different strong and weak cryptographic algorithms
    • 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/14Cryptographic mechanisms or cryptographic arrangements for secret or secure communications; Network security protocols using a plurality of keys or algorithms
    • 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/3236Cryptographic 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 cryptographic hash functions
    • H04L9/3239Cryptographic 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 cryptographic hash functions involving non-keyed hash functions, e.g. modification detection codes [MDCs], MD5, SHA or RIPEMD
    • 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/3247Cryptographic 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 digital signatures
    • 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

Definitions

  • One aspect of the present invention relates to a device, a method, and a program for proving the reliability of a public key.
  • Digital certificates are often used to guarantee the reliability of data transmitted on the Internet.
  • a digital certificate authenticates the owner of a public key corresponding to a private key for digitally signing transmitted data, and is issued by a trusted certificate authority.
  • the data recipient confirms the validity of the digital certificate and verifies the digital signature with the public key.
  • the present invention has been made in view of such problems, and the first object thereof is to relate to a first key pair composed of a reliable first private key and a first public key.
  • An object of the present invention is to provide an apparatus, a method, and a program for generating a second key pair composed of a second private key and a second public key.
  • a second object of the present invention is a device, a method, and a program for proving the reliability of the second public key constituting the second key pair generated in association with the first key pair. Is to provide.
  • a third object of the present invention is to provide a device, a method, and a program for executing or verifying an electronic signature using a second key pair generated in association with the first key pair. It is in.
  • a first aspect of the present invention relates to a second private key and a second key pair composed of a first private key and a first public key.
  • the first private key is represented by a
  • the generation source of the patrol group G is represented by g
  • the first public key is a ⁇ g
  • r is a random number.
  • it is a pseudo-random number or data including a random number or a pseudo-random number
  • the computer determines the integer x by a hash function that outputs an integer using the first public keys a and g and the data r, and the first step.
  • the second aspect of the present invention is characterized in that, in the first aspect, the order of the cyclic group G is a prime number.
  • the hash function further outputs an integer using a character string str which is data representing the attributes of the second public key ax ⁇ g. It is characterized by that.
  • a fourth aspect of the present invention is characterized in that, in the third aspect, the str represents the expiration date of the second public key ax ⁇ g.
  • the data r is a character string str which is data representing the attributes of the random number or pseudo-random number and the second public key ax ⁇ g. It is characterized by including.
  • a sixth aspect of the present invention is, in any one of the first to fifth aspects, a second device other than the first device that generated the second key pair by using the second public key ax ⁇ g. It is characterized by further including the steps provided to.
  • a seventh aspect of the present invention is characterized in that, in the sixth aspect, the str represents the ID of the recipient who receives the provision of the second public key axg.
  • the str has a relationship with the owner of the first public key ag of the recipient who receives the provision of the second public key axg. It is characterized by representing.
  • a ninth aspect of the present invention comprises a computer comprising a second private key and a second public key in association with a first key pair composed of a first private key and a first public key.
  • the first private key is represented by a
  • the generator of the patrol group G is represented by g
  • the first public key is a ⁇ g
  • r is a random number or r.
  • the method comprises a step of determining an integer x by a hash function that outputs an integer using the first public keys ag and data r, and a first method.
  • a tenth aspect of the present invention is a second aspect of the present invention, which is composed of a second private key and a second public key in association with a first key pair composed of a first private key and a first public key.
  • the first private key is represented by a and the generation source of the patrol group G is represented by g
  • the first public key is a ⁇ g
  • r is a random number or pseudo-random number or a random number or pseudo-random number.
  • the integer x is determined by a hash function that outputs an integer using the first public keys a and g and the data r, and the first private key a (a is an integer) is multiplied by the above x. It is characterized in that the private key ax of 2 is calculated and stored, and the second public key ax ⁇ g is calculated and stored based on the first public key a and the x.
  • An eleventh aspect of the present invention is a second public key PK2 constituting a second key pair generated in association with a first key pair composed of a first private key and a first public key PK1.
  • the step of receiving the certification request including the certification data which is the certification request for the computer to prove the reliability of the second public key PK2, and the certification request.
  • the calculation includes a step of calculating the formula represented by the formula (1) and a step of transmitting the result of the calculation as a response to the certification request, and the calculation hashes the data r included in the certification data.
  • PK2 xPK1 (1)
  • the first private key is represented by a
  • the generation source of the patrol group G is represented by g
  • the first public key PK1 is a ⁇ g
  • the second public key PK2 is ax ⁇ g
  • the r is a random number.
  • it is a pseudo-random number or data including the random number or the pseudo-random number.
  • the data r includes the random number or pseudo-random number and a character string str which is data representing the attributes of the second public key ax ⁇ g. It is a feature.
  • a thirteenth aspect of the present invention is characterized in that, in the eleventh aspect, the proof data further includes a character string str which is data representing the attributes of the second public key ax ⁇ g.
  • a fourteenth aspect of the present invention is characterized in that, in the eleventh aspect, the certification request includes the second public key PK2.
  • a fifteenth aspect of the present invention is characterized in that, in the eleventh aspect, the certification request includes the first public key PK1.
  • a sixth aspect of the present invention is a second aspect of configuring a computer with a second key pair generated in association with a first key pair composed of a first private key and a first public key PK1.
  • the method is a certification request for certifying the reliability of the second public key PK2, and is a certification request including certification data.
  • the calculation includes a step of receiving the above, a step of calculating the formula represented by the formula (1) in response to the certification request, and a step of transmitting the result of the calculation as a response to the certification request.
  • PK2 xPK1 (1)
  • the first private key is represented by a
  • the generation source of the patrol group G is represented by g
  • the first public key PK1 is a ⁇ g
  • the second public key PK2 is ax ⁇ g
  • the r is a random number.
  • it is a pseudo-random number or data including the random number or the pseudo-random number.
  • a seventeenth aspect of the present invention is a second public key PK2 that constitutes a second key pair generated in association with a first key pair that is composed of a first private key and a first public key PK1.
  • the proof request including the proof data is received, and the formula ( The formula represented by 1) is calculated, the result of the calculation is transmitted as a response to the certification request, and the calculation inputs the data r included in the certification data into the hash function and outputs the integer x. It is characterized in that the formula is calculated using the integer x.
  • the first private key is represented by a
  • the generation source of the patrol group G is represented by g
  • the first public key PK1 is a ⁇ g
  • the second public key PK2 is ax ⁇ g
  • the r is a random number or pseudo. Random numbers or data including the random numbers or pseudo-random numbers.
  • An eighteenth aspect of the present invention is a method for proving the reliability of the second integer ID2 generated in association with the first integer ID 1, which is a proof for seeking proof of the reliability of the second integer ID 2.
  • a step of receiving a proof request including proof data a step of calculating an equation represented by the equation (1) in response to the proof request, and a result of the calculation as a response to the proof request.
  • the calculation includes a step of inputting data r included in the proof data into a hash function and outputting an integer x, and a step of calculating the equation using the integer x. It is characterized by.
  • ID2 xID1 (1)
  • the first integer is represented by a
  • the generator of the cyclic group G is represented by g
  • the first identifier ID1 is a ⁇ g
  • the second identifier ID2 is ax ⁇ g
  • the r is a random number or pseudo-random number.
  • it is data including the random number or pseudo-random number.
  • a nineteenth aspect of the present invention is a program for causing a computer to execute a method for proving the reliability of the second identifier ID2 generated in association with the first identifier ID 1.
  • a proof request for certifying the reliability of the second identifier ID2 a step of receiving a proof request including proof data, and a step of calculating the formula represented by the formula (1) in response to the proof request.
  • the calculation includes a step of transmitting the result of the calculation as a response to the certification request, a step of inputting data r included in the certification data into a hash function and outputting an integer x, and a step of outputting the integer x. It is characterized by including a step of calculating the above equation using.
  • ID2 xID1 (1)
  • the first integer is represented by a
  • the generator of the cyclic group G is represented by g
  • the first identifier ID1 is a ⁇ g
  • the second identifier ID2 is ax ⁇ g
  • the r is a random number or pseudo-random number.
  • it is data including the random number or pseudo-random number.
  • a twentieth aspect of the present invention is a proof for seeking proof of the reliability of the second integer ID 2 in a device for certifying the reliability of the second integer ID 2 generated in association with the first integer ID 1.
  • a certification request including certification data is received, the formula represented by the formula (1) is calculated in response to the certification request, and the result of the calculation is transmitted as a response to the certification request.
  • the calculation is characterized in that the data r included in the proof data is input to the hash function, the integer x is output, and the equation is calculated using the integer x.
  • ID2 xID1 (1)
  • the first integer is represented by a
  • the generator of the cyclic group G is represented by g
  • the first identifier ID1 is a ⁇ g
  • the second identifier ID2 is ax ⁇ g
  • the r is a random number or pseudo-random number or It is data including the random number or pseudo-random number.
  • the second public key that constitutes the second key pair generated in association with the first key pair is a child key of the first public key that constitutes the first key pair.
  • FIG. 1 shows a flow chart of a method for generating a second key pair from a first key pair according to the first embodiment of the present invention.
  • the key pair can be generated by any device capable of executing the processes described below, and can be a portable device such as a smartphone or a tablet as an example. It is not always necessary to be connected to a computer network such as the Internet when the second key pair is generated.
  • the pre-generated first private key a and the first public key ag are read out (S101).
  • a is an integer.
  • the integer x is determined (S102).
  • the integer x is determined as the value of the hash function h (ag, str, r) that returns an integer value.
  • the character string str represents the attribute of the generated second public key, and the number r is a random number or a pseudo-random number.
  • the second private key ax and the second public key ax ⁇ g are calculated and stored by multiplying by x (S103).
  • the character string str may be specified by the owner of the first public key ag on the device that generates the second public key axg, or may take a default value. It may be.
  • the value of g or its determination procedure, the value of a or its determination procedure, the hash function h, the value of the character string str or its determination procedure In the storage unit of the device or the storage medium or storage device accessible from the device, the value of g or its determination procedure, the value of a or its determination procedure, the hash function h, the value of the character string str or its determination procedure, A program that defines the value of the number r or the determination procedure thereof, the determination procedure of the first key pair, and the determination procedure of the second key pair is stored, and the above processing is realized by executing the program. .. In particular, when the program is executed, the hash function h is read and the integer x is determined.
  • the second private key ax and the second public key ax ⁇ g are based on x defined by the first public key a ⁇ g as an argument, they are generated in association with the first key pair.
  • the character string str is an arbitrary character string
  • the expiration date of the second key pair the ID such as the email address of the recipient of the second public key
  • the receipt of the second public key it is preferable that the character string represents the attribute of the second public key, such as the relationship between the person and the owner of the first public key (the recipient of the second public key will be described later).
  • str and r are used as separate arguments, but for example, they can be combined into one argument, or one of the first public keys a and g, the character string str, and the number r. Alternatively, both may be combined and used as an argument, and the hash function h broadly includes a hash function that outputs an integer using the first public key a ⁇ g , the character string str, and the number r.
  • the character string str does not necessarily have to be used, and the hash function h may be broadly regarded as a hash function that outputs an integer using the first public key a ⁇ g and the number r.
  • r can be broader and can be data including a random number or a pseudo-random number, and specifically, can be data including a character string str in addition to the random number or the pseudo-random number.
  • the data can be a combination of a random number or a pseudo-random number and a character string str.
  • the order of the generating source g is preferably a prime number, and the original number of the cyclic group G generated by the generating source is preferably 32 bytes, that is, about 256 bits or more as an example.
  • the operation in the cyclic group G is described additively.
  • the operation of repeatedly adding the generating source g a times is referred to as a ⁇ g, and “a is multiplied by the generating source g”.
  • multiplication of elements of a set of integers or subsets such as ax is also used as a notation in the present specification, but it is added just in case that this is different from multiplication in a cyclic addition group.
  • the cyclic group G is expressed as an additive group, but it is added just in case that the cyclic group G is equivalent to the present invention and belongs to the technical scope even if it is expressed as an additive group.
  • the owner of the first public key a / g can be assumed to be authenticated by an electronic certificate issued by a conventional reliable certificate authority. Alternatively, it can be assumed that reliability is given in some form other than certification by a certificate authority.
  • the owner of the public key means a person who can access the private key corresponding to the public key.
  • any method that is currently known and will be known in the future may be used.
  • the first private key a is data that may be stored in an external storage medium or storage device for backup, but is not disclosed to the outside in principle.
  • the second private key ax is the source of a set of integers like the first secret key a
  • the second public key ax ⁇ g is Since it is the source of the patrol group G generated by the generation source g like the first public keys a and g, and the second key pair has the same format as the first key pair (format), the first one. It is possible to repeatedly generate child key pairs such as a second key pair to a third key pair and a third key pair to a fourth key pair.
  • method just in case, even if some method, program, terminal, device, server or system (hereinafter referred to as "method") has an aspect of performing an operation different from the operation described in the present specification, each of the present inventions
  • the aspect is intended to be the same operation as any of the operations described in the present specification, and the existence of an operation different from the operation described in the present specification means that the method and the like are described in each of the present inventions. It is added that it is not outside the scope of the aspect.
  • FIG. 2 shows a system for proving the reliability of the second public key constituting the second key pair generated from the first key pair according to the second embodiment of the present invention.
  • the system 200 includes a transmitting device 210 that generates a second key pair from the first key pair and transmits a second public key that constitutes the second key pair, and a receiving device that receives the second public key. It includes 220 and a proof device 230 that certifies the reliability of the second public key.
  • the transmitting device 210, the receiving device 220, and the certifying device 230 can communicate with each other via a computer network.
  • the certification device 230 is a computer including a communication unit 231 such as a communication interface, a processing unit 232 such as a processor and a CPU, and a storage unit 233 including a storage device such as a memory and a hard disk or a storage medium, and executes a predetermined program. By executing it, each process described below can be realized.
  • the certification device 230 may include one or more devices or servers, which program may include one or more programs, and may be recorded on a computer-readable storage medium and is non-transient. It can be a program product of. Although the transmitting device 210 and the receiving device 220 are not shown, they may have similar hardware configurations.
  • the second public key ax ⁇ g constituting the second key pair generated by the method described in the first embodiment confirms its reliability in the receiving device 220 that receives it. If it cannot, it cannot play a role in identifying its owner. Therefore, in the present embodiment, the receiving device 220 requires the proof device 230 to prove the reliability of the second public key ax ⁇ g.
  • the first public key is also referred to as PK1 and the second public key is also referred to as PK2.
  • the certification device 230 receives the character string str and the number r as certification data in addition to the second public key PK2, indirectly via the receiving device 220 or directly from the transmitting device 210.
  • the storage medium or storage device accessible from the storage unit 231 of the certification device 230 or the certification device 230 stores a program that defines the procedure when the certification request is received.
  • the above verification formula is particularly used.
  • a verification procedure is defined, and when this is executed, verification by the verification formula is performed.
  • the proof device 230 determines that both sides of the above verification formula match.
  • the provider of the string str and the number r is proved to be the one who generated the second public key PK2.
  • the string str is not always necessary, and the hash function h may be a function that outputs an integer based on the first public key PK1 and the data r.
  • the proof device 230 may be the same as the receiving device 220, and in this case, the reliability of the second public key PK2 can be proved by itself. Further, the proof device 230 may be the same as the transmission device 210, and in this case, the generator of the second public key PK2 certifies its reliability by itself. Further, the receiving device 220 may be the same as the transmitting device 210. In this case, the owner of the first public key PK1 uses a second public key PK2 different from that depending on the situation, and if necessary, these The key relationship can be proved by the proof device 230.
  • FIG. 3 shows the flow of a method for proving the reliability of the second public key in an example in which the certification device receives the certification data from the generation device.
  • the term transmitter is used, but more generally, the term generator is used in FIG.
  • the generation device 210 provides the certification data to the receiving device 220 (S301).
  • S301 As a method of giving to the receiving device 220, transmission to the receiving device 220 via a computer network, connection of a storage medium storing the certification data to the receiving device 220, and the display screen of the generating device 210 of the certification data are displayed.
  • Various aspects such as input to the receiving device 220, reading of the proof data displayed on the display screen of the generating device 210 or the corresponding data by the image sensor of the receiving device 220 can be mentioned.
  • various aspects can be mentioned with respect to the provision of the first public key PK1 and the second public key PK2 from the generating device 210 to the receiving device 220 or other devices.
  • the second public key PK2 is generated by the owner of the first public key PK1, in other words, the second public key PK2 is the first public key.
  • a certification request is transmitted to the certification device 230 to prove that it has a parent-child relationship with PK1 (S302).
  • the certification request includes the certification data in this example, but does not need to be included in the example in which the certification data is directly provided from the generation device 210 to the certification device 230.
  • the “offering” includes the provision to itself.
  • the “offering” includes the providing to itself.
  • the "certification request" includes a request for itself when the generating device 210 or the receiving device 220 also serves as the certification device 230.
  • the certification request can include a second public key PK2 which is a child key in the parent-child relationship to be certified, and can also include a first public key PK1 which is a parent key in the parent-child relationship. .. At least one of the parent key and the child key may be provided directly or indirectly from the generation device 210 to the certification device 230 and stored in the certification device 230 in advance, eliminating the need for explicit specification in the certification request. it can.
  • the certification device 230 verifies the certification data by calculating the verification formula of the certification data in response to the certification request (S303).
  • the certification device 230 transmits the verification result or the calculation result as a response to the certification request from the receiving device 220 (S304).
  • the verification result is stored in its own storage device or storage medium, but such processing may be included in the concept of "transmission" to itself.
  • the result to be transmitted includes whether or not both sides of the verification formula match, and whether or not the verification is successful.
  • the first public key PK1 and the second public key PK2 have been positioned as "public keys", but they can also be positioned as "identifiers" of entities that perform some activity on the Internet.
  • the spirit of the present invention is expressed as a device, a method, and a program for evaluating the reliability of the second identifier ID2 generated based on the first identifier ID1 or in association with the first identifier ID1. Can be understood.
  • the transmitting device 210 can also pass the second private key ax to the receiving device 220 in addition to the second public key ax ⁇ g.
  • various modes can be considered as in the case of other data.
  • the receiving device 220 can digitally sign the data m using the second key pair. Then, if the certification data is received from the transmission device 210, the certification data is passed to the recipient of the electronic signature together with the data m and the signature s for the data m, if necessary, and the receiver receives the electronic signature. It can be shown that it is due to the second key pair generated by the owner of the first public keys ag.
  • the generating device 210 also serves as the receiving device 220, that is, when the owner of the first public key ag himself uses the second public key axg, the owner becomes the signer.
  • the receiving device 220 functions here as a signing device, and certifies data as a part of signed data in which signatures are added to the data m, or as data separate from the signed data, and if necessary. At least one of the first public key a ⁇ g and the second public key ax ⁇ g is transmitted to another device.
  • the receiving device 220 when the receiving device 220 is provided with the second private key ax, the receiving device 220 is composed of a third private key axy and a third public key axy ⁇ g as a child key pair of the second key pair. It is possible to generate a third key pair.
  • the integer y can be defined as the value of the hash function h (ax ⁇ g, str, r).

Abstract

第1の鍵ペアに関連づけて生成された第2の鍵ペアを構成する第2の公開鍵の信頼性を証明する。生成装置210は、証明データを受領装置220に提供する(S301)。証明データを受領した受領装置220は、第2の公開鍵PK2が第1の公開鍵PK1の所有者により生成されたものであること、換言すれば第2の公開鍵PK2が第1の公開鍵PK1と親子関係にあることの証明を証明装置230に求める証明要求を送信する(S302)。証明要求は、この例では証明データを含むが、証明データが生成装置210から証明装置230に直接提供される例においては含む必要がない。証明装置230は、証明要求に応じて、証明データの検証式を計算することによって、当該証明データを検証する(S303)。

Description

公開鍵の信頼性を証明するための装置、方法及びそのためのプログラム
 本発明の一態様は、公開鍵の信頼性を証明するための装置、方法及びそのためのプログラムに関する。
 インターネット上の経済活動が拡がりを見せる中で、そうした活動の主体を信頼性をもって識別することの必要性が高まっている。
 インターネット上で送信されるデータの信頼性を保証するためには、電子証明書が用いられることが多い。電子証明書は、送信されるデータに対して電子署名を行うための秘密鍵に対応する公開鍵の所有者を認証するものであり、信頼できる認証局によって発行される。データの受信者は、電子証明書の正当性を確認するとともに公開鍵により電子署名を検証する。
 今後、インターネット上で行われるやりとりに確実な信頼性が求められる場面は増加することが見込まれ、それに伴い、用途に応じたさまざまな形の電子認証に対する需要の増大が想定される。
 しかしながら、現在の認証局を中心とした公開鍵暗号方式では、柔軟な対応が容易ではない。
 本発明は、このような問題点に鑑みてなされたものであり、その第1の目的は、信頼できる第1の秘密鍵及び第1の公開鍵により構成される第1の鍵ペアに関連づけて第2の秘密鍵及び第2の公開鍵により構成される第2の鍵ペアを生成する装置、方法及びそのためのプログラムを提供することにある。
 また、本発明の第2の目的は、第1の鍵ペアに関連づけて生成された第2の鍵ペアを構成する第2の公開鍵の信頼性を証明するための装置、方法及びそのためのプログラムを提供することにある。
 また、本発明の第3の目的は、第1の鍵ペアに関連づけて生成された第2の鍵ペアを用いた電子署名を実行又は検証するための装置、方法及びそのためのプログラムを提供することにある。
 このような目的を達成するために、本発明の第1の態様は、第1の秘密鍵及び第1の公開鍵により構成される第1の鍵ペアに関連づけて第2の秘密鍵及び第2の公開鍵により構成される第2の鍵ペアを生成する方法において、第1の秘密鍵をa、巡回群Gの生成元をgと表し、第1の公開鍵はa・g、rは乱数若しくは疑似乱数又は乱数若しくは疑似乱数を含むデータであり、コンピュータが、整数xを、第1の公開鍵a・g及びデータrを用いて整数を出力するハッシュ関数により決定するステップと、第1の秘密鍵a(aは整数)に前記xを乗じて第2の秘密鍵axを算出して記憶するステップと、前記第1の公開鍵a及び前記xに基づいて前記第2の公開鍵ax・gを算出して記憶するステップとを含むことを特徴とする。
 本発明の第2の態様は、第1の態様において、前記巡回群Gの位数は素数であることを特徴とする。
 本発明の第3の態様は、第1又は第2の態様において、前記ハッシュ関数は、さらに前記第2の公開鍵ax・gの属性を表すデータである文字列strを用いて整数を出力することを特徴とする。
 本発明の第4の態様は、第3の態様において、前記strは、前記第2の公開鍵ax・gの有効期限を表すことを特徴とする。
 本発明の第5の態様は、第1又は第2の態様において、前記データrは、前記乱数若しくは疑似乱数と前記第2の公開鍵ax・gの属性を表すデータである文字列strとを含むことを特徴とする。
 本発明の第6の態様は、第1から第5のいずれかの態様において、前記第2の公開鍵ax・gを前記第2の鍵ペアを生成した第1の装置以外の第2の装置に提供するステップをさらに含むことを特徴とする。
 本発明の第7の態様は、第6の態様において、前記strは、前記第2の公開鍵ax・gの提供を受ける受領者のIDを表すことを特徴とする。
 本発明の第8の態様は、第6の態様において、前記strは、前記第2の公開鍵ax・gの提供を受ける受領者の前記第1の公開鍵a・gの所有者に対する関係を表すことを特徴とする。
 本発明の第9の態様は、コンピュータに、第1の秘密鍵及び第1の公開鍵により構成される第1の鍵ペアに関連づけて第2の秘密鍵及び第2の公開鍵により構成される第2の鍵ペアを生成する方法を実行させるためのプログラムにおいて、第1の秘密鍵をa、巡回群Gの生成元をgと表し、第1の公開鍵はa・g、rは乱数若しくは疑似乱数又は乱数若しくは疑似乱数を含むデータであり、前記方法は、整数xを、第1の公開鍵a・g及びデータrを用いて整数を出力するハッシュ関数により決定するステップと、第1の秘密鍵a(aは整数)に前記xを乗じて第2の秘密鍵axを算出して記憶するステップと、前記第1の公開鍵a及び前記xに基づいて前記第2の公開鍵ax・gを算出して記憶するステップとを含むことを特徴とする。
 本発明の第10の態様は、第1の秘密鍵及び第1の公開鍵により構成される第1の鍵ペアに関連づけて第2の秘密鍵及び第2の公開鍵により構成される第2の鍵ペアを生成する装置において、第1の秘密鍵をa、巡回群Gの生成元をgと表し、第1の公開鍵はa・g、rは乱数若しくは疑似乱数又は乱数若しくは疑似乱数を含むデータであり、整数xを、第1の公開鍵a・g及びデータrを用いて整数を出力するハッシュ関数により決定し、第1の秘密鍵a(aは整数)に前記xを乗じて第2の秘密鍵axを算出して記憶し、前記第1の公開鍵a及び前記xに基づいて前記第2の公開鍵ax・gを算出して記憶することを特徴とする。
 本発明の第11の態様は、第1の秘密鍵及び第1の公開鍵PK1により構成される第1の鍵ペアに関連づけて生成された第2の鍵ペアを構成する第2の公開鍵PK2の信頼性を証明するための方法において、コンピュータが、前記第2の公開鍵PK2の信頼性の証明を求める証明要求であって、証明データを含む証明要求を受信するステップと、前記証明要求に応じて、式(1)で表される式を計算するステップと、前記計算の結果を前記証明要求に対する応答として送信するステップとを含み、前記計算は、前記証明データに含まれるデータrをハッシュ関数に入力して整数xを出力するステップと、前記整数xを用いて前記式を計算するステップとを含むことを特徴とする。
 PK2=xPK1                (1)
 ここで、第1の秘密鍵をa、巡回群Gの生成元をgと表し、前記第1の公開鍵PK1はa・g、前記第2の公開鍵PK2はax・g、前記rは乱数若しくは疑似乱数又は前記乱数若しくは疑似乱数を含むデータである。
 本発明の第12の態様は、第11の態様において、前記データrは、前記乱数若しくは疑似乱数と前記第2の公開鍵ax・gの属性を表すデータである文字列strとを含むことを特徴とする。
 本発明の第13の態様は、第11の態様において、前記証明データは、前記第2の公開鍵ax・gの属性を表すデータである文字列strをさらに含むことを特徴とする。
 本発明の第14の態様は、第11の態様において、前記証明要求は、前記第2の公開鍵PK2を含むことを特徴とする。
 本発明の第15の態様は、第11の態様において、前記証明要求は、前記第1の公開鍵PK1を含むことを特徴とする。
本発明の第16の態様は、コンピュータに、第1の秘密鍵及び第1の公開鍵PK1により構成される第1の鍵ペアに関連づけて生成された第2の鍵ペアを構成する第2の公開鍵PK2の信頼性を証明するための方法を実行させるためのプログラムにおいて、前記方法は、前記第2の公開鍵PK2の信頼性の証明を求める証明要求であって、証明データを含む証明要求を受信するステップと、前記証明要求に応じて、式(1)で表される式を計算するステップと、前記計算の結果を前記証明要求に対する応答として送信するステップとを含み、前記計算は、前記証明データに含まれるデータrをハッシュ関数に入力して整数xを出力するステップと、前記整数xを用いて前記式を計算するステップとを含むことを特徴とする。
 PK2=xPK1                (1)
 ここで、第1の秘密鍵をa、巡回群Gの生成元をgと表し、前記第1の公開鍵PK1はa・g、前記第2の公開鍵PK2はax・g、前記rは乱数若しくは疑似乱数又は前記乱数若しくは疑似乱数を含むデータである。
 本発明の第17の態様は、第1の秘密鍵及び第1の公開鍵PK1により構成される第1の鍵ペアに関連づけて生成された第2の鍵ペアを構成する第2の公開鍵PK2の信頼性を証明するための装置において、前記第2の公開鍵PK2の信頼性の証明を求める証明要求であって、証明データを含む証明要求を受信し、前記証明要求に応じて、式(1)で表される式を計算し、前記計算の結果を前記証明要求に対する応答として送信し、前記計算は、前記証明データに含まれるデータrをハッシュ関数に入力して整数xを出力し、前記整数xを用いて前記式を計算することを特徴とする。
 PK2=xPK1                (1)
 ここで、第1の秘密鍵をa、巡回群Gの生成元をgと表し、第1の公開鍵PK1はa・g、第2の公開鍵PK2はax・g、前記rは乱数若しくは疑似乱数又は前記乱数若しくは疑似乱数を含むデータである。
 本発明の第18の態様は、第1の識別子ID1に関連づけて生成された第2の識別子ID2の信頼性を証明するための方法において、前記第2の識別子ID2の信頼性の証明を求める証明要求であって、証明データを含む証明要求を受信するステップと、前記証明要求に応じて、式(1)で表される式を計算するステップと、前記計算の結果を前記証明要求に対する応答として送信するステップとを含み、前記計算は、前記証明データに含まれるデータrをハッシュ関数に入力して整数xを出力するステップと、前記整数xを用いて前記式を計算するステップとを含むことを特徴とする。
 ID2=xID1                (1)
 ここで、第1の整数をa、巡回群Gの生成元をgと表し、前記第1の識別子ID1はa・g、前記第2の識別子ID2はax・g、前記rは乱数若しくは疑似乱数又は前記乱数若しくは疑似乱数を含むデータである。
 本発明の第19の態様は、コンピュータに、第1の識別子ID1に関連づけて生成された第2の識別子ID2の信頼性を証明するための方法を実行させるためのプログラムにおいて、前記方法は、前記第2の識別子ID2の信頼性の証明を求める証明要求であって、証明データを含む証明要求を受信するステップと、前記証明要求に応じて、式(1)で表される式を計算するステップと、前記計算の結果を前記証明要求に対する応答として送信するステップとを含み、前記計算は、前記証明データに含まれるデータrをハッシュ関数に入力して整数xを出力するステップと、前記整数xを用いて前記式を計算するステップとを含むことを特徴とする。
 ID2=xID1                (1)
 ここで、第1の整数をa、巡回群Gの生成元をgと表し、前記第1の識別子ID1はa・g、前記第2の識別子ID2はax・g、前記rは乱数若しくは疑似乱数又は前記乱数若しくは疑似乱数を含むデータである。
 本発明の第20の態様は、第1の識別子ID1に関連づけて生成された第2の識別子ID2の信頼性を証明するための装置において、前記第2の識別子ID2の信頼性の証明を求める証明要求であって、証明データを含む証明要求を受信し、前記証明要求に応じて、式(1)で表される式を計算し、前記計算の結果を前記証明要求に対する応答として送信し、前記計算は、前記証明データに含まれるデータrをハッシュ関数に入力して整数xを出力し、前記整数xを用いて前記式を計算することを特徴とする。
 ID2=xID1                (1)
 ここで、第1の整数をa、巡回群Gの生成元をgと表し、第1の識別子ID1はa・g、前記第2の識別子ID2はax・g、前記rは乱数若しくは疑似乱数又は前記乱数若しくは疑似乱数を含むデータである。
 本発明の一態様によれば、第1の鍵ペアに関連づけて生成された第2の鍵ペアを構成する第2の公開鍵が第1の鍵ペアを構成する第1の公開鍵の子鍵であることを数学的に証明可能に第2の鍵ペアを生成することによって、認証局を必要とすることなく、電子署名可能な第2の鍵ペアの生成が可能となる。
本発明の第1の実施形態にかかる、第1の鍵ペアから第2の鍵ペアを生成する方法の流れ図である。 本発明の第2の実施形態にかかる、第1の鍵ペアから生成された第2の鍵ペアを構成する第2の公開鍵の信頼性を証明するためのシステムを示す図である。 本発明の第2の実施形態にかかる、第1の鍵ペアから生成された第2の鍵ペアを構成する第2の公開鍵の信頼性を証明するための方法の流れの一例を示す図である。
 以下、図面を参照して本発明の実施形態を詳細に説明する。
 (第1の実施形態) 
 図1に、本発明の第1の実施形態にかかる第1の鍵ペアから第2の鍵ペアを生成するための方法の流れ図を示す。鍵ペアの生成は、以下で説明する処理を実行可能な任意の装置において行うことができ、例示として、スマートフォン、タブレット等の携帯機器とすることができる。第2の鍵ペアの生成時にインターネット等のコンピュータ・ネットワークに接続していることは必ずしも必要ではない。
 まず、第1の鍵ペアとして、事前に生成された第1の秘密鍵a及び第1の公開鍵a・gを読み出す(S101)。ここで、aは整数である。次に、整数xを決定する(S102)。ここで、整数xは、整数値を返すハッシュ関数h(a・g,str,r)の値として決定する。文字列strは、生成される第2の公開鍵の属性を表し、数rは、乱数又は疑似乱数である。そして、第2の鍵ペアとして、xを乗じて第2の秘密鍵ax及び第2の公開鍵ax・gを計算し、記憶する(S103)。
 文字列strは、第2の公開鍵ax・gを生成する際に第1の公開鍵a・gの所有者が当該生成を行う装置上で指定してもよく、あるいはデフォルトの値を取るようにしてもよい。当該装置の記憶部又は当該装置からアクセス可能な記憶媒体又は記憶装置には、gの値又はその決定手順、aの値又はその決定手順、ハッシュ関数h、文字列strの値又はその決定手順、数rの値又はその決定手順、第1の鍵ペアの決定手順、第2の鍵ペアの決定手順を定めたプログラムが記憶されており、当該プログラムが実行されることで上記処理が実現される。特に、当該プログラムが実行されることによって、上記ハッシュ関数hが読み出されて整数xが決定される。
 第2の秘密鍵ax及び第2の公開鍵ax・gは、第1の公開鍵a・gを引数として定めるxに基づくため、第1の鍵ペアに関連づけて生成される。加えて、文字列strを任意の文字列とする場合のほか、第2の鍵ペアの有効期限の日付、第2の公開鍵の受領者のメールアドレス等のID、第2の公開鍵の受領者の第1の公開鍵の所有者に対する関係など、第2の公開鍵の属性を表す文字列とすることが好ましい(第2の公開鍵の受領者については後述する。)。上述のハッシュ関数hの例では、strとrを別の引数としたが、たとえばこれらを結合して1つの引数としたり、さらに第1の公開鍵a・gと文字列str及び数rの一方又は両方とを結合して引数としてもよく、ハッシュ関数hは、第1の公開鍵a・g文字列str及び数rを用いて整数を出力するハッシュ関数を広く包含する。
 また、文字列strは、必ずしも用いなければならないものではなく、ハッシュ関数hを第1の公開鍵a・g及び数rを用いて整数を出力するハッシュ関数とより広く捉えてもよい。ここで、rはより広く、乱数若しくは疑似乱数を含むデータとすることができ、具体的には、乱数又は疑似乱数に加えて文字列strを含むデータとしてもよい。一例として、乱数又は疑似乱数と文字列strとを結合したデータとすることができる。
 生成元gの位数は素数であることが好ましく、生成元により生成される巡回群Gの元の数は一例として32バイト、すなわち256ビット程度以上であることが好ましい。ここで、巡回群Gにおける演算は加法的に記述しており、たとえば、生成元gをa回繰り返し加算する演算をa・gを表記し、「aを生成元gに乗じる」と呼ぶ。なお、axのように整数の集合又は部分集合の元同士の乗算も本明細書において表記として用いられるが、これは巡回加法群における乗算とは異なるものであることを念のため付言する。本明細書においては、巡回群Gを加法群として表記するが、巡回乗法群として表記しても本発明と等価であってその技術的範囲に属することも念のため付言する。
 第1の公開鍵a・gは、本実施形態において、従来の信頼できる認証局が発行した電子証明書によって、その所有者が認証されているものとすることができる。あるいは、認証局による認証以外の何らかの形で信頼性が付与されているものとすることができる。ここで、公開鍵の所有者とは、当該公開鍵に対応する秘密鍵にアクセス可能な者を言う。
 第1の鍵ペアを用いて任意のデータmに対する電子署名を行う場合の暗号方式としては、現在公知であり、今後公知となる任意のものを用いればよい。
 ここで、上述の説明では、事前に第1の秘密鍵a及び第1の公開鍵a・gが決定され、記憶されているものとしているが、第1の秘密鍵aを事前に決定しておき、必要に応じて第1の公開鍵a・gを計算してもよい。第1の秘密鍵aは、バックアップのために外部の記憶媒体又は記憶装置に記憶されることは考えられるが、原則として外部に開示されることのないデータである。
 本実施形態にかかる第2の鍵ペアの生成の一特徴は、第2の秘密鍵axが第1の秘密鍵aと同様に整数の集合の元であり、第2の公開鍵ax・gが第1の公開鍵a・gと同様に生成元gが生成する巡回群Gの元であって、第2の鍵ペアが第1の鍵ペアと同一の形式(format)であることから、第2の鍵ペアから第3の鍵ペア、第3の鍵ペアから第4の鍵ペアのように繰り返し子鍵ペアの生成が可能である点が挙げられる。
 なお、「××のみに基づいて」、「××のみに応じて」、「××のみの場合」というように「のみ」との記載がなければ、本明細書においては、付加的な情報も考慮し得ることが想定されていることに留意されたい。また、一例として、「aの場合にbする」という記載は、明示した場合を除き、「aの場合に常にbする」ことを必ずしも意味しないことに留意されたい。
 また、念のため、なんらかの方法、プログラム、端末、装置、サーバ又はシステム(以下「方法等」)において、本明細書で記述された動作と異なる動作を行う側面があるとしても、本発明の各態様は、本明細書で記述された動作のいずれかと同一の動作を対象とするものであり、本明細書で記述された動作と異なる動作が存在することは、当該方法等を本発明の各態様の範囲外とするものではないことを付言する。
 (第2の実施形態) 
 図2に、本発明の第2の実施形態にかかる、第1の鍵ペアから生成された第2の鍵ペアを構成する第2の公開鍵の信頼性を証明するためのシステムを示す。
 システム200は、第1の鍵ペアから第2の鍵ペアを生成して第2の鍵ペアを構成する第2の公開鍵を送信する送信装置210と、第2の公開鍵を受領する受領装置220と、第2の公開鍵の信頼性を証明する証明装置230とを備える。送信装置210、受信装置220及び証明装置230は、互いにコンピュータ・ネットワークを介して通信可能である。
 証明装置230は、通信インターフェースなどの通信部231と、プロセッサ、CPU等の処理部232と、メモリ、ハードディスク等の記憶装置又は記憶媒体を含む記憶部233とを備えるコンピュータであり、所定のプログラムを実行することによって、以下で説明する各処理を実現することができる。証明装置230は、1又は複数の装置ないしサーバを含むことがあり、また当該プログラムは、1又は複数のプログラムを含むことがあり、また、コンピュータ読み取り可能な記憶媒体に記録して非一過性のプログラムプロダクトとすることができる。送信装置210及び受領装置220については図示しないものの、同様のハードウェアの構成を有することができる。
 送信装置210において、第1の実施形態で説明した方法によって生成された第2の鍵ペアを構成する第2の公開鍵ax・gは、それを受領した受領装置220においてその信頼性を確認することが出来なければ、その所有者を識別する役割を果たすことができない。そこで、本実施形態において、受信装置220は、証明装置230に対して第2の公開鍵ax・gの信頼性の証明を要求する。以下、第1の公開鍵をPK1、第2の公開鍵をPK2とも表記する。
 具体的には、証明装置230は、受領装置220を介して間接的に又は送信装置210から直接的に、第2の公開鍵PK2に加えて、証明データとして文字列str及び数rを受け取る。証明装置230は、システム200において何らかの形で既知でアクセス可能な第1の公開鍵PK1を用い、証明データの検証式PK2=xPK1を計算して両辺が一致することに基づいて、第2の公開鍵PK2が第1の公開鍵PK1の所有者により生成されたものであることを証明することができる。ここで、一例として第1の実施形態で説明したように、証明装置230は、x=h(a・g,str,r)によりxを計算することができる。証明装置230の記憶部231又は証明装置230からアクセス可能な記憶媒体又は記憶装置には、証明要求を受信した際の手順を定めたプログラムが記憶されており、当該プログラムでは、特に上記検証式による検証手順が定められており、これが実行されることによって、当該検証式による検証が行われる。
 整数xはハッシュ関数hの値であり、その値を与える文字列str及び数rを導き出すことは現実的に著しく困難であることから、証明装置230は、上記検証式の両辺が一致することで、文字列str及び数rの提供者は第2の公開鍵PK2を生成した者であることが証明される。この目的のためには、文字列strは必ずしも必要ではなく、ハッシュ関数hは、第1の公開鍵PK1及びデータrに基づいて整数を出力する関数としてもよい。
 なお、証明装置230は受領装置220と同一としてもよく、この場合、第2の公開鍵PK2の信頼性を自ら証明することができる。また、証明装置230は送信装置210と同一としてもよく、この場合、第2の公開鍵PK2の生成者が自らその信頼性を証明することとなる。また、受領装置220は送信装置210と同一としてもよく、この場合、第1の公開鍵PK1の所有者が状況に応じてそれとは異なる第2の公開鍵PK2を用い、必要に応じてこれらの鍵の関係を証明装置230において証明することができる。
 図3に、証明装置が証明データを生成装置から受け取る例において、第2の公開鍵の信頼性を証明する方法の流れを示す。上述の説明においては、送信装置という用語を用いたが、より一般化して生成装置という用語を図3においては用いる。
 生成装置210は、証明データを受領装置220に提供する(S301)。受領装置220への与え方として、コンピュータ・ネットワークを介した受領装置220への送信、証明データを記憶した記憶媒体の受領装置220への接続、生成装置210の表示画面に表示された証明データの受領装置220への入力、生成装置210の表示画面に表示された証明データ又はこれに対応するデータの受領装置220の撮像素子による読み取り等のさまざまな態様が挙げられる。生成装置210から受領装置220又はその他の装置への第1の公開鍵PK1及び第2の公開鍵PK2の提供についても、同様にさまざまな態様が挙げられる。
 証明データを受領した受領装置220は、第2の公開鍵PK2が第1の公開鍵PK1の所有者により生成されたものであること、換言すれば第2の公開鍵PK2が第1の公開鍵PK1と親子関係にあることの証明を証明装置230に求める証明要求を送信する(S302)。
 証明要求は、この例では証明データを含むが、証明データが生成装置210から証明装置230に直接提供される例においては含む必要がない。上述したように、生成装置210が証明装置230を兼ねる場合においては、「提供」は自らに対する提供を含む。また、受領装置220が生成装置210と同一である場合においても、「提供」は自らに対する提供を含む。加えて、「証明要求」は、生成装置210又は受領装置220が証明装置230を兼ねる場合においては、自らに対する要求を含む。
 また、証明要求は、証明対象である親子関係における子鍵である第2の公開鍵PK2を含むことができ、また、当該親子関係における親鍵である第1の公開鍵PK1を含むことができる。親鍵及び子鍵の少なくとも一方は、生成装置210から直接的又は間接的に証明装置230に提供して証明装置230に予め記憶しておき、証明要求における明示的な指定を不要とすることができる。
 証明装置230は、証明要求に応じて、証明データの検証式を計算することによって、当該証明データを検証する(S303)。
 そして、証明装置230は、検証結果ないし計算結果を受領装置220からの証明要求に対する応答として、送信する(S304)。受領装置220が証明装置230を兼ねる場合においては、自らの記憶装置又は記憶媒体に検証結果を記憶することとなるが、このような処理を自らに対する「送信」の概念に含めてもよい。送信される結果としては、検証式の両辺が一致したか否か、検証に成功したか否かなどが挙げられる。
 上述の説明では、第1の公開鍵PK1及び第2の公開鍵PK2を「公開鍵」として位置付けてきたが、インターネット上で何らかの活動を行う主体の「識別子」としても位置付けることができる。具体的には、第1の識別子ID1に基づいて又は第1の識別子ID1に関連づけて生成された第2の識別子ID2の信頼性を評価する装置、方法及びそのためのプログラムとして、本発明の精神を解することができる。
 (第3の実施形態) 
 送信装置210は、受領装置220に対して、第2の公開鍵ax・gに加えて第2の秘密鍵axを渡すこともできる。第2の秘密鍵axの提供の態様としては、その他のデータと同様にさまざまな態様が考えられる。この場合、受領装置220は、第2の鍵ペアを用いてデータmに対する電子署名を行うことが可能となる。そして、送信装置210から証明データを受け取っていれば、必要に応じて、電子署名の受信者に対して証明データをデータm及びそれに対する署名sとともに渡して、当該受信者は、当該電子署名が第1の公開鍵a・gの所有者により生成された第2の鍵ペアによるものであることを示すことができる。生成装置210が受領装置220を兼ねる場合、つまり自ら第1の公開鍵a・gの所有者が自ら第2の公開鍵ax・gを用いる場合には、当該所有者が署名者となる。
 受領装置220は、ここでは署名装置として機能しており、データmに署名sが付加された署名済みデータの一部として、又は当該署名済みデータとは別データとして証明データ、そして必要に応じて第1の公開鍵a・g及び第2の公開鍵ax・gの少なくとも一方を他の装置に送信する。
 また、受領装置220は、第2の秘密鍵axの提供を受けている場合、第2の鍵ペアのさらに子鍵ペアとして第3の秘密鍵axy及び第3の公開鍵axy・gから構成される第3の鍵ペアを生成することが可能である。ここで整数yはハッシュ関数h(ax・g,str,r)の値として定めることができる。
 以上の説明において、各実施形態において記述したさまざまな変形形態は他の実施形態においても同様に適用可能であることを付言する。
 200 システム
 210 送信装置
 220 受領装置
 230 証明装置
 231 通信部
 232 処理部
 233 記憶部

Claims (20)

  1.  第1の秘密鍵及び第1の公開鍵により構成される第1の鍵ペアに関連づけて第2の秘密鍵及び第2の公開鍵により構成される第2の鍵ペアを生成する方法において、第1の秘密鍵をa、巡回群Gの生成元をgと表し、第1の公開鍵はa・g、rは乱数若しくは疑似乱数又は乱数若しくは疑似乱数を含むデータであり、コンピュータが、
     整数xを、第1の公開鍵a・g及びデータrを用いて整数を出力するハッシュ関数により決定するステップと、
     第1の秘密鍵a(aは整数)に前記xを乗じて第2の秘密鍵axを算出して記憶するステップと、
     前記第1の公開鍵a及び前記xに基づいて前記第2の公開鍵ax・gを算出して記憶するステップと
    を含むことを特徴とする。
  2.  請求項1記載の方法であって、前記巡回群Gの位数は素数であることを特徴とする。
  3.  請求項1又は2記載の方法であって、前記ハッシュ関数は、さらに前記第2の公開鍵ax・gの属性を表すデータである文字列strを用いて整数を出力することを特徴とする。
  4.  請求項3記載の方法であって、前記strは、前記第2の公開鍵ax・gの有効期限を表すことを特徴とする。
  5.  請求項1又は2記載の方法であって、前記データrは、前記乱数若しくは疑似乱数と前記第2の公開鍵ax・gの属性を表すデータである文字列strとを含むことを特徴とする。
  6.  請求項1から5のいずれかに記載の方法であって、前記第2の公開鍵ax・gを前記第2の鍵ペアを生成した第1の装置以外の第2の装置に提供するステップをさらに含むことを特徴とする。
  7.  請求項6記載の方法であって、前記strは、前記第2の公開鍵ax・gの提供を受ける受領者のIDを表すことを特徴とする。
  8.  請求項6記載の方法であって、前記strは、前記第2の公開鍵ax・gの提供を受ける受領者の前記第1の公開鍵a・gの所有者に対する関係を表すことを特徴とする。
  9.  コンピュータに、第1の秘密鍵及び第1の公開鍵により構成される第1の鍵ペアに関連づけて第2の秘密鍵及び第2の公開鍵により構成される第2の鍵ペアを生成する方法を実行させるためのプログラムにおいて、第1の秘密鍵をa、巡回群Gの生成元をgと表し、第1の公開鍵はa・g、rは乱数若しくは疑似乱数又は乱数若しくは疑似乱数を含むデータであり、前記方法は、
     整数xを、第1の公開鍵a・g及びデータrを用いて整数を出力するハッシュ関数により決定するステップと、
     第1の秘密鍵a(aは整数)に前記xを乗じて第2の秘密鍵axを算出して記憶するステップと、
     前記第1の公開鍵a及び前記xに基づいて前記第2の公開鍵ax・gを算出して記憶するステップと
    を含むことを特徴とする。
  10.  第1の秘密鍵及び第1の公開鍵により構成される第1の鍵ペアに関連づけて第2の秘密鍵及び第2の公開鍵により構成される第2の鍵ペアを生成する装置において、第1の秘密鍵をa、巡回群Gの生成元をgと表し、第1の公開鍵をa・g、rは乱数若しくは疑似乱数又は乱数若しくは疑似乱数を含むデータであり、
     整数xを、第1の公開鍵a・g及びデータrを用いて整数を出力するハッシュ関数により決定し、
     第1の秘密鍵a(aは整数)に前記xを乗じて第2の秘密鍵axを算出して記憶し、
     前記第1の公開鍵a及び前記xに基づいて前記第2の公開鍵ax・gを算出して記憶することを特徴とする。
  11.  第1の秘密鍵及び第1の公開鍵PK1により構成される第1の鍵ペアに関連づけて生成された第2の鍵ペアを構成する第2の公開鍵PK2の信頼性を証明するための方法において、コンピュータが、
     前記第2の公開鍵PK2の信頼性の証明を求める証明要求であって、証明データを含む証明要求を受信するステップと、
     前記証明要求に応じて、式(1)で表される式を計算するステップと、
     前記計算の結果を前記証明要求に対する応答として送信するステップと
    を含み、
     前記計算は、
     前記証明データに含まれるデータrをハッシュ関数に入力して整数xを出力するステップと、
     前記整数xを用いて前記式を計算するステップと
    を含むことを特徴とする。
     PK2=xPK1                (1)
     ここで、第1の秘密鍵をa、巡回群Gの生成元をgと表し、前記第1の公開鍵PK1はa・g、前記第2の公開鍵PK2はax・g、前記rは乱数若しくは疑似乱数又は前記乱数若しくは疑似乱数を含むデータである。
  12.  請求項11記載の方法であって、前記データrは、前記乱数若しくは疑似乱数と前記第2の公開鍵ax・gの属性を表すデータである文字列strとを含むことを特徴とする。
  13.  請求項11記載の方法であって、前記証明データは、前記第2の公開鍵ax・gの属性を表すデータである文字列strをさらに含むことを特徴とする。
  14.  請求項11記載の方法であって、前記証明要求は、前記第2の公開鍵PK2を含むことを特徴とする。
  15.  請求項11記載の方法であって、前記証明要求は、前記第1の公開鍵PK1を含むことを特徴とする。
  16.  コンピュータに、第1の秘密鍵及び第1の公開鍵PK1により構成される第1の鍵ペアに関連づけて生成された第2の鍵ペアを構成する第2の公開鍵PK2の信頼性を証明するための方法を実行させるためのプログラムにおいて、前記方法は、
     前記第2の公開鍵PK2の信頼性の証明を求める証明要求であって、証明データを含む証明要求を受信するステップと、
     前記証明要求に応じて、式(1)で表される式を計算するステップと、
     前記計算の結果を前記証明要求に対する応答として送信するステップと
    を含み、
     前記計算は、
     前記証明データに含まれるデータrをハッシュ関数に入力して整数xを出力するステップと、
     前記整数xを用いて前記式を計算するステップと
    を含むことを特徴とする。
     PK2=xPK1                (1)
     ここで、第1の秘密鍵をa、巡回群Gの生成元をgと表し、前記第1の公開鍵PK1はa・g、前記第2の公開鍵PK2はax・g、前記rは乱数若しくは疑似乱数又は前記乱数若しくは疑似乱数を含むデータである。
  17.  第1の秘密鍵及び第1の公開鍵PK1により構成される第1の鍵ペアに関連づけて生成された第2の鍵ペアを構成する第2の公開鍵PK2の信頼性を証明するための装置において、
     前記第2の公開鍵PK2の信頼性の証明を求める証明要求であって、証明データを含む証明要求を受信し、
     前記証明要求に応じて、式(1)で表される式を計算し、前記計算の結果を前記証明要求に対する応答として送信し、
     前記計算は、
     前記証明データに含まれるデータrをハッシュ関数に入力して整数xを出力し、
     前記整数xを用いて前記式を計算することを特徴とする。
     PK2=xPK1                (1)
     ここで、第1の秘密鍵をa、巡回群Gの生成元をgと表し、第1の公開鍵PK1はa・g、第2の公開鍵PK2はax・g、前記rは乱数若しくは疑似乱数又は前記乱数若しくは疑似乱数を含むデータである。
  18.  第1の識別子ID1に関連づけて生成された第2の識別子ID2の信頼性を証明するための方法において、
     前記第2の識別子ID2の信頼性の証明を求める証明要求であって、証明データを含む証明要求を受信するステップと、
     前記証明要求に応じて、式(1)で表される式を計算するステップと、
     前記計算の結果を前記証明要求に対する応答として送信するステップと
    を含み、
     前記計算は、
     前記証明データに含まれるデータrをハッシュ関数に入力して整数xを出力するステップと、
     前記整数xを用いて前記式を計算するステップと
    を含むことを特徴とする。
     ID2=xID1                (1)
     ここで、第1の整数をa、巡回群Gの生成元をgと表し、前記第1の識別子ID1はa・g、前記第2の識別子ID2はax・g、前記rは乱数若しくは疑似乱数又は前記乱数若しくは疑似乱数を含むデータである。
  19.  コンピュータに、第1の識別子ID1に関連づけて生成された第2の識別子ID2の信頼性を証明するための方法を実行させるためのプログラムにおいて、前記方法は、
     前記第2の識別子ID2の信頼性の証明を求める証明要求であって、証明データを含む証明要求を受信するステップと、
     前記証明要求に応じて、式(1)で表される式を計算するステップと、
     前記計算の結果を前記証明要求に対する応答として送信するステップと
    を含み、
     前記計算は、
     前記証明データに含まれるデータrをハッシュ関数に入力して整数xを出力するステップと、
     前記整数xを用いて前記式を計算するステップと
    を含むことを特徴とする。
     ID2=xID1                (1)
     ここで、第1の整数をa、巡回群Gの生成元をgと表し、前記第1の識別子ID1はa・g、前記第2の識別子ID2はax・g、前記rは乱数若しくは疑似乱数又は前記乱数若しくは疑似乱数を含むデータである。
  20.  第1の識別子ID1に関連づけて生成された第2の識別子ID2の信頼性を証明するための装置において、
     前記第2の識別子ID2の信頼性の証明を求める証明要求であって、証明データを含む証明要求を受信し、
     前記証明要求に応じて、式(1)で表される式を計算し、
     前記計算の結果を前記証明要求に対する応答として送信し、
     前記計算は、前記証明データに含まれるデータrをハッシュ関数に入力して整数xを出力し、前記整数xを用いて前記式を計算することを特徴とする。
     ID2=xID1                (1)
     ここで、第1の整数をa、巡回群Gの生成元をgと表し、第1の識別子ID1はa・g、前記第2の識別子ID2はax・g、前記rは乱数若しくは疑似乱数又は前記乱数若しくは疑似乱数を含むデータである。
PCT/JP2020/021283 2019-05-29 2020-05-29 公開鍵の信頼性を証明するための装置、方法及びそのためのプログラム WO2020241817A1 (ja)

Priority Applications (3)

Application Number Priority Date Filing Date Title
US17/614,451 US20220239481A1 (en) 2019-05-29 2020-05-29 Device and Method for Certifying Reliability of Public Key, and Program for Same
EP20812821.5A EP3979554A4 (en) 2019-05-29 2020-05-29 DEVICE AND METHOD FOR CERTIFICATION OF THE RELIABILITY OF A PUBLIC KEY AND PROGRAM THEREFOR
CN202080050983.3A CN114128213A (zh) 2019-05-29 2020-05-29 用于验证公钥的可靠性的装置、方法以及其程序

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
JP2019-100795 2019-05-29
JP2019100795A JP2020195100A (ja) 2019-05-29 2019-05-29 公開鍵の信頼性を証明するための装置、方法及びそのためのプログラム

Publications (1)

Publication Number Publication Date
WO2020241817A1 true WO2020241817A1 (ja) 2020-12-03

Family

ID=73548101

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/JP2020/021283 WO2020241817A1 (ja) 2019-05-29 2020-05-29 公開鍵の信頼性を証明するための装置、方法及びそのためのプログラム

Country Status (5)

Country Link
US (1) US20220239481A1 (ja)
EP (1) EP3979554A4 (ja)
JP (1) JP2020195100A (ja)
CN (1) CN114128213A (ja)
WO (1) WO2020241817A1 (ja)

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH04191787A (ja) * 1990-11-26 1992-07-10 Matsushita Electric Ind Co Ltd 公開鍵生成方式および公開鍵生成システム
JP2005500740A (ja) * 2001-08-13 2005-01-06 ザ ボード オブ トラスティーズ オブ ザ リーランド スタンフォード ジュニア ユニバーシティ Idベース暗号化および関連する暗号手法のシステムおよび方法
JP2005072648A (ja) * 2003-08-22 2005-03-17 Canon Inc 公開鍵証明書システム、発行装置、利用端末、公開鍵及び公開鍵証明書の更新方法、コンピュータプログラム、及びコンピュータ読み取り可能な記憶媒体
JP2016025532A (ja) * 2014-07-22 2016-02-08 パナソニックIpマネジメント株式会社 通信システム、通信装置、及び通信方法
JP2016167230A (ja) * 2015-03-10 2016-09-15 株式会社日立ソリューションズ データ閲覧管理サーバ及びデータ閲覧管理システム、データ閲覧管理方法、データ閲覧管理プログラム

Family Cites Families (25)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5199070A (en) * 1990-12-18 1993-03-30 Matsushita Electric Industrial Co., Ltd. Method for generating a public key
DE69834431T3 (de) * 1998-01-02 2009-09-10 Cryptography Research Inc., San Francisco Leckresistentes kryptographisches verfahren und vorrichtung
FR2789829B1 (fr) * 1999-02-11 2001-04-20 Bull Sa Procede de verification de l'usage de cles publiques engendrees par un systeme embarque
US7707420B1 (en) * 1999-06-23 2010-04-27 Research In Motion Limited Public key encryption with digital signature scheme
GB0215590D0 (en) * 2002-07-05 2002-08-14 Hewlett Packard Co Method and apparatus for generating a cryptographic key
JP2006025532A (ja) * 2004-07-07 2006-01-26 Jcm:Kk 携帯電話機用充電器
EP1911194A1 (fr) * 2005-07-26 2008-04-16 France Télécom Procede de controle de transactions securisees mettant en oeuvre un dispositif physique unique, dispositif physique, systeme, et programme d'ordinateur correspondants
JP4928412B2 (ja) * 2006-10-31 2012-05-09 日本電信電話株式会社 署名生成装置、署名検証装置、それらの方法及びプログラム
US20080123842A1 (en) * 2006-11-03 2008-05-29 Nokia Corporation Association of a cryptographic public key with data and verification thereof
JP4914377B2 (ja) * 2008-01-21 2012-04-11 日本電信電話株式会社 署名生成装置、署名検証装置、署名生成検証システム、それらの方法及びプログラム
JP2009232149A (ja) * 2008-03-24 2009-10-08 Nec Soft Ltd 鍵利用端末、鍵利用プログラム、公開鍵システム、および、鍵利用方法
JP5171787B2 (ja) * 2009-10-21 2013-03-27 株式会社日立製作所 サインクリプションシステムおよびサインクリプション生成方法
JP5448801B2 (ja) * 2009-12-28 2014-03-19 日本電信電話株式会社 暗号化システム、暗号化装置、復号装置、暗号化方法、プログラム、記録媒体
EP2498438A1 (en) * 2011-03-07 2012-09-12 Certicom Corp. Accelerated verification of digital signatures on partially encrypted messages
WO2014069783A1 (ko) * 2012-10-31 2014-05-08 삼성에스디에스 주식회사 패스워드 기반 인증 방법 및 이를 수행하기 위한 장치
CN106464501B (zh) * 2014-04-09 2020-09-25 Ictk控股有限公司 认证装置及方法
US11080414B2 (en) * 2015-05-22 2021-08-03 Huawei Device Co., Ltd. Cryptographic unit for public key infrastructure (PKI) operations
JP6471112B2 (ja) * 2016-02-29 2019-02-13 Kddi株式会社 通信システム、端末装置、通信方法、及びプログラム
US10700861B2 (en) * 2016-07-29 2020-06-30 Workday, Inc. System and method for generating a recovery key and managing credentials using a smart blockchain contract
CN108111467B (zh) * 2016-11-24 2021-04-09 华为技术有限公司 身份认证方法与设备及系统
SG10201702038UA (en) * 2017-03-14 2018-10-30 Huawei Int Pte Ltd System and method for computing common session keys in a forward secure identity-based authenticated key exchange scheme
CN107395370B (zh) * 2017-09-05 2020-07-14 深圳奥联信息安全技术有限公司 基于标识的数字签名方法和装置
CN107438006B (zh) * 2017-09-12 2019-09-03 西安电子科技大学 全匿名无证书的多接收者签密方法
CN108809650B (zh) * 2018-05-04 2021-04-13 西安电子科技大学 无安全信道的无证书匿名多接收者签密方法
JP6634171B2 (ja) * 2018-05-11 2020-01-22 株式会社bitFlyer Blockchain 公開鍵の信頼性を証明するための装置、方法及びそのためのプログラム

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH04191787A (ja) * 1990-11-26 1992-07-10 Matsushita Electric Ind Co Ltd 公開鍵生成方式および公開鍵生成システム
JP2005500740A (ja) * 2001-08-13 2005-01-06 ザ ボード オブ トラスティーズ オブ ザ リーランド スタンフォード ジュニア ユニバーシティ Idベース暗号化および関連する暗号手法のシステムおよび方法
JP2005072648A (ja) * 2003-08-22 2005-03-17 Canon Inc 公開鍵証明書システム、発行装置、利用端末、公開鍵及び公開鍵証明書の更新方法、コンピュータプログラム、及びコンピュータ読み取り可能な記憶媒体
JP2016025532A (ja) * 2014-07-22 2016-02-08 パナソニックIpマネジメント株式会社 通信システム、通信装置、及び通信方法
JP2016167230A (ja) * 2015-03-10 2016-09-15 株式会社日立ソリューションズ データ閲覧管理サーバ及びデータ閲覧管理システム、データ閲覧管理方法、データ閲覧管理プログラム

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
See also references of EP3979554A4 *

Also Published As

Publication number Publication date
CN114128213A (zh) 2022-03-01
EP3979554A4 (en) 2023-07-05
JP2020195100A (ja) 2020-12-03
EP3979554A1 (en) 2022-04-06
US20220239481A1 (en) 2022-07-28

Similar Documents

Publication Publication Date Title
Li et al. Privacy preserving cloud data auditing with efficient key update
CN104811450B (zh) 云计算中一种基于身份的数据存储方法及完整性验证方法
JP5532048B2 (ja) 匿名認証署名システム、ユーザ装置、検証装置、署名方法、検証方法およびそれらのプログラム
JP2010503252A (ja) コンピューティング・プラットフォームの証明
CN101395599A (zh) 电子签名的生成
WO2010137508A1 (ja) 署名装置、署名検証装置、匿名認証システム、署名方法、署名認証方法およびそれらのプログラム
JP2001066989A (ja) 一方向性関数生成方法,一方向性関数値生成装置,証明装置,認証方法および認証装置
Yu et al. Public cloud data auditing with practical key update and zero knowledge privacy
JP5264548B2 (ja) 認証システムおよび認証方法
Garcia-Rodriguez et al. Implementation and evaluation of a privacy-preserving distributed ABC scheme based on multi-signatures
Mishra et al. BB-tree based secure and dynamic public auditing convergence for cloud storage
Lin et al. Privacy-enhancing decentralized anonymous credential in smart grids
WO2010013699A1 (ja) 署名システム
Hajny et al. Attribute‐based credentials with cryptographic collusion prevention
CN116170144B (zh) 智能电网匿名认证方法、电子设备及存储介质
JP6634171B2 (ja) 公開鍵の信頼性を証明するための装置、方法及びそのためのプログラム
WO2020241817A1 (ja) 公開鍵の信頼性を証明するための装置、方法及びそのためのプログラム
JP2008506293A (ja) デジタル認証機能を提供する方法
JP4791828B2 (ja) グループ署名システム、装置、プログラム及び方法
Rehman et al. Securing cloud storage by remote data integrity check with secured key generation
JP6688933B1 (ja) 公開鍵の信頼性を証明するための装置、方法及びそのためのプログラム
EP3917076A1 (en) A zero knowledge proof method for content engagement
CN102301644B (zh) 数据处理系统中的数据项的验证
WO2019216435A1 (ja) 公開鍵の信頼性を証明するための装置、方法及びそのためのプログラム
CN109600218B (zh) 用户身份可追踪的匿名pki系统

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: 20812821

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

ENP Entry into the national phase

Ref document number: 2020812821

Country of ref document: EP

Effective date: 20220103