ed25519 1.2.1-jruby → 1.2.2-jruby

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
2
  SHA1:
3
- metadata.gz: be322ef33bd1f8b3815e6911e435a83d28424f6f
4
- data.tar.gz: 2ddddea9f1c0f99bf431ee4a7f5ad2060447e15d
3
+ metadata.gz: 87d0eea5886796b63dfaff7f8a2b5103b6f2d547
4
+ data.tar.gz: d4837ad2087b85b700197d4fac6d55c21b635ed2
5
5
  SHA512:
6
- metadata.gz: e970259bf3526ef0b05dc18ec27ece6801de93e534c79b6e2547a5436936cc45ef2b49ff18f736367ef772bf8736a9acab52aa2d53aaf5aeee62378a05fabdde
7
- data.tar.gz: 5f6e13b75d4e671d38909c0c8b2061b3063d22f58566a4c4249d245e30ae9ea1cc43770a821bb75874143e9a7bba3d177b74b39b108ac9594ef04cadd99144cd
6
+ metadata.gz: fe01ca5b796d3f9f7e7fdabd834829b47fe98764e8caaaf6b75c8a106af636246c9e1e94ac13b77b6037970c064ff919e15c7abbad4e28fc3b7ba4ad14e792ac
7
+ data.tar.gz: 373e9be1f070f175166b765c8defb1b3389892adc377ec554c75aee22e3419baebad3125bcde02983f2aff340eddffc880fc9b746179899aba32549d240194f0
@@ -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) }
@@ -21,7 +20,7 @@ Gem::Specification.new do |spec|
21
20
 
22
21
  if defined? JRUBY_VERSION
23
22
  spec.platform = "jruby"
24
- spec.files << "lib/ed25519_java.jar"
23
+ spec.files << "lib/ed25519_jruby.jar"
25
24
  else
26
25
  spec.platform = Gem::Platform::RUBY
27
26
  spec.extensions = ["ext/ed25519_ref10/extconf.rb"]
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,14 +1,14 @@
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: jruby
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
  requirement: !ruby/object:Gem::Requirement
@@ -42,6 +42,7 @@ files:
42
42
  - LICENSE
43
43
  - README.md
44
44
  - Rakefile
45
+ - appveyor.yml
45
46
  - ed25519.gemspec
46
47
  - ed25519.png
47
48
  - ext/ed25519_jruby/LICENSE.txt
@@ -74,7 +75,7 @@ files:
74
75
  - ext/ed25519_jruby/net/i2p/crypto/eddsa/spec/EdDSAParameterSpec.java
75
76
  - ext/ed25519_jruby/net/i2p/crypto/eddsa/spec/EdDSAPrivateKeySpec.java
76
77
  - ext/ed25519_jruby/net/i2p/crypto/eddsa/spec/EdDSAPublicKeySpec.java
77
- - ext/ed25519_jruby/org/cryptosphere/Ed25519Provider.java
78
+ - ext/ed25519_jruby/org/cryptorb/Ed25519Provider.java
78
79
  - ext/ed25519_ref10/api.h
79
80
  - ext/ed25519_ref10/base.h
80
81
  - ext/ed25519_ref10/base2.h
@@ -140,8 +141,8 @@ files:
140
141
  - lib/ed25519/signing_key.rb
141
142
  - lib/ed25519/verify_key.rb
142
143
  - lib/ed25519/version.rb
143
- - lib/ed25519_java.jar
144
- homepage: https://github.com/cryptosphere/ed25519
144
+ - lib/ed25519_jruby.jar
145
+ homepage: https://github.com/crypto-rb/ed25519
145
146
  licenses: []
146
147
  metadata: {}
147
148
  post_install_message: