Skip to content

Compresion#6

Merged
unprovable merged 3 commits into
mainfrom
compresion
May 26, 2026
Merged

Compresion#6
unprovable merged 3 commits into
mainfrom
compresion

Conversation

@unprovable

Copy link
Copy Markdown
Owner

Added compression option to ShadowCat. This has some breaking changes for old code, notably that there is now a 'flags' field, which tells the receiver if the file is compressed. However, this futureproofs the protocol for adding more features/ideas later! Break early, I guess... 😅

Anyway, compression is now optional; if checked, the file is compressed and compared to its original length. If it adds length, the compression is skipped. Else, the compressed version of the file is sent, but the CRC check is for the original file. So, if compressed, the receiver uncompresses it and reads the output, else it just parses the output.

Tests, tools, and docs updated.

@unprovable unprovable self-assigned this May 26, 2026
@unprovable unprovable merged commit 9fdc4fb into main May 26, 2026
@unprovable unprovable deleted the compresion branch May 26, 2026 13:49
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant