pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/security/ssss Initial import of security/ssss-0.5 into...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/234dc1a46aa6
branches:  trunk
changeset: 562972:234dc1a46aa6
user:      agc <agc%pkgsrc.org@localhost>
date:      Sun Aug 09 05:52:36 2009 +0000

description:
Initial import of security/ssss-0.5 into the packages collection.

Shamir's Secret Sharing Scheme (SSSS) is an implementation of a
threshold scheme for sharing a secret between third parties, and
requiring a threshold of those parties to collaborate to reveal the
secret.

Taken from the Wikipedia article about Secret Sharing:

        In cryptography, a secret sharing scheme is a method for
        distributing a secret amongst a group of participants, each of
        which is allocated a share of the secret.  The secret can only
        be reconstructed when the shares are combined together;
        individual shares are of no use on their own.

Shamir's scheme is provable secure:  in a (t,n) scheme one can prove
that it makes no difference whether an attacker has t-1 valid shares
at his disposal or none at all; as long as he has less than t shares,
there is no better option than guessing to find out the secret.

diffstat:

 security/ssss/DESCR            |  17 +++++++++++++++++
 security/ssss/Makefile         |  23 +++++++++++++++++++++++
 security/ssss/PLIST            |   4 ++++
 security/ssss/distinfo         |   9 +++++++++
 security/ssss/patches/patch-aa |  10 ++++++++++
 5 files changed, 63 insertions(+), 0 deletions(-)

diffs (83 lines):

diff -r ef3343f3574f -r 234dc1a46aa6 security/ssss/DESCR
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/security/ssss/DESCR       Sun Aug 09 05:52:36 2009 +0000
@@ -0,0 +1,17 @@
+Shamir's Secret Sharing Scheme (SSSS) is an implementation of a
+threshold scheme for sharing a secret between third parties, and
+requiring a threshold of those parties to collaborate to reveal the
+secret.
+
+Taken from the Wikipedia article about Secret Sharing:
+
+       In cryptography, a secret sharing scheme is a method for
+       distributing a secret amongst a group of participants, each of
+       which is allocated a share of the secret.  The secret can only
+       be reconstructed when the shares are combined together;
+       individual shares are of no use on their own.
+
+Shamir's scheme is provable secure:  in a (t,n) scheme one can prove
+that it makes no difference whether an attacker has t-1 valid shares
+at his disposal or none at all; as long as he has less than t shares,
+there is no better option than guessing to find out the secret.
diff -r ef3343f3574f -r 234dc1a46aa6 security/ssss/Makefile
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/security/ssss/Makefile    Sun Aug 09 05:52:36 2009 +0000
@@ -0,0 +1,23 @@
+# $NetBSD: Makefile,v 1.1.1.1 2009/08/09 05:52:36 agc Exp $
+
+DISTNAME=      ssss-0.5
+CATEGORIES=    security
+MASTER_SITES=  http://point-at-infinity.org/ssss/
+DISTFILES=      ${DISTNAME}${EXTRACT_SUFX} ssss.1
+
+MAINTAINER=    pkgsrc-users%NetBSD.org@localhost
+HOMEPAGE=      http://point-at-infinity.org/ssss/
+COMMENT=       Shamir's Secret Sharing Scheme
+LICENSE=       gnu-gpl-v2
+
+PKG_DESTDIR_SUPPORT=   user-destdir
+INSTALLATION_DIRS=     bin ${PKGMANDIR}/man1
+
+do-install:
+       ${INSTALL_PROGRAM} ${WRKSRC}/ssss-split ${DESTDIR}${PREFIX}/bin/ssss-split
+       ${INSTALL_PROGRAM} ${WRKSRC}/ssss-combine ${DESTDIR}${PREFIX}/bin/ssss-combine
+       ${INSTALL_MAN} ${DISTDIR}/ssss.1 ${DESTDIR}${PREFIX}/${PKGMANDIR}/man1/ssss.1
+
+.include "../../devel/gmp/buildlink3.mk"
+
+.include "../../mk/bsd.pkg.mk"
diff -r ef3343f3574f -r 234dc1a46aa6 security/ssss/PLIST
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/security/ssss/PLIST       Sun Aug 09 05:52:36 2009 +0000
@@ -0,0 +1,4 @@
+@comment $NetBSD: PLIST,v 1.1.1.1 2009/08/09 05:52:36 agc Exp $
+bin/ssss-split
+bin/ssss-combine
+man/man1/ssss.1
diff -r ef3343f3574f -r 234dc1a46aa6 security/ssss/distinfo
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/security/ssss/distinfo    Sun Aug 09 05:52:36 2009 +0000
@@ -0,0 +1,9 @@
+$NetBSD: distinfo,v 1.1.1.1 2009/08/09 05:52:36 agc Exp $
+
+SHA1 (ssss-0.5.tar.gz) = 3f8f5046c2c5c3a2cf1a93f0a9446681852b190e
+RMD160 (ssss-0.5.tar.gz) = 63bd228393afee454d9f72abab411cc162e03c65
+Size (ssss-0.5.tar.gz) = 17435 bytes
+SHA1 (ssss.1) = c2e2090edbe288406af7e84b984fba262fbdcf25
+RMD160 (ssss.1) = 07003daf67e25b95c3e4b74c6477d128f80b039a
+Size (ssss.1) = 3218 bytes
+SHA1 (patch-aa) = fdb675cd01e43fd52c62bf354d073ca8f57eb5d7
diff -r ef3343f3574f -r 234dc1a46aa6 security/ssss/patches/patch-aa
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/security/ssss/patches/patch-aa    Sun Aug 09 05:52:36 2009 +0000
@@ -0,0 +1,10 @@
+$NetBSD: patch-aa,v 1.1.1.1 2009/08/09 05:52:36 agc Exp $
+
+--- Makefile   2009/07/01 17:31:02     1.1
++++ Makefile   2009/07/01 17:31:35
+@@ -1,4 +1,4 @@
+-all: ssss-split ssss-combine ssss.1 ssss.1.html
++all: ssss-split ssss-combine
+ 
+ ssss-split: ssss.c
+       $(CC) -W -Wall -O2 -lgmp -o ssss-split ssss.c



Home | Main Index | Thread Index | Old Index