devise-two-factor 3.0.3 → 3.1.0
Sign up to get free protection for your applications and to get access to all the features.
Potentially problematic release.
This version of devise-two-factor might be problematic. Click here for more details.
- checksums.yaml +5 -5
- checksums.yaml.gz.sig +0 -0
- data.tar.gz.sig +0 -0
- data/.travis.yml +14 -1
- data/Appraisals +5 -0
- data/CHANGELOG.md +0 -3
- data/certs/tinfoilsecurity-gems-cert.pem +33 -33
- data/devise-two-factor.gemspec +2 -2
- data/gemfiles/rails_6_0.gemfile +8 -0
- data/lib/devise_two_factor/strategies/two_factor_authenticatable.rb +1 -1
- data/lib/devise_two_factor/strategies/two_factor_backupable.rb +1 -1
- data/lib/devise_two_factor/version.rb +1 -1
- metadata +41 -40
- metadata.gz.sig +0 -0
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
|
-
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
2
|
+
SHA256:
|
3
|
+
metadata.gz: 12a32c4d2067b65a19376f7d98480e89975091a9b57eddd01b7bd8a036eae7bb
|
4
|
+
data.tar.gz: 46c843c0e7aeaa0e2432a667195bef8f92eabfc1e7940c9f9e067a3c08fe8797
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 6de2e060514bfcea44bde7fde4c63bc8ab5f0ad934f4d69e3224fdf9534e9c452abc7bb6994d964cd0de61a244ba57e7c400979e07b81c3c2a93d1745aef997d
|
7
|
+
data.tar.gz: 867896645165eca78879f02ace0acffedd86f1b32cd38e221630ac9e3bf7f47fec71d6cfa90f5fb16b7a2241b63ca004a33ac598bb60df98bd21601bfda5e16f
|
checksums.yaml.gz.sig
CHANGED
Binary file
|
data.tar.gz.sig
CHANGED
Binary file
|
data/.travis.yml
CHANGED
@@ -2,7 +2,7 @@ sudo: false
|
|
2
2
|
language: ruby
|
3
3
|
cache: bundler
|
4
4
|
before_install:
|
5
|
-
- gem update
|
5
|
+
- gem i rubygems-update -v '<3' && update_rubygems
|
6
6
|
- gem update bundler
|
7
7
|
gemfile:
|
8
8
|
- Gemfile
|
@@ -11,12 +11,15 @@ gemfile:
|
|
11
11
|
- gemfiles/rails_5_0.gemfile
|
12
12
|
- gemfiles/rails_5_1.gemfile
|
13
13
|
- gemfiles/rails_5_2.gemfile
|
14
|
+
- gemfiles/rails_6_0.gemfile
|
14
15
|
rvm:
|
15
16
|
- "2.1"
|
16
17
|
- "2.2"
|
17
18
|
- "2.3.4"
|
18
19
|
- "2.4.0"
|
19
20
|
- "2.4.1"
|
21
|
+
- "2.5"
|
22
|
+
- "2.6"
|
20
23
|
matrix:
|
21
24
|
exclude:
|
22
25
|
- rvm: "2.1"
|
@@ -31,3 +34,13 @@ matrix:
|
|
31
34
|
gemfile: gemfiles/rails_5_2.gemfile
|
32
35
|
- rvm: "2.2"
|
33
36
|
gemfile: gemfiles/rails_5_2.gemfile
|
37
|
+
- rvm: "2.1"
|
38
|
+
gemfile: gemfiles/rails_6_0.gemfile
|
39
|
+
- rvm: "2.2"
|
40
|
+
gemfile: gemfiles/rails_6_0.gemfile
|
41
|
+
- rvm: "2.3.4"
|
42
|
+
gemfile: gemfiles/rails_6_0.gemfile
|
43
|
+
- rvm: "2.4.0"
|
44
|
+
gemfile: gemfiles/rails_6_0.gemfile
|
45
|
+
- rvm: "2.4.1"
|
46
|
+
gemfile: gemfiles/rails_6_0.gemfile
|
data/Appraisals
CHANGED
data/CHANGELOG.md
CHANGED
@@ -1,35 +1,35 @@
|
|
1
1
|
-----BEGIN CERTIFICATE-----
|
2
|
-
|
3
|
-
|
4
|
-
|
5
|
-
|
6
|
-
|
7
|
-
|
8
|
-
|
9
|
-
|
10
|
-
|
11
|
-
|
12
|
-
|
13
|
-
|
14
|
-
|
15
|
-
|
16
|
-
|
17
|
-
|
18
|
-
|
19
|
-
|
20
|
-
|
21
|
-
|
22
|
-
|
23
|
-
|
24
|
-
|
25
|
-
|
26
|
-
|
27
|
-
|
28
|
-
|
29
|
-
|
30
|
-
|
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kbXz2VlCkqbRIAFaTtmMJjjWR
|
31
|
+
I0Fgx1CAbDjnDvf/hYrjPAvwLOcQ117Tm3Wk/3MP78CwmZoFHRrBw68Ir5mcLrQy
|
32
|
+
L71AbBqGd3i+azsNXMmm11ZZetYzbIy6kc9g9MFHd+3xooJpU7eRpm+tyRLKX/qu
|
33
|
+
/9iBhU0HVz2daNTk8LdQtzGqff8Dj0qB4sBndVsTW1JxKRP8E3jeLBT4EBGsy9OL
|
34
|
+
5aBXTA==
|
35
35
|
-----END CERTIFICATE-----
|
data/devise-two-factor.gemspec
CHANGED
@@ -24,8 +24,8 @@ Gem::Specification.new do |s|
|
|
24
24
|
s.test_files = `git ls-files -- spec/*`.split("\n")
|
25
25
|
s.require_paths = ['lib']
|
26
26
|
|
27
|
-
s.add_runtime_dependency 'railties', '<
|
28
|
-
s.add_runtime_dependency 'activesupport', '<
|
27
|
+
s.add_runtime_dependency 'railties', '< 6.1'
|
28
|
+
s.add_runtime_dependency 'activesupport', '< 6.1'
|
29
29
|
s.add_runtime_dependency 'attr_encrypted', '>= 1.3', '< 4', '!= 2'
|
30
30
|
s.add_runtime_dependency 'devise', '~> 4.0'
|
31
31
|
s.add_runtime_dependency 'rotp', '~> 2.0'
|
@@ -12,7 +12,7 @@ module Devise
|
|
12
12
|
super
|
13
13
|
end
|
14
14
|
|
15
|
-
fail(:not_found_in_database) unless resource
|
15
|
+
fail(Devise.paranoid ? :invalid : :not_found_in_database) unless resource
|
16
16
|
|
17
17
|
# We want to cascade to the next strategy if this one fails,
|
18
18
|
# but database authenticatable automatically halts on a bad password
|
@@ -12,7 +12,7 @@ module Devise
|
|
12
12
|
super
|
13
13
|
end
|
14
14
|
|
15
|
-
fail(:not_found_in_database) unless resource
|
15
|
+
fail(Devise.paranoid ? :invalid : :not_found_in_database) unless resource
|
16
16
|
|
17
17
|
# We want to cascade to the next strategy if this one fails,
|
18
18
|
# but database authenticatable automatically halts on a bad password
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: devise-two-factor
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 3.0
|
4
|
+
version: 3.1.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Shane Wilton
|
@@ -52,41 +52,41 @@ cert_chain:
|
|
52
52
|
-----END CERTIFICATE-----
|
53
53
|
- |
|
54
54
|
-----BEGIN CERTIFICATE-----
|
55
|
-
|
56
|
-
|
57
|
-
|
58
|
-
|
59
|
-
|
60
|
-
|
61
|
-
|
62
|
-
|
63
|
-
|
64
|
-
|
65
|
-
|
66
|
-
|
67
|
-
|
68
|
-
|
69
|
-
|
70
|
-
|
71
|
-
|
72
|
-
|
73
|
-
|
74
|
-
|
75
|
-
|
76
|
-
|
77
|
-
|
78
|
-
|
79
|
-
|
80
|
-
|
81
|
-
|
82
|
-
|
83
|
-
|
84
|
-
|
85
|
-
|
86
|
-
|
87
|
-
|
55
|
+
MIIGADCCA+igAwIBAgIIBr+qGSyQe7MwDQYJKoZIhvcNAQENBQAwgZwxCzAJBgNV
|
56
|
+
BAYTAlVTMQswCQYDVQQIEwJDQTESMBAGA1UEBxMJUGFsbyBBbHRvMR8wHQYDVQQK
|
57
|
+
ExZUaW5mb2lsIFNlY3VyaXR5LCBJbmMuMR8wHQYDVQQDExZUaW5mb2lsIFNlY3Vy
|
58
|
+
aXR5LCBJbmMuMSowKAYJKoZIhvcNAQkBFhtzdXBwb3J0QHRpbmZvaWxzZWN1cml0
|
59
|
+
eS5jb20wHhcNMTkwODA3MTkwMjAwWhcNMjAwODA3MTkwMjAwWjCBiDELMAkGA1UE
|
60
|
+
BhMCVVMxCzAJBgNVBAgTAkNBMR8wHQYDVQQKExZUaW5mb2lsIFNlY3VyaXR5LCBJ
|
61
|
+
bmMuMR0wGwYDVQQDExR0aW5mb2lsc2VjdXJpdHktZ2VtczEsMCoGCSqGSIb3DQEJ
|
62
|
+
ARYdZW5naW5lZXJzQHRpbmZ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|
77
|
+
BHlaayjrEmmQHmEtDEFOkLYOo20LpMFaogxcSHBYto5Z3XYfU9ZPuaY6rGVFhXeq
|
78
|
+
mrQn6O0iOxzNOHLSZTgEjQTc2gJg1p1CYSxapla53ivW5v01dNcS1XJE/HFHQttI
|
79
|
+
gXdNb53g7XW/c1Be5MvtQKZHsYGNANE+NUUOIFMp29PI1iXBVZVm2PSYL4XlGgQi
|
80
|
+
2cg3tU2TK6+wLul5ZMMvNrOgjaWcbqgW976hUAE03OgR5GDy4M3LfYOs8OJNsktG
|
81
|
+
dtpfft6WroUoiqzDCNz85fbLqhY0vwPNJxK/wFHvxTJ2MKL/BdOha8gIV2o5HPTC
|
82
|
+
cBpZx2C8FyUKAZfuXwTVkMtPbhFowjPNQN4TNl5N6DRtLnb1PDn9LOXHCPd+0V2b
|
83
|
+
ssxu8B1+kf9IyrKBhlqKWSoLdaPboz5FunBUj6nkbXz2VlCkqbRIAFaTtmMJjjWR
|
84
|
+
I0Fgx1CAbDjnDvf/hYrjPAvwLOcQ117Tm3Wk/3MP78CwmZoFHRrBw68Ir5mcLrQy
|
85
|
+
L71AbBqGd3i+azsNXMmm11ZZetYzbIy6kc9g9MFHd+3xooJpU7eRpm+tyRLKX/qu
|
86
|
+
/9iBhU0HVz2daNTk8LdQtzGqff8Dj0qB4sBndVsTW1JxKRP8E3jeLBT4EBGsy9OL
|
87
|
+
5aBXTA==
|
88
88
|
-----END CERTIFICATE-----
|
89
|
-
date:
|
89
|
+
date: 2019-08-07 00:00:00.000000000 Z
|
90
90
|
dependencies:
|
91
91
|
- !ruby/object:Gem::Dependency
|
92
92
|
name: railties
|
@@ -94,28 +94,28 @@ dependencies:
|
|
94
94
|
requirements:
|
95
95
|
- - "<"
|
96
96
|
- !ruby/object:Gem::Version
|
97
|
-
version: '
|
97
|
+
version: '6.1'
|
98
98
|
type: :runtime
|
99
99
|
prerelease: false
|
100
100
|
version_requirements: !ruby/object:Gem::Requirement
|
101
101
|
requirements:
|
102
102
|
- - "<"
|
103
103
|
- !ruby/object:Gem::Version
|
104
|
-
version: '
|
104
|
+
version: '6.1'
|
105
105
|
- !ruby/object:Gem::Dependency
|
106
106
|
name: activesupport
|
107
107
|
requirement: !ruby/object:Gem::Requirement
|
108
108
|
requirements:
|
109
109
|
- - "<"
|
110
110
|
- !ruby/object:Gem::Version
|
111
|
-
version: '
|
111
|
+
version: '6.1'
|
112
112
|
type: :runtime
|
113
113
|
prerelease: false
|
114
114
|
version_requirements: !ruby/object:Gem::Requirement
|
115
115
|
requirements:
|
116
116
|
- - "<"
|
117
117
|
- !ruby/object:Gem::Version
|
118
|
-
version: '
|
118
|
+
version: '6.1'
|
119
119
|
- !ruby/object:Gem::Dependency
|
120
120
|
name: attr_encrypted
|
121
121
|
requirement: !ruby/object:Gem::Requirement
|
@@ -293,6 +293,7 @@ files:
|
|
293
293
|
- gemfiles/rails_5_0.gemfile
|
294
294
|
- gemfiles/rails_5_1.gemfile
|
295
295
|
- gemfiles/rails_5_2.gemfile
|
296
|
+
- gemfiles/rails_6_0.gemfile
|
296
297
|
- lib/devise-two-factor.rb
|
297
298
|
- lib/devise_two_factor/models.rb
|
298
299
|
- lib/devise_two_factor/models/two_factor_authenticatable.rb
|
@@ -328,7 +329,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
328
329
|
version: '0'
|
329
330
|
requirements: []
|
330
331
|
rubyforge_project: devise-two-factor
|
331
|
-
rubygems_version: 2.
|
332
|
+
rubygems_version: 2.7.6.2
|
332
333
|
signing_key:
|
333
334
|
specification_version: 4
|
334
335
|
summary: Barebones two-factor authentication with Devise
|
metadata.gz.sig
CHANGED
Binary file
|