HomePhabricator

Fix file encoding migration

Description

Fix file encoding migration

Summary:
See Discourse

When migrating to aes-256-cbc, integrity hashes were not updated, so data was not properly

Test Plan:
I ran this test script to ensure it worked.
I created some files with lipsum, ensured that after encoding them with aes-256-cbc, they were not able to be cat'd.
After applying this patch and rerunning the script, it worked successfully.

Reviewers: epriestley, amckinley, Blessed Reviewers

Reviewed By: epriestley, Blessed Reviewers

Subscribers: Korvin

Tags: Files, #storage

Differential Revision: https://secure.phabricator.com/D19533

Details

Provenance
kaendfinger2Authored on Jul 23 2018, 10:40 PM
kaendfinger2Pushed on Jul 23 2018, 10:41 PM
Reviewer
Blessed Reviewers
Differential Revision
D19533: Fix file encoding migration
Parents
rP6b6e1f0ba890: Fix Lipsum generators for Differential Revisions and Pastes
Branches
Unknown
Tags
Unknown
Build Status
Buildable 20505
Build 27847: Run Core Tests