Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Track in database which files/messages/replies are decrypted #117

Closed
redshiftzero opened this issue Nov 6, 2018 · 1 comment
Closed
Assignees
Labels
component/storage help wanted Extra attention is needed

Comments

@redshiftzero
Copy link
Contributor

redshiftzero commented Nov 6, 2018

Part of #231.

Right now we track whether or not a submission is downloaded in the database (in a column not surprisingly called is_downloaded). We should also track which files were successfully decrypted via a column called is_decrypted. This should go on both the Submission and Reply tables.

This is needed for the following situation:

  1. User starts download of large file
  2. Download finishes
  3. Decryption of download fails for some reason

At this point, we don't really want to have to download the entire file again to attempt a decryption, so we should save all files that successfully download as such locally, and then mark whether or not decryption completed (what to do if decryption fails is not a part of this ticket).

@redshiftzero redshiftzero added help wanted Extra attention is needed component/storage labels Nov 6, 2018
@redshiftzero redshiftzero added this to the 0.1.0beta milestone Nov 6, 2018
@redshiftzero redshiftzero self-assigned this Mar 7, 2019
@heartsucker
Copy link
Contributor

Closed by #262.

legoktm pushed a commit that referenced this issue Dec 11, 2023
Bump version to 0.4.1, add changelog
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
component/storage help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

2 participants