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

Built-in Compression #15

Open
matheus23 opened this issue Feb 13, 2023 · 0 comments
Open

Built-in Compression #15

matheus23 opened this issue Feb 13, 2023 · 0 comments
Labels

Comments

@matheus23
Copy link
Member

matheus23 commented Feb 13, 2023

Summary

Implementation of compression built-in to WNFS.

Problem / Need / Opportunity

Compressing private data after encryption is ineffective, so this puts the burden of dealing with compression on users instead of services that store user WNFS data.
There is an opportunity to support compression on the protocol level, similar to ZFS compression.

Success Scenario

Implementations of WNFS can decide to transparently compress user data without them needing to know, leading to faster writes, faster reads and less memory and bandwidth usage.

Notes

To be considered is the security impact of compression. E.g. if an attacker effectively has an encryption oracle for the first half of a file and the data is compressed before it's encrypted, it may be possible for an attacker to "guess" words from the second half of the file and thus populate a compression dictionary and observe the impact that has on the ciphertext length.

Banyan.Computer is interested in this, please feel free to reach out if you are too.

ETA: 2024-06-30

@matheus23 matheus23 changed the title Built-in compression Built-in Compression Feb 13, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
Status: Considerations
Development

No branches or pull requests

2 participants