safety_net_attestation 0.1.0 → 0.2.0

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
  SHA256:
3
- metadata.gz: '095e5d76aa3845bde2f85d4035a1ec6c87e1eca17c77386e89e093bfcac73746'
4
- data.tar.gz: 45b6fcf2fda15262cc462c9edb260b940b90ce98cb9458ed8db0042e3e964667
3
+ metadata.gz: 7c755feae396958cb6524bbfa08481ee56eeb51c882a517f5c460996d49b5623
4
+ data.tar.gz: 61185703482ff164ec66d09717b842e68284f7593f65b6130e11383b79134950
5
5
  SHA512:
6
- metadata.gz: a191389fa782094c8ba8c90cfb929b7e40165d56a745775e4a7c1c078097add9af1b6aa032224fa587e9b287629a6d784e8c8ced13cfcce006a2ca76b1f03223
7
- data.tar.gz: 932f39dcffb6cc06b51ae993b3d47806c9ccc4b72d1e46475f7cd48c47af9377bc551c8c413240c79d7e5c6a420b960c4e0e3857ef7c80f26e864258ef2d2d73
6
+ metadata.gz: 5244cb19acd724bdd9f769ba608a7554b3bdef8df761d8d56715bb1fc8556510c39d465a895d54a0fae5603e2ca20f26e454ac194555a893c021ede762e49f63
7
+ data.tar.gz: afd1d3e03b7faedce4f68b9450e182fc4beb54ca7737773b313c6146b55d401387e7d8064e838fe657b30995b3e0c586b7681ecb96f55c5f1ee7c858ffa6b2fb
@@ -6,9 +6,14 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
6
6
 
7
7
  ## [Unreleased]
8
8
 
9
+ ## [0.2.0] - 2019-12-28
10
+ ### Fixed
11
+ - Fixed loading bundled root certificates
12
+
9
13
  ## [0.1.0] - 2019-12-28
10
14
  ### Added
11
15
  - Extracted from [webauthn-ruby](https://github.com/cedarcode/webauthn-ruby) after discussion with the maintainers. Thanks for the feedback @grzuy and @brauliomartinezlm!
12
16
 
13
17
  [Unreleased]: https://github.com/bdewater/fido_metadata/compare/v0.1.0...HEAD
18
+ [0.2.0]: https://github.com/bdewater/fido_metadata/compare/v0.1.0...v0.2.0
14
19
  [0.1.0]: https://github.com/bdewater/fido_metadata/releases/tag/v0.1.0
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- safety_net_attestation (0.1.0)
4
+ safety_net_attestation (0.2.0)
5
5
  jwt (~> 2.0)
6
6
 
7
7
  GEM
@@ -10,8 +10,9 @@ require_relative "x5c_key_finder"
10
10
  module SafetyNetAttestation
11
11
  class Statement
12
12
  GOOGLE_ROOT_CERTIFICATES = Dir.glob(
13
- File.join(__dir__, "lib", "safety_net_attestation", "certificates", "*.*")
14
- ).map do |file|
13
+ File.join(Dir.getwd, "lib", "safety_net_attestation", "certificates", "*.*")
14
+ ).map do |path|
15
+ file = File.binread(path)
15
16
  OpenSSL::X509::Certificate.new(file)
16
17
  end.freeze
17
18
 
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module SafetyNetAttestation
4
- VERSION = "0.1.0"
4
+ VERSION = "0.2.0"
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: safety_net_attestation
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.0
4
+ version: 0.2.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Bart de Water