1 |
boklm |
87707 |
Name: ssss |
2 |
|
|
Summary: Shamir's Secret Sharing Scheme |
3 |
|
|
Version: 0.5 |
4 |
umeabot |
1797935 |
Release: %mkrel 11 |
5 |
boklm |
87707 |
Source: http://point-at-infinity.org/ssss/ssss-%{version}.tar.gz |
6 |
cjw |
1156495 |
Patch0: ssss-0.5-cflags.patch |
7 |
boklm |
87707 |
URL: http://point-at-infinity.org/ssss/ |
8 |
|
|
Group: File tools |
9 |
|
|
License: GPLv2+ |
10 |
cjw |
1156495 |
BuildRequires: xmltoman |
11 |
ovitters |
649340 |
BuildRequires: gmp-devel |
12 |
boklm |
87707 |
|
13 |
|
|
%description |
14 |
|
|
ssss is an implementation of Shamir's secret sharing scheme for UNIX/linux |
15 |
|
|
machines. |
16 |
|
|
|
17 |
|
|
Citing from the Wikipedia article about Secret Sharing: |
18 |
|
|
|
19 |
daviddavid |
894313 |
In cryptography, a secret sharing scheme is a method for distributing |
20 |
|
|
a secret amongst a group of participants, each of which is allocated |
21 |
|
|
a share of the secret. The secret can only be reconstructed when the |
22 |
boklm |
87707 |
shares are combined together; individual shares are of no use on their |
23 |
|
|
own. |
24 |
|
|
|
25 |
|
|
More formally, in a secret sharing scheme there is one dealer and n |
26 |
|
|
players. The dealer gives a secret to the players, but only when specific |
27 |
|
|
conditions are fulfilled. The dealer accomplishes this by giving each |
28 |
|
|
player a share in such a way that any group of t (for threshold) or |
29 |
|
|
more players can together reconstruct the secret but no group of less |
30 |
|
|
than t players can. Such a system is called a (t,n)-threshold scheme. |
31 |
|
|
|
32 |
|
|
ssss does both: the generation of shares for a known secret and the |
33 |
|
|
reconstruction of a secret using user provided shares. |
34 |
|
|
|
35 |
|
|
%prep |
36 |
cjw |
1156495 |
%autosetup -p1 |
37 |
boklm |
87707 |
|
38 |
|
|
%build |
39 |
wally |
1474432 |
%set_build_flags |
40 |
cjw |
1156495 |
%make_build |
41 |
boklm |
87707 |
|
42 |
|
|
%install |
43 |
|
|
%{__install} -d %{buildroot}%{_bindir} |
44 |
|
|
%{__install} -d %{buildroot}%{_mandir}/man1 |
45 |
|
|
%{__cp} -p ssss-split ssss-combine %{buildroot}%{_bindir} |
46 |
|
|
%{__cp} -p ssss.1 %{buildroot}%{_mandir}/man1 |
47 |
|
|
|
48 |
|
|
%files |
49 |
|
|
%doc LICENSE HISTORY doc.html ssss.1.html THANKS |
50 |
|
|
%{_bindir}/ssss-split |
51 |
|
|
%{_bindir}/ssss-combine |
52 |
|
|
%{_mandir}/man1/ssss.1.* |