Publicly Verifiable Secret Sharing

From HandWiki
Revision as of 19:09, 6 February 2024 by Carolyn (talk | contribs) (correction)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

In cryptography, a secret sharing scheme is publicly verifiable (PVSS) if it is a verifiable secret sharing scheme and if any party (not just the participants of the protocol) can verify the validity of the shares distributed by the dealer.

In verifiable secret sharing (VSS) the object is to resist malicious players, such as
(i) a dealer sending incorrect shares to some or all of the participants, and
(ii) participants submitting incorrect shares during the reconstruction protocol, cf. [CGMA85].
In publicly verifiable secret sharing (PVSS), as introduced by Stadler [Sta96], it is an explicit goal that not just the participants can verify their own shares, but that anybody can verify that the participants received correct shares. Hence, it is explicitly required that (i) can be verified publicly.

—Berry Schoenmakers. A Simple Publicly Verifiable Secret Sharing Scheme and its Application to Electronic Voting .

The method introduced here according to the paper by Chunming Tang, Dingyi Pei, Zhuo Liu, and Yong He is non-interactive and maintains this property throughout the protocol.

Initialization

The PVSS scheme dictates an initialization process in which:

  1. All system parameters are generated.
  2. Each participant must have a registered public key.

Excluding the initialization process, the PVSS consists of two phases:

Distribution

1. Distribution of secret [math]\displaystyle{ s }[/math] shares is performed by the dealer [math]\displaystyle{ D }[/math], which does the following:

  • The dealer creates [math]\displaystyle{ s_{1},s_{2}...s_{n} }[/math] for each participant [math]\displaystyle{ P_{1},P_{2}...P_{n} }[/math] respectively.
  • The dealer publishes the encrypted share [math]\displaystyle{ E_{i}(s_{i}) }[/math] for each [math]\displaystyle{ P_{i} }[/math].
  • The dealer also publishes a string [math]\displaystyle{ \mathrm{proof}_{D} }[/math] to show that each [math]\displaystyle{ E_{i} }[/math] encrypts [math]\displaystyle{ s_{i} }[/math]

(note: [math]\displaystyle{ \mathrm{proof}_{D} }[/math] guarantees that the reconstruction protocol will result in the same [math]\displaystyle{ s }[/math].

2. Verification of the shares:

  • Anybody knowing the public keys for the encryption methods [math]\displaystyle{ E_{i} }[/math], can verify the shares.
  • If one or more verifications fails the dealer fails and the protocol is aborted.

Reconstruction

1. Decryption of the shares:

  • The Participants [math]\displaystyle{ P_{i} }[/math] decrypts their share of the secret [math]\displaystyle{ s_{i} }[/math] using [math]\displaystyle{ E_{i}(s_{i}) }[/math].

(note: fault-tolerance can be allowed here: it's not required that all participants succeed in decrypting [math]\displaystyle{ E_{i}(s_{i}) }[/math] as long as a qualified set of participants are successful to decrypt [math]\displaystyle{ s_{i} }[/math]).

  • The participant release [math]\displaystyle{ s_{i} }[/math] plus a string [math]\displaystyle{ \mathrm{proof}_{P_{i}} }[/math] this shows the released share is correct.

2. Pooling the shares:

  • Using the strings [math]\displaystyle{ \mathrm{proof}_{P_{i}} }[/math] to exclude the participants which are dishonest or failed to decrypt [math]\displaystyle{ E_{i}(s_{i}) }[/math].
  • Reconstruction [math]\displaystyle{ s }[/math] can be done from the shares of any qualified set of participants.

Chaum-Pedersen Protocol

A proposed protocol proving: [math]\displaystyle{ \log_{_{g1}}h_{1} = \log_{_{g2}}h_{2} }[/math] :

  1. The prover chooses a random [math]\displaystyle{ r\in \boldsymbol{\Zeta}_{q^*} }[/math]
  2. The verifier sends a random challenge [math]\displaystyle{ c \in _{R}\boldsymbol{\Zeta}_{q} }[/math]
  3. The prover responds with [math]\displaystyle{ s = r - c x(\mathrm{mod}\,q) }[/math]
  4. The verifier checks [math]\displaystyle{ \alpha_1 = g_{1}^s h_{1}^c }[/math] and [math]\displaystyle{ \alpha_2 = g_{2}^s h_{2}^c }[/math]

Denote this protocol as: [math]\displaystyle{ \mathrm{dleq}(g_1, h_1,g_2,h_2) }[/math]
A generalization of [math]\displaystyle{ \mathrm{dleq}(g_1, h_1,g_2,h_2) }[/math] is denoted as: [math]\displaystyle{ \text{dleq}(X, Y, g_1, h_1,g_2,h_2) }[/math] where as: [math]\displaystyle{ X = g_{1}^{x_1}g_{2}^{x_2} }[/math] and [math]\displaystyle{ Y = h_{1}^{x_1}h_{2}^{x_2} }[/math]:

  1. The prover chooses a random [math]\displaystyle{ r_1,r_2 \in Z_{q}^* }[/math] and sends [math]\displaystyle{ t_1 = g_{1}^{r_1} g_{2}^{r_2} }[/math] and [math]\displaystyle{ t_2 = h_{1}^{r_1} h_{2}^{r_2} }[/math]
  2. The verifier sends a random challenge [math]\displaystyle{ c \in _{R}\boldsymbol{\Zeta}_{q} }[/math].
  3. The prover responds with [math]\displaystyle{ s_1 = r_1 - cx_1 (\mathrm{mod}\,q) }[/math] , [math]\displaystyle{ s_2 = r_2 - cx_2 (\mathrm{mod}\,q) }[/math].
  4. The verifier checks [math]\displaystyle{ t_1 = X^c g_{1}^{s_1}g_{2}^{s_2} }[/math] and [math]\displaystyle{ t_2 = Y^c h_{1}^{s_1}h_{2}^{s_2} }[/math]

The Chaum-Pedersen protocol is an interactive method and needs some modification to be used in a non-interactive way: Replacing the randomly chosen [math]\displaystyle{ c }[/math] by a 'secure hash' function with [math]\displaystyle{ m }[/math] as input value.

See also

References