1
How not to share a set of secrets
K. R. Sahasranand
1
, Nithin Nagaraj
1
, Rajan S.
2
1
Department of Electronics and Communication Engineering,
2
Department of Mathematics,Amrita Vishwa Vidyapeetham, Amritapuri Campus,Kollam-690525, Kerala, India.
Email: sanandkr@gmail.com, nithin@am.amrita.edu, rajans@am.amrita.edu
Abstract
—This note analyzes a space efficient secret sharingscheme for a set of secrets, proposed by Parakh
et al.
[2], andsuggests vulnerabilities in its design. The algorithm fails forcertain choices of the set of secrets and there is no reason forpreferring this particular scheme over alternative schemes. Thepaper also elaborates the adoption of a scheme proposed by HugoKrawczyk [5] as an extension of Shamir’s scheme, for a set of secrets. Such an implementation overcomes the drawbacks of thefirst scheme and works for all choices of secrets. However, wedemonstrate that both the schemes turn out to be
conditionallyinsecure
. We introduce two new methods of attack which arevalid under certain assumptions, to this end. We observe that itis the elimination of random values that facilitates these kindsof attacks.
Index Terms
—cryptography, secret sharing, set of secrets,attack.
I. I
NTRODUCTION
A
T times, we come across situations wherein we wantto share a secret among a set of people in such a waythat if more than a particular number of people from that setcome together, the secret could be reconstructed. However,any number of people less than that particular number, albeitfrom the same set, should not be able to learn anything aboutthe secret. Such a scheme is called a threshold secret sharingscheme. If the size of the whole set of people is
n
and thethreshold is
k
, we call that scheme a
(
k,n
)
threshold secretsharing scheme. In such a scheme,
n
shares are generatedand distributed among
n
people, any
k
of them enough forreconstruction of the original secret while any
k
−
1
or lesswill not be able to recover the secret. We might also comeacross cases where we have a set of secrets rather than a singlepiece of secret, to be shared among a set of people. This set of secrets contains elements which may or may not be distinct.In a (
k
,
n
) secret sharing scheme by Shamir [1], there resultsan
n
-fold increase in the total storage requirement. Further, incases where
k
secrets have to be shared among
n
individualsfor a (
k
,
n
) scheme, the storage requirement explodes to
k
.
n
times the original. One of the proposed schemes [2]which claims to be space efficient, however, is found tocompromise usability as well as security for efficiency, withoutreally achieving efficiency. An obvious better solution whichovercomes these drawbacks is also found to be
conditionallyinsecure
. In this paper, we describe the vulnerabilities in thedesign of the first scheme and also suggest two new methods of attack which demonstrate the insecurity of both the schemes.II. R
EVIEW OF THE SCHEME PROPOSED BY
P
ARAKH
et al.
The scheme proposed by Parakh
et al.
[2] works in thefollowing manner:Consider a polynomial
y
=
q
(
x
)
of degree
k
−
1
, the coef-ficients of powers of
x
from
Z
p
. The secrets
s
0
,s
1
,...,s
k
−
1
are treated as
y
values with
x
= 0
,
1
,...,k
−
1
. Then, they areinterpolated to form a
k
−
1
degree polynomial and the value of
q
(
x
)
at
n
different
x
are calculated, where
x
= 0
,
1
,...,k
−
1
.Each of the
n
values thus obtained, along with the correspond-ing
x
value is a share and they are distributed one each to
n
people. For reconstruction, any
k
people out of the
n
cometogether, obtain
q
(
x
)
through interpolation and calculate thevalue of
q
(
x
)
at
x
= 0
,
1
,...,k
−
1
, which are the secrets.Note that the number of secrets,
k
is the same as the thresholdvalue
k
in this particular
(
k,n
)
scheme.A number of problems identified with this scheme follow:1) The scheme cannot be used to implement a (
k
,
n
)scheme when the
k
secrets to be distributed are inher-ently generated from a polynomial of order less than
k
−
1
. This may be demonstrated using an example.Let
s
0
,
s
1
,
s
2
and
s
3
be four secrets from a finite field
Z
p
to be shared in a (4,
n
) scheme. If
s
0
= 2,
s
1
= 6,
s
2
= 12,
s
3
= 20, and
p
= 31, the scheme
expects
a cubicpolynomial to be the result of interpolation. However,the polynomial resulting out of interpolation happensto be
x
2
+ 3
x
+ 2
, which is quadratic. If the shares aregenerated from this polynomial, it requires only
3
peoplefor reconstruction; therefore a (
4
,
n
) scheme cannot beimplemented.One solution to this problem appears to be changingthe order of secrets or changing the indices
i
’s of
s
i
’s. However it costs a round of interpolation becauseit is impossible to guess such a relation betweenthe seemingly
innocent
secrets without interpolating.Besides, changing the order may not always be feasible(for example, when these secrets are pieces of a largersecret) and changing the indices may not always work.2) The scheme does not work if all of the secrets to beshared are the same. This case is quite possible; whenthe
k
secrets are part of a large secret like it is mentionedin [2]. But, for the scheme to work there should be atleast one
s
i
=
s
j
among all
s
i
,s
j
to be shared. This is bydefinition of interpolation. For successful interpolationover a finite field, at least two distinct values are needed.
(IJCSIS) International Journal of Computer Science and Information Security,Vol. 8, No. 1, April 2010234http://sites.google.com/site/ijcsis/ISSN 1947-5500