web_authn 0.2.0 → 0.2.1

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: 07b7a1b06a7ad5f04c3d303de0f8f099c0ce71038e78934268bf99243600d86c
4
- data.tar.gz: 60a474a75148dff57396fc3e939fc94a83a58496ef95bca71f5a29747674651b
3
+ metadata.gz: 7d1fff7e52035a4866627bc77ac38905ba8f702d1da958073824a48a27f53a9e
4
+ data.tar.gz: 68c0adc1b2f4a3722a137ac63657868af12c90cd40654ffc9476d757bf02c235
5
5
  SHA512:
6
- metadata.gz: 5876b9449153f9309057f48632121f0302b3a7fb663d968b441a374b40c09f9b88447b64101d44e92c2b1be6287e2f11c0373b44ca2c2532aa96d1b658d7899d
7
- data.tar.gz: b598691bcb6d42ef76f72ae650931d47888cf573f5ad45759d2d834c3174256f69521f9496a101caf206386d366b9f476efe99864100e8bc9ad78cee7d4be7ae
6
+ metadata.gz: 977f77cf15519cac46231aa2bfe829783a4b773e4709ee550fec8265bfff73ed39e91418143e50b3ec34e37af608b601cc03196eb37a6ac8fbbe51c51f95e318
7
+ data.tar.gz: 72277d134728c8efa97a950fac7a3c2b8c8d678bfe7f2f7a8424625a3fa54d6fb426da85da4ff68cbf8d0adf7f97fc67e360475d7996e41c9d0d1002eda4dfbe
data/VERSION CHANGED
@@ -1 +1 @@
1
- 0.2.0
1
+ 0.2.1
@@ -49,7 +49,7 @@ module WebAuthn
49
49
  OpenSSL::Digest::SHA256.digest(client_data_json.raw)
50
50
  ].join
51
51
  if public_cose_key
52
- public_key, digest = [public_cose_key, public_cose_key.digest]
52
+ public_key, digest = [public_cose_key.to_key, public_cose_key.digest]
53
53
  end
54
54
  verification_method = case public_key
55
55
  when OpenSSL::PKey::RSA
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: web_authn
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.0
4
+ version: 0.2.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - nov matake