summaryrefslogtreecommitdiff
path: root/security
diff options
context:
space:
mode:
authoragc <agc@pkgsrc.org>2014-11-02 20:38:16 +0000
committeragc <agc@pkgsrc.org>2014-11-02 20:38:16 +0000
commitdd58ef53bdb06ee7ad37801568f87ae6e910c80f (patch)
tree25f68731a6c703993de33064de70cc7f826bccb3 /security
parentdfa98928d4382fdb02570ae56df7f3226261ef4e (diff)
downloadpkgsrc-dd58ef53bdb06ee7ad37801568f87ae6e910c80f.tar.gz
Initial import of libgfshare-1.0.5, a library which implements Shamir's
Secret Sharing Scheme, into the packages collection. In simple terms, this package provides a library for implementing the sharing of secrets and two tools for simple use-cases of the algorithm. The library implements what is known as Shamir's method for secret sharing in the Galois Field 2^8. In slightly simpler words, this is N-of-M secret-sharing byte-by-byte. Essentially this allows us to split a secret S into any M shares S1..SM such that any N of those shares can be used to reconstruct S but any less than N shares yields no information whatsoever.
Diffstat (limited to 'security')
-rw-r--r--security/libgfshare/DESCR8
-rw-r--r--security/libgfshare/Makefile17
-rw-r--r--security/libgfshare/PLIST10
-rw-r--r--security/libgfshare/distinfo5
4 files changed, 40 insertions, 0 deletions
diff --git a/security/libgfshare/DESCR b/security/libgfshare/DESCR
new file mode 100644
index 00000000000..8352d1bd79e
--- /dev/null
+++ b/security/libgfshare/DESCR
@@ -0,0 +1,8 @@
+In simple terms, this package provides a library for implementing the
+sharing of secrets and two tools for simple use-cases of the
+algorithm. The library implements what is known as Shamir's method
+for secret sharing in the Galois Field 2^8. In slightly simpler words,
+this is N-of-M secret-sharing byte-by-byte. Essentially this allows
+us to split a secret S into any M shares S1..SM such that any N of
+those shares can be used to reconstruct S but any less than N shares
+yields no information whatsoever.
diff --git a/security/libgfshare/Makefile b/security/libgfshare/Makefile
new file mode 100644
index 00000000000..82017a6c41f
--- /dev/null
+++ b/security/libgfshare/Makefile
@@ -0,0 +1,17 @@
+# $NetBSD: Makefile,v 1.1.1.1 2014/11/02 20:38:16 agc Exp $
+
+DISTNAME= libgfshare-1.0.5
+CATEGORIES= security
+MASTER_SITES= http://www.digital-scurf.org/files/libgfshare/
+EXTRACT_SUFX= .tar.bz2
+
+MAINTAINER= agc@NetBSD.org
+HOMEPAGE= http://www.digital-scurf.org/software/libgfshare
+COMMENT= Library to implement Shamir's secret sharing scheme
+LICENSE= mit
+
+USE_TOOLS+= gmake pkg-config
+USE_LIBTOOL= yes
+GNU_CONFIGURE= yes
+
+.include "../../mk/bsd.pkg.mk"
diff --git a/security/libgfshare/PLIST b/security/libgfshare/PLIST
new file mode 100644
index 00000000000..2055b2597d4
--- /dev/null
+++ b/security/libgfshare/PLIST
@@ -0,0 +1,10 @@
+@comment $NetBSD: PLIST,v 1.1.1.1 2014/11/02 20:38:16 agc Exp $
+bin/gfcombine
+bin/gfsplit
+include/libgfshare.h
+lib/libgfshare.la
+lib/pkgconfig/libgfshare.pc
+man/man1/gfcombine.1
+man/man1/gfsplit.1
+man/man5/libgfshare.5
+man/man7/gfshare.7
diff --git a/security/libgfshare/distinfo b/security/libgfshare/distinfo
new file mode 100644
index 00000000000..5501dd47a52
--- /dev/null
+++ b/security/libgfshare/distinfo
@@ -0,0 +1,5 @@
+$NetBSD: distinfo,v 1.1.1.1 2014/11/02 20:38:16 agc Exp $
+
+SHA1 (libgfshare-1.0.5.tar.bz2) = 379dd54d198df300ecbd3d848d7e3f092fd60b9f
+RMD160 (libgfshare-1.0.5.tar.bz2) = b95284bd5c531de89f7fa07bf5faaa22afc38c52
+Size (libgfshare-1.0.5.tar.bz2) = 238018 bytes