v0.2.6-pre.006-fix.001
This commit is contained in:
118
deltas/0.2.6/pre.006-fix.001.md
Normal file
118
deltas/0.2.6/pre.006-fix.001.md
Normal file
@@ -0,0 +1,118 @@
|
||||
<!-- file: deltas/0.2.6/pre.006-fix.001.md -->
|
||||
<!-- version: 1 -->
|
||||
|
||||
# Delta `0.2.6-pre.006-fix.001` — correction des canaris statiques de projection autorisée
|
||||
|
||||
## Base requise
|
||||
|
||||
```text
|
||||
0.2.6-pre.006 appliquée
|
||||
workspace.package.version = 0.2.6-pre.6
|
||||
```
|
||||
|
||||
La validation opérateur confirme :
|
||||
|
||||
```text
|
||||
cargo fmt --all OK
|
||||
python3 scripts/audit_rust_workspace_rules.py clean
|
||||
cargo check --workspace OK
|
||||
cargo clippy --workspace --all-targets OK
|
||||
cargo test -p ksp-app-wallet-desk 2 canaris desktop_security en échec
|
||||
```
|
||||
|
||||
Les deux échecs viennent du même défaut du test : `WalletAuthorizedDto` contient la documentation sûre
|
||||
`Number of effective Config-owned Wallet password candidates...` pour `configured_secret_candidate_count`. Le canari recherchait le token `password` dans toute la portion textuelle de la structure, commentaires compris, et l'interprétait donc comme une fuite de champ.
|
||||
|
||||
## Type de livraison
|
||||
|
||||
```text
|
||||
ksp-general-0.2.6-pre.006-fix.001.zip
|
||||
```
|
||||
|
||||
Le fix modifie un test Rust et le signal de version technique devient :
|
||||
|
||||
```text
|
||||
workspace.package.version = 0.2.6-pre.6.fix.1
|
||||
commit = v0.2.6-pre.006-fix.001
|
||||
```
|
||||
|
||||
`ksp-app-wallet-desk/package.json` et `tauri.conf.json` suivent `0.2.6-pre.6.fix.1`.
|
||||
|
||||
## Correction
|
||||
|
||||
Les tests :
|
||||
|
||||
```text
|
||||
create_passwords_are_request_only_and_protected_projection_is_purged
|
||||
unlock_passwords_and_config_secret_names_never_cross_rust_to_frontend
|
||||
```
|
||||
|
||||
continuent de localiser `WalletAuthorizedDto`, mais ils bornent maintenant l'inspection à son corps puis ne considèrent que les lignes de champs Rust commençant par `pub(crate)`.
|
||||
|
||||
Le contrat reste donc strict :
|
||||
|
||||
```text
|
||||
WalletAuthorizedDto peut documenter la notion de password candidat
|
||||
WalletAuthorizedDto ne peut exposer aucun champ password
|
||||
WalletCreateRequestDto conserve owner_password/view_password en entrée uniquement
|
||||
WalletUnlockRequestDto conserve password en entrée uniquement
|
||||
les noms/suffixes/valeurs KSP_SECRET_WALLET_PASS_* restent hors frontend
|
||||
```
|
||||
|
||||
Aucun `#[allow]` n'est ajouté et aucune assertion de sécurité n'est supprimée.
|
||||
|
||||
## Fichiers ajoutés
|
||||
|
||||
```text
|
||||
deltas/0.2.6/pre.006-fix.001.md
|
||||
```
|
||||
|
||||
## Fichiers modifiés
|
||||
|
||||
```text
|
||||
Cargo.toml
|
||||
ROADMAP.md
|
||||
crates/ksp-app-wallet-desk/package.json
|
||||
crates/ksp-app-wallet-desk/tauri.conf.json
|
||||
crates/ksp-app-wallet-desk/tests/desktop_security.rs
|
||||
docs/plans/002-FUNCTIONAL_RELEASE_SEQUENCE.md
|
||||
docs/plans/013-V0_2_6_WALLET_DESK_PLAN.md
|
||||
```
|
||||
|
||||
## Fichiers supprimés
|
||||
|
||||
```text
|
||||
aucun
|
||||
```
|
||||
|
||||
## Hors scope
|
||||
|
||||
Le fix ne modifie pas :
|
||||
|
||||
```text
|
||||
WalletSession
|
||||
WalletView / WalletOwner
|
||||
unlock manuel
|
||||
unlock configuré
|
||||
ordre des secrets Config
|
||||
KDF / crypto
|
||||
frontend
|
||||
Config/Logging
|
||||
format .kspwallet
|
||||
```
|
||||
|
||||
Aucune dépendance Cargo ou npm n'est ajoutée ou modifiée.
|
||||
|
||||
## Validation opérateur requise
|
||||
|
||||
```bash
|
||||
cargo fmt --all
|
||||
python3 scripts/audit_rust_workspace_rules.py
|
||||
cargo check --workspace
|
||||
cargo clippy --workspace --all-targets
|
||||
cargo test -p ksp-app-wallet-desk
|
||||
cargo test --workspace
|
||||
KSP_WALLETS_DIRECTORY=var/wallet-desk-pre006 cargo tauri dev -c crates/ksp-app-wallet-desk/tauri.conf.json
|
||||
```
|
||||
|
||||
Aucune commande npm directe n'est nécessaire. `cargo tauri build -c crates/ksp-app-wallet-desk/tauri.conf.json` reste réservé à la toute dernière validation de `0.2.6`.
|
||||
Reference in New Issue
Block a user