diff options
author | agc <agc@pkgsrc.org> | 2009-08-09 05:52:36 +0000 |
---|---|---|
committer | agc <agc@pkgsrc.org> | 2009-08-09 05:52:36 +0000 |
commit | 9835e484c20bf64d8ab08b8358ae64c4a38b04e9 (patch) | |
tree | 3029077c6fd950870a4ca276a228673003615dbe /security | |
parent | cc6bf03d6a48e4994eb97eb76330d1c0998f8dbc (diff) | |
download | pkgsrc-9835e484c20bf64d8ab08b8358ae64c4a38b04e9.tar.gz |
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 (limited to 'security')
-rw-r--r-- | security/ssss/DESCR | 17 | ||||
-rw-r--r-- | security/ssss/Makefile | 23 | ||||
-rw-r--r-- | security/ssss/PLIST | 4 | ||||
-rw-r--r-- | security/ssss/distinfo | 9 | ||||
-rw-r--r-- | security/ssss/patches/patch-aa | 10 |
5 files changed, 63 insertions, 0 deletions
diff --git a/security/ssss/DESCR b/security/ssss/DESCR new file mode 100644 index 00000000000..8693547465c --- /dev/null +++ b/security/ssss/DESCR @@ -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 --git a/security/ssss/Makefile b/security/ssss/Makefile new file mode 100644 index 00000000000..d55b5a7481c --- /dev/null +++ b/security/ssss/Makefile @@ -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 +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 --git a/security/ssss/PLIST b/security/ssss/PLIST new file mode 100644 index 00000000000..67743bcf646 --- /dev/null +++ b/security/ssss/PLIST @@ -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 --git a/security/ssss/distinfo b/security/ssss/distinfo new file mode 100644 index 00000000000..83b614236a9 --- /dev/null +++ b/security/ssss/distinfo @@ -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 --git a/security/ssss/patches/patch-aa b/security/ssss/patches/patch-aa new file mode 100644 index 00000000000..2496ffb6b64 --- /dev/null +++ b/security/ssss/patches/patch-aa @@ -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 |