Skip to content

Update implementation to use compositional generator/parser pairs #1

Closed
@aryanjassal

Description

@aryanjassal

Specification

This is an old repo which was originally forked. This is the older implementation, which we need to change to support using compositional generators to archive the file trees into a single file, which can be streamed.

Additional context

Directly related to MatrixAI/Polykey#811

Tasks

  1. Make sure the repo is non-ESM
  2. Get inspiration from https://github.com/MatrixAI/js-encryptedfs
  3. Use nested/compositional generators/parsers
  4. Rely on provided implementation for fs to allow usage of efs
  5. Add CI
  6. Expose appropriate types/methods
  7. The code shouldn't buffer anything - the buffer should be configurable. It should just be chunking stuff up.
  8. The block size should also be configurable, however the default is 512 bytes per block.

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions