jwt-eddsa 0.9.0 → 1.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/.release-please-manifest.json +1 -1
- data/CHANGELOG.md +12 -0
- data/lib/jwt/eddsa/jwk/okp.rb +1 -1
- data/lib/jwt/eddsa/version.rb +1 -1
- metadata +3 -3
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 9e0c7782f28dacc294cb88e798dae9cced68e830611db8dafcea81198eef41fd
|
|
4
|
+
data.tar.gz: 27f2fc7a7d23b096dc9236e33c54ebb5617756909bd7788474c71dd8939ff70b
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 0e38a6608c55930fb1e46fdf3a3d2c8422f502c428a34927aa28a7081f81134e1e2f8442de405f033941fbad2979e9d7f9c41bb6ffe3dcdcbc44e6701a265431
|
|
7
|
+
data.tar.gz: 8f21eade2696ed13fbdbe11c33e784701e9a73ee7b7d3593170f26505d95be366ab79393809f1dee912096f504dec971b1c5f75023790b92d617c60b653bd28f
|
data/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,17 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## [1.0.0](https://github.com/jwt/ruby-jwt-eddsa/compare/v0.9.0...v1.0.0) (2026-08-14)
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
### ⚠ BREAKING CHANGES
|
|
7
|
+
|
|
8
|
+
* Auto-generated `kid` values for OKP JWKs are now computed from the RFC 8037 required members (crv, kty, x) instead of the incorrect (kty, n, x). Previously generated kid values will no longer match; keys with an explicitly provided kid are unaffected.
|
|
9
|
+
|
|
10
|
+
### Bug Fixes
|
|
11
|
+
|
|
12
|
+
* Change OKP JWK thumbprint to use crv/kty/x, not RSA's kty/n/x ([#26](https://github.com/jwt/ruby-jwt-eddsa/issues/26)) ([7760623](https://github.com/jwt/ruby-jwt-eddsa/commit/77606230f99ec6f7ec5ebaab939451fea0652bff))
|
|
13
|
+
* OKP JWK kid values now follow RFC 8037 thumbprints ([#26](https://github.com/jwt/ruby-jwt-eddsa/issues/26)) ([6eaf654](https://github.com/jwt/ruby-jwt-eddsa/commit/6eaf654750666d9c3122b46629eeaf9115971694))
|
|
14
|
+
|
|
3
15
|
## [0.9.0](https://github.com/jwt/ruby-jwt-eddsa/compare/v0.8.1...v0.9.0) (2025-06-28)
|
|
4
16
|
|
|
5
17
|
|
data/lib/jwt/eddsa/jwk/okp.rb
CHANGED
|
@@ -7,7 +7,7 @@ module JWT
|
|
|
7
7
|
class OKP < ::JWT::JWK::KeyBase
|
|
8
8
|
KTY = "OKP"
|
|
9
9
|
KTYS = [KTY, JWT::EdDSA::JWK::OKP, Ed25519::SigningKey, Ed25519::VerifyKey].freeze
|
|
10
|
-
OKP_PUBLIC_KEY_ELEMENTS = %i[kty
|
|
10
|
+
OKP_PUBLIC_KEY_ELEMENTS = %i[crv kty x].freeze
|
|
11
11
|
OKP_PRIVATE_KEY_ELEMENTS = %i[d].freeze
|
|
12
12
|
|
|
13
13
|
def initialize(key, params = nil, options = {})
|
data/lib/jwt/eddsa/version.rb
CHANGED
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: jwt-eddsa
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.
|
|
4
|
+
version: 1.0.0
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Joakim Antman
|
|
@@ -78,7 +78,7 @@ licenses:
|
|
|
78
78
|
metadata:
|
|
79
79
|
homepage_uri: https://github.com/jwt/ruby-jwt-eddsa
|
|
80
80
|
source_code_uri: https://github.com/jwt/ruby-jwt-eddsa
|
|
81
|
-
changelog_uri: https://github.com/jwt/ruby-jwt-eddsa/blob/
|
|
81
|
+
changelog_uri: https://github.com/jwt/ruby-jwt-eddsa/blob/v1.0.0/CHANGELOG.md
|
|
82
82
|
rubygems_mfa_required: 'true'
|
|
83
83
|
rdoc_options: []
|
|
84
84
|
require_paths:
|
|
@@ -94,7 +94,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
|
94
94
|
- !ruby/object:Gem::Version
|
|
95
95
|
version: '0'
|
|
96
96
|
requirements: []
|
|
97
|
-
rubygems_version:
|
|
97
|
+
rubygems_version: 4.0.16
|
|
98
98
|
specification_version: 4
|
|
99
99
|
summary: EdDSA algorithm extension for ruby-jwt
|
|
100
100
|
test_files: []
|