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 +4 -4
- data/VERSION +1 -1
- data/lib/web_authn/context/authentication.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 7d1fff7e52035a4866627bc77ac38905ba8f702d1da958073824a48a27f53a9e
|
4
|
+
data.tar.gz: 68c0adc1b2f4a3722a137ac63657868af12c90cd40654ffc9476d757bf02c235
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 977f77cf15519cac46231aa2bfe829783a4b773e4709ee550fec8265bfff73ed39e91418143e50b3ec34e37af608b601cc03196eb37a6ac8fbbe51c51f95e318
|
7
|
+
data.tar.gz: 72277d134728c8efa97a950fac7a3c2b8c8d678bfe7f2f7a8424625a3fa54d6fb426da85da4ff68cbf8d0adf7f97fc67e360475d7996e41c9d0d1002eda4dfbe
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
0.2.
|
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
|