docker-gitlab: Two factor auth has error
Hi,
I set GITLAB_SECRETS_OTP_KEY_BASE=generated-token
thereafter open /profile/two_factor_auth
then Gitlab throw error 500
production.log:
Started GET "/profile/two_factor_auth" for 192.168.11.197 at 2016-08-24 10:52:24 +0430
Processing by Profiles::TwoFactorAuthsController#show as HTML
Completed 500 Internal Server Error in 57ms (ActiveRecord: 3.7ms)
OpenSSL::Cipher::CipherError (bad decrypt):
app/controllers/profiles/two_factor_auths_controller.rb:5:in `show'
lib/gitlab/request_profiler/middleware.rb:15:in `call'
lib/gitlab/middleware/go.rb:16:in `call'
Could you help me, please.
About this issue
- Original URL
- State: closed
- Created 8 years ago
- Reactions: 1
- Comments: 31 (13 by maintainers)
@SolidNerd I used TFA before 8.11.0. Before I had only
GITLAB_SECRETS_DB_KEY_BASE
, so for the upgrade I also added aGITLAB_SECRETS_SECRET_KEY_BASE
andGITLAB_SECRETS_OTP_KEY_BASE
.@SolidNerd will do, this was kind of a mess before so the upgrade can be tricky. Sorry for the confusion in what these actually do.
@dominikschulz @atkrad @adamlc no problem, glad it was that easy to resolve!
Opened an Issue with GitLab, as I’m not sure if this is related to docker-gitlab or GitLab itself: https://gitlab.com/gitlab-org/gitlab-ce/issues/21348
@dominikschulz the query didn’t seem to work for me. Its still erroring on
/profile/two_factor_auth
😦