ed25519 1.2.1 → 1.2.2

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: 6e67765f56c7c630d3b6427abe004258d0d794ee
4
- data.tar.gz: e8fc0671193a03268303dbf120d74e69425fb967
2
+ SHA256:
3
+ metadata.gz: e51b8abba36131f62270b9dfff5c9ba75346893e56dc7b271a1ef0eabd4127bb
4
+ data.tar.gz: 238daf803781b19a821b9581eee70ef81594b47faee8972ab1f321907af208bd
5
5
  SHA512:
6
- metadata.gz: 047e93244b53ef61a2ccafa36e3ace46085c451387e4e94d3b2dcd6771f1780264a4d7224f2790c1fefec71faaa354cd505a45b6b6c6babb98db4b62be6f7f65
7
- data.tar.gz: 3e5de330935e3ea497f07262f7e1b06970e1d1be6040de63b2e1c7ef3f1abc5dd3eca75d7bf5204d6d8062b03eeed6ee6b5bb3488ff9cb595b9c26a2da8cac69
6
+ metadata.gz: a39e5705fe433efeaab6048a8a2b414c2732d3982eee22262a381891efc5272ea3059d837535294c0f50cb81df4deaae9f7cf4ecc26bb9dcd23f628f52339e3d
7
+ data.tar.gz: fd3b2a89b7fc7441ca189bc17f62db4104a7702ff8618b74721bbb44e878c3081a4fc45b406aba138ad14f9505863a7379a4f5ab2f4f94727e5a824ff89f495b
@@ -1,4 +1,13 @@
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
9
+
10
+ bundler_args: --without development
2
11
 
3
12
  rvm:
4
13
  - jruby-9.1.15.0
@@ -7,8 +16,10 @@ rvm:
7
16
  - 2.2
8
17
  - 2.3.6
9
18
  - 2.4.3
19
+ - 2.5.0
10
20
 
11
- before_install: gem install bundler -v 1.16.0
21
+ matrix:
22
+ fast_finish: true
12
23
 
13
24
  branches:
14
25
  only:
data/CHANGES.md CHANGED
@@ -1,44 +1,54 @@
1
+ # [1.2.2] (2017-12-31)
2
+
3
+ [1.2.2]: https://github.com/crypto-rb/ed25519/compare/v1.2.1...v1.2.2
4
+
5
+ * [#17](https://github.com/crypto-rb/ed25519/pull/17)
6
+ Test against Ruby 2.5.0
7
+
8
+ * [#16](https://github.com/crypto-rb/ed25519/pull/16)
9
+ Move project to the crypto-rb GitHub organization
10
+
1
11
  # [1.2.1] (2017-12-15)
2
12
 
3
- [1.2.1]: https://github.com/cryptosphere/x25519/compare/v1.2.0...v1.2.1
13
+ [1.2.1]: https://github.com/crypto-rb/ed25519/compare/v1.2.0...v1.2.1
4
14
 
5
- * [#14](https://github.com/cryptosphere/ed25519/pull/14)
15
+ * [#14](https://github.com/crypto-rb/ed25519/pull/14)
6
16
  Support MRI 2.0+
7
17
 
8
18
  # [1.2.0] (2017-12-15)
9
19
 
10
- [1.2.0]: https://github.com/cryptosphere/x25519/compare/v1.1.0...v1.2.0
20
+ [1.2.0]: https://github.com/crypto-rb/ed25519/compare/v1.1.0...v1.2.0
11
21
 
12
- * [#13](https://github.com/cryptosphere/ed25519/pull/13)
22
+ * [#13](https://github.com/crypto-rb/ed25519/pull/13)
13
23
  Add `Ed25519::SigningKey.from_keypair`
14
24
 
15
- * [#12](https://github.com/cryptosphere/ed25519/pull/12)
25
+ * [#12](https://github.com/crypto-rb/ed25519/pull/12)
16
26
  Add `Ed25519.validate_key_bytes` method
17
27
 
18
28
  # [1.1.0] (2017-12-13)
19
29
 
20
- [1.1.0]: https://github.com/cryptosphere/x25519/compare/v1.0.0...v1.1.0
30
+ [1.1.0]: https://github.com/crypto-rb/ed25519/compare/v1.0.0...v1.1.0
21
31
 
22
- * [#11](https://github.com/cryptosphere/ed25519/pull/11)
32
+ * [#11](https://github.com/crypto-rb/ed25519/pull/11)
23
33
  ext/ed25519_java: switch to str4d/ed25519-java implementation (fixes #4)
24
34
 
25
- * [#9](https://github.com/cryptosphere/ed25519/pull/9)
35
+ * [#9](https://github.com/crypto-rb/ed25519/pull/9)
26
36
  Implement Java backend as a proper JRuby extension
27
37
 
28
- * [#8](https://github.com/cryptosphere/ed25519/pull/8)
38
+ * [#8](https://github.com/crypto-rb/ed25519/pull/8)
29
39
  Use an attr_accessor for Ed25519.provider
30
40
 
31
41
  # [1.0.0] (2017-12-12)
32
42
 
33
- [1.0.0]: https://github.com/cryptosphere/x25519/compare/v0.1.0...v1.0.0
43
+ [1.0.0]: https://github.com/crypto-rb/ed25519/compare/v0.1.0...v1.0.0
34
44
 
35
- * [#7](https://github.com/cryptosphere/ed25519/pull/7)
45
+ * [#7](https://github.com/crypto-rb/ed25519/pull/7)
36
46
  Keypair refactor
37
47
 
38
- * [#6](https://github.com/cryptosphere/ed25519/pull/6)
48
+ * [#6](https://github.com/crypto-rb/ed25519/pull/6)
39
49
  Switch from "ref" C implementation to SUPERCOP "ref10"
40
50
 
41
- * [#5](https://github.com/cryptosphere/ed25519/pull/5)
51
+ * [#5](https://github.com/crypto-rb/ed25519/pull/5)
42
52
  Raise Ed25519::VerifyError if signature verification fails
43
53
 
44
54
  # 0.1.0 (2017-12-11)
data/README.md CHANGED
@@ -1,13 +1,15 @@
1
- # ed25519.rb [![Latest Version][gem-shield]][gem-link] [![Build Status][build-image]][build-link] [![Yard Docs][docs-image]][docs-link] [![License: MIT][license-image]][license-link]
1
+ # ed25519.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: MIT][license-image]][license-link]
2
2
 
3
3
  [gem-shield]: https://badge.fury.io/rb/ed25519.svg
4
4
  [gem-link]: https://rubygems.org/gems/ed25519
5
- [build-image]: https://travis-ci.org/cryptosphere/ed25519.svg?branch=master
6
- [build-link]: https://travis-ci.org/cryptosphere/ed25519
5
+ [build-image]: https://travis-ci.org/crypto-rb/ed25519.svg?branch=master
6
+ [build-link]: https://travis-ci.org/crypto-rb/ed25519
7
+ [appveyor-image]: https://ci.appveyor.com/api/projects/status/vvhin6cb9ux97nqu?svg=true
8
+ [appveyor-link]: https://ci.appveyor.com/project/tarcieri/ed25519
7
9
  [docs-image]: https://img.shields.io/badge/yard-docs-blue.svg
8
10
  [docs-link]: http://www.rubydoc.info/gems/ed25519/1.2.1
9
11
  [license-image]: https://img.shields.io/badge/license-MIT-blue.svg
10
- [license-link]: https://github.com/cryptosphere/ed25519/blob/master/LICENSE
12
+ [license-link]: https://github.com/crypto-rb/ed25519/blob/master/LICENSE
11
13
 
12
14
  A Ruby binding to the Ed25519 elliptic curve public-key signature system
13
15
  described in [RFC 8032].
@@ -23,7 +25,7 @@ Montgomery form of Curve25519.
23
25
 
24
26
  [RFC 8032]: https://tools.ietf.org/html/rfc8032
25
27
  [str4d/ed25519-java]: https://github.com/str4d/ed25519-java
26
- [x25519 gem]: https://github.com/cryptosphere/x25519
28
+ [x25519 gem]: https://github.com/crypto-rb/x25519
27
29
 
28
30
  ## What is Ed25519?
29
31
 
@@ -34,7 +36,7 @@ Ed25519 provides a 128-bit security level, that is to say, all known attacks
34
36
  take at least 2^128 operations, providing the same security level as AES-128,
35
37
  NIST P-256, and RSA-3072.
36
38
 
37
- ![Ed25519 Diagram](https://raw.github.com/cryptosphere/ed25519/master/ed25519.png)
39
+ ![Ed25519 Diagram](https://raw.github.com/crypto-rb/ed25519/master/ed25519.png)
38
40
 
39
41
  Ed25519 has a number of unique properties that make it one of the best-in-class
40
42
  digital signature algorithms:
@@ -60,9 +62,9 @@ You can read more on [Dan Bernstein's Ed25519 site](http://ed25519.cr.yp.to/).
60
62
 
61
63
  ## Requirements
62
64
 
63
- **ed25519.rb** is tested on and supported by the following platforms:
65
+ **ed25519.rb** is supported on and tested against the following platforms:
64
66
 
65
- * MRI 2.0+
67
+ * MRI 2.0, 2.1, 2.2, 2.3, 2.4, 2.5
66
68
  * JRuby 9000+
67
69
 
68
70
  ## Installation
@@ -146,7 +148,7 @@ Weaknesses in the random number source can potentially result in insecure keys.
146
148
 
147
149
  ## Contributing
148
150
 
149
- Bug reports and pull requests are welcome on GitHub at https://github.com/cryptosphere/ed25519.
151
+ Bug reports and pull requests are welcome on GitHub at https://github.com/crypto-rb/ed25519.
150
152
  This project is intended to be a safe, welcoming space for collaboration,
151
153
  and contributors areexpected to adhere to the [Contributor Covenant](http://contributor-covenant.org)
152
154
  code of conduct.
@@ -156,11 +158,11 @@ code of conduct.
156
158
  Copyright (c) 2012-2017 Tony Arcieri. Distributed under the MIT License. See
157
159
  [LICENSE] for further details.
158
160
 
159
- [LICENSE]: https://github.com/cryptosphere/ed25519/blob/master/LICENSE
161
+ [LICENSE]: https://github.com/crypto-rb/ed25519/blob/master/LICENSE
160
162
 
161
163
  ## Code of Conduct
162
164
 
163
165
  Everyone interacting in the **ed25519.rb** project’s codebases, issue trackers, chat
164
166
  rooms and mailing lists is expected to follow the [code of conduct].
165
167
 
166
- [code of conduct]: https://github.com/cryptosphere/ed25519/blob/master/CODE_OF_CONDUCT.md
168
+ [code of conduct]: https://github.com/crypto-rb/ed25519/blob/master/CODE_OF_CONDUCT.md
@@ -0,0 +1,21 @@
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: "21-x64"
9
+ - RUBY_VERSION: "22-x64"
10
+ - RUBY_VERSION: "23-x64"
11
+ - RUBY_VERSION: "24-x64"
12
+
13
+ build: off
14
+
15
+ test_script:
16
+ - SET RAKEOPT=-rdevkit
17
+ - ruby -v
18
+ - gem -v
19
+ - bundle -v
20
+ - bundle
21
+ - bundle exec rake compile spec
@@ -1,4 +1,3 @@
1
-
2
1
  # frozen_string_literal: true
3
2
 
4
3
  require File.expand_path("lib/ed25519/version", __dir__)
@@ -13,7 +12,7 @@ Gem::Specification.new do |spec|
13
12
  A Ruby binding to the Ed25519 elliptic curve public-key signature system
14
13
  described in RFC 8032.
15
14
  DESCRIPTION
16
- spec.homepage = "https://github.com/cryptosphere/ed25519"
15
+ spec.homepage = "https://github.com/crypto-rb/ed25519"
17
16
  spec.files = `git ls-files -z`.split("\x0").reject { |f| f.match(%r{^(test|spec|features)/}) }
18
17
  spec.bindir = "exe"
19
18
  spec.executables = spec.files.grep(%r{^exe/}) { |f| File.basename(f) }
Binary file
@@ -1,4 +1,4 @@
1
- package org.cryptosphere;
1
+ package org.cryptorb;
2
2
 
3
3
  import java.security.MessageDigest;
4
4
  import java.security.Signature;
@@ -29,7 +29,7 @@ module Ed25519
29
29
  # Select the Ed25519::Provider to use based on the current environment
30
30
  if defined? JRUBY_VERSION
31
31
  require "ed25519_jruby"
32
- self.provider = org.cryptosphere.Ed25519Provider.createEd25519Module(JRuby.runtime)
32
+ self.provider = org.cryptorb.Ed25519Provider.createEd25519Module(JRuby.runtime)
33
33
  else
34
34
  require "ed25519_ref10"
35
35
  self.provider = Ed25519::Provider::Ref10
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Ed25519
4
- VERSION = "1.2.1"
4
+ VERSION = "1.2.2"
5
5
  end
metadata CHANGED
@@ -1,27 +1,27 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: ed25519
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.2.1
4
+ version: 1.2.2
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-15 00:00:00.000000000 Z
11
+ date: 2017-12-31 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler
15
15
  requirement: !ruby/object:Gem::Requirement
16
16
  requirements:
17
- - - ~>
17
+ - - "~>"
18
18
  - !ruby/object:Gem::Version
19
19
  version: '1.16'
20
20
  type: :development
21
21
  prerelease: false
22
22
  version_requirements: !ruby/object:Gem::Requirement
23
23
  requirements:
24
- - - ~>
24
+ - - "~>"
25
25
  - !ruby/object:Gem::Version
26
26
  version: '1.16'
27
27
  description: A Ruby binding to the Ed25519 elliptic curve public-key signature system
@@ -33,16 +33,17 @@ extensions:
33
33
  - ext/ed25519_ref10/extconf.rb
34
34
  extra_rdoc_files: []
35
35
  files:
36
- - .gitignore
37
- - .rspec
38
- - .rubocop.yml
39
- - .travis.yml
36
+ - ".gitignore"
37
+ - ".rspec"
38
+ - ".rubocop.yml"
39
+ - ".travis.yml"
40
40
  - CHANGES.md
41
41
  - CODE_OF_CONDUCT.md
42
42
  - Gemfile
43
43
  - LICENSE
44
44
  - README.md
45
45
  - Rakefile
46
+ - appveyor.yml
46
47
  - ed25519.gemspec
47
48
  - ed25519.png
48
49
  - ext/ed25519_jruby/LICENSE.txt
@@ -75,7 +76,7 @@ files:
75
76
  - ext/ed25519_jruby/net/i2p/crypto/eddsa/spec/EdDSAParameterSpec.java
76
77
  - ext/ed25519_jruby/net/i2p/crypto/eddsa/spec/EdDSAPrivateKeySpec.java
77
78
  - ext/ed25519_jruby/net/i2p/crypto/eddsa/spec/EdDSAPublicKeySpec.java
78
- - ext/ed25519_jruby/org/cryptosphere/Ed25519Provider.java
79
+ - ext/ed25519_jruby/org/cryptorb/Ed25519Provider.java
79
80
  - ext/ed25519_ref10/api.h
80
81
  - ext/ed25519_ref10/base.h
81
82
  - ext/ed25519_ref10/base2.h
@@ -141,7 +142,7 @@ files:
141
142
  - lib/ed25519/signing_key.rb
142
143
  - lib/ed25519/verify_key.rb
143
144
  - lib/ed25519/version.rb
144
- homepage: https://github.com/cryptosphere/ed25519
145
+ homepage: https://github.com/crypto-rb/ed25519
145
146
  licenses: []
146
147
  metadata: {}
147
148
  post_install_message:
@@ -150,17 +151,17 @@ require_paths:
150
151
  - lib
151
152
  required_ruby_version: !ruby/object:Gem::Requirement
152
153
  requirements:
153
- - - '>='
154
+ - - ">="
154
155
  - !ruby/object:Gem::Version
155
156
  version: 2.0.0
156
157
  required_rubygems_version: !ruby/object:Gem::Requirement
157
158
  requirements:
158
- - - '>='
159
+ - - ">="
159
160
  - !ruby/object:Gem::Version
160
161
  version: '0'
161
162
  requirements: []
162
163
  rubyforge_project:
163
- rubygems_version: 2.0.14
164
+ rubygems_version: 2.7.3
164
165
  signing_key:
165
166
  specification_version: 4
166
167
  summary: An efficient digital signature library providing the Ed25519 algorithm