1
0
Fork 0
mirror of https://we.phorge.it/source/phorge.git synced 2024-09-21 09:48:47 +02:00
phorge-phorge/src/applications/phriction
epriestley 3a3626834e Replace Remarkup calls to PhabricatorHash::digest() with SHA256
Summary:
Ref T12509. Many of the calls to HMAC+SHA1 are just to compute cachekeys for remarkup objects.

Make these use HMAC+SHA256 instead. There is no downside to swapping these since they just cause a cache miss in the worst case.

I also plan to get rid of `PhabricatorMarkupInterface` eventually, but this doesn't go that far.

Test Plan: Browsed some different types of documents (tasks, legalpad documents, phame blogs / posts, pholio mocks, etc).

Reviewers: chad

Reviewed By: chad

Maniphest Tasks: T12509

Differential Revision: https://secure.phabricator.com/D17631
2017-04-06 15:43:18 -07:00
..
application Make Phriction previews of the root document work correctly 2016-07-08 07:28:39 -07:00
conduit Fix errors found by PHPStan 2017-02-17 10:10:15 +00:00
config Move FontIcon calls to Icon 2016-01-28 08:48:45 -08:00
constants Extend from Phobject 2015-06-15 18:02:27 +10:00
controller Fix Phriction document move on to existing document placeholder 2016-10-18 11:58:24 +00:00
editor Fix Phriction document move on to existing document placeholder 2016-10-18 11:58:24 +00:00
herald Make Herald test workflow modular and more clear 2016-08-03 16:12:33 -07:00
mail phtize all the things 2015-05-22 21:16:39 +10:00
markup Fix parsing of anchors in Phriction document link syntax 2016-06-08 13:14:33 -07:00
phid Mark PhabricatorPHIDType::getPHIDTypeApplicationClass() as abstract 2015-11-03 06:47:12 +11:00
query Update PhrictionSearchEngine, implement Projects 2016-09-08 17:23:37 -07:00
search Convert all "DocumentIndexers" into "FulltextEngines" 2015-12-21 17:25:23 -08:00
storage Replace Remarkup calls to PhabricatorHash::digest() with SHA256 2017-04-06 15:43:18 -07:00