gitlab-org--gitlab-foss/app
Stan Hu 61df812ac6 Fix attr_encryption key settings
attr_encrypted does different things with `key` depending on what mode you are using:

1. In `:per_attribute_iv_and_salt` mode, it generates a hash with the salt:
c3a62c4a9e/lib/encryptor.rb (L77).
There is no need to truncate the key to 32 bytes here.

2. In `:per_attribute_iv` mode, it sets the key directly to the password, so
truncation to 32 bytes is necessary.

Closes #47166
2018-06-02 05:24:59 -07:00
..
assets Fix bootstrap 4 file inputs 2018-06-01 21:58:00 +00:00
controllers Merge branch '46010-add-more-validations-for-runners-and-runner-type' into 'master' 2018-06-01 12:43:43 +00:00
finders Export assigned issues in iCalendar feed 2018-05-31 14:01:04 +00:00
helpers Eliminate constants warnings by: 2018-06-01 13:46:46 +08:00
mailers Plural reason(s) 2018-05-18 09:50:01 +08:00
models Fix attr_encryption key settings 2018-06-02 05:24:59 -07:00
policies
presenters Removes redundant error message for script failures 2018-05-24 15:14:28 -05:00
serializers Merge branch '46487-add-support-for-jupyter-in-gitlab-via-kubernetes' into 'master' 2018-06-01 07:58:18 +00:00
services Remove ambiguity in Group class causing build failures 2018-06-01 11:18:18 -07:00
uploaders Fix missing timeout value in object storage pre-authorization call 2018-05-29 19:01:05 +02:00
validators Add validation to webhook and service URLs to ensure they are not blocked because of SSRF 2018-06-01 11:43:53 +00:00
views Adds "the" to the new label page to correct the sentence. 2018-06-01 16:41:31 +00:00
workers Merge branch '38759-fetch-available-parameters-directly-from-gke-when-creating-a-cluster' into 'master' 2018-05-29 11:27:03 +00:00