A caller of the Blob API should be able to choose what needs to be uploaded, e.g. if the payload should be encrypted. This diff allows more flexibility while the old behavior isn't changed.
Depends on D9937
Paths
| Differential D9940 Authored by tomek on Nov 21 2023, 5:55 AM.
Details Summary A caller of the Blob API should be able to choose what needs to be uploaded, e.g. if the payload should be encrypted. This diff allows more flexibility while the old behavior isn't changed. Depends on D9937 Test Plan Flow. Check if calling the new function has the same result as the old one (using some console logs, with the same initialization vectors). Also tested if throwing exceptions while uploading produces the correct result.
Diff Detail
Event TimelineHerald added a subscriber: ashoat. · View Herald TranscriptNov 21 2023, 5:55 AM2023-11-21 05:55:11 (UTC-8) tomek edited the test plan for this revision. (Show Details)Nov 21 2023, 6:03 AM2023-11-21 06:03:41 (UTC-8) Harbormaster completed remote builds in B24304: Diff 33456.Nov 21 2023, 6:15 AM2023-11-21 06:15:11 (UTC-8)
Harbormaster completed remote builds in B24369: Diff 33549.Nov 23 2023, 5:03 AM2023-11-23 05:03:18 (UTC-8) This revision is now accepted and ready to land.Nov 23 2023, 6:51 AM2023-11-23 06:51:26 (UTC-8) Harbormaster completed remote builds in B24384: Diff 33577.Nov 24 2023, 4:38 AM2023-11-24 04:38:12 (UTC-8) Closed by commit rCOMM9213ad529af3: [keyserver] Split blob encryption and upload into separate functions (authored by tomek). · Explain WhyNov 24 2023, 4:51 AM2023-11-24 04:51:40 (UTC-8) This revision was automatically updated to reflect the committed changes.
Revision Contents
Diff 33580 keyserver/src/push/crypto.js
keyserver/src/push/utils.js
keyserver/src/services/blob.js
|