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.
This commit is contained in:
agc 2014-11-02 20:38:16 +00:00
parent baf34072cf
commit f2123bea28
4 changed files with 40 additions and 0 deletions

View file

@ -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.

View file

@ -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"

10
security/libgfshare/PLIST Normal file
View file

@ -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

View file

@ -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