963 B
963 B
Vault Fixture Contract
This directory holds vault compatibility fixtures shared between Python and C# tests.
Required cases
YYYY-MM.vaultfiles generated by Python encryption flow fromfixtures/entries/.- At least one wrong-password case where decrypt fails and source vault bytes remain unchanged.
- Optional legacy case:
_init_vault.vaultfor compatibility cleanup behavior.
Current status
- Vault fixtures are generated from
fixtures/entries/*.mdusing Python crypto flow:python fixtures/vaults/generate_vault_fixtures.py
- Committed artifacts:
2026-01.vault2026-02.vaultmanifest.jsonwith generation metadata, fixture password, wrong-password case, and SHA-256 hashes.
Validation contract
- Load with
manifest.passwordmust extract allexpected_entries. - Each extracted entry SHA-256 must match manifest values.
- Load with
manifest.wrong_passwordmust fail and keep vault bytes unchanged.