Skip to content

docs: Document the file format used by the server - #649

Merged
bilelmoussaoui merged 1 commit into
mainfrom
bilelmoussaoui/docs
Nov 11, 2026
Merged

bilelmoussaoui merged 1 commit into
mainfrom
bilelmoussaoui/docs

Conversation

@bilelmoussaoui

Copy link
Copy Markdown
Collaborator

cc @ueno

@github-actions

github-actions Bot commented Nov 8, 2026

Copy link
Copy Markdown

📊 Code Coverage Report

Metric Value
Current PR Coverage 84.22%
Main Branch Coverage 84.19%
Coverage Change 📈 +0.03%

Coverage report generated by cargo-tarpaulin

@ueno ueno left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good to me, thanks!

Comment thread client/src/file/mod.rs
//!
//! The key is derived from the password with PBKDF2-HMAC-SHA256, using at
//! least 100000 iterations and a 32 bytes salt. Items are encrypted with
//! AES-128-CBC, with PKCS#7 padding and a random IV, and the same key is used

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I misremember it was AES-256-CBC, but yes, this looks correct. That means we might want to update it to AES-256-CBC and SHA384 or SHA512 at some point to be compliant with CNSA 2.0 (i.e., PQC).

@bilelmoussaoui
bilelmoussaoui merged commit 4c2d1cf into main Nov 11, 2026
17 checks passed
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.

2 participants