2019-09-24 21:28:25 +03:00
|
|
|
GIT
|
|
|
|
remote: https://github.com/ianheggie/health_check
|
|
|
|
revision: 0b799ead604f900ed50685e9b2d469cd2befba5b
|
|
|
|
ref: 0b799ead604f900ed50685e9b2d469cd2befba5b
|
|
|
|
specs:
|
|
|
|
health_check (4.0.0.pre)
|
|
|
|
rails (>= 4.0)
|
|
|
|
|
2019-07-13 17:45:50 +03:00
|
|
|
GIT
|
|
|
|
remote: https://github.com/witgo/nilsimsa
|
|
|
|
revision: fd184883048b922b176939f851338d0a4971a532
|
|
|
|
ref: fd184883048b922b176939f851338d0a4971a532
|
|
|
|
specs:
|
|
|
|
nilsimsa (1.1.2)
|
|
|
|
|
2016-12-21 20:09:59 +02:00
|
|
|
GEM
|
|
|
|
remote: https://rubygems.org/
|
2016-02-20 23:53:20 +02:00
|
|
|
specs:
|
2020-05-25 15:02:19 +03:00
|
|
|
actioncable (5.2.4.3)
|
|
|
|
actionpack (= 5.2.4.3)
|
2017-06-01 21:53:37 +03:00
|
|
|
nio4r (~> 2.0)
|
2018-04-12 15:45:17 +03:00
|
|
|
websocket-driver (>= 0.6.1)
|
2020-05-25 15:02:19 +03:00
|
|
|
actionmailer (5.2.4.3)
|
|
|
|
actionpack (= 5.2.4.3)
|
|
|
|
actionview (= 5.2.4.3)
|
|
|
|
activejob (= 5.2.4.3)
|
2016-02-20 23:53:20 +02:00
|
|
|
mail (~> 2.5, >= 2.5.4)
|
2016-08-17 18:56:23 +03:00
|
|
|
rails-dom-testing (~> 2.0)
|
2020-05-25 15:02:19 +03:00
|
|
|
actionpack (5.2.4.3)
|
|
|
|
actionview (= 5.2.4.3)
|
|
|
|
activesupport (= 5.2.4.3)
|
2019-12-23 23:37:35 +02:00
|
|
|
rack (~> 2.0, >= 2.0.8)
|
2017-09-12 00:03:14 +03:00
|
|
|
rack-test (>= 0.6.3)
|
2016-08-17 18:56:23 +03:00
|
|
|
rails-dom-testing (~> 2.0)
|
2016-02-20 23:53:20 +02:00
|
|
|
rails-html-sanitizer (~> 1.0, >= 1.0.2)
|
2020-05-25 15:02:19 +03:00
|
|
|
actionview (5.2.4.3)
|
|
|
|
activesupport (= 5.2.4.3)
|
2016-02-20 23:53:20 +02:00
|
|
|
builder (~> 3.1)
|
2017-06-01 21:53:37 +03:00
|
|
|
erubi (~> 1.4)
|
2016-08-17 18:56:23 +03:00
|
|
|
rails-dom-testing (~> 2.0)
|
2017-03-22 16:37:03 +02:00
|
|
|
rails-html-sanitizer (~> 1.0, >= 1.0.3)
|
2019-07-23 12:10:42 +03:00
|
|
|
active_model_serializers (0.10.10)
|
|
|
|
actionpack (>= 4.1, < 6.1)
|
|
|
|
activemodel (>= 4.1, < 6.1)
|
2017-07-07 05:02:06 +03:00
|
|
|
case_transform (>= 0.2)
|
2017-12-03 17:55:27 +02:00
|
|
|
jsonapi-renderer (>= 0.1.1.beta1, < 0.3)
|
2019-10-29 03:55:07 +02:00
|
|
|
active_record_query_trace (1.7)
|
2020-05-25 15:02:19 +03:00
|
|
|
activejob (5.2.4.3)
|
|
|
|
activesupport (= 5.2.4.3)
|
2016-08-17 18:56:23 +03:00
|
|
|
globalid (>= 0.3.6)
|
2020-05-25 15:02:19 +03:00
|
|
|
activemodel (5.2.4.3)
|
|
|
|
activesupport (= 5.2.4.3)
|
|
|
|
activerecord (5.2.4.3)
|
|
|
|
activemodel (= 5.2.4.3)
|
|
|
|
activesupport (= 5.2.4.3)
|
2018-04-12 15:45:17 +03:00
|
|
|
arel (>= 9.0)
|
2020-05-25 15:02:19 +03:00
|
|
|
activestorage (5.2.4.3)
|
|
|
|
actionpack (= 5.2.4.3)
|
|
|
|
activerecord (= 5.2.4.3)
|
2018-04-12 15:45:17 +03:00
|
|
|
marcel (~> 0.3.1)
|
2020-05-25 15:02:19 +03:00
|
|
|
activesupport (5.2.4.3)
|
2016-08-17 18:56:23 +03:00
|
|
|
concurrent-ruby (~> 1.0, >= 1.0.2)
|
2018-04-12 15:45:17 +03:00
|
|
|
i18n (>= 0.7, < 2)
|
2016-02-20 23:53:20 +02:00
|
|
|
minitest (~> 5.1)
|
|
|
|
tzinfo (~> 1.1)
|
2019-09-05 06:31:47 +03:00
|
|
|
addressable (2.7.0)
|
|
|
|
public_suffix (>= 2.0.2, < 5.0)
|
2020-01-20 13:58:56 +02:00
|
|
|
airbrussh (1.4.0)
|
2017-01-30 21:03:17 +02:00
|
|
|
sshkit (>= 1.6.1, != 1.7.0)
|
Add WebAuthn as an alternative 2FA method (#14466)
* feat: add possibility of adding WebAuthn security keys to use as 2FA
This adds a basic UI for enabling WebAuthn 2FA. We did a little refactor
to the Settings page for editing the 2FA methods – now it will list the
methods that are available to the user (TOTP and WebAuthn) and from
there they'll be able to add or remove any of them.
Also, it's worth mentioning that for enabling WebAuthn it's required to
have TOTP enabled, so the first time that you go to the 2FA Settings
page, you'll be asked to set it up.
This work was inspired by the one donde by Github in their platform, and
despite it could be approached in different ways, we decided to go with
this one given that we feel that this gives a great UX.
Co-authored-by: Facundo Padula <facundo.padula@cedarcode.com>
* feat: add request for WebAuthn as second factor at login if enabled
This commits adds the feature for using WebAuthn as a second factor for
login when enabled.
If users have WebAuthn enabled, now a page requesting for the use of a
WebAuthn credential for log in will appear, although a link redirecting
to the old page for logging in using a two-factor code will also be
present.
Co-authored-by: Facundo Padula <facundo.padula@cedarcode.com>
* feat: add possibility of deleting WebAuthn Credentials
Co-authored-by: Facundo Padula <facundo.padula@cedarcode.com>
* feat: disable WebAuthn when an Admin disables 2FA for a user
Co-authored-by: Facundo Padula <facundo.padula@cedarcode.com>
* feat: remove ability to disable TOTP leaving only WebAuthn as 2FA
Following examples form other platforms like Github, we decided to make
Webauthn 2FA secondary to 2FA with TOTP, so that we removed the
possibility of removing TOTP authentication only, leaving users with
just WEbAuthn as 2FA. Instead, users will have to click on 'Disable 2FA'
in order to remove second factor auth.
The reason for WebAuthn being secondary to TOPT is that in that way,
users will still be able to log in using their code from their phone's
application if they don't have their security keys with them – or maybe
even lost them.
* We had to change a little the flow for setting up TOTP, given that now
it's possible to setting up again if you already had TOTP, in order to
let users modify their authenticator app – given that now it's not
possible for them to disable TOTP and set it up again with another
authenticator app.
So, basically, now instead of storing the new `otp_secret` in the
user, we store it in the session until the process of set up is
finished.
This was because, as it was before, when users clicked on 'Edit' in
the new two-factor methods lists page, but then went back without
finishing the flow, their `otp_secret` had been changed therefore
invalidating their previous authenticator app, making them unable to
log in again using TOTP.
Co-authored-by: Facundo Padula <facundo.padula@cedarcode.com>
* refactor: fix eslint errors
The PR build was failing given that linting returning some errors.
This commit attempts to fix them.
* refactor: normalize i18n translations
The build was failing given that i18n translations files were not
normalized.
This commits fixes that.
* refactor: avoid having the webauthn gem locked to a specific version
* refactor: use symbols for routes without '/'
* refactor: avoid sending webauthn disabled email when 2FA is disabled
When an admins disable 2FA for users, we were sending two mails
to them, one notifying that 2FA was disabled and the other to notify
that WebAuthn was disabled.
As the second one is redundant since the first email includes it, we can
remove it and send just one email to users.
* refactor: avoid creating new env variable for webauthn_origin config
* refactor: improve flash error messages for webauthn pages
Co-authored-by: Facundo Padula <facundo.padula@cedarcode.com>
2020-08-24 17:46:27 +03:00
|
|
|
android_key_attestation (0.3.0)
|
2020-04-09 21:32:39 +03:00
|
|
|
annotate (3.1.1)
|
2019-04-30 19:06:09 +03:00
|
|
|
activerecord (>= 3.2, < 7.0)
|
2019-11-11 15:37:34 +02:00
|
|
|
rake (>= 10.4, < 14.0)
|
2018-04-12 15:45:17 +03:00
|
|
|
arel (9.0.0)
|
2020-06-15 16:46:37 +03:00
|
|
|
ast (2.4.1)
|
2018-04-12 15:45:17 +03:00
|
|
|
attr_encrypted (3.1.0)
|
2017-01-27 21:28:46 +02:00
|
|
|
encryptor (~> 3.0.0)
|
2016-09-12 19:22:43 +03:00
|
|
|
av (0.9.0)
|
|
|
|
cocaine (~> 0.5.3)
|
Add WebAuthn as an alternative 2FA method (#14466)
* feat: add possibility of adding WebAuthn security keys to use as 2FA
This adds a basic UI for enabling WebAuthn 2FA. We did a little refactor
to the Settings page for editing the 2FA methods – now it will list the
methods that are available to the user (TOTP and WebAuthn) and from
there they'll be able to add or remove any of them.
Also, it's worth mentioning that for enabling WebAuthn it's required to
have TOTP enabled, so the first time that you go to the 2FA Settings
page, you'll be asked to set it up.
This work was inspired by the one donde by Github in their platform, and
despite it could be approached in different ways, we decided to go with
this one given that we feel that this gives a great UX.
Co-authored-by: Facundo Padula <facundo.padula@cedarcode.com>
* feat: add request for WebAuthn as second factor at login if enabled
This commits adds the feature for using WebAuthn as a second factor for
login when enabled.
If users have WebAuthn enabled, now a page requesting for the use of a
WebAuthn credential for log in will appear, although a link redirecting
to the old page for logging in using a two-factor code will also be
present.
Co-authored-by: Facundo Padula <facundo.padula@cedarcode.com>
* feat: add possibility of deleting WebAuthn Credentials
Co-authored-by: Facundo Padula <facundo.padula@cedarcode.com>
* feat: disable WebAuthn when an Admin disables 2FA for a user
Co-authored-by: Facundo Padula <facundo.padula@cedarcode.com>
* feat: remove ability to disable TOTP leaving only WebAuthn as 2FA
Following examples form other platforms like Github, we decided to make
Webauthn 2FA secondary to 2FA with TOTP, so that we removed the
possibility of removing TOTP authentication only, leaving users with
just WEbAuthn as 2FA. Instead, users will have to click on 'Disable 2FA'
in order to remove second factor auth.
The reason for WebAuthn being secondary to TOPT is that in that way,
users will still be able to log in using their code from their phone's
application if they don't have their security keys with them – or maybe
even lost them.
* We had to change a little the flow for setting up TOTP, given that now
it's possible to setting up again if you already had TOTP, in order to
let users modify their authenticator app – given that now it's not
possible for them to disable TOTP and set it up again with another
authenticator app.
So, basically, now instead of storing the new `otp_secret` in the
user, we store it in the session until the process of set up is
finished.
This was because, as it was before, when users clicked on 'Edit' in
the new two-factor methods lists page, but then went back without
finishing the flow, their `otp_secret` had been changed therefore
invalidating their previous authenticator app, making them unable to
log in again using TOTP.
Co-authored-by: Facundo Padula <facundo.padula@cedarcode.com>
* refactor: fix eslint errors
The PR build was failing given that linting returning some errors.
This commit attempts to fix them.
* refactor: normalize i18n translations
The build was failing given that i18n translations files were not
normalized.
This commits fixes that.
* refactor: avoid having the webauthn gem locked to a specific version
* refactor: use symbols for routes without '/'
* refactor: avoid sending webauthn disabled email when 2FA is disabled
When an admins disable 2FA for users, we were sending two mails
to them, one notifying that 2FA was disabled and the other to notify
that WebAuthn was disabled.
As the second one is redundant since the first email includes it, we can
remove it and send just one email to users.
* refactor: avoid creating new env variable for webauthn_origin config
* refactor: improve flash error messages for webauthn pages
Co-authored-by: Facundo Padula <facundo.padula@cedarcode.com>
2020-08-24 17:46:27 +03:00
|
|
|
awrence (1.1.1)
|
2020-04-13 17:16:12 +03:00
|
|
|
aws-eventstream (1.1.0)
|
2020-09-01 03:58:51 +03:00
|
|
|
aws-partitions (1.363.0)
|
2020-09-01 03:56:32 +03:00
|
|
|
aws-sdk-core (3.105.0)
|
2020-04-13 17:16:12 +03:00
|
|
|
aws-eventstream (~> 1, >= 1.0.2)
|
2019-11-18 15:40:16 +02:00
|
|
|
aws-partitions (~> 1, >= 1.239.0)
|
2019-03-15 15:53:34 +02:00
|
|
|
aws-sigv4 (~> 1.1)
|
2017-12-09 01:47:52 +02:00
|
|
|
jmespath (~> 1.0)
|
2020-09-01 03:56:53 +03:00
|
|
|
aws-sdk-kms (1.37.0)
|
2020-06-15 16:31:23 +03:00
|
|
|
aws-sdk-core (~> 3, >= 3.99.0)
|
2019-03-15 15:53:34 +02:00
|
|
|
aws-sigv4 (~> 1.1)
|
2020-09-01 03:56:53 +03:00
|
|
|
aws-sdk-s3 (1.79.1)
|
2020-08-20 23:14:30 +03:00
|
|
|
aws-sdk-core (~> 3, >= 3.104.3)
|
2018-03-24 13:52:45 +02:00
|
|
|
aws-sdk-kms (~> 1)
|
2019-05-30 06:58:22 +03:00
|
|
|
aws-sigv4 (~> 1.1)
|
2020-08-20 23:14:30 +03:00
|
|
|
aws-sigv4 (1.2.2)
|
2020-06-25 11:49:05 +03:00
|
|
|
aws-eventstream (~> 1, >= 1.0.2)
|
2020-07-27 20:48:40 +03:00
|
|
|
bcrypt (3.1.15)
|
2020-05-21 17:29:44 +03:00
|
|
|
better_errors (2.7.1)
|
2016-02-22 17:00:20 +02:00
|
|
|
coderay (>= 1.0.0)
|
2017-09-18 05:55:57 +03:00
|
|
|
erubi (>= 1.0.0)
|
2016-02-22 17:00:20 +02:00
|
|
|
rack (>= 0.9.0)
|
Add WebAuthn as an alternative 2FA method (#14466)
* feat: add possibility of adding WebAuthn security keys to use as 2FA
This adds a basic UI for enabling WebAuthn 2FA. We did a little refactor
to the Settings page for editing the 2FA methods – now it will list the
methods that are available to the user (TOTP and WebAuthn) and from
there they'll be able to add or remove any of them.
Also, it's worth mentioning that for enabling WebAuthn it's required to
have TOTP enabled, so the first time that you go to the 2FA Settings
page, you'll be asked to set it up.
This work was inspired by the one donde by Github in their platform, and
despite it could be approached in different ways, we decided to go with
this one given that we feel that this gives a great UX.
Co-authored-by: Facundo Padula <facundo.padula@cedarcode.com>
* feat: add request for WebAuthn as second factor at login if enabled
This commits adds the feature for using WebAuthn as a second factor for
login when enabled.
If users have WebAuthn enabled, now a page requesting for the use of a
WebAuthn credential for log in will appear, although a link redirecting
to the old page for logging in using a two-factor code will also be
present.
Co-authored-by: Facundo Padula <facundo.padula@cedarcode.com>
* feat: add possibility of deleting WebAuthn Credentials
Co-authored-by: Facundo Padula <facundo.padula@cedarcode.com>
* feat: disable WebAuthn when an Admin disables 2FA for a user
Co-authored-by: Facundo Padula <facundo.padula@cedarcode.com>
* feat: remove ability to disable TOTP leaving only WebAuthn as 2FA
Following examples form other platforms like Github, we decided to make
Webauthn 2FA secondary to 2FA with TOTP, so that we removed the
possibility of removing TOTP authentication only, leaving users with
just WEbAuthn as 2FA. Instead, users will have to click on 'Disable 2FA'
in order to remove second factor auth.
The reason for WebAuthn being secondary to TOPT is that in that way,
users will still be able to log in using their code from their phone's
application if they don't have their security keys with them – or maybe
even lost them.
* We had to change a little the flow for setting up TOTP, given that now
it's possible to setting up again if you already had TOTP, in order to
let users modify their authenticator app – given that now it's not
possible for them to disable TOTP and set it up again with another
authenticator app.
So, basically, now instead of storing the new `otp_secret` in the
user, we store it in the session until the process of set up is
finished.
This was because, as it was before, when users clicked on 'Edit' in
the new two-factor methods lists page, but then went back without
finishing the flow, their `otp_secret` had been changed therefore
invalidating their previous authenticator app, making them unable to
log in again using TOTP.
Co-authored-by: Facundo Padula <facundo.padula@cedarcode.com>
* refactor: fix eslint errors
The PR build was failing given that linting returning some errors.
This commit attempts to fix them.
* refactor: normalize i18n translations
The build was failing given that i18n translations files were not
normalized.
This commits fixes that.
* refactor: avoid having the webauthn gem locked to a specific version
* refactor: use symbols for routes without '/'
* refactor: avoid sending webauthn disabled email when 2FA is disabled
When an admins disable 2FA for users, we were sending two mails
to them, one notifying that 2FA was disabled and the other to notify
that WebAuthn was disabled.
As the second one is redundant since the first email includes it, we can
remove it and send just one email to users.
* refactor: avoid creating new env variable for webauthn_origin config
* refactor: improve flash error messages for webauthn pages
Co-authored-by: Facundo Padula <facundo.padula@cedarcode.com>
2020-08-24 17:46:27 +03:00
|
|
|
bindata (2.4.8)
|
2018-01-21 14:21:28 +02:00
|
|
|
binding_of_caller (0.8.0)
|
2016-02-20 23:53:20 +02:00
|
|
|
debug_inspector (>= 0.0.1)
|
2020-01-12 16:49:30 +02:00
|
|
|
blurhash (0.1.4)
|
2019-04-27 04:24:09 +03:00
|
|
|
ffi (~> 1.10.0)
|
2020-08-20 23:11:37 +03:00
|
|
|
bootsnap (1.4.8)
|
2017-05-20 20:42:27 +03:00
|
|
|
msgpack (~> 1.0)
|
2020-08-16 20:17:00 +03:00
|
|
|
brakeman (4.9.0)
|
2020-06-01 22:35:03 +03:00
|
|
|
browser (4.2.0)
|
2019-12-17 20:36:49 +02:00
|
|
|
builder (3.2.4)
|
2020-01-06 16:02:46 +02:00
|
|
|
bullet (6.1.0)
|
2016-03-26 14:42:10 +02:00
|
|
|
activesupport (>= 3.0.0)
|
2018-11-08 22:15:33 +02:00
|
|
|
uniform_notifier (~> 1.11)
|
2020-06-15 18:57:20 +03:00
|
|
|
bundler-audit (0.7.0.1)
|
2019-01-18 16:23:31 +02:00
|
|
|
bundler (>= 1.2.0, < 3)
|
2020-06-15 18:57:20 +03:00
|
|
|
thor (>= 0.18, < 2)
|
2020-05-08 19:50:57 +03:00
|
|
|
byebug (11.1.3)
|
2020-06-17 07:31:30 +03:00
|
|
|
capistrano (3.14.1)
|
2017-01-30 21:03:17 +02:00
|
|
|
airbrussh (>= 1.0.0)
|
|
|
|
i18n
|
|
|
|
rake (>= 10.0.0)
|
|
|
|
sshkit (>= 1.9.0)
|
2020-07-28 06:24:53 +03:00
|
|
|
capistrano-bundler (2.0.1)
|
2017-01-30 21:03:17 +02:00
|
|
|
capistrano (~> 3.1)
|
2020-07-28 06:24:53 +03:00
|
|
|
capistrano-rails (1.6.1)
|
2017-01-30 21:03:17 +02:00
|
|
|
capistrano (~> 3.1)
|
2020-07-28 06:24:53 +03:00
|
|
|
capistrano-bundler (>= 1.1, < 3)
|
2020-07-27 21:24:09 +03:00
|
|
|
capistrano-rbenv (2.2.0)
|
2017-01-30 21:03:17 +02:00
|
|
|
capistrano (~> 3.1)
|
|
|
|
sshkit (~> 1.3)
|
|
|
|
capistrano-yarn (2.0.2)
|
|
|
|
capistrano (~> 3.0)
|
2020-06-25 11:48:40 +03:00
|
|
|
capybara (3.33.0)
|
2017-04-15 02:21:02 +03:00
|
|
|
addressable
|
2017-09-18 05:55:57 +03:00
|
|
|
mini_mime (>= 0.1.3)
|
2018-10-03 16:24:48 +03:00
|
|
|
nokogiri (~> 1.8)
|
|
|
|
rack (>= 1.6.0)
|
|
|
|
rack-test (>= 0.6.3)
|
2019-05-29 05:21:22 +03:00
|
|
|
regexp_parser (~> 1.5)
|
2018-10-24 17:22:18 +03:00
|
|
|
xpath (~> 3.2)
|
2017-07-07 05:02:06 +03:00
|
|
|
case_transform (0.2)
|
|
|
|
activesupport
|
Add WebAuthn as an alternative 2FA method (#14466)
* feat: add possibility of adding WebAuthn security keys to use as 2FA
This adds a basic UI for enabling WebAuthn 2FA. We did a little refactor
to the Settings page for editing the 2FA methods – now it will list the
methods that are available to the user (TOTP and WebAuthn) and from
there they'll be able to add or remove any of them.
Also, it's worth mentioning that for enabling WebAuthn it's required to
have TOTP enabled, so the first time that you go to the 2FA Settings
page, you'll be asked to set it up.
This work was inspired by the one donde by Github in their platform, and
despite it could be approached in different ways, we decided to go with
this one given that we feel that this gives a great UX.
Co-authored-by: Facundo Padula <facundo.padula@cedarcode.com>
* feat: add request for WebAuthn as second factor at login if enabled
This commits adds the feature for using WebAuthn as a second factor for
login when enabled.
If users have WebAuthn enabled, now a page requesting for the use of a
WebAuthn credential for log in will appear, although a link redirecting
to the old page for logging in using a two-factor code will also be
present.
Co-authored-by: Facundo Padula <facundo.padula@cedarcode.com>
* feat: add possibility of deleting WebAuthn Credentials
Co-authored-by: Facundo Padula <facundo.padula@cedarcode.com>
* feat: disable WebAuthn when an Admin disables 2FA for a user
Co-authored-by: Facundo Padula <facundo.padula@cedarcode.com>
* feat: remove ability to disable TOTP leaving only WebAuthn as 2FA
Following examples form other platforms like Github, we decided to make
Webauthn 2FA secondary to 2FA with TOTP, so that we removed the
possibility of removing TOTP authentication only, leaving users with
just WEbAuthn as 2FA. Instead, users will have to click on 'Disable 2FA'
in order to remove second factor auth.
The reason for WebAuthn being secondary to TOPT is that in that way,
users will still be able to log in using their code from their phone's
application if they don't have their security keys with them – or maybe
even lost them.
* We had to change a little the flow for setting up TOTP, given that now
it's possible to setting up again if you already had TOTP, in order to
let users modify their authenticator app – given that now it's not
possible for them to disable TOTP and set it up again with another
authenticator app.
So, basically, now instead of storing the new `otp_secret` in the
user, we store it in the session until the process of set up is
finished.
This was because, as it was before, when users clicked on 'Edit' in
the new two-factor methods lists page, but then went back without
finishing the flow, their `otp_secret` had been changed therefore
invalidating their previous authenticator app, making them unable to
log in again using TOTP.
Co-authored-by: Facundo Padula <facundo.padula@cedarcode.com>
* refactor: fix eslint errors
The PR build was failing given that linting returning some errors.
This commit attempts to fix them.
* refactor: normalize i18n translations
The build was failing given that i18n translations files were not
normalized.
This commits fixes that.
* refactor: avoid having the webauthn gem locked to a specific version
* refactor: use symbols for routes without '/'
* refactor: avoid sending webauthn disabled email when 2FA is disabled
When an admins disable 2FA for users, we were sending two mails
to them, one notifying that 2FA was disabled and the other to notify
that WebAuthn was disabled.
As the second one is redundant since the first email includes it, we can
remove it and send just one email to users.
* refactor: avoid creating new env variable for webauthn_origin config
* refactor: improve flash error messages for webauthn pages
Co-authored-by: Facundo Padula <facundo.padula@cedarcode.com>
2020-08-24 17:46:27 +03:00
|
|
|
cbor (0.5.9.6)
|
2019-11-27 04:53:50 +02:00
|
|
|
charlock_holmes (0.7.7)
|
2019-09-24 21:28:25 +03:00
|
|
|
chewy (5.1.0)
|
2018-03-06 07:14:26 +02:00
|
|
|
activesupport (>= 4.0)
|
|
|
|
elasticsearch (>= 2.0.0)
|
|
|
|
elasticsearch-dsl
|
2020-08-16 20:22:35 +03:00
|
|
|
chunky_png (1.3.12)
|
2020-03-09 01:12:52 +02:00
|
|
|
cld3 (3.3.0)
|
2020-01-05 03:25:07 +02:00
|
|
|
ffi (>= 1.1.0, < 1.12.0)
|
2017-05-14 17:30:14 +03:00
|
|
|
climate_control (0.2.0)
|
2016-02-28 01:02:59 +02:00
|
|
|
cocaine (0.5.8)
|
|
|
|
climate_control (>= 0.0.3, < 1.0)
|
2020-06-01 22:37:30 +03:00
|
|
|
coderay (1.1.3)
|
2020-07-05 19:28:25 +03:00
|
|
|
color_diff (0.1)
|
2020-08-16 20:16:12 +03:00
|
|
|
concurrent-ruby (1.1.7)
|
2020-06-06 00:44:02 +03:00
|
|
|
connection_pool (2.2.3)
|
Add WebAuthn as an alternative 2FA method (#14466)
* feat: add possibility of adding WebAuthn security keys to use as 2FA
This adds a basic UI for enabling WebAuthn 2FA. We did a little refactor
to the Settings page for editing the 2FA methods – now it will list the
methods that are available to the user (TOTP and WebAuthn) and from
there they'll be able to add or remove any of them.
Also, it's worth mentioning that for enabling WebAuthn it's required to
have TOTP enabled, so the first time that you go to the 2FA Settings
page, you'll be asked to set it up.
This work was inspired by the one donde by Github in their platform, and
despite it could be approached in different ways, we decided to go with
this one given that we feel that this gives a great UX.
Co-authored-by: Facundo Padula <facundo.padula@cedarcode.com>
* feat: add request for WebAuthn as second factor at login if enabled
This commits adds the feature for using WebAuthn as a second factor for
login when enabled.
If users have WebAuthn enabled, now a page requesting for the use of a
WebAuthn credential for log in will appear, although a link redirecting
to the old page for logging in using a two-factor code will also be
present.
Co-authored-by: Facundo Padula <facundo.padula@cedarcode.com>
* feat: add possibility of deleting WebAuthn Credentials
Co-authored-by: Facundo Padula <facundo.padula@cedarcode.com>
* feat: disable WebAuthn when an Admin disables 2FA for a user
Co-authored-by: Facundo Padula <facundo.padula@cedarcode.com>
* feat: remove ability to disable TOTP leaving only WebAuthn as 2FA
Following examples form other platforms like Github, we decided to make
Webauthn 2FA secondary to 2FA with TOTP, so that we removed the
possibility of removing TOTP authentication only, leaving users with
just WEbAuthn as 2FA. Instead, users will have to click on 'Disable 2FA'
in order to remove second factor auth.
The reason for WebAuthn being secondary to TOPT is that in that way,
users will still be able to log in using their code from their phone's
application if they don't have their security keys with them – or maybe
even lost them.
* We had to change a little the flow for setting up TOTP, given that now
it's possible to setting up again if you already had TOTP, in order to
let users modify their authenticator app – given that now it's not
possible for them to disable TOTP and set it up again with another
authenticator app.
So, basically, now instead of storing the new `otp_secret` in the
user, we store it in the session until the process of set up is
finished.
This was because, as it was before, when users clicked on 'Edit' in
the new two-factor methods lists page, but then went back without
finishing the flow, their `otp_secret` had been changed therefore
invalidating their previous authenticator app, making them unable to
log in again using TOTP.
Co-authored-by: Facundo Padula <facundo.padula@cedarcode.com>
* refactor: fix eslint errors
The PR build was failing given that linting returning some errors.
This commit attempts to fix them.
* refactor: normalize i18n translations
The build was failing given that i18n translations files were not
normalized.
This commits fixes that.
* refactor: avoid having the webauthn gem locked to a specific version
* refactor: use symbols for routes without '/'
* refactor: avoid sending webauthn disabled email when 2FA is disabled
When an admins disable 2FA for users, we were sending two mails
to them, one notifying that 2FA was disabled and the other to notify
that WebAuthn was disabled.
As the second one is redundant since the first email includes it, we can
remove it and send just one email to users.
* refactor: avoid creating new env variable for webauthn_origin config
* refactor: improve flash error messages for webauthn pages
Co-authored-by: Facundo Padula <facundo.padula@cedarcode.com>
2020-08-24 17:46:27 +03:00
|
|
|
cose (1.0.0)
|
|
|
|
cbor (~> 0.5.9)
|
|
|
|
openssl-signature_algorithm (~> 0.4.0)
|
2016-02-28 22:22:56 +02:00
|
|
|
crack (0.4.3)
|
|
|
|
safe_yaml (~> 1.0.0)
|
2020-01-20 13:45:23 +02:00
|
|
|
crass (1.0.6)
|
2020-01-04 23:48:57 +02:00
|
|
|
css_parser (1.7.1)
|
2018-01-16 04:29:11 +02:00
|
|
|
addressable
|
2017-05-14 17:30:14 +03:00
|
|
|
debug_inspector (0.0.3)
|
2020-06-15 17:31:04 +03:00
|
|
|
devise (4.7.2)
|
2016-03-05 14:12:24 +02:00
|
|
|
bcrypt (~> 3.0)
|
|
|
|
orm_adapter (~> 0.1)
|
2019-08-26 17:04:52 +03:00
|
|
|
railties (>= 4.1.0)
|
2016-03-05 14:12:24 +02:00
|
|
|
responders
|
|
|
|
warden (~> 1.2.3)
|
2019-08-12 14:11:55 +03:00
|
|
|
devise-two-factor (3.1.0)
|
|
|
|
activesupport (< 6.1)
|
2018-04-23 12:29:17 +03:00
|
|
|
attr_encrypted (>= 1.3, < 4, != 2)
|
|
|
|
devise (~> 4.0)
|
2019-08-12 14:11:55 +03:00
|
|
|
railties (< 6.1)
|
2018-04-23 12:29:17 +03:00
|
|
|
rotp (~> 2.0)
|
2018-09-14 18:42:45 +03:00
|
|
|
devise_pam_authenticatable2 (9.2.0)
|
2018-02-02 11:18:55 +02:00
|
|
|
devise (>= 4.0.0)
|
2018-04-11 22:40:38 +03:00
|
|
|
rpam2 (~> 4.0)
|
2020-07-06 17:19:04 +03:00
|
|
|
diff-lcs (1.4.4)
|
2020-03-25 23:48:52 +02:00
|
|
|
discard (1.2.0)
|
2019-08-22 22:55:56 +03:00
|
|
|
activerecord (>= 4.2, < 7)
|
2019-07-08 12:28:33 +03:00
|
|
|
docile (1.3.2)
|
2020-01-12 16:49:30 +02:00
|
|
|
domain_name (0.5.20190701)
|
2016-02-20 23:53:20 +02:00
|
|
|
unf (>= 0.0.5, < 1.0.0)
|
2020-05-12 16:25:33 +03:00
|
|
|
doorkeeper (5.4.0)
|
2019-04-22 16:02:59 +03:00
|
|
|
railties (>= 5)
|
2020-07-28 00:00:00 +03:00
|
|
|
dotenv (2.7.6)
|
|
|
|
dotenv-rails (2.7.6)
|
|
|
|
dotenv (= 2.7.6)
|
|
|
|
railties (>= 3.2)
|
2020-01-11 22:49:59 +02:00
|
|
|
e2mmap (0.1.0)
|
2020-06-02 20:24:53 +03:00
|
|
|
ed25519 (1.2.4)
|
2020-08-25 14:58:59 +03:00
|
|
|
elasticsearch (7.9.0)
|
|
|
|
elasticsearch-api (= 7.9.0)
|
|
|
|
elasticsearch-transport (= 7.9.0)
|
|
|
|
elasticsearch-api (7.9.0)
|
2018-02-10 00:04:47 +02:00
|
|
|
multi_json
|
2020-04-09 21:33:12 +03:00
|
|
|
elasticsearch-dsl (0.1.9)
|
2020-08-25 14:58:59 +03:00
|
|
|
elasticsearch-transport (7.9.0)
|
2020-04-13 17:21:31 +03:00
|
|
|
faraday (~> 1)
|
2018-02-10 00:04:47 +02:00
|
|
|
multi_json
|
2017-01-27 21:28:46 +02:00
|
|
|
encryptor (3.0.0)
|
2019-10-29 12:40:52 +02:00
|
|
|
erubi (1.9.0)
|
2020-05-08 19:51:36 +03:00
|
|
|
et-orbi (1.2.4)
|
2017-05-05 03:23:01 +03:00
|
|
|
tzinfo
|
2020-08-06 18:35:32 +03:00
|
|
|
excon (0.76.0)
|
2020-04-13 17:16:40 +03:00
|
|
|
fabrication (2.21.1)
|
2020-06-30 07:18:25 +03:00
|
|
|
faker (2.13.0)
|
2020-01-20 14:37:26 +02:00
|
|
|
i18n (>= 1.6, < 2)
|
2020-04-13 17:21:31 +03:00
|
|
|
faraday (1.0.1)
|
2018-02-10 00:04:47 +02:00
|
|
|
multipart-post (>= 1.2, < 3)
|
2016-03-11 17:47:36 +02:00
|
|
|
fast_blank (1.0.0)
|
2020-07-27 21:31:03 +03:00
|
|
|
fastimage (2.2.0)
|
2019-04-22 15:54:19 +03:00
|
|
|
ffi (1.10.0)
|
2020-01-12 16:49:30 +02:00
|
|
|
ffi-compiler (1.0.1)
|
|
|
|
ffi (>= 1.0.0)
|
|
|
|
rake
|
2018-10-22 17:58:36 +03:00
|
|
|
fog-core (2.1.0)
|
2017-09-06 00:17:06 +03:00
|
|
|
builder
|
|
|
|
excon (~> 0.58)
|
|
|
|
formatador (~> 0.2)
|
2018-10-04 16:35:18 +03:00
|
|
|
mime-types
|
2018-10-04 02:07:13 +03:00
|
|
|
fog-json (1.2.0)
|
|
|
|
fog-core
|
2017-09-06 00:17:06 +03:00
|
|
|
multi_json (~> 1.10)
|
2020-06-08 08:46:58 +03:00
|
|
|
fog-openstack (0.3.10)
|
2018-10-22 17:58:36 +03:00
|
|
|
fog-core (>= 1.45, <= 2.1.0)
|
2017-09-06 00:17:06 +03:00
|
|
|
fog-json (>= 1.0)
|
|
|
|
ipaddress (>= 0.8)
|
|
|
|
formatador (0.2.5)
|
2020-08-16 20:29:34 +03:00
|
|
|
fugit (1.3.8)
|
2020-03-18 13:02:34 +02:00
|
|
|
et-orbi (~> 1.1, >= 1.1.8)
|
2020-06-01 22:38:29 +03:00
|
|
|
raabro (~> 1.3)
|
2019-11-11 15:05:16 +02:00
|
|
|
fuubar (2.5.0)
|
2017-04-10 23:47:41 +03:00
|
|
|
rspec-core (~> 3.0)
|
2016-02-25 01:17:01 +02:00
|
|
|
ruby-progressbar (~> 1.4)
|
2019-03-14 01:25:53 +02:00
|
|
|
globalid (0.4.2)
|
2017-04-28 16:10:58 +03:00
|
|
|
activesupport (>= 4.2.0)
|
2020-01-12 16:49:30 +02:00
|
|
|
goldfinger (2.1.1)
|
2017-07-21 14:40:48 +03:00
|
|
|
addressable (~> 2.5)
|
2020-01-12 16:49:30 +02:00
|
|
|
http (~> 4.0)
|
2017-07-21 14:40:48 +03:00
|
|
|
nokogiri (~> 1.8)
|
|
|
|
oj (~> 3.0)
|
2020-09-01 03:57:12 +03:00
|
|
|
hamlit (2.11.1)
|
2020-01-04 23:48:57 +02:00
|
|
|
temple (>= 0.8.2)
|
2016-09-24 14:40:42 +03:00
|
|
|
thor
|
2016-02-20 23:53:20 +02:00
|
|
|
tilt
|
2019-04-09 11:23:52 +03:00
|
|
|
hamlit-rails (0.2.3)
|
2016-02-20 23:53:20 +02:00
|
|
|
actionpack (>= 4.0.1)
|
|
|
|
activesupport (>= 4.0.1)
|
2016-09-24 14:40:42 +03:00
|
|
|
hamlit (>= 1.2.0)
|
2016-02-20 23:53:20 +02:00
|
|
|
railties (>= 4.0.1)
|
2017-08-26 14:47:38 +03:00
|
|
|
hamster (3.0.0)
|
|
|
|
concurrent-ruby (~> 1.0)
|
2020-03-18 13:16:46 +02:00
|
|
|
hashdiff (1.0.1)
|
2020-03-21 04:23:25 +02:00
|
|
|
hashie (4.1.0)
|
2020-01-20 13:45:23 +02:00
|
|
|
highline (2.0.3)
|
2018-11-09 07:55:19 +02:00
|
|
|
hiredis (0.6.3)
|
2017-07-13 23:15:32 +03:00
|
|
|
hkdf (0.3.0)
|
2016-03-11 17:47:36 +02:00
|
|
|
htmlentities (4.3.4)
|
2020-05-08 19:42:12 +03:00
|
|
|
http (4.4.1)
|
2016-02-20 23:53:20 +02:00
|
|
|
addressable (~> 2.3)
|
|
|
|
http-cookie (~> 1.0)
|
2020-01-12 16:49:30 +02:00
|
|
|
http-form_data (~> 2.2)
|
|
|
|
http-parser (~> 1.2.0)
|
2016-10-01 00:08:29 +03:00
|
|
|
http-cookie (1.0.3)
|
2016-02-20 23:53:20 +02:00
|
|
|
domain_name (~> 0.5)
|
2020-04-28 18:21:53 +03:00
|
|
|
http-form_data (2.3.0)
|
2020-01-12 16:49:30 +02:00
|
|
|
http-parser (1.2.1)
|
|
|
|
ffi-compiler (>= 1.0, < 2.0)
|
2017-06-30 14:42:04 +03:00
|
|
|
http_accept_language (2.1.1)
|
2020-06-15 17:22:01 +03:00
|
|
|
httplog (1.4.3)
|
2018-04-12 15:45:17 +03:00
|
|
|
rack (>= 1.0)
|
2018-10-03 05:56:00 +03:00
|
|
|
rainbow (>= 2.0.0)
|
2020-07-27 20:25:06 +03:00
|
|
|
i18n (1.8.5)
|
2017-10-31 13:22:32 +02:00
|
|
|
concurrent-ruby (~> 1.0)
|
2020-03-25 23:46:39 +02:00
|
|
|
i18n-tasks (0.9.31)
|
2018-10-30 02:06:47 +02:00
|
|
|
activesupport (>= 4.0.2)
|
|
|
|
ast (>= 2.1.0)
|
|
|
|
erubi
|
|
|
|
highline (>= 2.0.0)
|
|
|
|
i18n
|
|
|
|
parser (>= 2.2.3.0)
|
|
|
|
rails-i18n
|
|
|
|
rainbow (>= 2.2.2, < 4.0)
|
|
|
|
terminal-table (>= 1.5.1)
|
2017-07-15 18:24:35 +03:00
|
|
|
idn-ruby (0.1.0)
|
2017-09-06 00:17:06 +03:00
|
|
|
ipaddress (0.8.3)
|
2020-03-31 13:41:55 +03:00
|
|
|
iso-639 (0.3.5)
|
2018-04-23 12:29:17 +03:00
|
|
|
jmespath (1.4.0)
|
2020-07-06 17:17:51 +03:00
|
|
|
json (2.3.1)
|
2020-01-13 20:01:43 +02:00
|
|
|
json-canonicalization (0.2.0)
|
2020-05-08 19:42:34 +03:00
|
|
|
json-ld (3.1.4)
|
2020-01-13 20:01:43 +02:00
|
|
|
htmlentities (~> 4.3)
|
2020-03-18 13:00:20 +02:00
|
|
|
json-canonicalization (~> 0.2)
|
2020-01-13 20:01:43 +02:00
|
|
|
link_header (~> 0.0, >= 0.0.8)
|
|
|
|
multi_json (~> 1.14)
|
|
|
|
rack (~> 2.0)
|
|
|
|
rdf (~> 3.1)
|
2020-06-01 22:50:02 +03:00
|
|
|
json-ld-preloaded (3.1.3)
|
2020-02-10 14:26:53 +02:00
|
|
|
json-ld (~> 3.1)
|
|
|
|
rdf (~> 3.1)
|
2019-07-23 12:10:42 +03:00
|
|
|
jsonapi-renderer (0.2.2)
|
2020-08-25 14:53:09 +03:00
|
|
|
jwt (2.2.2)
|
2020-05-29 00:50:24 +03:00
|
|
|
kaminari (1.2.1)
|
2017-04-11 02:11:41 +03:00
|
|
|
activesupport (>= 4.1.0)
|
2020-05-29 00:50:24 +03:00
|
|
|
kaminari-actionview (= 1.2.1)
|
|
|
|
kaminari-activerecord (= 1.2.1)
|
|
|
|
kaminari-core (= 1.2.1)
|
|
|
|
kaminari-actionview (1.2.1)
|
2017-04-11 02:11:41 +03:00
|
|
|
actionview
|
2020-05-29 00:50:24 +03:00
|
|
|
kaminari-core (= 1.2.1)
|
|
|
|
kaminari-activerecord (1.2.1)
|
2017-04-11 02:11:41 +03:00
|
|
|
activerecord
|
2020-05-29 00:50:24 +03:00
|
|
|
kaminari-core (= 1.2.1)
|
|
|
|
kaminari-core (1.2.1)
|
2020-05-08 19:50:15 +03:00
|
|
|
launchy (2.5.0)
|
|
|
|
addressable (~> 2.7)
|
2018-12-11 07:34:02 +02:00
|
|
|
letter_opener (1.7.0)
|
2016-03-19 15:57:30 +02:00
|
|
|
launchy (~> 2.2)
|
2020-02-10 13:28:22 +02:00
|
|
|
letter_opener_web (1.4.0)
|
2017-01-21 11:22:49 +02:00
|
|
|
actionmailer (>= 3.2)
|
|
|
|
letter_opener (~> 1.0)
|
|
|
|
railties (>= 3.2)
|
Fix #24 - Thread resolving for remote statuses
This is a big one, so let me enumerate:
Accounts as well as stream entry pages now contain Link headers that
reference the Atom feed and Webfinger URL for the former and Atom entry
for the latter. So you only need to HEAD those resources to get that
information, no need to download and parse HTML <link>s.
ProcessFeedService will now queue ThreadResolveWorker for each remote
status that it cannot find otherwise. Furthermore, entries are now
processed in reverse order (from bottom to top) in case a newer entry
references a chronologically previous one.
ThreadResolveWorker uses FetchRemoteStatusService to obtain a status
and attach the child status it was queued for to it.
FetchRemoteStatusService looks up the URL, first with a HEAD, tests
if it's an Atom feed, in which case it processes it directly. Next
for Link headers to the Atom feed, in which case that is fetched
and processed. Lastly if it's HTML, it is checked for <link>s to the Atom
feed, and if such is found, that is fetched and processed. The account for
the status is derived from author/name attribute in the XML and the hostname
in the URL (domain). FollowRemoteAccountService and ProcessFeedService
are used.
This means that potentially threads are resolved recursively until a dead-end
is encountered, however it is performed asynchronously over background jobs,
so it should be ok.
2016-09-21 02:34:14 +03:00
|
|
|
link_header (0.0.8)
|
2019-06-17 15:23:29 +03:00
|
|
|
lograge (0.11.2)
|
2018-04-12 15:45:17 +03:00
|
|
|
actionpack (>= 4)
|
|
|
|
activesupport (>= 4)
|
|
|
|
railties (>= 4)
|
2017-09-18 05:55:57 +03:00
|
|
|
request_store (~> 1.0)
|
2020-09-01 03:55:48 +03:00
|
|
|
loofah (2.7.0)
|
2017-10-31 13:22:32 +02:00
|
|
|
crass (~> 1.0.2)
|
2016-02-20 23:53:20 +02:00
|
|
|
nokogiri (>= 1.5.9)
|
2018-11-28 00:34:39 +02:00
|
|
|
mail (2.7.1)
|
2017-12-03 17:55:27 +02:00
|
|
|
mini_mime (>= 0.1.1)
|
2019-03-26 13:53:11 +02:00
|
|
|
makara (0.4.1)
|
2018-08-18 22:06:12 +03:00
|
|
|
activerecord (>= 3.0.0)
|
2018-11-28 00:34:39 +02:00
|
|
|
marcel (0.3.3)
|
2018-04-12 15:45:17 +03:00
|
|
|
mimemagic (~> 0.3.2)
|
|
|
|
mario-redis-lock (1.2.1)
|
|
|
|
redis (>= 3.0.5)
|
2019-07-01 16:34:25 +03:00
|
|
|
memory_profiler (0.9.14)
|
2020-05-08 19:48:48 +03:00
|
|
|
method_source (1.0.0)
|
2020-09-01 03:56:08 +03:00
|
|
|
microformats (4.2.1)
|
2020-01-05 03:25:07 +02:00
|
|
|
json (~> 2.2)
|
|
|
|
nokogiri (~> 1.10)
|
2020-01-04 23:48:18 +02:00
|
|
|
mime-types (3.3.1)
|
2016-08-17 18:56:23 +03:00
|
|
|
mime-types-data (~> 3.2015)
|
2020-05-21 17:54:54 +03:00
|
|
|
mime-types-data (3.2020.0512)
|
2020-05-08 22:37:14 +03:00
|
|
|
mimemagic (0.3.5)
|
2019-07-22 17:04:17 +03:00
|
|
|
mini_mime (1.0.2)
|
2018-12-18 17:41:41 +02:00
|
|
|
mini_portile2 (2.4.0)
|
2020-05-21 17:36:38 +03:00
|
|
|
minitest (5.14.1)
|
2020-04-01 04:02:35 +03:00
|
|
|
msgpack (1.3.3)
|
2020-07-28 04:18:02 +03:00
|
|
|
multi_json (1.15.0)
|
2019-09-23 13:52:29 +03:00
|
|
|
multipart-post (2.1.1)
|
2020-08-25 15:02:06 +03:00
|
|
|
net-ldap (0.16.3)
|
2020-05-08 19:53:11 +03:00
|
|
|
net-scp (3.0.0)
|
|
|
|
net-ssh (>= 2.6.5, < 7.0.0)
|
2020-06-15 17:28:56 +03:00
|
|
|
net-ssh (6.1.0)
|
2019-12-06 20:44:09 +02:00
|
|
|
nio4r (2.5.2)
|
2020-07-27 20:28:57 +03:00
|
|
|
nokogiri (1.10.10)
|
2018-12-18 17:41:41 +02:00
|
|
|
mini_portile2 (~> 2.4.0)
|
2020-04-20 17:33:55 +03:00
|
|
|
nokogumbo (2.0.2)
|
2018-10-29 15:05:25 +02:00
|
|
|
nokogiri (~> 1.8, >= 1.8.4)
|
2019-01-14 11:15:55 +02:00
|
|
|
nsa (0.2.7)
|
2017-09-29 04:16:44 +03:00
|
|
|
activesupport (>= 4.2, < 6)
|
2019-01-14 11:15:55 +02:00
|
|
|
concurrent-ruby (~> 1.0, >= 1.0.2)
|
|
|
|
sidekiq (>= 3.5)
|
|
|
|
statsd-ruby (~> 1.4, >= 1.4.0)
|
2020-09-01 03:54:34 +03:00
|
|
|
oj (3.10.13)
|
2020-03-21 04:23:25 +02:00
|
|
|
omniauth (1.9.1)
|
|
|
|
hashie (>= 3.4.6)
|
2018-02-04 06:42:13 +02:00
|
|
|
rack (>= 1.6.2, < 3)
|
|
|
|
omniauth-cas (1.1.1)
|
|
|
|
addressable (~> 2.3)
|
|
|
|
nokogiri (~> 1.5)
|
|
|
|
omniauth (~> 1.2)
|
2020-07-06 17:18:06 +03:00
|
|
|
omniauth-saml (1.10.2)
|
2018-02-04 06:42:13 +02:00
|
|
|
omniauth (~> 1.3, >= 1.3.2)
|
2020-07-06 17:18:06 +03:00
|
|
|
ruby-saml (~> 1.9)
|
Add WebAuthn as an alternative 2FA method (#14466)
* feat: add possibility of adding WebAuthn security keys to use as 2FA
This adds a basic UI for enabling WebAuthn 2FA. We did a little refactor
to the Settings page for editing the 2FA methods – now it will list the
methods that are available to the user (TOTP and WebAuthn) and from
there they'll be able to add or remove any of them.
Also, it's worth mentioning that for enabling WebAuthn it's required to
have TOTP enabled, so the first time that you go to the 2FA Settings
page, you'll be asked to set it up.
This work was inspired by the one donde by Github in their platform, and
despite it could be approached in different ways, we decided to go with
this one given that we feel that this gives a great UX.
Co-authored-by: Facundo Padula <facundo.padula@cedarcode.com>
* feat: add request for WebAuthn as second factor at login if enabled
This commits adds the feature for using WebAuthn as a second factor for
login when enabled.
If users have WebAuthn enabled, now a page requesting for the use of a
WebAuthn credential for log in will appear, although a link redirecting
to the old page for logging in using a two-factor code will also be
present.
Co-authored-by: Facundo Padula <facundo.padula@cedarcode.com>
* feat: add possibility of deleting WebAuthn Credentials
Co-authored-by: Facundo Padula <facundo.padula@cedarcode.com>
* feat: disable WebAuthn when an Admin disables 2FA for a user
Co-authored-by: Facundo Padula <facundo.padula@cedarcode.com>
* feat: remove ability to disable TOTP leaving only WebAuthn as 2FA
Following examples form other platforms like Github, we decided to make
Webauthn 2FA secondary to 2FA with TOTP, so that we removed the
possibility of removing TOTP authentication only, leaving users with
just WEbAuthn as 2FA. Instead, users will have to click on 'Disable 2FA'
in order to remove second factor auth.
The reason for WebAuthn being secondary to TOPT is that in that way,
users will still be able to log in using their code from their phone's
application if they don't have their security keys with them – or maybe
even lost them.
* We had to change a little the flow for setting up TOTP, given that now
it's possible to setting up again if you already had TOTP, in order to
let users modify their authenticator app – given that now it's not
possible for them to disable TOTP and set it up again with another
authenticator app.
So, basically, now instead of storing the new `otp_secret` in the
user, we store it in the session until the process of set up is
finished.
This was because, as it was before, when users clicked on 'Edit' in
the new two-factor methods lists page, but then went back without
finishing the flow, their `otp_secret` had been changed therefore
invalidating their previous authenticator app, making them unable to
log in again using TOTP.
Co-authored-by: Facundo Padula <facundo.padula@cedarcode.com>
* refactor: fix eslint errors
The PR build was failing given that linting returning some errors.
This commit attempts to fix them.
* refactor: normalize i18n translations
The build was failing given that i18n translations files were not
normalized.
This commits fixes that.
* refactor: avoid having the webauthn gem locked to a specific version
* refactor: use symbols for routes without '/'
* refactor: avoid sending webauthn disabled email when 2FA is disabled
When an admins disable 2FA for users, we were sending two mails
to them, one notifying that 2FA was disabled and the other to notify
that WebAuthn was disabled.
As the second one is redundant since the first email includes it, we can
remove it and send just one email to users.
* refactor: avoid creating new env variable for webauthn_origin config
* refactor: improve flash error messages for webauthn pages
Co-authored-by: Facundo Padula <facundo.padula@cedarcode.com>
2020-08-24 17:46:27 +03:00
|
|
|
openssl (2.2.0)
|
|
|
|
openssl-signature_algorithm (0.4.0)
|
2016-03-05 14:12:24 +02:00
|
|
|
orm_adapter (0.5.0)
|
2020-03-31 13:42:17 +03:00
|
|
|
ox (2.13.2)
|
2018-03-24 13:52:45 +02:00
|
|
|
paperclip (6.0.0)
|
2016-11-29 15:20:15 +02:00
|
|
|
activemodel (>= 4.2.0)
|
|
|
|
activesupport (>= 4.2.0)
|
2016-02-28 01:02:59 +02:00
|
|
|
mime-types
|
2016-11-29 15:20:15 +02:00
|
|
|
mimemagic (~> 0.3.0)
|
2018-03-24 13:52:45 +02:00
|
|
|
terrapin (~> 0.6.0)
|
2016-09-12 19:22:43 +03:00
|
|
|
paperclip-av-transcoder (0.6.4)
|
|
|
|
av (~> 0.9.0)
|
|
|
|
paperclip (>= 2.5.2)
|
2020-06-17 14:18:43 +03:00
|
|
|
parallel (1.19.2)
|
2020-09-01 03:55:16 +03:00
|
|
|
parallel_tests (3.2.0)
|
2017-05-03 13:20:38 +03:00
|
|
|
parallel
|
2020-06-25 11:22:53 +03:00
|
|
|
parser (2.7.1.4)
|
|
|
|
ast (~> 2.4.1)
|
2020-04-28 19:39:21 +03:00
|
|
|
parslet (2.0.0)
|
2020-07-28 18:51:15 +03:00
|
|
|
pastel (0.8.0)
|
2019-10-04 04:19:54 +03:00
|
|
|
tty-color (~> 0.5)
|
2020-03-31 13:40:33 +03:00
|
|
|
pg (1.2.3)
|
2020-08-06 18:34:12 +03:00
|
|
|
pghero (2.7.0)
|
2019-08-19 16:37:22 +03:00
|
|
|
activerecord (>= 5)
|
2020-08-16 20:25:21 +03:00
|
|
|
pkg-config (1.4.2)
|
2020-07-28 18:59:29 +03:00
|
|
|
posix-spawn (0.3.15)
|
2020-08-16 20:24:46 +03:00
|
|
|
premailer (1.13.1)
|
2018-01-16 04:29:11 +02:00
|
|
|
addressable
|
|
|
|
css_parser (>= 1.6.0)
|
|
|
|
htmlentities (>= 4.0.0)
|
2020-05-08 18:42:05 +03:00
|
|
|
premailer-rails (1.11.1)
|
2019-07-22 17:05:34 +03:00
|
|
|
actionmailer (>= 3)
|
2018-01-16 04:29:11 +02:00
|
|
|
premailer (~> 1.7, >= 1.7.9)
|
2018-09-21 01:42:59 +03:00
|
|
|
private_address_check (0.5.0)
|
2020-05-08 19:48:48 +03:00
|
|
|
pry (0.13.1)
|
|
|
|
coderay (~> 1.1)
|
|
|
|
method_source (~> 1.0)
|
2020-05-08 19:52:57 +03:00
|
|
|
pry-byebug (3.9.0)
|
2019-02-22 13:06:01 +02:00
|
|
|
byebug (~> 11.0)
|
2020-05-08 19:52:57 +03:00
|
|
|
pry (~> 0.13.0)
|
2019-01-02 23:39:23 +02:00
|
|
|
pry-rails (0.3.9)
|
2017-04-10 23:47:41 +03:00
|
|
|
pry (>= 0.10.4)
|
2020-05-11 19:10:24 +03:00
|
|
|
public_suffix (4.0.5)
|
2020-05-23 10:44:29 +03:00
|
|
|
puma (4.3.5)
|
2019-07-18 02:06:14 +03:00
|
|
|
nio4r (~> 2.0)
|
2019-08-19 16:36:45 +03:00
|
|
|
pundit (2.1.0)
|
2017-05-29 19:22:22 +03:00
|
|
|
activesupport (>= 3.0.0)
|
2020-05-11 19:10:02 +03:00
|
|
|
raabro (1.3.1)
|
2020-06-17 07:30:57 +03:00
|
|
|
rack (2.2.3)
|
2020-05-28 13:58:23 +03:00
|
|
|
rack-attack (6.3.1)
|
2018-10-01 23:49:26 +03:00
|
|
|
rack (>= 1.0, < 3)
|
2019-12-30 16:58:24 +02:00
|
|
|
rack-cors (1.1.1)
|
2019-11-27 04:59:57 +02:00
|
|
|
rack (>= 2.0.0)
|
2019-03-15 16:05:31 +02:00
|
|
|
rack-proxy (0.6.5)
|
2017-09-27 15:41:54 +03:00
|
|
|
rack
|
2018-08-12 13:25:23 +03:00
|
|
|
rack-test (1.1.0)
|
2017-09-12 00:03:14 +03:00
|
|
|
rack (>= 1.0, < 3)
|
2020-05-25 15:02:19 +03:00
|
|
|
rails (5.2.4.3)
|
|
|
|
actioncable (= 5.2.4.3)
|
|
|
|
actionmailer (= 5.2.4.3)
|
|
|
|
actionpack (= 5.2.4.3)
|
|
|
|
actionview (= 5.2.4.3)
|
|
|
|
activejob (= 5.2.4.3)
|
|
|
|
activemodel (= 5.2.4.3)
|
|
|
|
activerecord (= 5.2.4.3)
|
|
|
|
activestorage (= 5.2.4.3)
|
|
|
|
activesupport (= 5.2.4.3)
|
2017-08-07 19:55:36 +03:00
|
|
|
bundler (>= 1.3.0)
|
2020-05-25 15:02:19 +03:00
|
|
|
railties (= 5.2.4.3)
|
2016-12-21 20:09:59 +02:00
|
|
|
sprockets-rails (>= 2.0.0)
|
2020-06-29 16:43:34 +03:00
|
|
|
rails-controller-testing (1.0.5)
|
|
|
|
actionpack (>= 5.0.1.rc1)
|
|
|
|
actionview (>= 5.0.1.rc1)
|
|
|
|
activesupport (>= 5.0.1.rc1)
|
2017-05-14 17:30:14 +03:00
|
|
|
rails-dom-testing (2.0.3)
|
|
|
|
activesupport (>= 4.2.0)
|
|
|
|
nokogiri (>= 1.6)
|
2019-10-29 12:40:52 +02:00
|
|
|
rails-html-sanitizer (1.3.0)
|
|
|
|
loofah (~> 2.3)
|
2019-01-29 21:22:59 +02:00
|
|
|
rails-i18n (5.1.3)
|
2018-04-12 15:45:17 +03:00
|
|
|
i18n (>= 0.7, < 2)
|
|
|
|
railties (>= 5.0, < 6)
|
2017-08-07 19:55:36 +03:00
|
|
|
rails-settings-cached (0.6.6)
|
2017-01-12 21:46:24 +02:00
|
|
|
rails (>= 4.2.0)
|
2020-05-25 15:02:19 +03:00
|
|
|
railties (5.2.4.3)
|
|
|
|
actionpack (= 5.2.4.3)
|
|
|
|
activesupport (= 5.2.4.3)
|
2016-12-21 20:09:59 +02:00
|
|
|
method_source
|
|
|
|
rake (>= 0.8.7)
|
2018-08-12 13:25:23 +03:00
|
|
|
thor (>= 0.19.0, < 2.0)
|
2018-04-12 15:45:17 +03:00
|
|
|
rainbow (3.0.0)
|
2019-11-18 15:13:23 +02:00
|
|
|
rake (13.0.1)
|
2020-08-16 20:21:52 +03:00
|
|
|
rdf (3.1.5)
|
2017-08-26 14:47:38 +03:00
|
|
|
hamster (~> 3.0)
|
|
|
|
link_header (~> 0.0, >= 0.0.8)
|
2020-01-11 00:02:16 +02:00
|
|
|
rdf-normalize (0.4.0)
|
|
|
|
rdf (~> 3.1)
|
2020-02-29 20:56:07 +02:00
|
|
|
redcarpet (3.5.0)
|
2020-06-15 17:11:20 +03:00
|
|
|
redis (4.2.1)
|
2020-04-20 17:57:04 +03:00
|
|
|
redis-actionpack (5.2.0)
|
|
|
|
actionpack (>= 5, < 7)
|
|
|
|
redis-rack (>= 2.1.0, < 3)
|
2017-10-31 13:22:32 +02:00
|
|
|
redis-store (>= 1.1.0, < 2)
|
2020-05-08 19:46:44 +03:00
|
|
|
redis-activesupport (5.2.0)
|
|
|
|
activesupport (>= 3, < 7)
|
2017-10-31 13:22:32 +02:00
|
|
|
redis-store (>= 1.3, < 2)
|
2020-08-25 14:57:44 +03:00
|
|
|
redis-namespace (1.8.0)
|
2017-12-03 17:55:27 +02:00
|
|
|
redis (>= 3.0.4)
|
2020-08-20 23:15:38 +03:00
|
|
|
redis-rack (2.1.3)
|
2020-04-20 17:05:09 +03:00
|
|
|
rack (>= 2.0.8, < 3)
|
2017-10-31 13:22:32 +02:00
|
|
|
redis-store (>= 1.2, < 2)
|
2017-04-10 23:47:41 +03:00
|
|
|
redis-rails (5.0.2)
|
|
|
|
redis-actionpack (>= 5.0, < 6)
|
|
|
|
redis-activesupport (>= 5.0, < 6)
|
|
|
|
redis-store (>= 1.2, < 2)
|
2020-06-29 16:45:50 +03:00
|
|
|
redis-store (1.9.0)
|
2020-04-20 17:05:09 +03:00
|
|
|
redis (>= 4, < 5)
|
2020-06-08 09:03:45 +03:00
|
|
|
regexp_parser (1.7.1)
|
2020-01-04 23:48:57 +02:00
|
|
|
request_store (1.5.0)
|
2018-04-12 15:45:17 +03:00
|
|
|
rack (>= 1.4)
|
2020-06-01 22:46:09 +03:00
|
|
|
responders (3.0.1)
|
2019-08-12 14:11:55 +03:00
|
|
|
actionpack (>= 5.0)
|
|
|
|
railties (>= 5.0)
|
2020-05-08 21:24:26 +03:00
|
|
|
rexml (3.2.4)
|
2017-01-27 21:28:46 +02:00
|
|
|
rotp (2.1.2)
|
2018-04-11 22:40:38 +03:00
|
|
|
rpam2 (4.0.2)
|
2020-01-11 12:51:04 +02:00
|
|
|
rqrcode (1.1.2)
|
2017-01-27 21:28:46 +02:00
|
|
|
chunky_png (~> 1.0)
|
2020-01-11 12:51:04 +02:00
|
|
|
rqrcode_core (~> 0.1)
|
2020-04-20 16:29:14 +03:00
|
|
|
rqrcode_core (0.1.2)
|
2020-05-08 19:47:50 +03:00
|
|
|
rspec-core (3.9.2)
|
|
|
|
rspec-support (~> 3.9.3)
|
2020-05-11 18:52:40 +03:00
|
|
|
rspec-expectations (3.9.2)
|
2016-02-20 23:53:20 +02:00
|
|
|
diff-lcs (>= 1.2.0, < 2.0)
|
2019-10-29 12:40:52 +02:00
|
|
|
rspec-support (~> 3.9.0)
|
2020-03-25 23:48:21 +02:00
|
|
|
rspec-mocks (3.9.1)
|
2016-02-20 23:53:20 +02:00
|
|
|
diff-lcs (>= 1.2.0, < 2.0)
|
2019-10-29 12:40:52 +02:00
|
|
|
rspec-support (~> 3.9.0)
|
2020-05-21 18:46:39 +03:00
|
|
|
rspec-rails (4.0.1)
|
2020-04-02 19:54:41 +03:00
|
|
|
actionpack (>= 4.2)
|
|
|
|
activesupport (>= 4.2)
|
|
|
|
railties (>= 4.2)
|
|
|
|
rspec-core (~> 3.9)
|
|
|
|
rspec-expectations (~> 3.9)
|
|
|
|
rspec-mocks (~> 3.9)
|
|
|
|
rspec-support (~> 3.9)
|
2020-06-25 11:47:34 +03:00
|
|
|
rspec-sidekiq (3.1.0)
|
2017-04-10 23:47:41 +03:00
|
|
|
rspec-core (~> 3.0, >= 3.0.0)
|
2016-03-26 14:42:10 +02:00
|
|
|
sidekiq (>= 2.4.0)
|
2020-05-08 19:47:50 +03:00
|
|
|
rspec-support (3.9.3)
|
2020-05-01 21:19:01 +03:00
|
|
|
rspec_junit_formatter (0.4.1)
|
|
|
|
rspec-core (>= 2, < 4, != 2.12.0)
|
2020-09-01 04:04:00 +03:00
|
|
|
rubocop (0.88.0)
|
2017-05-29 19:18:06 +03:00
|
|
|
parallel (~> 1.10)
|
2020-09-01 04:04:00 +03:00
|
|
|
parser (>= 2.7.1.1)
|
2018-04-12 15:45:17 +03:00
|
|
|
rainbow (>= 2.2.2, < 4.0)
|
2020-06-06 00:47:19 +03:00
|
|
|
regexp_parser (>= 1.7)
|
2020-05-08 21:24:26 +03:00
|
|
|
rexml
|
2020-09-01 04:04:00 +03:00
|
|
|
rubocop-ast (>= 0.1.0, < 1.0)
|
2016-02-20 23:53:20 +02:00
|
|
|
ruby-progressbar (~> 1.7)
|
2020-05-08 21:24:26 +03:00
|
|
|
unicode-display_width (>= 1.4.0, < 2.0)
|
2020-08-04 23:31:57 +03:00
|
|
|
rubocop-ast (0.3.0)
|
|
|
|
parser (>= 2.7.1.4)
|
2020-06-15 17:26:27 +03:00
|
|
|
rubocop-rails (2.6.0)
|
|
|
|
activesupport (>= 4.2.0)
|
2019-06-17 15:16:03 +03:00
|
|
|
rack (>= 1.1)
|
2020-06-15 17:26:27 +03:00
|
|
|
rubocop (>= 0.82.0)
|
2019-05-30 17:17:54 +03:00
|
|
|
ruby-progressbar (1.10.1)
|
2020-04-28 18:26:15 +03:00
|
|
|
ruby-saml (1.11.0)
|
2018-02-04 06:42:13 +02:00
|
|
|
nokogiri (>= 1.5.10)
|
2020-03-18 13:02:34 +02:00
|
|
|
rufus-scheduler (3.6.0)
|
|
|
|
fugit (~> 1.1, >= 1.1.6)
|
2019-06-17 15:17:45 +03:00
|
|
|
safe_yaml (1.0.5)
|
Add WebAuthn as an alternative 2FA method (#14466)
* feat: add possibility of adding WebAuthn security keys to use as 2FA
This adds a basic UI for enabling WebAuthn 2FA. We did a little refactor
to the Settings page for editing the 2FA methods – now it will list the
methods that are available to the user (TOTP and WebAuthn) and from
there they'll be able to add or remove any of them.
Also, it's worth mentioning that for enabling WebAuthn it's required to
have TOTP enabled, so the first time that you go to the 2FA Settings
page, you'll be asked to set it up.
This work was inspired by the one donde by Github in their platform, and
despite it could be approached in different ways, we decided to go with
this one given that we feel that this gives a great UX.
Co-authored-by: Facundo Padula <facundo.padula@cedarcode.com>
* feat: add request for WebAuthn as second factor at login if enabled
This commits adds the feature for using WebAuthn as a second factor for
login when enabled.
If users have WebAuthn enabled, now a page requesting for the use of a
WebAuthn credential for log in will appear, although a link redirecting
to the old page for logging in using a two-factor code will also be
present.
Co-authored-by: Facundo Padula <facundo.padula@cedarcode.com>
* feat: add possibility of deleting WebAuthn Credentials
Co-authored-by: Facundo Padula <facundo.padula@cedarcode.com>
* feat: disable WebAuthn when an Admin disables 2FA for a user
Co-authored-by: Facundo Padula <facundo.padula@cedarcode.com>
* feat: remove ability to disable TOTP leaving only WebAuthn as 2FA
Following examples form other platforms like Github, we decided to make
Webauthn 2FA secondary to 2FA with TOTP, so that we removed the
possibility of removing TOTP authentication only, leaving users with
just WEbAuthn as 2FA. Instead, users will have to click on 'Disable 2FA'
in order to remove second factor auth.
The reason for WebAuthn being secondary to TOPT is that in that way,
users will still be able to log in using their code from their phone's
application if they don't have their security keys with them – or maybe
even lost them.
* We had to change a little the flow for setting up TOTP, given that now
it's possible to setting up again if you already had TOTP, in order to
let users modify their authenticator app – given that now it's not
possible for them to disable TOTP and set it up again with another
authenticator app.
So, basically, now instead of storing the new `otp_secret` in the
user, we store it in the session until the process of set up is
finished.
This was because, as it was before, when users clicked on 'Edit' in
the new two-factor methods lists page, but then went back without
finishing the flow, their `otp_secret` had been changed therefore
invalidating their previous authenticator app, making them unable to
log in again using TOTP.
Co-authored-by: Facundo Padula <facundo.padula@cedarcode.com>
* refactor: fix eslint errors
The PR build was failing given that linting returning some errors.
This commit attempts to fix them.
* refactor: normalize i18n translations
The build was failing given that i18n translations files were not
normalized.
This commits fixes that.
* refactor: avoid having the webauthn gem locked to a specific version
* refactor: use symbols for routes without '/'
* refactor: avoid sending webauthn disabled email when 2FA is disabled
When an admins disable 2FA for users, we were sending two mails
to them, one notifying that 2FA was disabled and the other to notify
that WebAuthn was disabled.
As the second one is redundant since the first email includes it, we can
remove it and send just one email to users.
* refactor: avoid creating new env variable for webauthn_origin config
* refactor: improve flash error messages for webauthn pages
Co-authored-by: Facundo Padula <facundo.padula@cedarcode.com>
2020-08-24 17:46:27 +03:00
|
|
|
safety_net_attestation (0.4.0)
|
|
|
|
jwt (~> 2.0)
|
2020-06-17 04:15:54 +03:00
|
|
|
sanitize (5.2.1)
|
2017-04-27 15:42:22 +03:00
|
|
|
crass (~> 1.0.2)
|
2018-10-29 15:05:25 +02:00
|
|
|
nokogiri (>= 1.8.0)
|
|
|
|
nokogumbo (~> 2.0)
|
Add WebAuthn as an alternative 2FA method (#14466)
* feat: add possibility of adding WebAuthn security keys to use as 2FA
This adds a basic UI for enabling WebAuthn 2FA. We did a little refactor
to the Settings page for editing the 2FA methods – now it will list the
methods that are available to the user (TOTP and WebAuthn) and from
there they'll be able to add or remove any of them.
Also, it's worth mentioning that for enabling WebAuthn it's required to
have TOTP enabled, so the first time that you go to the 2FA Settings
page, you'll be asked to set it up.
This work was inspired by the one donde by Github in their platform, and
despite it could be approached in different ways, we decided to go with
this one given that we feel that this gives a great UX.
Co-authored-by: Facundo Padula <facundo.padula@cedarcode.com>
* feat: add request for WebAuthn as second factor at login if enabled
This commits adds the feature for using WebAuthn as a second factor for
login when enabled.
If users have WebAuthn enabled, now a page requesting for the use of a
WebAuthn credential for log in will appear, although a link redirecting
to the old page for logging in using a two-factor code will also be
present.
Co-authored-by: Facundo Padula <facundo.padula@cedarcode.com>
* feat: add possibility of deleting WebAuthn Credentials
Co-authored-by: Facundo Padula <facundo.padula@cedarcode.com>
* feat: disable WebAuthn when an Admin disables 2FA for a user
Co-authored-by: Facundo Padula <facundo.padula@cedarcode.com>
* feat: remove ability to disable TOTP leaving only WebAuthn as 2FA
Following examples form other platforms like Github, we decided to make
Webauthn 2FA secondary to 2FA with TOTP, so that we removed the
possibility of removing TOTP authentication only, leaving users with
just WEbAuthn as 2FA. Instead, users will have to click on 'Disable 2FA'
in order to remove second factor auth.
The reason for WebAuthn being secondary to TOPT is that in that way,
users will still be able to log in using their code from their phone's
application if they don't have their security keys with them – or maybe
even lost them.
* We had to change a little the flow for setting up TOTP, given that now
it's possible to setting up again if you already had TOTP, in order to
let users modify their authenticator app – given that now it's not
possible for them to disable TOTP and set it up again with another
authenticator app.
So, basically, now instead of storing the new `otp_secret` in the
user, we store it in the session until the process of set up is
finished.
This was because, as it was before, when users clicked on 'Edit' in
the new two-factor methods lists page, but then went back without
finishing the flow, their `otp_secret` had been changed therefore
invalidating their previous authenticator app, making them unable to
log in again using TOTP.
Co-authored-by: Facundo Padula <facundo.padula@cedarcode.com>
* refactor: fix eslint errors
The PR build was failing given that linting returning some errors.
This commit attempts to fix them.
* refactor: normalize i18n translations
The build was failing given that i18n translations files were not
normalized.
This commits fixes that.
* refactor: avoid having the webauthn gem locked to a specific version
* refactor: use symbols for routes without '/'
* refactor: avoid sending webauthn disabled email when 2FA is disabled
When an admins disable 2FA for users, we were sending two mails
to them, one notifying that 2FA was disabled and the other to notify
that WebAuthn was disabled.
As the second one is redundant since the first email includes it, we can
remove it and send just one email to users.
* refactor: avoid creating new env variable for webauthn_origin config
* refactor: improve flash error messages for webauthn pages
Co-authored-by: Facundo Padula <facundo.padula@cedarcode.com>
2020-08-24 17:46:27 +03:00
|
|
|
securecompare (1.0.0)
|
2020-05-08 18:52:54 +03:00
|
|
|
semantic_range (2.3.0)
|
2020-07-28 18:54:00 +03:00
|
|
|
sidekiq (6.1.1)
|
2020-03-21 05:04:54 +02:00
|
|
|
connection_pool (>= 2.2.2)
|
2020-05-08 19:43:26 +03:00
|
|
|
rack (~> 2.0)
|
2020-07-01 20:05:21 +03:00
|
|
|
redis (>= 4.2.0)
|
2018-11-22 13:47:36 +02:00
|
|
|
sidekiq-bulk (0.2.0)
|
2017-06-04 01:11:15 +03:00
|
|
|
sidekiq
|
2020-03-18 13:02:34 +02:00
|
|
|
sidekiq-scheduler (3.0.1)
|
|
|
|
e2mmap
|
2017-10-31 13:22:32 +02:00
|
|
|
redis (>= 3, < 5)
|
2017-05-05 03:23:01 +03:00
|
|
|
rufus-scheduler (~> 3.2)
|
|
|
|
sidekiq (>= 3)
|
2020-03-18 13:02:34 +02:00
|
|
|
thwait
|
2017-05-05 03:23:01 +03:00
|
|
|
tilt (>= 1.4.0)
|
2020-05-25 15:57:29 +03:00
|
|
|
sidekiq-unique-jobs (6.0.22)
|
2019-01-14 11:18:55 +02:00
|
|
|
concurrent-ruby (~> 1.0, >= 1.0.5)
|
2019-02-25 16:55:22 +02:00
|
|
|
sidekiq (>= 4.0, < 7.0)
|
2017-05-03 22:28:29 +03:00
|
|
|
thor (~> 0)
|
2019-08-19 19:49:17 +03:00
|
|
|
simple-navigation (4.1.0)
|
2016-12-13 14:42:10 +02:00
|
|
|
activesupport (>= 2.3.2)
|
2020-03-18 13:01:35 +02:00
|
|
|
simple_form (5.0.2)
|
2018-09-28 14:32:40 +03:00
|
|
|
actionpack (>= 5.0)
|
|
|
|
activemodel (>= 5.0)
|
2020-08-20 23:31:28 +03:00
|
|
|
simplecov (0.19.0)
|
2018-04-23 12:29:17 +03:00
|
|
|
docile (~> 1.1)
|
2020-02-17 19:27:19 +02:00
|
|
|
simplecov-html (~> 0.11)
|
2020-03-25 23:47:35 +02:00
|
|
|
simplecov-html (0.12.2)
|
2018-06-20 16:22:37 +03:00
|
|
|
sprockets (3.7.2)
|
2016-02-20 23:53:20 +02:00
|
|
|
concurrent-ruby (~> 1.0)
|
|
|
|
rack (> 1, < 3)
|
2017-09-12 00:03:14 +03:00
|
|
|
sprockets-rails (3.2.1)
|
2016-02-20 23:53:20 +02:00
|
|
|
actionpack (>= 4.0)
|
|
|
|
activesupport (>= 4.0)
|
|
|
|
sprockets (>= 3.0.0)
|
2020-03-18 14:48:03 +02:00
|
|
|
sshkit (1.21.0)
|
2017-01-30 21:03:17 +02:00
|
|
|
net-scp (>= 1.1.2)
|
|
|
|
net-ssh (>= 2.8.0)
|
2019-12-30 17:23:05 +02:00
|
|
|
stackprof (0.2.15)
|
2019-01-14 11:15:55 +02:00
|
|
|
statsd-ruby (1.4.0)
|
2020-07-27 21:00:35 +03:00
|
|
|
stoplight (2.2.1)
|
2018-02-16 08:22:20 +02:00
|
|
|
streamio-ffmpeg (3.0.2)
|
|
|
|
multi_json (~> 1.8)
|
2020-07-28 20:18:59 +03:00
|
|
|
strong_migrations (0.7.1)
|
2019-05-29 12:22:59 +03:00
|
|
|
activerecord (>= 5)
|
2020-01-04 23:48:57 +02:00
|
|
|
temple (0.8.2)
|
2017-05-19 17:22:10 +03:00
|
|
|
terminal-table (1.8.0)
|
|
|
|
unicode-display_width (~> 1.1, >= 1.1.1)
|
2018-03-24 13:52:45 +02:00
|
|
|
terrapin (0.6.0)
|
|
|
|
climate_control (>= 0.0.3, < 1.0)
|
2018-11-12 13:50:21 +02:00
|
|
|
thor (0.20.3)
|
2017-02-26 15:10:01 +02:00
|
|
|
thread_safe (0.3.6)
|
2020-07-28 01:01:59 +03:00
|
|
|
thwait (0.2.0)
|
|
|
|
e2mmap
|
2020-01-04 23:48:57 +02:00
|
|
|
tilt (2.0.10)
|
Add WebAuthn as an alternative 2FA method (#14466)
* feat: add possibility of adding WebAuthn security keys to use as 2FA
This adds a basic UI for enabling WebAuthn 2FA. We did a little refactor
to the Settings page for editing the 2FA methods – now it will list the
methods that are available to the user (TOTP and WebAuthn) and from
there they'll be able to add or remove any of them.
Also, it's worth mentioning that for enabling WebAuthn it's required to
have TOTP enabled, so the first time that you go to the 2FA Settings
page, you'll be asked to set it up.
This work was inspired by the one donde by Github in their platform, and
despite it could be approached in different ways, we decided to go with
this one given that we feel that this gives a great UX.
Co-authored-by: Facundo Padula <facundo.padula@cedarcode.com>
* feat: add request for WebAuthn as second factor at login if enabled
This commits adds the feature for using WebAuthn as a second factor for
login when enabled.
If users have WebAuthn enabled, now a page requesting for the use of a
WebAuthn credential for log in will appear, although a link redirecting
to the old page for logging in using a two-factor code will also be
present.
Co-authored-by: Facundo Padula <facundo.padula@cedarcode.com>
* feat: add possibility of deleting WebAuthn Credentials
Co-authored-by: Facundo Padula <facundo.padula@cedarcode.com>
* feat: disable WebAuthn when an Admin disables 2FA for a user
Co-authored-by: Facundo Padula <facundo.padula@cedarcode.com>
* feat: remove ability to disable TOTP leaving only WebAuthn as 2FA
Following examples form other platforms like Github, we decided to make
Webauthn 2FA secondary to 2FA with TOTP, so that we removed the
possibility of removing TOTP authentication only, leaving users with
just WEbAuthn as 2FA. Instead, users will have to click on 'Disable 2FA'
in order to remove second factor auth.
The reason for WebAuthn being secondary to TOPT is that in that way,
users will still be able to log in using their code from their phone's
application if they don't have their security keys with them – or maybe
even lost them.
* We had to change a little the flow for setting up TOTP, given that now
it's possible to setting up again if you already had TOTP, in order to
let users modify their authenticator app – given that now it's not
possible for them to disable TOTP and set it up again with another
authenticator app.
So, basically, now instead of storing the new `otp_secret` in the
user, we store it in the session until the process of set up is
finished.
This was because, as it was before, when users clicked on 'Edit' in
the new two-factor methods lists page, but then went back without
finishing the flow, their `otp_secret` had been changed therefore
invalidating their previous authenticator app, making them unable to
log in again using TOTP.
Co-authored-by: Facundo Padula <facundo.padula@cedarcode.com>
* refactor: fix eslint errors
The PR build was failing given that linting returning some errors.
This commit attempts to fix them.
* refactor: normalize i18n translations
The build was failing given that i18n translations files were not
normalized.
This commits fixes that.
* refactor: avoid having the webauthn gem locked to a specific version
* refactor: use symbols for routes without '/'
* refactor: avoid sending webauthn disabled email when 2FA is disabled
When an admins disable 2FA for users, we were sending two mails
to them, one notifying that 2FA was disabled and the other to notify
that WebAuthn was disabled.
As the second one is redundant since the first email includes it, we can
remove it and send just one email to users.
* refactor: avoid creating new env variable for webauthn_origin config
* refactor: improve flash error messages for webauthn pages
Co-authored-by: Facundo Padula <facundo.padula@cedarcode.com>
2020-08-24 17:46:27 +03:00
|
|
|
tpm-key_attestation (0.9.0)
|
|
|
|
bindata (~> 2.4)
|
|
|
|
openssl-signature_algorithm (~> 0.4.0)
|
2020-08-16 20:32:28 +03:00
|
|
|
tty-color (0.5.2)
|
2020-04-01 04:02:24 +03:00
|
|
|
tty-cursor (0.7.1)
|
2020-07-28 18:51:15 +03:00
|
|
|
tty-prompt (0.22.0)
|
|
|
|
pastel (~> 0.8)
|
|
|
|
tty-reader (~> 0.8)
|
|
|
|
tty-reader (0.8.0)
|
2019-05-29 05:10:24 +03:00
|
|
|
tty-cursor (~> 0.7)
|
2020-07-28 18:51:15 +03:00
|
|
|
tty-screen (~> 0.8)
|
|
|
|
wisper (~> 2.0)
|
2020-07-27 20:37:07 +03:00
|
|
|
tty-screen (0.8.1)
|
2017-08-07 19:55:36 +03:00
|
|
|
twitter-text (1.14.7)
|
2017-02-22 20:35:11 +02:00
|
|
|
unf (~> 0.1.0)
|
2020-04-05 00:24:59 +03:00
|
|
|
tzinfo (1.2.7)
|
2016-02-20 23:53:20 +02:00
|
|
|
thread_safe (~> 0.1)
|
2020-05-08 19:50:36 +03:00
|
|
|
tzinfo-data (1.2020.1)
|
2017-04-03 01:46:44 +03:00
|
|
|
tzinfo (>= 1.0.0)
|
2016-02-20 23:53:20 +02:00
|
|
|
unf (0.1.4)
|
|
|
|
unf_ext
|
2020-05-08 19:42:12 +03:00
|
|
|
unf_ext (0.0.7.7)
|
2020-05-08 21:24:26 +03:00
|
|
|
unicode-display_width (1.7.0)
|
2020-01-06 16:02:46 +02:00
|
|
|
uniform_notifier (1.13.0)
|
2019-03-28 03:20:53 +02:00
|
|
|
warden (1.2.8)
|
|
|
|
rack (>= 2.0.6)
|
Add WebAuthn as an alternative 2FA method (#14466)
* feat: add possibility of adding WebAuthn security keys to use as 2FA
This adds a basic UI for enabling WebAuthn 2FA. We did a little refactor
to the Settings page for editing the 2FA methods – now it will list the
methods that are available to the user (TOTP and WebAuthn) and from
there they'll be able to add or remove any of them.
Also, it's worth mentioning that for enabling WebAuthn it's required to
have TOTP enabled, so the first time that you go to the 2FA Settings
page, you'll be asked to set it up.
This work was inspired by the one donde by Github in their platform, and
despite it could be approached in different ways, we decided to go with
this one given that we feel that this gives a great UX.
Co-authored-by: Facundo Padula <facundo.padula@cedarcode.com>
* feat: add request for WebAuthn as second factor at login if enabled
This commits adds the feature for using WebAuthn as a second factor for
login when enabled.
If users have WebAuthn enabled, now a page requesting for the use of a
WebAuthn credential for log in will appear, although a link redirecting
to the old page for logging in using a two-factor code will also be
present.
Co-authored-by: Facundo Padula <facundo.padula@cedarcode.com>
* feat: add possibility of deleting WebAuthn Credentials
Co-authored-by: Facundo Padula <facundo.padula@cedarcode.com>
* feat: disable WebAuthn when an Admin disables 2FA for a user
Co-authored-by: Facundo Padula <facundo.padula@cedarcode.com>
* feat: remove ability to disable TOTP leaving only WebAuthn as 2FA
Following examples form other platforms like Github, we decided to make
Webauthn 2FA secondary to 2FA with TOTP, so that we removed the
possibility of removing TOTP authentication only, leaving users with
just WEbAuthn as 2FA. Instead, users will have to click on 'Disable 2FA'
in order to remove second factor auth.
The reason for WebAuthn being secondary to TOPT is that in that way,
users will still be able to log in using their code from their phone's
application if they don't have their security keys with them – or maybe
even lost them.
* We had to change a little the flow for setting up TOTP, given that now
it's possible to setting up again if you already had TOTP, in order to
let users modify their authenticator app – given that now it's not
possible for them to disable TOTP and set it up again with another
authenticator app.
So, basically, now instead of storing the new `otp_secret` in the
user, we store it in the session until the process of set up is
finished.
This was because, as it was before, when users clicked on 'Edit' in
the new two-factor methods lists page, but then went back without
finishing the flow, their `otp_secret` had been changed therefore
invalidating their previous authenticator app, making them unable to
log in again using TOTP.
Co-authored-by: Facundo Padula <facundo.padula@cedarcode.com>
* refactor: fix eslint errors
The PR build was failing given that linting returning some errors.
This commit attempts to fix them.
* refactor: normalize i18n translations
The build was failing given that i18n translations files were not
normalized.
This commits fixes that.
* refactor: avoid having the webauthn gem locked to a specific version
* refactor: use symbols for routes without '/'
* refactor: avoid sending webauthn disabled email when 2FA is disabled
When an admins disable 2FA for users, we were sending two mails
to them, one notifying that 2FA was disabled and the other to notify
that WebAuthn was disabled.
As the second one is redundant since the first email includes it, we can
remove it and send just one email to users.
* refactor: avoid creating new env variable for webauthn_origin config
* refactor: improve flash error messages for webauthn pages
Co-authored-by: Facundo Padula <facundo.padula@cedarcode.com>
2020-08-24 17:46:27 +03:00
|
|
|
webauthn (3.0.0.alpha1)
|
|
|
|
android_key_attestation (~> 0.3.0)
|
|
|
|
awrence (~> 1.1)
|
|
|
|
bindata (~> 2.4)
|
|
|
|
cbor (~> 0.5.9)
|
|
|
|
cose (~> 1.0)
|
|
|
|
openssl (~> 2.0)
|
|
|
|
safety_net_attestation (~> 0.4.0)
|
|
|
|
securecompare (~> 1.0)
|
|
|
|
tpm-key_attestation (~> 0.9.0)
|
2020-03-18 13:16:46 +02:00
|
|
|
webmock (3.8.3)
|
2016-02-28 22:22:56 +02:00
|
|
|
addressable (>= 2.3.6)
|
|
|
|
crack (>= 0.3.2)
|
2019-06-17 15:17:45 +03:00
|
|
|
hashdiff (>= 0.4.0, < 2.0.0)
|
2020-08-25 14:49:20 +03:00
|
|
|
webpacker (5.2.1)
|
2020-05-08 18:52:54 +03:00
|
|
|
activesupport (>= 5.2)
|
2017-09-27 15:41:54 +03:00
|
|
|
rack-proxy (>= 0.6.1)
|
2020-05-08 18:52:54 +03:00
|
|
|
railties (>= 5.2)
|
|
|
|
semantic_range (>= 2.3.0)
|
2019-09-14 11:36:10 +03:00
|
|
|
webpush (0.3.8)
|
2017-07-13 23:15:32 +03:00
|
|
|
hkdf (~> 0.2)
|
2017-12-03 17:55:27 +02:00
|
|
|
jwt (~> 2.0)
|
2020-07-27 20:54:09 +03:00
|
|
|
websocket-driver (0.7.3)
|
2016-08-17 18:56:23 +03:00
|
|
|
websocket-extensions (>= 0.1.0)
|
2020-06-06 00:56:06 +03:00
|
|
|
websocket-extensions (0.1.5)
|
2019-12-02 15:58:07 +02:00
|
|
|
wisper (2.0.1)
|
2018-10-24 17:22:18 +03:00
|
|
|
xpath (3.2.0)
|
2018-04-12 15:45:17 +03:00
|
|
|
nokogiri (~> 1.8)
|
2016-02-20 23:53:20 +02:00
|
|
|
|
|
|
|
PLATFORMS
|
|
|
|
ruby
|
|
|
|
|
|
|
|
DEPENDENCIES
|
2017-07-07 05:02:06 +03:00
|
|
|
active_model_serializers (~> 0.10)
|
2019-10-29 03:55:07 +02:00
|
|
|
active_record_query_trace (~> 1.7)
|
2019-09-05 06:31:47 +03:00
|
|
|
addressable (~> 2.7)
|
2020-04-09 21:32:39 +03:00
|
|
|
annotate (~> 3.1)
|
2020-09-01 03:56:53 +03:00
|
|
|
aws-sdk-s3 (~> 1.79)
|
2020-05-08 19:48:12 +03:00
|
|
|
better_errors (~> 2.7)
|
2017-05-11 12:27:01 +03:00
|
|
|
binding_of_caller (~> 0.7)
|
2019-04-27 04:24:09 +03:00
|
|
|
blurhash (~> 0.1)
|
2019-02-13 03:55:06 +02:00
|
|
|
bootsnap (~> 1.4)
|
2020-08-16 20:17:00 +03:00
|
|
|
brakeman (~> 4.9)
|
2017-06-25 17:54:30 +03:00
|
|
|
browser
|
2020-01-06 16:02:46 +02:00
|
|
|
bullet (~> 6.1)
|
2020-06-15 18:57:20 +03:00
|
|
|
bundler-audit (~> 0.7)
|
2020-05-08 22:29:03 +03:00
|
|
|
capistrano (~> 3.14)
|
2020-07-28 06:24:53 +03:00
|
|
|
capistrano-rails (~> 1.6)
|
2020-07-27 21:24:09 +03:00
|
|
|
capistrano-rbenv (~> 2.2)
|
2017-05-11 12:27:01 +03:00
|
|
|
capistrano-yarn (~> 2.0)
|
2020-06-25 11:48:40 +03:00
|
|
|
capybara (~> 3.33)
|
2019-11-27 04:53:50 +02:00
|
|
|
charlock_holmes (~> 0.7.7)
|
2019-09-24 21:28:25 +03:00
|
|
|
chewy (~> 5.1)
|
2020-03-09 01:12:52 +02:00
|
|
|
cld3 (~> 3.3.0)
|
2017-05-31 18:09:17 +03:00
|
|
|
climate_control (~> 0.2)
|
2020-07-05 19:28:25 +03:00
|
|
|
color_diff (~> 0.1)
|
2019-01-15 10:24:35 +02:00
|
|
|
concurrent-ruby
|
2019-07-02 01:34:38 +03:00
|
|
|
connection_pool
|
2019-08-26 17:04:52 +03:00
|
|
|
devise (~> 4.7)
|
2019-08-12 14:11:55 +03:00
|
|
|
devise-two-factor (~> 3.1)
|
2018-09-14 18:42:45 +03:00
|
|
|
devise_pam_authenticatable2 (~> 9.2)
|
2020-03-25 23:48:52 +02:00
|
|
|
discard (~> 1.2)
|
2020-05-12 16:25:33 +03:00
|
|
|
doorkeeper (~> 5.4)
|
2019-02-25 16:55:53 +02:00
|
|
|
dotenv-rails (~> 2.7)
|
2020-01-11 22:49:59 +02:00
|
|
|
e2mmap (~> 0.1.0)
|
2020-06-02 20:24:53 +03:00
|
|
|
ed25519 (~> 1.2)
|
2019-12-02 15:55:43 +02:00
|
|
|
fabrication (~> 2.21)
|
2020-06-30 07:18:25 +03:00
|
|
|
faker (~> 2.13)
|
2017-05-11 12:27:01 +03:00
|
|
|
fast_blank (~> 1.0)
|
2018-02-21 04:40:12 +02:00
|
|
|
fastimage
|
2018-10-22 17:58:36 +03:00
|
|
|
fog-core (<= 2.1.0)
|
|
|
|
fog-openstack (~> 0.3)
|
2019-11-11 15:05:16 +02:00
|
|
|
fuubar (~> 2.5)
|
2018-01-23 15:30:42 +02:00
|
|
|
goldfinger (~> 2.1)
|
2017-05-11 12:27:01 +03:00
|
|
|
hamlit-rails (~> 0.2)
|
2019-09-24 21:28:25 +03:00
|
|
|
health_check!
|
2017-05-11 12:27:01 +03:00
|
|
|
hiredis (~> 0.6)
|
|
|
|
htmlentities (~> 4.3)
|
2020-05-08 19:42:12 +03:00
|
|
|
http (~> 4.4)
|
2017-05-11 12:27:01 +03:00
|
|
|
http_accept_language (~> 2.1)
|
2020-06-15 17:22:01 +03:00
|
|
|
httplog (~> 1.4.3)
|
2018-10-30 02:06:47 +02:00
|
|
|
i18n-tasks (~> 0.9)
|
2017-07-15 18:24:35 +03:00
|
|
|
idn-ruby
|
2017-09-08 13:32:22 +03:00
|
|
|
iso-639
|
2020-01-13 20:01:43 +02:00
|
|
|
json-ld
|
2020-02-10 14:26:53 +02:00
|
|
|
json-ld-preloaded (~> 3.1)
|
2020-05-04 14:53:42 +03:00
|
|
|
kaminari (~> 1.2)
|
2018-12-11 07:34:02 +02:00
|
|
|
letter_opener (~> 1.7)
|
2020-02-10 13:28:22 +02:00
|
|
|
letter_opener_web (~> 1.4)
|
2017-05-11 12:27:01 +03:00
|
|
|
link_header (~> 0.0)
|
2019-04-21 05:49:05 +03:00
|
|
|
lograge (~> 0.11)
|
2018-08-18 22:06:12 +03:00
|
|
|
makara (~> 0.4)
|
2017-07-19 15:44:04 +03:00
|
|
|
mario-redis-lock (~> 1.2)
|
2018-02-22 00:21:32 +02:00
|
|
|
memory_profiler
|
2020-01-05 03:25:07 +02:00
|
|
|
microformats (~> 4.2)
|
|
|
|
mime-types (~> 3.3.1)
|
2019-11-27 14:33:20 +02:00
|
|
|
net-ldap (~> 0.16)
|
2019-07-13 17:45:50 +03:00
|
|
|
nilsimsa!
|
2019-01-08 15:10:30 +02:00
|
|
|
nokogiri (~> 1.10)
|
2017-09-29 04:16:44 +03:00
|
|
|
nsa (~> 0.2)
|
2019-12-23 23:35:04 +02:00
|
|
|
oj (~> 3.10)
|
2018-12-17 11:15:14 +02:00
|
|
|
omniauth (~> 1.9)
|
2018-02-04 06:42:13 +02:00
|
|
|
omniauth-cas (~> 1.1)
|
2018-03-02 03:32:08 +02:00
|
|
|
omniauth-saml (~> 1.10)
|
2020-03-31 13:42:17 +03:00
|
|
|
ox (~> 2.13)
|
2018-03-24 13:52:45 +02:00
|
|
|
paperclip (~> 6.0)
|
2017-05-11 12:27:01 +03:00
|
|
|
paperclip-av-transcoder (~> 0.6)
|
2019-11-27 13:49:19 +02:00
|
|
|
parallel (~> 1.19)
|
2020-09-01 03:55:16 +03:00
|
|
|
parallel_tests (~> 3.2)
|
2019-07-27 05:42:08 +03:00
|
|
|
parslet
|
2019-12-30 17:21:51 +02:00
|
|
|
pg (~> 1.2)
|
2020-08-06 18:34:12 +03:00
|
|
|
pghero (~> 2.7)
|
2019-10-28 13:48:08 +02:00
|
|
|
pkg-config (~> 1.4)
|
2020-07-28 18:59:29 +03:00
|
|
|
posix-spawn
|
2018-01-16 04:29:11 +02:00
|
|
|
premailer-rails
|
2018-09-21 01:42:59 +03:00
|
|
|
private_address_check (~> 0.5)
|
2020-05-08 19:52:57 +03:00
|
|
|
pry-byebug (~> 3.9)
|
2017-05-11 12:27:01 +03:00
|
|
|
pry-rails (~> 0.3)
|
2019-12-06 20:44:09 +02:00
|
|
|
puma (~> 4.3)
|
2019-08-19 16:36:45 +03:00
|
|
|
pundit (~> 2.1)
|
2020-06-17 07:30:57 +03:00
|
|
|
rack (~> 2.2.3)
|
2020-05-08 18:44:24 +03:00
|
|
|
rack-attack (~> 6.3)
|
2019-11-27 04:59:57 +02:00
|
|
|
rack-cors (~> 1.1)
|
2020-05-25 15:02:19 +03:00
|
|
|
rails (~> 5.2.4.3)
|
2017-05-11 12:27:01 +03:00
|
|
|
rails-controller-testing (~> 1.0)
|
2018-04-12 15:45:17 +03:00
|
|
|
rails-i18n (~> 5.1)
|
2017-05-11 12:27:01 +03:00
|
|
|
rails-settings-cached (~> 0.6)
|
2020-01-11 00:02:16 +02:00
|
|
|
rdf-normalize (~> 0.4)
|
2019-05-12 21:20:05 +03:00
|
|
|
redcarpet (~> 3.4)
|
2020-06-15 17:11:20 +03:00
|
|
|
redis (~> 4.2)
|
2020-08-25 14:57:44 +03:00
|
|
|
redis-namespace (~> 1.8)
|
2017-05-11 12:27:01 +03:00
|
|
|
redis-rails (~> 5.0)
|
2020-01-11 12:51:04 +02:00
|
|
|
rqrcode (~> 1.1)
|
2020-04-02 19:54:41 +03:00
|
|
|
rspec-rails (~> 4.0)
|
2020-06-25 11:47:34 +03:00
|
|
|
rspec-sidekiq (~> 3.1)
|
2020-05-01 21:19:01 +03:00
|
|
|
rspec_junit_formatter (~> 0.4)
|
2020-09-01 04:04:00 +03:00
|
|
|
rubocop (~> 0.88)
|
2020-06-15 17:26:27 +03:00
|
|
|
rubocop-rails (~> 2.6)
|
2019-09-10 14:48:48 +03:00
|
|
|
ruby-progressbar (~> 1.10)
|
2020-06-08 09:02:10 +03:00
|
|
|
sanitize (~> 5.2)
|
2020-07-28 18:54:00 +03:00
|
|
|
sidekiq (~> 6.1)
|
2018-11-22 13:47:36 +02:00
|
|
|
sidekiq-bulk (~> 0.2.0)
|
2018-09-26 20:11:21 +03:00
|
|
|
sidekiq-scheduler (~> 3.0)
|
2019-01-14 11:18:55 +02:00
|
|
|
sidekiq-unique-jobs (~> 6.0)
|
2019-08-19 19:49:17 +03:00
|
|
|
simple-navigation (~> 4.1)
|
2019-10-30 12:00:41 +02:00
|
|
|
simple_form (~> 5.0)
|
2020-08-20 23:31:28 +03:00
|
|
|
simplecov (~> 0.19)
|
2020-01-05 03:25:07 +02:00
|
|
|
sprockets (~> 3.7.2)
|
2017-05-11 12:27:01 +03:00
|
|
|
sprockets-rails (~> 3.2)
|
2018-05-02 19:58:48 +03:00
|
|
|
stackprof
|
2020-07-27 21:00:35 +03:00
|
|
|
stoplight (~> 2.2.1)
|
2018-02-16 08:22:20 +02:00
|
|
|
streamio-ffmpeg (~> 3.0)
|
2020-07-28 20:18:59 +03:00
|
|
|
strong_migrations (~> 0.7)
|
2018-08-26 21:02:32 +03:00
|
|
|
thor (~> 0.20)
|
2020-07-28 01:01:59 +03:00
|
|
|
thwait (~> 0.2.0)
|
2020-07-28 18:51:15 +03:00
|
|
|
tty-prompt (~> 0.22)
|
2017-05-11 12:27:01 +03:00
|
|
|
twitter-text (~> 1.14)
|
2020-05-08 19:50:36 +03:00
|
|
|
tzinfo-data (~> 1.2020)
|
Add WebAuthn as an alternative 2FA method (#14466)
* feat: add possibility of adding WebAuthn security keys to use as 2FA
This adds a basic UI for enabling WebAuthn 2FA. We did a little refactor
to the Settings page for editing the 2FA methods – now it will list the
methods that are available to the user (TOTP and WebAuthn) and from
there they'll be able to add or remove any of them.
Also, it's worth mentioning that for enabling WebAuthn it's required to
have TOTP enabled, so the first time that you go to the 2FA Settings
page, you'll be asked to set it up.
This work was inspired by the one donde by Github in their platform, and
despite it could be approached in different ways, we decided to go with
this one given that we feel that this gives a great UX.
Co-authored-by: Facundo Padula <facundo.padula@cedarcode.com>
* feat: add request for WebAuthn as second factor at login if enabled
This commits adds the feature for using WebAuthn as a second factor for
login when enabled.
If users have WebAuthn enabled, now a page requesting for the use of a
WebAuthn credential for log in will appear, although a link redirecting
to the old page for logging in using a two-factor code will also be
present.
Co-authored-by: Facundo Padula <facundo.padula@cedarcode.com>
* feat: add possibility of deleting WebAuthn Credentials
Co-authored-by: Facundo Padula <facundo.padula@cedarcode.com>
* feat: disable WebAuthn when an Admin disables 2FA for a user
Co-authored-by: Facundo Padula <facundo.padula@cedarcode.com>
* feat: remove ability to disable TOTP leaving only WebAuthn as 2FA
Following examples form other platforms like Github, we decided to make
Webauthn 2FA secondary to 2FA with TOTP, so that we removed the
possibility of removing TOTP authentication only, leaving users with
just WEbAuthn as 2FA. Instead, users will have to click on 'Disable 2FA'
in order to remove second factor auth.
The reason for WebAuthn being secondary to TOPT is that in that way,
users will still be able to log in using their code from their phone's
application if they don't have their security keys with them – or maybe
even lost them.
* We had to change a little the flow for setting up TOTP, given that now
it's possible to setting up again if you already had TOTP, in order to
let users modify their authenticator app – given that now it's not
possible for them to disable TOTP and set it up again with another
authenticator app.
So, basically, now instead of storing the new `otp_secret` in the
user, we store it in the session until the process of set up is
finished.
This was because, as it was before, when users clicked on 'Edit' in
the new two-factor methods lists page, but then went back without
finishing the flow, their `otp_secret` had been changed therefore
invalidating their previous authenticator app, making them unable to
log in again using TOTP.
Co-authored-by: Facundo Padula <facundo.padula@cedarcode.com>
* refactor: fix eslint errors
The PR build was failing given that linting returning some errors.
This commit attempts to fix them.
* refactor: normalize i18n translations
The build was failing given that i18n translations files were not
normalized.
This commits fixes that.
* refactor: avoid having the webauthn gem locked to a specific version
* refactor: use symbols for routes without '/'
* refactor: avoid sending webauthn disabled email when 2FA is disabled
When an admins disable 2FA for users, we were sending two mails
to them, one notifying that 2FA was disabled and the other to notify
that WebAuthn was disabled.
As the second one is redundant since the first email includes it, we can
remove it and send just one email to users.
* refactor: avoid creating new env variable for webauthn_origin config
* refactor: improve flash error messages for webauthn pages
Co-authored-by: Facundo Padula <facundo.padula@cedarcode.com>
2020-08-24 17:46:27 +03:00
|
|
|
webauthn (~> 3.0.0.alpha1)
|
2020-01-20 13:46:03 +02:00
|
|
|
webmock (~> 3.8)
|
2020-08-20 23:23:52 +03:00
|
|
|
webpacker (~> 5.2)
|
2017-07-13 23:15:32 +03:00
|
|
|
webpush
|