diff --git a/Gemfile b/Gemfile
index ee6072b2da17fa0e9f605bcf3f11a02227f9493c..a62abf2bada57d26691112c1d5f823b26f438f5b 100644
--- a/Gemfile
+++ b/Gemfile
@@ -37,7 +37,7 @@ gem "rack-oauth2", "~> 1.0.5"
 # Two-factor authentication
 gem 'devise-two-factor'
 gem 'rqrcode-rails3'
-gem 'attr_encrypted', git: 'https://github.com/attr-encrypted/attr_encrypted.git', ref: '94d901df2ccbc579b981091d53dd641f9bed4c1d'
+gem 'attr_encrypted', '1.3.4'
 
 # Browser detection
 gem "browser"
diff --git a/Gemfile.lock b/Gemfile.lock
index 672bd9950edf9cbcc9f5ed89099dd854a4d6c5e7..0ea8021815d75645a60834a452ccd2d06252c990 100644
--- a/Gemfile.lock
+++ b/Gemfile.lock
@@ -1,11 +1,3 @@
-GIT
-  remote: https://github.com/attr-encrypted/attr_encrypted.git
-  revision: 94d901df2ccbc579b981091d53dd641f9bed4c1d
-  ref: 94d901df2ccbc579b981091d53dd641f9bed4c1d
-  specs:
-    attr_encrypted (1.3.3)
-      encryptor (>= 1.3.0)
-
 GEM
   remote: https://rubygems.org/
   specs:
@@ -54,6 +46,8 @@ GEM
     ast (2.0.0)
     astrolabe (1.3.0)
       parser (>= 2.2.0.pre.3, < 3.0)
+    attr_encrypted (1.3.4)
+      encryptor (>= 1.3.0)
     attr_required (1.0.0)
     autoprefixer-rails (5.1.11)
       execjs
@@ -690,7 +684,7 @@ DEPENDENCIES
   annotate (~> 2.6.0.beta2)
   asana (~> 0.0.6)
   asciidoctor (= 0.1.4)
-  attr_encrypted!
+  attr_encrypted (= 1.3.4)
   awesome_print
   better_errors
   binding_of_caller