Increase max size for sticker manifest

This commit is contained in:
Moxie Marlinspike
2019-12-19 10:17:14 -08:00
parent 940bd55079
commit 71c7e30548
2 changed files with 2 additions and 2 deletions

View File

@@ -50,7 +50,7 @@ public class StickerController {
String packId = generatePackId();
String packLocation = "stickers/" + packId;
String manifestKey = packLocation + "/manifest.proto";
Pair<String, String> manifestPolicy = policyGenerator.createFor(now, manifestKey, 1024);
Pair<String, String> manifestPolicy = policyGenerator.createFor(now, manifestKey, 10240);
String manifestSignature = policySigner.getSignature(now, manifestPolicy.second());
StickerPackFormUploadItem manifest = new StickerPackFormUploadItem(-1, manifestKey, manifestPolicy.first(), "private", "AWS4-HMAC-SHA256",
now.format(PostPolicyGenerator.AWS_DATE_TIME), manifestPolicy.second(), manifestSignature);