Skip to content

Delete files securely after encrypted .age file is created #9

Closed

Description

@viktor3002

Ideally this contains:

  • remembering all files that were written
  • overwriting them with 0s. Multiple times?
  • trunkating the file length to hide the original
  • deleting it

Ideal alternative: create an in memory file system and store everything there

Activity

  1. added this to the v1 milestone on Jul 17, 2023
  2. besendorf commented on Aug 28, 2025

    @besendorf
    Collaborator

    I made a first PoC of an in memory solution here: https://github.com/mvt-project/androidqf/tree/memfs
    However after thinking about it a bit I don't think this approach works well.

    • we dont know how much memory is needed before the aquisition. We can guess but if we get swapped it defeats the purpose
      Best would be to directly stream into an age file. Will try to implement this next.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions