web_authn 0.0.4 → 0.0.5

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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: f7e325092186081a22bf56445bed75ee6b1ee61915bad3867b4254851c1c4eba
4
- data.tar.gz: '041690712347e54ffa6ee757b5199f1f8fa541bbc9b1f092354c11041ee70074'
3
+ metadata.gz: 784513f8a1a80761ffa9558612eab5eacaef353b57b6776dcb5f0032f4419258
4
+ data.tar.gz: a5c88010f0994e656368cc728e1adc275252df6f4e7bbc52ff66f077102789f9
5
5
  SHA512:
6
- metadata.gz: 4e69686eee65065db0c0480c3438d787f0d520d414b938c32eb9fcedc70c195679073d152807347769584b3c87984ba30c819fcc992eec41da7b112bb6c38a18
7
- data.tar.gz: ce5f15bfb0b5d4c5cb5b61386e7e40bb1cf9bb7df1b1a6658b00b1047f956682a8df3d28cfefb26fb35f5bf9c5f5bc2daeb4e929b543dc95d963e136c3475da5
6
+ metadata.gz: bd1c7a275db5675cc95bb2f3c8bbda9316dbcdd16a4d8c20ba0f1deb6ff2cc9e9f7ccf6227cf8ffe40f6c8e6a0aef59bbb938ab7b9c2986ef8dd126e702cb3bf
7
+ data.tar.gz: 10fcb7862d202e0e8b920386d5d07ec444690cd22e8c6a76bbf579d27cea92c0a856ade5d0dee951ebdce8654e7690ac3bccfef7c696f16e7d49377c997ac042
data/README.md CHANGED
@@ -22,7 +22,7 @@ Or install it yourself as:
22
22
 
23
23
  ## Usage
24
24
 
25
- See samples for usage.
25
+ See sample code in this repository, or [working sample site](https://web-authn.herokuapp.com/).
26
26
 
27
27
  Currently, there are several restrictions.
28
28
  * only `none` attestation format is supported.
data/VERSION CHANGED
@@ -1 +1 @@
1
- 0.0.4
1
+ 0.0.5
@@ -15,7 +15,7 @@ module WebAuthn
15
15
  when 'none'
16
16
  nil
17
17
  when 'packed', 'tpm', 'android-key', 'android-safetynet', 'fido-u2f'
18
- raise NotImplementedError, "Unsupported Attestation Format: #{attestation_object[:fmt]}"
18
+ raise NotImplementedError, "Unsupported Attestation Format: #{format}"
19
19
  else
20
20
  raise InvalidContext, 'Unknown Attestation Format'
21
21
  end
@@ -1,3 +1,7 @@
1
+ # NOTE:
2
+ # get input data below from this link.
3
+ # https://web-authn.self-issued.app
4
+
1
5
  require 'web_authn'
2
6
 
3
7
  authenticator_data = 'MsuA3KzDw1JGLLAfO_4wLebzcS8w_SDs0Zw7pbhYlJUBAAAASg'
@@ -1,3 +1,7 @@
1
+ # NOTE:
2
+ # get input data below from this link.
3
+ # https://web-authn.self-issued.app
4
+
1
5
  require 'web_authn'
2
6
 
3
7
  attestation_object = 'o2NmbXRkbm9uZWdhdHRTdG10oGhhdXRoRGF0YVjEMsuA3KzDw1JGLLAfO_4wLebzcS8w_SDs0Zw7pbhYlJVBAAAASQAAAAAAAAAAAAAAAAAAAAAAQA3sNJGmV3TJ2Y5pYDZP-DpZIku6rXhmhUZJ5kNNlaI3-4wwfhl296tAl52zStVDUsLVIm4_e4apQWUwl6eGnXalAQIDJiABIVggmQvMomjF0F3asbDWda13XeA1UbXdcS5j3Wg3G1LtgaMiWCBlNRc_WstNxVl56t6fVIJuVjMZqon1GpDp_UDDTXO7_g'
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: web_authn
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.4
4
+ version: 0.0.5
5
5
  platform: ruby
6
6
  authors:
7
7
  - nov matake
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2018-09-05 00:00:00.000000000 Z
11
+ date: 2018-09-07 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: activesupport