x25519 1.0.3 → 1.0.4

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
- SHA1:
3
- metadata.gz: 228a5fff8ae6b51e46c91ab6e0fd9fce4ec03fbf
4
- data.tar.gz: e2562bda953f96a37e0188820f6139641b715c6b
2
+ SHA256:
3
+ metadata.gz: 6dedcb7122063e5242e3c6a785ebada985b3d9d254b67b0da5bd83a2e177974f
4
+ data.tar.gz: 417172354b7ee82964df3d230c87da9591afe86c8c5df4b7661d244c170cdf5e
5
5
  SHA512:
6
- metadata.gz: 2eb051180a4fdf3f4735bcd39aad32a13d117bd3aad7ee1597f2563b7ae3afb3f1056b52caf4ffc7efce335cdeeb79497ce848388ee5d2f663c499f6067ae01a
7
- data.tar.gz: 4f850779d9401fcfdfe7bf27bb89637c7848eec13158f5f7a176c7ca98eb8a34f546c116f16a5378b12df179790f86384e292abfb765277eba87a2686ea59358
6
+ metadata.gz: 3b21ebaf94888e6e98edb0807953425a575d78ad845036256cf09399d9887222e6ba94766329b5c1017f3725c7fcb77d9a6b6f2078e40327b7e5a5b6bbaea482
7
+ data.tar.gz: 646f24462200e73a70b9b150ba811aa907377be257cbc698361bd72a63f4c479a08d64ff1a66cd8dd15a9a18b016ffc44a4d2f07f2b8a4d516d4943eebd3a6c4
@@ -1,11 +1,20 @@
1
1
  language: ruby
2
+ cache: bundler
3
+
4
+ before_install:
5
+ - gem update --system
6
+ - gem --version
7
+ - gem install bundler -v 1.16.1
8
+ - bundle --version
2
9
 
3
10
  rvm:
4
- - 2.2.8
5
- - 2.3.5
6
- - 2.4.2
11
+ - 2.2
12
+ - 2.3
13
+ - 2.4.3
14
+ - 2.5.0
7
15
 
8
- before_install: gem install bundler -v 1.16.0
16
+ matrix:
17
+ fast_finish: true
9
18
 
10
19
  branches:
11
20
  only:
data/CHANGES.md CHANGED
@@ -1,39 +1,49 @@
1
+ # [1.0.4] (2017-12-31)
2
+
3
+ [1.0.4]: https://github.com/crypto-rb/x25519/compare/v1.0.3...v1.0.4
4
+
5
+ * [#13](https://github.com/crypto-rb/x25519/pull/13)
6
+ Test against Ruby 2.5.0
7
+
8
+ * [#12](https://github.com/crypto-rb/x25519/pull/12)
9
+ Move project to the crypto-rb GitHub organization
10
+
1
11
  # [1.0.3] (2017-12-13)
2
12
 
3
- [1.0.3]: https://github.com/cryptosphere/x25519/compare/v1.0.2...v1.0.3
13
+ [1.0.3]: https://github.com/crypto-rb/x25519/compare/v1.0.2...v1.0.3
4
14
 
5
- * [#10](https://github.com/cryptosphere/x25519/pull/10)
15
+ * [#10](https://github.com/crypto-rb/x25519/pull/10)
6
16
  Detect degenerate (i.e. all-zero) public keys (fixes #6)
7
17
 
8
18
  # [1.0.2] (2017-12-13)
9
19
 
10
- [1.0.2]: https://github.com/cryptosphere/x25519/compare/v1.0.1...v1.0.2
20
+ [1.0.2]: https://github.com/crypto-rb/x25519/compare/v1.0.1...v1.0.2
11
21
 
12
- * [#9](https://github.com/cryptosphere/x25519/pull/9)
22
+ * [#9](https://github.com/crypto-rb/x25519/pull/9)
13
23
  Make `X25519.provider` an `attr_accessor`
14
24
  * Raise `X25519::SelfTestFailure` when self-test fails
15
25
 
16
26
  # [1.0.1] (2017-12-12)
17
27
 
18
- [1.0.1]: https://github.com/cryptosphere/x25519/compare/v1.0.0...v1.0.1
28
+ [1.0.1]: https://github.com/crypto-rb/x25519/compare/v1.0.0...v1.0.1
19
29
 
20
30
  * Have `X25519.self_test` return true on success
21
31
 
22
32
  # [1.0.0] (2017-12-12)
23
33
 
24
- [1.0.0]: https://github.com/cryptosphere/x25519/compare/v0.2.0...v1.0.0
34
+ [1.0.0]: https://github.com/crypto-rb/x25519/compare/v0.2.0...v1.0.0
25
35
 
26
- * [#8](https://github.com/cryptosphere/x25519/pull/8)
36
+ * [#8](https://github.com/crypto-rb/x25519/pull/8)
27
37
  Add self-test
28
38
 
29
- * [#7](https://github.com/cryptosphere/x25519/pull/7)
39
+ * [#7](https://github.com/crypto-rb/x25519/pull/7)
30
40
  Factor providers into the `X25519::Provider` namespace
31
41
 
32
42
  # [0.2.0] (2017-12-12)
33
43
 
34
- [0.2.0]: https://github.com/cryptosphere/x25519/compare/v0.1.0...v0.2.0
44
+ [0.2.0]: https://github.com/crypto-rb/x25519/compare/v0.1.0...v0.2.0
35
45
 
36
- * [#5](https://github.com/cryptosphere/x25519/pull/5)
46
+ * [#5](https://github.com/crypto-rb/x25519/pull/5)
37
47
  Rewrite gem in Ruby with minimal native extensions
38
48
 
39
49
  # 0.1.0 (2017-12-11)
data/README.md CHANGED
@@ -1,11 +1,13 @@
1
- # x25519.rb [![Latest Version][gem-shield]][gem-link] [![Build Status][build-image]][build-link] [![Yard Docs][docs-image]][docs-link] [![License: LGPL v3][license-image]][license-link]
1
+ # x25519.rb [![Latest Version][gem-shield]][gem-link] [![Build Status][build-image]][build-link] [![Appveyor CI Status][appveyor-image]][appveyor-link] [![Yard Docs][docs-image]][docs-link] [![License: LGPL v3][license-image]][license-link]
2
2
 
3
3
  [gem-shield]: https://badge.fury.io/rb/x25519.svg
4
4
  [gem-link]: https://rubygems.org/gems/x25519
5
- [build-image]: https://travis-ci.org/cryptosphere/x25519.svg?branch=master
6
- [build-link]: https://travis-ci.org/cryptosphere/x25519
5
+ [build-image]: https://travis-ci.org/crypto-rb/x25519.svg?branch=master
6
+ [build-link]: https://travis-ci.org/crypto-rb/x25519
7
+ [appveyor-image]: https://ci.appveyor.com/api/projects/status/a245an53hsk05sn2?svg=true
8
+ [appveyor-link]: https://ci.appveyor.com/project/tarcieri/x25519
7
9
  [docs-image]: https://img.shields.io/badge/yard-docs-blue.svg
8
- [docs-link]: http://www.rubydoc.info/gems/x25519
10
+ [docs-link]: http://www.rubydoc.info/gems/x25519/1.0.4
9
11
  [license-image]: https://img.shields.io/badge/License-LGPL%20v3-blue.svg
10
12
  [license-link]: https://www.gnu.org/licenses/lgpl-3.0
11
13
 
@@ -26,11 +28,13 @@ Curve25519.
26
28
  [RFC7748]: https://tools.ietf.org/html/rfc7748
27
29
  [How to (pre-)compute a ladder]: https://eprint.iacr.org/2017/264
28
30
  [rfc7748_precomputed]: https://github.com/armfazh/rfc7748_precomputed
29
- [ed25519 gem]: https://github.com/cryptosphere/ed25519
31
+ [ed25519 gem]: https://github.com/crypto-rb/ed25519
30
32
 
31
33
  ## Requirements
32
34
 
33
- * MRI 2.2+
35
+ **x25519.rb** is supported on and tested against the following platforms:
36
+
37
+ * MRI 2.2, 2.3, 2.4, 2.5
34
38
 
35
39
  ## Installation
36
40
 
@@ -210,7 +214,7 @@ Returns a `String` containing a 32-byte compressed Montgomery-u coordinate
210
214
 
211
215
  ## Contributing
212
216
 
213
- Bug reports and pull requests are welcome on GitHub at https://github.com/cryptosphere/x25519.
217
+ Bug reports and pull requests are welcome on GitHub at https://github.com/crypto-rb/x25519.
214
218
  This project is intended to be a safe, welcoming space for collaboration,
215
219
  and contributors areexpected to adhere to the [Contributor Covenant](http://contributor-covenant.org)
216
220
  code of conduct.
@@ -261,4 +265,4 @@ GNU Lesser General Public License v3.0 ([LICENSE](https://www.gnu.org/licenses/l
261
265
  Everyone interacting in the x25519.rb project’s codebases, issue trackers, chat
262
266
  rooms and mailing lists is expected to follow the [code of conduct].
263
267
 
264
- [code of conduct]: https://github.com/cryptosphere/x25519/blob/master/CODE_OF_CONDUCT.md
268
+ [code of conduct]: https://github.com/crypto-rb/x25519/blob/master/CODE_OF_CONDUCT.md
@@ -0,0 +1,20 @@
1
+ branches:
2
+ only:
3
+ - master
4
+
5
+ environment:
6
+ PATH: C:\Ruby%RUBY_VERSION%\DevKit\mingw\bin;C:\Ruby%RUBY_VERSION%\bin;C:\Ruby%RUBY_VERSION%\DevKit\bin;%PATH%
7
+ matrix:
8
+ - RUBY_VERSION: "22-x64"
9
+ - RUBY_VERSION: "23-x64"
10
+ - RUBY_VERSION: "24-x64"
11
+
12
+ build: off
13
+
14
+ test_script:
15
+ - SET RAKEOPT=-rdevkit
16
+ - ruby -v
17
+ - gem -v
18
+ - bundle -v
19
+ - bundle
20
+ - bundle exec rake compile spec
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module X25519
4
- VERSION = "1.0.3"
4
+ VERSION = "1.0.4"
5
5
  end
@@ -13,7 +13,7 @@ Gem::Specification.new do |spec|
13
13
  exchange/agreement via the X25519 (a.k.a. Curve25519) Elliptic Curve
14
14
  Diffie-Hellman function as described in RFC 7748.
15
15
  DESCRIPTION
16
- spec.homepage = "https://github.com/cryptosphere/x25519"
16
+ spec.homepage = "https://github.com/crypto-rb/x25519"
17
17
  spec.license = "MIT"
18
18
  spec.files = `git ls-files -z`.split("\x0").reject { |f| f.match(%r{^(test|spec|features)/}) }
19
19
  spec.bindir = "exe"
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: x25519
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.3
4
+ version: 1.0.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - Tony Arcieri
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2017-12-14 00:00:00.000000000 Z
11
+ date: 2018-01-01 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler
@@ -45,6 +45,7 @@ files:
45
45
  - LICENSE
46
46
  - README.md
47
47
  - Rakefile
48
+ - appveyor.yml
48
49
  - ext/x25519_precomputed/cputest.c
49
50
  - ext/x25519_precomputed/extconf.rb
50
51
  - ext/x25519_precomputed/fp25519_x64.c
@@ -80,7 +81,7 @@ files:
80
81
  - lib/x25519/test_vectors.rb
81
82
  - lib/x25519/version.rb
82
83
  - x25519.gemspec
83
- homepage: https://github.com/cryptosphere/x25519
84
+ homepage: https://github.com/crypto-rb/x25519
84
85
  licenses:
85
86
  - MIT
86
87
  metadata: {}
@@ -100,7 +101,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
100
101
  version: '0'
101
102
  requirements: []
102
103
  rubyforge_project:
103
- rubygems_version: 2.6.13
104
+ rubygems_version: 2.7.3
104
105
  signing_key:
105
106
  specification_version: 4
106
107
  summary: Public key cryptography library providing the X25519 D-H function