-
Notifications
You must be signed in to change notification settings - Fork 10
/
Copy pathx25519.gemspec
23 lines (20 loc) · 1.05 KB
/
x25519.gemspec
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
# frozen_string_literal: true
require_relative "lib/x25519/version"
Gem::Specification.new do |spec|
spec.name = "x25519"
spec.version = X25519::VERSION
spec.authors = ["Tony Arcieri"]
spec.email = ["[email protected]"]
spec.summary = "Public key cryptography library providing the X25519 Elliptic Curve Diffie-Hellman function"
spec.description = <<-DESCRIPTION.strip.gsub(/\s+/, " ")
An efficient public key cryptography library for Ruby providing key
exchange/agreement via the X25519 (a.k.a. Curve25519) Elliptic Curve
Diffie-Hellman function as described in RFC 7748.
DESCRIPTION
spec.homepage = "https://github.com/RubyCrypto/x25519"
spec.license = "BSD-3-Clause" # https://spdx.org/licenses/BSD-3-Clause.html
spec.files = `git ls-files -z`.split("\x0").reject { |f| f.match(%r{^(test|spec|features)/}) }
spec.platform = Gem::Platform::RUBY
spec.extensions = ["ext/x25519_precomputed/extconf.rb", "ext/x25519_ref10/extconf.rb"]
spec.required_ruby_version = ">= 2.7"
end