mirror of
https://we.phorge.it/source/phorge.git
synced 2024-12-20 04:20:55 +01:00
440ef5b7a7
Summary: Ref T12464. We currently use SHA1 to detect when two files have the same content so we don't have to store two copies of the data. Now that a SHA1 collision is known, this is theoretically dangerous. T12464 describes the shape of a possible attack. Before replacing this with something more robust, shore things up so things work correctly if we don't hash at all. This mechanism is entirely optional; it only helps us store less data if some files are duplicates. (This mechanism is also less important now than it once was, before we added temporary files.) Test Plan: Uploaded multiple identical files, saw the uploads work and the files store separate copies of the same data. Reviewers: chad Reviewed By: chad Maniphest Tasks: T12464 Differential Revision: https://secure.phabricator.com/D17619 |
||
---|---|---|
.. | ||
FileAllocateConduitAPIMethod.php | ||
FileConduitAPIMethod.php | ||
FileDownloadConduitAPIMethod.php | ||
FileInfoConduitAPIMethod.php | ||
FileQueryChunksConduitAPIMethod.php | ||
FileUploadChunkConduitAPIMethod.php | ||
FileUploadConduitAPIMethod.php | ||
FileUploadHashConduitAPIMethod.php | ||
PhabricatorFileSearchConduitAPIMethod.php |