devise_fido_usf 0.1.9 → 0.1.10
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
|
-
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
2
|
+
SHA256:
|
|
3
|
+
metadata.gz: fd103be4c469b5d83c7f10cf7c5eace991088079856c0fd0708a8cb0bb4ca6cd
|
|
4
|
+
data.tar.gz: 30eade2574f235ef2ed1800bb838e5f1bdebec598bf318803decae751ece641f
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 3155b9a7858394a61447419ddd9d4db9dc8a0e64ab298f7f5eb0183a2773fa2cfc96ddbf3b12d4cfa312d0e8033b33d3fedc85b14a76e4b77cc11f65a90f81ce
|
|
7
|
+
data.tar.gz: 967d5d78334f5f232ff124dac44686291cce25919a94c4203520abfa3fd336652385fb79e0ae1aa55aee59ce7eb8d6e970bc4070354b15dcd02720b9a2476693
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
<h2>Authenticate key</h2>
|
|
2
2
|
<p>Please insert one of your registered keys and press the button within 15 seconds</p>
|
|
3
3
|
<p id="waiting">Waiting...</p>
|
|
4
|
-
<p id="error"
|
|
4
|
+
<p id="error" class="d-none"></p>
|
|
5
5
|
<%= form_tag send("#{resource_name}_fido_usf_authentication_path"), method: 'post' do %>
|
|
6
6
|
<%= hidden_field_tag :response %>
|
|
7
7
|
<% end %>
|
|
8
|
-
|
|
8
|
+
<%= javascript_tag nonce: true do -%>
|
|
9
9
|
var appId = <%= @app_id.to_json.html_safe %>;
|
|
10
10
|
var signRequests = <%= @sign_requests.to_json.html_safe %>;
|
|
11
11
|
var challenge = <%= @challenge.to_json.html_safe %>;
|
|
@@ -19,8 +19,8 @@
|
|
|
19
19
|
5: 'Authentication timed out. Please reload to try again.'
|
|
20
20
|
};
|
|
21
21
|
var setError = function(code) {
|
|
22
|
-
$waiting.
|
|
23
|
-
$error.
|
|
22
|
+
$waiting.className += ' d-none';
|
|
23
|
+
$error.className = $error.className.replace(/\bd-none\b/g, '');
|
|
24
24
|
$error.innerHTML = errorMap[code];
|
|
25
25
|
};
|
|
26
26
|
|
|
@@ -38,4 +38,4 @@
|
|
|
38
38
|
|
|
39
39
|
form.submit();
|
|
40
40
|
}, 15);
|
|
41
|
-
|
|
41
|
+
<% end -%>
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
<h2>Register key</h2>
|
|
2
2
|
<p>Please insert the key and press the button within 15 seconds</p>
|
|
3
3
|
<p id="waiting">Waiting...</p>
|
|
4
|
-
<p id="error"
|
|
4
|
+
<p id="error" class="d-none"></p>
|
|
5
5
|
|
|
6
6
|
<%= form_tag send("#{resource_name}_fido_usf_registration_path"), method: 'post' do %>
|
|
7
7
|
<%= hidden_field_tag :response %>
|
|
8
8
|
<% end %>
|
|
9
9
|
|
|
10
|
-
|
|
10
|
+
<%= javascript_tag nonce: true do -%>
|
|
11
11
|
var appId = <%= @app_id.to_json.html_safe %>;
|
|
12
12
|
var registerRequests = <%= @registration_requests.to_json.html_safe %>;
|
|
13
13
|
var signRequests = <%= @sign_requests.to_json.html_safe %>;
|
|
@@ -21,8 +21,8 @@
|
|
|
21
21
|
5: 'Authentication timed out. Please reload to try again.'
|
|
22
22
|
};
|
|
23
23
|
var setError = function(code) {
|
|
24
|
-
$waiting.
|
|
25
|
-
$error.
|
|
24
|
+
$waiting.className += ' d-none';
|
|
25
|
+
$error.className = $error.className.replace(/\bd-none\b/g, '');
|
|
26
26
|
$error.innerHTML = errorMap[code];
|
|
27
27
|
};
|
|
28
28
|
|
|
@@ -40,4 +40,4 @@
|
|
|
40
40
|
|
|
41
41
|
form.submit();
|
|
42
42
|
}, 15);
|
|
43
|
-
|
|
43
|
+
<% end -%>
|
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: devise_fido_usf
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.1.
|
|
4
|
+
version: 0.1.10
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- H. Gregor Molter
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2018-
|
|
11
|
+
date: 2018-12-28 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: devise
|
|
@@ -242,10 +242,14 @@ files:
|
|
|
242
242
|
- lib/generators/templates/README
|
|
243
243
|
- lib/generators/templates/migration.rb
|
|
244
244
|
- lib/tasks/devise_fido_usf_tasks.rake
|
|
245
|
-
homepage: https://github.com/CyberDeck/devise-fido-u2f
|
|
245
|
+
homepage: https://github.com/CyberDeck/devise-fido-u2f
|
|
246
246
|
licenses:
|
|
247
247
|
- MIT
|
|
248
|
-
metadata:
|
|
248
|
+
metadata:
|
|
249
|
+
homepage_uri: https://github.com/cyberdeck/devise-fido-u2f
|
|
250
|
+
changelog_uri: https://github.com/cyberdeck/devise-fido-u2f/blob/master/CHANGELOG.md
|
|
251
|
+
source_code_uri: https://github.com/cyberdeck/devise-fido-u2f/
|
|
252
|
+
bug_tracker_uri: https://github.com/cyberdeck/devise-fido-u2f/issues
|
|
249
253
|
post_install_message:
|
|
250
254
|
rdoc_options: []
|
|
251
255
|
require_paths:
|
|
@@ -262,7 +266,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
|
262
266
|
version: '0'
|
|
263
267
|
requirements: []
|
|
264
268
|
rubyforge_project:
|
|
265
|
-
rubygems_version: 2.
|
|
269
|
+
rubygems_version: 2.7.6
|
|
266
270
|
signing_key:
|
|
267
271
|
specification_version: 4
|
|
268
272
|
summary: A Devise module to allow FIDO U2F authentication.
|