Page MenuHomePhabricator

[backup-client] avoid adding `attachments` when uploading User Keys
DraftPublic

Authored by kamil on Thu, Nov 14, 8:03 AM.
This is a draft revision that has not yet been submitted for review.

Details

Reviewers
bartek
tomek
Summary

ENG-9656.

On backup service, we parse multipart in sequence, so we're going to read attachments and as a result set siwe_backup_msg to None even if this is present.

The alternative is to completely refactor how we parse Multipart on the service side - but this is quick and clean, as attachments are present only if we have User Data.

Test Plan

Run commtest

Diff Detail

Repository
rCOMM Comm
Branch
publish-client-backup
Lint
No Lint Coverage
Unit
No Test Coverage