devise-two-factor 1.0.0
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.
Potentially problematic release.
This version of devise-two-factor might be problematic. Click here for more details.
- checksums.yaml +7 -0
- checksums.yaml.gz.sig +0 -0
- data.tar.gz.sig +0 -0
- data/.gitignore +49 -0
- data/.rspec +1 -0
- data/.travis.yml +6 -0
- data/CONTRIBUTING.md +38 -0
- data/Gemfile +2 -0
- data/LICENSE +21 -0
- data/README.md +153 -0
- data/Rakefile +26 -0
- data/certs/tinfoil-cacert.pem +41 -0
- data/certs/tinfoilsecurity-gems-cert.pem +33 -0
- data/devise-two-factor.gemspec +39 -0
- data/lib/devise-two-factor.rb +33 -0
- data/lib/devise_two_factor/models.rb +2 -0
- data/lib/devise_two_factor/models/two_factor_authenticatable.rb +62 -0
- data/lib/devise_two_factor/models/two_factor_backupable.rb +66 -0
- data/lib/devise_two_factor/spec_helpers.rb +2 -0
- data/lib/devise_two_factor/spec_helpers/two_factor_authenticatable_shared_examples.rb +76 -0
- data/lib/devise_two_factor/spec_helpers/two_factor_backupable_shared_examples.rb +89 -0
- data/lib/devise_two_factor/strategies.rb +2 -0
- data/lib/devise_two_factor/strategies/two_factor_authenticatable.rb +26 -0
- data/lib/devise_two_factor/strategies/two_factor_backupable.rb +25 -0
- data/lib/devise_two_factor/version.rb +3 -0
- data/lib/generators/devise_two_factor/devise_two_factor_generator.rb +79 -0
- data/spec/devise/models/two_factor_authenticatable_spec.rb +16 -0
- data/spec/devise/models/two_factor_backupable_spec.rb +19 -0
- data/spec/spec_helper.rb +32 -0
- metadata +302 -0
- metadata.gz.sig +0 -0
@@ -0,0 +1,16 @@
|
|
1
|
+
require 'spec_helper'
|
2
|
+
|
3
|
+
class TwoFactorAuthenticatableDouble
|
4
|
+
include ::ActiveModel::Validations::Callbacks
|
5
|
+
extend ::Devise::Models
|
6
|
+
|
7
|
+
devise :two_factor_authenticatable, :otp_secret_encryption_key => 'test-key'
|
8
|
+
end
|
9
|
+
|
10
|
+
describe ::Devise::Models::TwoFactorAuthenticatable do
|
11
|
+
context 'When included in a class' do
|
12
|
+
subject { TwoFactorAuthenticatableDouble.new }
|
13
|
+
|
14
|
+
it_behaves_like 'two_factor_authenticatable'
|
15
|
+
end
|
16
|
+
end
|
@@ -0,0 +1,19 @@
|
|
1
|
+
require 'spec_helper'
|
2
|
+
|
3
|
+
class TwoFactorBackupableDouble
|
4
|
+
include ::ActiveModel::Validations::Callbacks
|
5
|
+
extend ::Devise::Models
|
6
|
+
|
7
|
+
devise :two_factor_authenticatable, :two_factor_backupable,
|
8
|
+
:otp_secret_encryption_key => 'test-key'
|
9
|
+
|
10
|
+
attr_accessor :otp_backup_codes
|
11
|
+
end
|
12
|
+
|
13
|
+
describe ::Devise::Models::TwoFactorBackupable do
|
14
|
+
context 'When included in a class' do
|
15
|
+
subject { TwoFactorBackupableDouble.new }
|
16
|
+
|
17
|
+
it_behaves_like 'two_factor_backupable'
|
18
|
+
end
|
19
|
+
end
|
data/spec/spec_helper.rb
ADDED
@@ -0,0 +1,32 @@
|
|
1
|
+
require 'simplecov'
|
2
|
+
|
3
|
+
module SimpleCov::Configuration
|
4
|
+
def clean_filters
|
5
|
+
@filters = []
|
6
|
+
end
|
7
|
+
end
|
8
|
+
|
9
|
+
SimpleCov.configure do
|
10
|
+
clean_filters
|
11
|
+
load_profile 'test_frameworks'
|
12
|
+
end
|
13
|
+
|
14
|
+
ENV["COVERAGE"] && SimpleCov.start do
|
15
|
+
add_filter "/.rvm/"
|
16
|
+
end
|
17
|
+
$LOAD_PATH.unshift(File.join(File.dirname(__FILE__), '..', 'lib'))
|
18
|
+
$LOAD_PATH.unshift(File.dirname(__FILE__))
|
19
|
+
|
20
|
+
require 'rspec'
|
21
|
+
require 'faker'
|
22
|
+
require 'timecop'
|
23
|
+
require 'devise-two-factor'
|
24
|
+
require 'devise_two_factor/spec_helpers'
|
25
|
+
|
26
|
+
# Requires supporting files with custom matchers and macros, etc,
|
27
|
+
# in ./support/ and its subdirectories.
|
28
|
+
Dir["#{File.dirname(__FILE__)}/support/**/*.rb"].each {|f| require f}
|
29
|
+
|
30
|
+
RSpec.configure do |config|
|
31
|
+
config.order = 'random'
|
32
|
+
end
|
metadata
ADDED
@@ -0,0 +1,302 @@
|
|
1
|
+
--- !ruby/object:Gem::Specification
|
2
|
+
name: devise-two-factor
|
3
|
+
version: !ruby/object:Gem::Version
|
4
|
+
version: 1.0.0
|
5
|
+
platform: ruby
|
6
|
+
authors:
|
7
|
+
- Shane Wilton
|
8
|
+
autorequire:
|
9
|
+
bindir: bin
|
10
|
+
cert_chain:
|
11
|
+
- |
|
12
|
+
-----BEGIN CERTIFICATE-----
|
13
|
+
MIIHSjCCBTKgAwIBAgIJAK2u0LojMCNgMA0GCSqGSIb3DQEBBQUAMIGcMQswCQYD
|
14
|
+
VQQGEwJVUzELMAkGA1UECBMCQ0ExEjAQBgNVBAcTCVBhbG8gQWx0bzEfMB0GA1UE
|
15
|
+
ChMWVGluZm9pbCBTZWN1cml0eSwgSW5jLjEfMB0GA1UEAxMWVGluZm9pbCBTZWN1
|
16
|
+
cml0eSwgSW5jLjEqMCgGCSqGSIb3DQEJARYbc3VwcG9ydEB0aW5mb2lsc2VjdXJp
|
17
|
+
dHkuY29tMB4XDTExMTIyNzA1MDc0N1oXDTIxMTIyNDA1MDc0N1owgZwxCzAJBgNV
|
18
|
+
BAYTAlVTMQswCQYDVQQIEwJDQTESMBAGA1UEBxMJUGFsbyBBbHRvMR8wHQYDVQQK
|
19
|
+
ExZUaW5mb2lsIFNlY3VyaXR5LCBJbmMuMR8wHQYDVQQDExZUaW5mb2lsIFNlY3Vy
|
20
|
+
aXR5LCBJbmMuMSowKAYJKoZIhvcNAQkBFhtzdXBwb3J0QHRpbmZvaWxzZWN1cml0
|
21
|
+
eS5jb20wggIiMA0GCSqGSIb3DQEBAQUAA4ICDwAwggIKAoICAQCqbHvsSj0H0FB1
|
22
|
+
0gLYoDK1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Fw3YbbhOyy+295jta7xf
|
83
|
+
r32d4cJAvbDF1C6t2JRjNwi0ANgPw0cytl+8yvCyXpXMZpT0YpDk76XICo97SOHI
|
84
|
+
5C31v4YyRBnNCp0pN66nxYX2avEiQ8riTBP5mlkPPOhsIoYQHHe2Uj75aVpu0LZ3
|
85
|
+
cdFzuO4GC1dV0Wv+dsDm+MyF7DT5E9pUPXpnMJuPvPrFpCb+wrFlszW9hGjXbQ==
|
86
|
+
-----END CERTIFICATE-----
|
87
|
+
date: 2014-05-20 00:00:00.000000000 Z
|
88
|
+
dependencies:
|
89
|
+
- !ruby/object:Gem::Dependency
|
90
|
+
name: rails
|
91
|
+
requirement: !ruby/object:Gem::Requirement
|
92
|
+
requirements:
|
93
|
+
- - '>='
|
94
|
+
- !ruby/object:Gem::Version
|
95
|
+
version: '0'
|
96
|
+
type: :runtime
|
97
|
+
prerelease: false
|
98
|
+
version_requirements: !ruby/object:Gem::Requirement
|
99
|
+
requirements:
|
100
|
+
- - '>='
|
101
|
+
- !ruby/object:Gem::Version
|
102
|
+
version: '0'
|
103
|
+
- !ruby/object:Gem::Dependency
|
104
|
+
name: activesupport
|
105
|
+
requirement: !ruby/object:Gem::Requirement
|
106
|
+
requirements:
|
107
|
+
- - '>='
|
108
|
+
- !ruby/object:Gem::Version
|
109
|
+
version: '0'
|
110
|
+
type: :runtime
|
111
|
+
prerelease: false
|
112
|
+
version_requirements: !ruby/object:Gem::Requirement
|
113
|
+
requirements:
|
114
|
+
- - '>='
|
115
|
+
- !ruby/object:Gem::Version
|
116
|
+
version: '0'
|
117
|
+
- !ruby/object:Gem::Dependency
|
118
|
+
name: activemodel
|
119
|
+
requirement: !ruby/object:Gem::Requirement
|
120
|
+
requirements:
|
121
|
+
- - '>='
|
122
|
+
- !ruby/object:Gem::Version
|
123
|
+
version: '0'
|
124
|
+
type: :runtime
|
125
|
+
prerelease: false
|
126
|
+
version_requirements: !ruby/object:Gem::Requirement
|
127
|
+
requirements:
|
128
|
+
- - '>='
|
129
|
+
- !ruby/object:Gem::Version
|
130
|
+
version: '0'
|
131
|
+
- !ruby/object:Gem::Dependency
|
132
|
+
name: attr_encrypted
|
133
|
+
requirement: !ruby/object:Gem::Requirement
|
134
|
+
requirements:
|
135
|
+
- - '>='
|
136
|
+
- !ruby/object:Gem::Version
|
137
|
+
version: '0'
|
138
|
+
type: :runtime
|
139
|
+
prerelease: false
|
140
|
+
version_requirements: !ruby/object:Gem::Requirement
|
141
|
+
requirements:
|
142
|
+
- - '>='
|
143
|
+
- !ruby/object:Gem::Version
|
144
|
+
version: '0'
|
145
|
+
- !ruby/object:Gem::Dependency
|
146
|
+
name: devise
|
147
|
+
requirement: !ruby/object:Gem::Requirement
|
148
|
+
requirements:
|
149
|
+
- - '>='
|
150
|
+
- !ruby/object:Gem::Version
|
151
|
+
version: '0'
|
152
|
+
type: :runtime
|
153
|
+
prerelease: false
|
154
|
+
version_requirements: !ruby/object:Gem::Requirement
|
155
|
+
requirements:
|
156
|
+
- - '>='
|
157
|
+
- !ruby/object:Gem::Version
|
158
|
+
version: '0'
|
159
|
+
- !ruby/object:Gem::Dependency
|
160
|
+
name: rotp
|
161
|
+
requirement: !ruby/object:Gem::Requirement
|
162
|
+
requirements:
|
163
|
+
- - '>='
|
164
|
+
- !ruby/object:Gem::Version
|
165
|
+
version: '0'
|
166
|
+
type: :runtime
|
167
|
+
prerelease: false
|
168
|
+
version_requirements: !ruby/object:Gem::Requirement
|
169
|
+
requirements:
|
170
|
+
- - '>='
|
171
|
+
- !ruby/object:Gem::Version
|
172
|
+
version: '0'
|
173
|
+
- !ruby/object:Gem::Dependency
|
174
|
+
name: bundler
|
175
|
+
requirement: !ruby/object:Gem::Requirement
|
176
|
+
requirements:
|
177
|
+
- - '>'
|
178
|
+
- !ruby/object:Gem::Version
|
179
|
+
version: '1.0'
|
180
|
+
type: :development
|
181
|
+
prerelease: false
|
182
|
+
version_requirements: !ruby/object:Gem::Requirement
|
183
|
+
requirements:
|
184
|
+
- - '>'
|
185
|
+
- !ruby/object:Gem::Version
|
186
|
+
version: '1.0'
|
187
|
+
- !ruby/object:Gem::Dependency
|
188
|
+
name: rspec
|
189
|
+
requirement: !ruby/object:Gem::Requirement
|
190
|
+
requirements:
|
191
|
+
- - ~>
|
192
|
+
- !ruby/object:Gem::Version
|
193
|
+
version: '2.8'
|
194
|
+
type: :development
|
195
|
+
prerelease: false
|
196
|
+
version_requirements: !ruby/object:Gem::Requirement
|
197
|
+
requirements:
|
198
|
+
- - ~>
|
199
|
+
- !ruby/object:Gem::Version
|
200
|
+
version: '2.8'
|
201
|
+
- !ruby/object:Gem::Dependency
|
202
|
+
name: simplecov
|
203
|
+
requirement: !ruby/object:Gem::Requirement
|
204
|
+
requirements:
|
205
|
+
- - '>='
|
206
|
+
- !ruby/object:Gem::Version
|
207
|
+
version: '0'
|
208
|
+
type: :development
|
209
|
+
prerelease: false
|
210
|
+
version_requirements: !ruby/object:Gem::Requirement
|
211
|
+
requirements:
|
212
|
+
- - '>='
|
213
|
+
- !ruby/object:Gem::Version
|
214
|
+
version: '0'
|
215
|
+
- !ruby/object:Gem::Dependency
|
216
|
+
name: faker
|
217
|
+
requirement: !ruby/object:Gem::Requirement
|
218
|
+
requirements:
|
219
|
+
- - '>='
|
220
|
+
- !ruby/object:Gem::Version
|
221
|
+
version: '0'
|
222
|
+
type: :development
|
223
|
+
prerelease: false
|
224
|
+
version_requirements: !ruby/object:Gem::Requirement
|
225
|
+
requirements:
|
226
|
+
- - '>='
|
227
|
+
- !ruby/object:Gem::Version
|
228
|
+
version: '0'
|
229
|
+
- !ruby/object:Gem::Dependency
|
230
|
+
name: timecop
|
231
|
+
requirement: !ruby/object:Gem::Requirement
|
232
|
+
requirements:
|
233
|
+
- - '>='
|
234
|
+
- !ruby/object:Gem::Version
|
235
|
+
version: '0'
|
236
|
+
type: :development
|
237
|
+
prerelease: false
|
238
|
+
version_requirements: !ruby/object:Gem::Requirement
|
239
|
+
requirements:
|
240
|
+
- - '>='
|
241
|
+
- !ruby/object:Gem::Version
|
242
|
+
version: '0'
|
243
|
+
description: Barebones two-factor authentication with Devise
|
244
|
+
email: engineers@tinfoilsecurity.com
|
245
|
+
executables: []
|
246
|
+
extensions: []
|
247
|
+
extra_rdoc_files: []
|
248
|
+
files:
|
249
|
+
- .gitignore
|
250
|
+
- .rspec
|
251
|
+
- .travis.yml
|
252
|
+
- CONTRIBUTING.md
|
253
|
+
- Gemfile
|
254
|
+
- LICENSE
|
255
|
+
- README.md
|
256
|
+
- Rakefile
|
257
|
+
- certs/tinfoil-cacert.pem
|
258
|
+
- certs/tinfoilsecurity-gems-cert.pem
|
259
|
+
- devise-two-factor.gemspec
|
260
|
+
- lib/devise-two-factor.rb
|
261
|
+
- lib/devise_two_factor/models.rb
|
262
|
+
- lib/devise_two_factor/models/two_factor_authenticatable.rb
|
263
|
+
- lib/devise_two_factor/models/two_factor_backupable.rb
|
264
|
+
- lib/devise_two_factor/spec_helpers.rb
|
265
|
+
- lib/devise_two_factor/spec_helpers/two_factor_authenticatable_shared_examples.rb
|
266
|
+
- lib/devise_two_factor/spec_helpers/two_factor_backupable_shared_examples.rb
|
267
|
+
- lib/devise_two_factor/strategies.rb
|
268
|
+
- lib/devise_two_factor/strategies/two_factor_authenticatable.rb
|
269
|
+
- lib/devise_two_factor/strategies/two_factor_backupable.rb
|
270
|
+
- lib/devise_two_factor/version.rb
|
271
|
+
- lib/generators/devise_two_factor/devise_two_factor_generator.rb
|
272
|
+
- spec/devise/models/two_factor_authenticatable_spec.rb
|
273
|
+
- spec/devise/models/two_factor_backupable_spec.rb
|
274
|
+
- spec/spec_helper.rb
|
275
|
+
homepage: https://github.com/tinfoil/devise-two-factor
|
276
|
+
licenses:
|
277
|
+
- MIT
|
278
|
+
metadata: {}
|
279
|
+
post_install_message:
|
280
|
+
rdoc_options: []
|
281
|
+
require_paths:
|
282
|
+
- lib
|
283
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
284
|
+
requirements:
|
285
|
+
- - '>='
|
286
|
+
- !ruby/object:Gem::Version
|
287
|
+
version: '0'
|
288
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
289
|
+
requirements:
|
290
|
+
- - '>='
|
291
|
+
- !ruby/object:Gem::Version
|
292
|
+
version: '0'
|
293
|
+
requirements: []
|
294
|
+
rubyforge_project: devise-two-factor
|
295
|
+
rubygems_version: 2.2.2
|
296
|
+
signing_key:
|
297
|
+
specification_version: 4
|
298
|
+
summary: Barebones two-factor authentication with Devise
|
299
|
+
test_files:
|
300
|
+
- spec/devise/models/two_factor_authenticatable_spec.rb
|
301
|
+
- spec/devise/models/two_factor_backupable_spec.rb
|
302
|
+
- spec/spec_helper.rb
|
metadata.gz.sig
ADDED
Binary file
|