The present disclosure relates to a method of generating a digital signature and to a method proving that a participant contributed a share of the digital signature.
In general, a shared secret may be used to share a data item that is distributed amongst a group of participants. Each participant has a different share of the secret. Normally, the secret can only be reconstructed when a certain number (referred to as the “threshold”) of participants make their respective shares available, e.g. to be combined together to calculate the secret.
Public-key cryptography is a type of cryptographic system that uses pairs of keys: private keys which are known only to the owner of the private key, and public keys which are generated based on the corresponding private key and which may be disseminated without compromising the security of the private key.
Public-key cryptography enables a sender to encrypt a message using a recipient's public key (i.e. the public key corresponding to a private key known only to the recipient). The encrypted message can then only be decrypted using the recipient's private key.
Similarly, a sender can use their own private key to sign a message, e.g. to prove that the message is being sent by the sender, and/or to indicate that the sender agrees with the message. The signer (i.e. the party generating the signature) uses their private key to create a digital signature based on the message. Creating a digital signature based on a message means supplying the message and private key to a function that generate the signature based on both the message and private key. The signature is added to (e.g. tagged onto) the message or otherwise associated with the message. Anyone with the signer's corresponding public key can use the same message and the digital signature on the message to verify whether the signature was validly created, i.e. whether the signature was indeed made using the signer's private key. As well as ensuring the authenticity of a message, digital signatures also ensure the integrity and non-repudiation of the message. That is, a digital signature can be used to prove that a message has not been changed since it was signed with the signature, and that the creator of a signature cannot deny in the future that they created the signature.
A digital signature scheme typically involves three procedures, i.e. algorithms. A key generation algorithm is used to generate a random private key and a corresponding public key. A signing algorithm is used to generate a signature based on a message and the private key. A verification algorithm is used to verify, given a public key and the message, whether the signature has been generated using the corresponding private key and according to the signing algorithm.
A common use of a shared secret is as a shared private key of a private-public key pair. That is, the private key may be distributed amongst a group of participants such that no single participant has access to the private key. Therefore no single participant can generate a valid signature of a message. Instead, some or all of the participants must together generate the private key in order for the signature to be generated.
Instead of the participants sharing their private key shares in order to generate a signature, they may instead use a threshold signature scheme. A threshold signature scheme allows a threshold number of participants in a group to create a digital signature based on a message using individual shares of a shared private key, without the private key being made available to any one participant. Here, a digital signature is a signature which is generated based on the message to be signed. In such a scheme, the signature can only be created if the threshold number of participants agree to generate the signature on the message. Any attempt to generate a signature using a smaller number of participants will not generate a valid signature. Therefore, a valid signature by the group (i.e. one generated using the message and the shared private key) provably had the threshold number of people agree to generate the signature. This also implies that any adversary needs to obtain the threshold number of shares of the private key to forge a signature with that private key.
As mentioned above, threshold signature schemes require participants to contribute respective signature shares in order to generate a valid signature. Whilst a valid signature proves that at least a threshold number of participants contributed a signature share, it does not prove which participants of the group contributed a signature share. In other words, in a threshold signature scheme, there is no way to identify who has created a given signature—the resulting signature will always be the same no matter which shares were used to create it. There is therefore a need for a threshold signature scheme which allows signers (i.e. participants that contribute to the signature) to be able to prove that they have indeed contributed a signature share. Such a scheme could be used to prevent other participants falsely claiming that they have contributed to the signature, or that the proving party has not contributed to the signature.
According to one aspect disclosed herein, there is provided a computer-implemented method, performed by a first participant of a group of a participants, of proving that a target sub-group of the group generated a digital signature, wherein the signature can only be generated based on at least a threshold number of respective signature shares, wherein each participant of the group has a respective private key share of a shared private key, wherein the group is divisible into a plurality of unique sub-groups where each sub-group comprises at least the threshold number of participants, and wherein the method comprises: for each respective sub-group to which the first participant belongs, generating a respective first ephemeral private key share of a respective shared ephemeral private key, wherein each other participant of each respective sub-group generates a respective ephemeral private key share of the respective shared ephemeral private key; for each respective shared ephemeral private key, generating a respective shared ephemeral public key; generating a first signature share of the signature, wherein the first signature share is generated based on a first private key share of the shared private key, the first ephemeral private key share of a target one of the respective shared ephemeral private keys, and a message; and making the first signature share available to a coordinator for generating the signature based on at least the threshold number of respective signature shares, wherein each respective signature share is based on respective private key share of the shared private key and a respective ephemeral private key share of the target one of the respective shared ephemeral private keys, and wherein the signature comprises a component based on the respective shared ephemeral public key corresponding to the target one of the respective shared ephemeral private keys.
Each participants of the group have a shared of the same shared private key for generating a threshold signature. The signature can only be generated with a minimum number of unique signature shares. This number is known as the threshold of the signature. The group divides itself into all possible unique sub-sets (i.e. sub-groups), where each sub-set is at least the same size as the threshold of the signature such that each sub-set could generate enough signature shares to generate a valid signature. A sub-set may have more participants than needed. Each different sub-set derives shares of a different shared ephemeral key. A participant that is a member of multiple sub-sets will therefore derive a share of multiple ephemeral keys, one for each sub-set. The sub-sets also derive a corresponding ephemeral public key. When a sub-set wishes to generate a signature, the participants of that sub-set generate respective signature shares using their shares of the ephemeral key derived by that sub-set. Since the signature includes a component based on the corresponding ephemeral public key, the participants of the sub-set that derived the signature can prove that they did indeed derive the signature since only they had access to the ephemeral key (i.e. the shares thereof) corresponding to the ephemeral public key upon which the component of the signature is based.
To assist understanding of embodiments of the present disclosure and to show how such embodiments may be put into effect, reference is made, by way of example only, to the accompanying drawings in which:
Whilst the following examples are described in terms of elliptic curve cryptography, the invention is not limited to any one particular cryptographic scheme and may in general be applied to any cryptographic scheme, e.g. RSA or other public key cryptography schemes.
An elliptic curve E satisfies the equation:
where a, b ∈p and a, b are constants satisfying 4a3+27b2≠0. The group over this elliptic curve is defined to be the set of elements (x,y) satisfying this equation along with the point at infinity , which is the identity element. The group operation on the elements in this group is called elliptic curve point addition and denoted by +. This group is denoted by E(p) and its order by n.
This group operation can be used to define another operation on the elements called point multiplication denoted by. For a point G∈E(p) and a scalar k∈*n, the point k·G is defined to be the point G added to itself k times.
In elliptic curve cryptography, a private key is defined to be a scalar k∈n\{0} where n\{0} is notation for the set {1, . . . , n-1}, and the corresponding public key is the point k·G on an elliptic curve. For instance, in some blockchain protocols, the elliptic curve is chosen to be the secp256k1 elliptic curve, and the values a, b, and p are completely specified by this curve. The order n of this group has been calculated given these values, which in the case of this curve is a prime, and the secp256k1 standard also specifies a point G which is to be used as the generator of this group.
In order to create a signature on a message msg, with the private key a, the following steps are taken:
The ephemeral key must be kept secret, otherwise the private key can be calculated, given a message and signature. Additionally, each time a signature is generated, a different ephemeral key must be used. If this is not the case, it is possible to derive the private key a given two different signatures and their corresponding messages.
Given a message msg, a public key P=a·G, and corresponding signature (r,s), then one can verify the signature by completing the following steps:
In threshold signature schemes, this private key a is split into key shares that are distributed amongst participants in a threshold scheme group.
Assume that N participants want to create a joint secret that can only be regenerated by at least (t+1) of the participants in the scheme. To create the shared secret, the following steps are taken:
A shared secret share is a point with the form (i, αi), where i is the participants label in the scheme. This method for creating a secret share of α, as described in steps 1-3, is denoted herein by αi=JVRSS(i) for participant i. Note that “JVRSS” typically stands for “Joint verification random secret sharing” and includes steps 4 and 5 as well. However, throughout this document JVRSS is taken to mean performing at least steps 1 to 3, where steps 4 and 5 are optional steps.
Now that the participants have generated a shared polynomial, they can each verify that the other participants have shared the correct information to all participants, and that all participants have the same shared polynomial. This is done in the following way.
αik·G,
If all participants find that this equation holds for each polynomial, then the group can collectively be sure that they have all created the same shared polynomial.
Assume a participant wants to reconstruct a shared secret a which is the zeroth order of a shared polynomial. Given (t+1) points on this polynomial of the form
(1,α1), . . . ,((t+1),αt+1),
then to find the shared secret a, one calculates
which is derived from a general formula known as “Lagrange Interpolation”.
Given the N zeroth-order private polynomial coefficient public keys αi0·G for j=1, . . . , N shared in step 4 of JVRSS, each participant calculates the shared public key P using
corresponding to the shared secret a.
To calculate the addition of two shared secrets that are shared amongst a group of N participants, where each secret polynomial has order t, without any entity knowing the individual secrets, the following steps are taken:
This method for the addition of shared secrets is denoted by ADDSS (i) for participant i, which results in each participant i knowing ν=(a+b).
To calculate the product of two shared secrets that are both shared amongst a group of N participants, where each secret polynomial has order t, the group takes the following steps:
μi=aibi.
This method for calculating the product of two shared secrets is denoted herein by μ=ab=PROSS (i) for participant i.
In order to calculate the inverse of a shared secret a, the following steps are taken:
This method for calculating the inverse of shared secrets is denoted by ai−1=INVSS(i) for participant i.
To calculate a shared private key a between N≥2t+1 participants, t+1 of which are required to create a signature, the participants execute JVRSS with a threshold of t+1 and public key calculation as described above. The result is that every participant i=1, . . . , N has a private key share a; and the corresponding shared public key P=(a·G).
To generate ephemeral key shares and the corresponding r, as is required in a signature, a group of size N with a shared private key a of threshold (t+1) execute the following steps:
r=x mod n.
Assume that at least 2t+1 participants would like to create a signature on a message, and one of the participants chooses to coordinate this. In order to create a signature by a group with the shared private key a, the following steps are taken.
s
i
=k
i
−1(e+air)mod n,
s=interpolate(s1, . . . ,s2t+1),
In the case of addition of secrets of order t and t′, the addition of the two secrets requires max (t, t′)+1 number of shares to calculate it. The reason behind this is that the addition step of the shares of the shared secrets creates a share of a new polynomial. This new additive polynomial is equivalent to the result of the addition of the individual polynomials of the two shared secrets. Adding two polynomials is adding the corresponding coefficients at each order of x. Therefore, the order of the additive polynomial must be the same order as the highest order of the two polynomials. This can be generalised to the addition of more than two polynomials, where the order of the resulting polynomial is the same as the order of the highest order individual polynomial.
Once the addition of two secrets with different thresholds has been calculated, the security of the higher threshold secret is reduced. This is because if one now knows the result (a+b) with respective thresholds t, t′ and assume that t<t′, then one can calculate a with t shares, and then calculate (a+b)−a=b, and so the value b has been calculated with only t shares. This lower threshold is referred to below as the ‘implicated threshold’ of b.
1.13 Multiplication of Secrets with Different Thresholds
In the case of multiplication of two secrets with a threshold of t and t′, the calculation of the multiplication requires t+t′+1 shares. In this case, the multiplication of shares of two polynomials results in a share on a new polynomial. This new polynomial is the result of multiplying the two individual polynomials and so the order of the result is the addition of the order of the two individual polynomials.
Multiplication can also be generalised to any number of shared secrets, with the resulting threshold being the sum of the individual thresholds plus 1, Σρtρ+1, where ρ runs over the individual shared secrets.
Similar to addition, the multiplication of two secrets with different thresholds results in an implicated threshold of the higher threshold secret. As before, if ab is known where a has a threshold of t and b has a threshold of t′, and t<t′, then both a and b can be calculated with t shares. First, one can calculate a and using (ab)a−1 find b with only t shares of a secret.
It is possible to generalize the above to calculate any combination of addition and multiplication in one step. Assume a group of N participants want to calculate the result ab+c, where a, b, c are shared secrets with thresholds (ta+1), (tb+1), (tc+1) respectively. There is a condition which is max (ta+tb, tc)<N, that is, the number of participants of the scheme must be greater than the maximum between the order of the secret c and the order of the result of the multiplication of the secrets a and b.
This is done in the calculation of a shared signature according to some embodiments below. That is, there is an interpolation over si=ki−1(e+air). This is essentially the case above with aibi=ki−1air and ci=ki−1e. In this case ta+tb=2t and tc=t, and interpolation is over max(ta+tb, tc)+1=2t+1 shares.
Each of the respective computing equipment comprises respective processing apparatus comprising one or more processors, e.g. one or more central processing units (CPUs), accelerator processors such a graphics processing units (GPUs), other application specific processors, and/or field programmable gate arrays (FPGAs). The respective computing equipment may also comprise memory, i.e. computer-readable storage in the form of a non-transitory computer-readable medium or media. The memory may comprise one or more memory units employing one or more memory media, e.g. a magnetic medium such as a hard disk; an electronic medium such as a solid-state drive (SSD), flash memory or EEPROM; and/or an optical medium such as an optical disk drive. The respective computing equipment may comprise at least one user terminal, e.g. a desktop or laptop computer, a tablet, a smartphone, or a wearable device such as a smartwatch. Alternatively or additionally, the respective computing equipment may comprise one or more other networked resources, such as cloud computing resources accessed via the user terminal (the cloud computing resources comprising resources of one or more physical server devices implemented at one or more sites). It will be appreciated that any act described as being performed by a party of the system 100 may be performed by the respective computing apparatus operated by that party.
Each of the participants 102 may be configured to transmit data to one, some or all of the other participants 102 over a network such as the Internet using a LAN or WAN connection, or via alternative wired or wireless communication means. Unless the context requires otherwise, reference to a participant 102 transmitting data may be understood as transmitting data to other participants 102 individually, e.g. via a secure communication channel between the first participant 102a and the second participant 102b, or broadcasting to the group as a whole, e.g. via email or other means. Again, unless the context requires otherwise, each participant 102 may transmit data in raw form, or in encrypted form. For instance, the data may be encrypted using a public key of a recipient participant before being sent to that recipient participant. The same applies to the coordinator 104 transmitting and receiving data to some, some or all of the participants 102.
Embodiments of the present invention will primarily be described from the perspective of the first participant 102a. However it will be appreciated that in general steps of the described method may similarly be performed by other participants, e.g. the second participant 102b or third participant 102c. It will also be appreciated that the terms “first”, “second”, “third” and so on are used herein merely as distinguishing labels and do not necessarily imply an order, unless the particular context in which the terms are used requires otherwise.
The present invention enables each participant 102 of a group of participants 102 to generate respective shares of a threshold signature, and for a coordinator 104 to generate a signature based on those signature shares. More specifically, a sub-group of the group of participants are able to generate a signature and prove that that particular sub-group generated the threshold signature.
Each participant 102 has access to (e.g. stores in memory of their respective computing equipment) a respective share of a shared private key. These private keys shares may be generated using a secret sharing scheme such as, for example, JVRSS (described above) or Shamir's Secret Sharing Scheme (SSSS). Alternative schemes for generating shares of a shared private key may be used.
The signature has a threshold, meaning at least the threshold number of different signature shares are required to generate a valid signature. It should be appreciated that any reference to “the threshold” is taken to mean a number corresponding to the threshold of the signature. For example, the threshold may be two, or three, or ten, etc. The shared private key also has a threshold. In some embodiments, the threshold of the signature is the same as the threshold of the private key. In other embodiments, the threshold of the signature is not the same as the threshold of the private key.
The group of participants 102 is divided into a plurality of sub-groups. Each sub-group is unique. Each sub-group comprises at least the threshold number of participant, i.e. the minimum number of participants in each sub-group is the same number as the threshold of the signature. In that way, each sub-group may generate a valid signature.
The participants of each sub-group generate shares of a shared ephemeral private that is unique to that sub-group. The ephemeral private key shares may be generated using JVRSS, SSSS or an alternative scheme. Each participant 102 may also generate the inverse of their respective ephemeral private key share, e.g. using the INVSS function described above. Each participant of the group also generates an ephemeral public key, i.e. a public key corresponding to the shared ephemeral private key. As is known in the art, a public key comprises first (x) and second (y) co-ordinates and, as will be discussed below, the first co-ordinate may be used to generate a signature share. Each participant 102 may also have access to a respective message independent component (MIC) of the signature share, i.e. the signature share may be generated based on the respective MIC. The MIC itself may be generated, by a given participant 102, based on the respective private key share and the respective ephemeral private key share of that participant 102, and also the first co-ordinate of the ephemeral public key. The data required by each participant 102 to generate a respective signature share will depend on the particular form of signature that is to be generated, e.g. an ECDSA signature.
A participant may be a member of (i.e. belong to) more than one sub-group. For instance, the second participant 102b belongs to at least two sub-groups in the example of
Having generated the ephemeral private key shares and ephemeral public keys (one of each per sub-group), the participants 102 of a particular sub-group (referred to herein as a “target sub-group” can generate a signature for a message in such a way that they can prove that the signature was generated by the sub-group. Each participant of the sub-group (or at least the threshold number of participants of the sub-group, if the sub-group contains more that the threshold number) obtains a message to be signed and generates a respective signature share based on the message (e.g. a hash thereof), their respective private key share and their respective ephemeral private key share of the shared ephemeral private key generated by the target sub-group. For instance, a first participant 102a may generate a first signature share based on (i.e. as a function of) the message, a first private key share, and a first ephemeral private key share, where the first ephemeral private key share is a share of the shared ephemeral private key generated by the target sub-group. The message may have been obtained from the coordinator 104 (e.g. as part of a request for a signature share) or it may be known in advance to the first participant 102a. The other participants of the target sub-group who intend to generate a respective signature share perform an equivalent process of generating a respective signature share.
In some examples, the signature share is generated based on the inverse of the ephemeral key share. The signature share may also be generated based on the first co-ordinate of the ephemeral public key (or more specifically, the first co-ordinate mod n, where n is the order of the elliptic curve). The signature share may also be generated based on a respective MIC share.
Each participant 102 of the target sub-group may send the first signature share to the coordinator 104 for generating a signature based on at least the threshold number of signature shares. Alternatively, one of the participants (e.g. the first participant 102a) may be the coordinator 104, in which case the first participant 102a may obtain respective signature shares from respective participants, and then generate a signature based on the respective signature shares.
The coordinator 104 obtains at least the threshold number of signature shares from the sub-group. The coordinator 104 may obtain more than the threshold number, e.g. one from each participant 102.
The signature generated by the coordinator 104 comprises two components (i.e. parts). One of the components(s) is generated based on the signature shares provided by the participants 102 of the sub-group. Another component (r) is based on the ephemeral public key generated by the target sub-group. For instance, that component may be based on the x-coordinate of the ephemeral public key, e.g. the x-coordinate mod n. The complete signature may be of the form (r,s).
Since the signature is generated using signature shares that were based on ephemeral private key shares known only to the target sub-group, then only the target sub-group could have generated that signature. This can be verified by a verifying party by inspecting the component of the signature that is based on the ephemeral public key. The coordinator 104 may send the signed message to the verifying party. Only the target sub-group that is associated with ephemeral public key could have generated the signature. The verifying party may know in advance the mappings between the sub-groups and the ephemeral public keys, or the mappings may be provided by the target sub-group (e.g. by the participant 102a), or the coordinator 104. The mappings may be stored, for instance, on the blockchain.
As is discussed further below, the signed message may comprise at least part of a blockchain transaction, e.g. one or more inputs and one or more outputs of the transaction. The coordinator 104 may submit the signed transaction to the blockchain, as shown in
The following provides further specific examples of the described embodiments.
A subset of participant may prove that they contributed to a signature using a process whereby all possible subsets of signers create ephemeral keys and then the signers involved create a signature using an ephemeral key of the corresponding subset.
Assume there is a group of N participants with a shared secret of threshold (t+1), and the set of all possible subsets of that group of at least size (2t+1) is given by , where
where S is notation for some set of participants of the whole group of participants . Note that in some examples to prove a specific group of signers, the order of the subset |S| may be set to 2t+1, however the inclusion of other subsets of the group may be included for completeness. The group then take the following steps.
The example method 300 enables the creation of a shared secret of threshold (t+1) in a group of N≥2t+1 participants, where the signing threshold is also (t+1).
In step S301, each participant 102 calculates a shared private key share a; and a corresponding public key. The private key share may be generated using JVRSS as described above. At this point, each participant i has a secret key share and public key (αi, P), where P is notation for the public key corresponding to the shared private key. The shared private key has a threshold of (t+1).
In step S302, each participant 102 calculates a shared ephemeral key share and a corresponding public key. For instance, each participant 102 may calculate a shared ephemeral key using JVRSS and the calculation of the public key given in the preliminaries. Each participant 102 may then calculate an inverse share based on the ephemeral private key. This results in each participant having an inverse share (ki−1, r), with a threshold of (t+1).
In step S303, each participant 102 creates two different shared blinding key shares. For instance, each participant 102 may create two shared secrets so that participant i has shares αi=JVRSS(i) and βi=JVRSS(i), each shared secret having a threshold (t+1). Note that in some examples, not all of the shared secrets need to have the same threshold.
In step S304, each participant 102 calculates an intermediary share and broadcasts their intermediary share to the other participants. For instance, each participant i may calculate the intermediary share λi=ki−1αir+βi. This value has a threshold of (2t+1).
In step S305, the first participant 102a calculates an intermediary value based on at least the intermediary shares. For instance, the first participant 102a may calculate the intermediary value using interpolation over (2t+1) shares λ=interpolate(λ1, . . . , λ2t+1)=k−1ar+β.
In step S306, the first participant 102a has knowledge of (r, ki−1, λ, βi) and stores this along with the private key share and corresponding public key (αi, P).
Note that since a different ephemeral key is used for each signature, multiple ephemeral keys can be set up at one time, that is, steps S302 to S306 can be repeated to create multiple ephemeral keys during pre-calculation and stored for later use. These can be executed at the same time so that there are no additional rounds of communication. Note that preferably, a different value of α and β should be used for each signature.
In order to sign a message msg, at least (t+1) participants must perform steps S307 and S308. In step S307, at least the threshold number of participants 102 obtain a message to be signed and calculate a message digest. For instance, a coordinator 101 may send a request to (t+1) participants to create a signature share on the message msg. Each participant i may calculate the message digest e=hash(msg). In some examples, this hash function is the double SHA-256 hash function. Alternative hash functions may be used.
In step S308, at least the threshold number of participants 102 calculate a signature share and send it to the coordinator 101. For instance, each participant i may calculate their signature share si=ki−1e−βi, and then send this signature share (r, si) to the coordinator. Note that the value r may not be sent by all participants.
In step S309, the coordinator 101 calculates the signature. For instance, the coordinator 101 may calculate s=interpolate(s1, . . . , st+1)+λ=k−1e+k−1ar, and finally the signature (r,s). This results in the expected signature share since the β terms cancel. Similar variations of this protocol can be made as above describing when the (kα)−1 and r is included in the calculation.
Note that the thresholds of the secrets may be different. That is the threshold of α, k, α, β themselves do not necessarily need to be the same to execute the signature generation scheme. For example, if there is a group of six and three are needed to create the signature and/or private key, they could technically do the calculation with the threshold of the k being four and the thresholds of the other shared secrets being three, and they will still have a threshold-optimal scheme.
Note that the present invention may be applied to any threshold signature scheme (whether optimal or non-optimal) and is not limited to the example of
In general, embodiments of the present invention can be used to generate a signature on any message. As a particular example use case, as shown in
Represented in script, the “locking script” and “unlocking script” may take the following forms:
Referring to the above described embodiments, the <Public Key> may be equated to P=αchild. G, and the <Signature> comprises the threshold signature s, where the previous transaction is the message to be signed. Note that as stated above, ECDSA signatures are in the form (r,s).
Note that the described signature generation method is not limited to any particular use case and may in general be used for generating a signature based on any message. Signing all or part of a blockchain transaction is just one illustrative example. The described method may be used to sign and/or authorize, for instance, a legal document (e.g. a will, deed or other contract), correspondence between one or more parties, digital certificates (e.g. issued by a certificate authority), medical prescriptions, a bank transfer or a financial instrument, a mortgage or loan applications, etc.
As a particular example, the group of participants (say five participants in total) may form the board of a company. Voting matters of the company may require a majority of the board (i.e. at least three participants) to agree on the particular vote. The board may use the described signature generation method to prove that at least three board members agreed to vote in favour of a particular outcome. In this example, the threshold of the signature generation scheme is three. That is, at least three of the board members must provide a respective signature share in order for the co-ordinator to successfully generate a signature. If a signature is generated successfully, at least the threshold number (i.e. three) of board members must have agreed to vote in favour of that outcome. Thus the successful generation of a signature acts as a record of the vote and proves that a majority of the board voted in a particular way.
Another use case for the present invention lays in the field of digital certificates, e.g. digital certificate issued by the X.509 standard. A digital certificate contains a signature that signs over some data. The data can in general be any data, but one particular example of data included in a digital certificate is a public key. A public key in a digital certificate is often referred to as a “certified public key”. The issuer of the digital certificate (a “certificate authority”) may perform one or more checks on the owner of the public key (e.g. know-your-customer checks), and if the checks are successful, the certificate authority issues a digital certificate that includes the certified public key. A user can use a certified public key to prove they are who they say they are, e.g. by signing a message with a private key corresponding to the certified public key. One particular use for certificate authorities is to sign certificates used in HTTPS for secure browsing on the internet. Another common use is in issuing identity cards by national governments for use in electronically signing documents. The certificate authority signs the public key (or any other data to be attested to) using a private key.
As stated above, embodiments of the present invention may involve encrypting a message with a public key corresponding to a private key share, and similarly decrypting the message with a private key share. In that case, the first participant 102a may decrypt the message that has been encrypted by a different party. As another option, a message may be encrypted with a public key corresponding to a full private key, e.g. a full child key. In that case, at least a threshold number of participants may make their respective shares of the child private key available in order to decrypt the message. The message that is encrypted may comprise some or all of a blockchain transaction, e.g. encrypted data may be included in a transaction to be recorded on the blockchain.
Other variants or use cases of the disclosed techniques may become apparent to the person skilled in the art once given the disclosure herein. The scope of the disclosure is not limited by the described embodiments but only by the accompanying claims.
It will be appreciated that the above embodiments have been described by way of example only. More generally there may be provided a method, apparatus or program in accordance with any one or more of the following Statements.
Statement 1. A computer-implemented method, performed by a first participant of a group of a participants, of proving that a target sub-group of the group generated a digital signature, wherein the signature can only be generated based on at least a threshold number of respective signature shares, wherein each participant of the group has a respective private key share of a shared private key, wherein the group is divisible into a plurality of unique sub-groups where each sub-group comprises at least the threshold number of participants, and wherein the method comprises:
Statement 2. The method of statement 1, wherein the first participant is the coordinator, and wherein the method comprises:
Statement 3. The method of statement 1 or statement 2, comprising:
Statement 4. The method of statement 3, comprising sending the message to the verifying party.
Statement 5. The method of any preceding statement, wherein the message comprises at least part of a blockchain transaction.
Statement 6. The method of statement 2 and statement 5, comprising submitting the blockchain transaction to one or more nodes of a blockchain network.
Statement 7. The method of any preceding statement, wherein the message comprises a digital certificate.
Statement 8. The method of any preceding statement, wherein each respective first ephemeral private key share is generated using a joint verifiable secret sharing scheme.
Statement 9. The method of any of statements 1 to 7, wherein each respective first ephemeral private key share is generated using Shamir's secret sharing scheme.
Statement 10. The method of any preceding statement, wherein the group is divided into all possible unique sub-groups.
Statement 11. Computer equipment comprising:
Statement 12. A computer program embodied on computer-readable storage and configured so as, when run on computer equipment, to perform the method of any of statements 1 to 10.
According to another aspect disclosed herein, there may be provided a method comprising the actions of the coordinating party and the first participant.
According to another aspect disclosed herein, there may be provided a system comprising the computer equipment of the coordinating party and the first participant.
Number | Date | Country | Kind |
---|---|---|---|
2111442.6 | Aug 2021 | GB | national |
This application is the U.S. National Stage of International Application No. PCT/EP2022/069261 filed on Jul. 11, 2022, which claims the benefit of United Kingdom Patent Application No. 2111442.6, filed on Aug. 9, 2021, the contents of which are incorporated herein by reference in their entireties.
Filing Document | Filing Date | Country | Kind |
---|---|---|---|
PCT/EP2022/069261 | 7/11/2022 | WO |