google / recursive-version-control-system

Apache License 2.0
25 stars 7 forks source link

Support age encryption for the large-files portion of the archive #9

Closed ojarjur closed 1 year ago

ojarjur commented 1 year ago

The rvcs local file storage uses two separate subdirectories for storing data:

  1. objects for objects less than 1MB in size.
  2. largeObjects for all objects larger than 1MB.

This is so that the largeObjects subdirectory can be made into a symlink pointing to an external storage service (such as an external drive or network-attached-storage), and prevent the rvcs archive from taking up all of the space on your local disk.

However, you probably want files to be encrypted before being written to an external storage system, so we should support that.