chore(desktop): M9-audit batch H — lean deletions (-445 lines, -13 deps) #192

Merged
amiryahaya merged 1 commit from chore/m9-audit-lean into main 2026-11-12 08:37:04 +01:00
Owner

Umbrella #167 lean items. 13 unused npm deps (verified zero imports); dead Rust code (always-error sign_data placeholder, unused derive_* KDF helpers, enc_salt scaffold, new_in_memory, duplicate registration); dead login/register mock cases. Zeroize deltas reviewed + declined with rationale (see PR body in commit). Rust 44/44, desktop 1313/1skip.

Umbrella #167 lean items. 13 unused npm deps (verified zero imports); dead Rust code (always-error sign_data placeholder, unused derive_* KDF helpers, enc_salt scaffold, new_in_memory, duplicate registration); dead login/register mock cases. Zeroize deltas reviewed + declined with rationale (see PR body in commit). Rust 44/44, desktop 1313/1skip.
chore(desktop): M9-audit batch H — lean deletions
All checks were successful
Security CI / security-scan (pull_request) Successful in 3m42s
f72f27f3e8
13 unused npm deps removed (verified zero imports incl. dynamic/string/
CSS refs): 9 radix packages, @tauri-apps/plugin-notification,
react-dropzone, react-hook-form, zod.

Dead Rust code: crypto_service sign_data placeholder (always errored;
the LIVE signer is commands::crypto::sign_data -> device_service),
derive_auth_key/derive_encryption_key/derive_encryption_key_with_salt
(zero callers) + their now-unused imports, enc_salt scaffold (keyring
const/fns/clear entry + KeyBundle field — nothing read or wrote it),
Database::new_in_memory, duplicate preview_pairing registration.

Dead test mocks: login/register cases (no such Rust commands since the
SSDID session model).

Reviewed, declined (rationale): zeroize deltas in pairing_service
(source KeyPair type doesn't zeroize — the clone is not the dominant
exposure) and api_client get_auth_token (IPC return requires the
String copy).

Rust 44/44, desktop suite green.
amiryahaya force-pushed chore/m9-audit-lean from f72f27f3e8
All checks were successful
Security CI / security-scan (pull_request) Successful in 3m42s
to 003490339a
All checks were successful
Security CI / security-scan (pull_request) Successful in 3m6s
API CI / build-and-test (pull_request) Successful in 13m37s
2026-11-12 08:06:12 +01:00
Compare
Sign in to join this conversation.
No description provided.