Skip to content

Commit 06536b5

Browse files
committed
Migrate to AES-256-XTS, KDF & WebDAV improvements
Replace AES-CTR with AES-256-XTS cipher implementation and tests; update KDF to derive 64-byte keys for XTS. Integrate file cache into WebDAV filesystem, improve file read/write/flush error handling, and make WebDAV use the XTS cipher. Add cross-platform OS helpers to auto-open/mount the DAV endpoint (linux/macos/windows) and graceful shutdown with signal handling in main.rs. Add a GitHub release workflow and include secure_volume assets. Update Cargo.toml to add xts-mode and dashmap and adjust related deps.
1 parent 8ef99f1 commit 06536b5

21 files changed

Lines changed: 1700 additions & 734 deletions

File tree

.github/workflows/release.yml

Lines changed: 40 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,40 @@
1+
name: Build Release Binaries
2+
3+
on:
4+
push:
5+
tags:
6+
- 'v*' # Se lance quand vous créez un tag type "v1.0"
7+
8+
jobs:
9+
build:
10+
name: Build on ${{ matrix.os }}
11+
runs-on: ${{ matrix.os }}
12+
strategy:
13+
matrix:
14+
include:
15+
- os: windows-latest
16+
target: x86_64-pc-windows-msvc
17+
name: dspv-windows.exe
18+
- os: ubuntu-latest
19+
target: x86_64-unknown-linux-gnu
20+
name: dspv-linux
21+
- os: macos-latest
22+
target: x86_64-apple-darwin
23+
name: dspv-macos
24+
25+
steps:
26+
- uses: actions/checkout@v3
27+
28+
- name: Install Rust
29+
uses: dtolnay/rust-toolchain@stable
30+
with:
31+
targets: ${{ matrix.target }}
32+
33+
- name: Build target
34+
run: cargo build --release --target ${{ matrix.target }}
35+
36+
- name: Upload artifact
37+
uses: actions/upload-artifact@v3
38+
with:
39+
name: ${{ matrix.name }}
40+
path: target/${{ matrix.target }}/release/Dynamic-Secure-Portable-Volume${{ matrix.os == 'windows-latest' && '.exe' || '' }}

0 commit comments

Comments
 (0)