3 spec = Gem::Specification.new do |gem|
4 gem.name = 'secretsharing'
6 gem.author = 'Alexander Klink'
7 gem.email = 'secretsharing@alech.de'
8 gem.platform = Gem::Platform::RUBY
9 gem.summary = 'A library to share secrets in an information-theoretically secure way.'
10 gem.description =<<'XEOF'
11 A libary for sharing secrets in an information-theoretically secure way.
12 It uses Shamir's secret sharing to enable sharing a (random) secret between
13 n persons where k <= n persons are enough to recover the secret. k-1 secret
14 share holders learn nothing about the secret when they combine their shares.
16 gem.test_file = 'test/test_shamir.rb'
18 gem.require_path = 'lib'
19 gem.extra_rdoc_files = [ 'README' ]
21 gem.files = Dir['lib/secretsharing.rb'] + Dir['lib/secretsharing/*'] + Dir['test/test_shamir.rb']
26 Gem::Builder.new(spec).build