Skip to content

Commit 7e8df50

Browse files
Merge pull request #479 from cedarcode/temciuc--prepare-for-release-3.4.2
Update `safety_net_attestation` constraint from `~> 0.4.0` to `~> 0.5.0`
2 parents 7fb8d8e + f973a46 commit 7e8df50

File tree

5 files changed

+12
-6
lines changed

5 files changed

+12
-6
lines changed

CHANGELOG.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,11 @@
11
# Changelog
22

3+
## [v3.4.2] - 2025-09-22
4+
5+
### Added
6+
7+
- Updated `safety_net_attestation` dependency from `~> 0.4.0` to `~> 0.5.0`.
8+
39
## [v3.4.1] - 2025-06-06
410

511
- Avoid requiring `base64` as it's not a direct dependency. [#459](https://github.com/cedarcode/webauthn-ruby/pull/459)[@santiagorodriguez96]
@@ -421,6 +427,7 @@ Note: Both additions should help making it compatible with Chrome for Android 70
421427
- `WebAuthn::AuthenticatorAttestationResponse.valid?` can be used to validate fido-u2f attestations returned by the browser
422428
- Works with ruby 2.5
423429

430+
[v3.4.2]: https://github.com/cedarcode/webauthn-ruby/compare/v3.4.1...v3.4.2/
424431
[v3.4.1]: https://github.com/cedarcode/webauthn-ruby/compare/v3.4.0...v3.4.1/
425432
[v3.4.0]: https://github.com/cedarcode/webauthn-ruby/compare/v3.3.0...v3.4.0/
426433
[v3.3.0]: https://github.com/cedarcode/webauthn-ruby/compare/v3.2.2...v3.3.0/

lib/webauthn/version.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
# frozen_string_literal: true
22

33
module WebAuthn
4-
VERSION = "3.4.1"
4+
VERSION = "3.4.2"
55
end

spec/spec_helper.rb

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -114,9 +114,8 @@ def finder_for(certificate_file, return_empty: false)
114114
RootCertificateFinder.new(certificate_file, return_empty)
115115
end
116116

117-
def create_rsa_key
118-
key_bits = 1024 # NOTE: Use 2048 or more in real life! We use 1024 here just for making the test fast.
119-
117+
# NOTE: Use 2048 or more in real life! We use 1024 here just for making the test fast.
118+
def create_rsa_key(key_bits = 1024)
120119
OpenSSL::PKey::RSA.new(key_bits)
121120
end
122121

spec/webauthn/attestation_statement/android_safetynet_spec.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@
3030
OpenSSL::Digest::SHA256.digest(authenticator_data_bytes + client_data_hash)
3131
)
3232
end
33-
let(:attestation_key) { create_rsa_key }
33+
let(:attestation_key) { create_rsa_key(2048) }
3434

3535
let(:leaf_certificate) do
3636
issue_certificate(root_certificate, root_key, attestation_key, name: "CN=attest.android.com")

webauthn.gemspec

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ Gem::Specification.new do |spec|
3838
spec.add_dependency "cbor", "~> 0.5.9"
3939
spec.add_dependency "cose", "~> 1.1"
4040
spec.add_dependency "openssl", ">= 2.2"
41-
spec.add_dependency "safety_net_attestation", "~> 0.4.0"
41+
spec.add_dependency "safety_net_attestation", "~> 0.5.0"
4242
spec.add_dependency "tpm-key_attestation", "~> 0.14.0"
4343

4444
spec.add_development_dependency "bundler", ">= 1.17", "< 3.0"

0 commit comments

Comments
 (0)