Commit f01ffc1
committed
Release 1.2.1 — crypto Result API, updater integrity, UX hardening
Crypto
- `crypto::encrypt` / `crypto::decrypt` now return `Result<_, CryptoError>`
instead of panicking or returning `Option`. `derive_keys` accepts
explicit Argon2 parameters and propagates errors. All integration and
unit tests updated to the new signatures.
Updater
- Verify release asset integrity with SHA256SUMS.txt before replacing
the running binary. The file is fetched from the GitHub release and
matched against a freshly-computed hash of the download.
- Use `env!("CARGO_PKG_VERSION")` instead of a hard-coded version string.
UI
- Redesigned unlock dialog (centered layout, description, updated fonts),
kept the 5-attempt lockout behaviour.
- Wrap password candidates in `zeroize::Zeroizing` in the create-password
dialog so the inputs are wiped on drop regardless of branch taken.
- Gracefully surface encryption failures from the initial save path via
a modal instead of silently dropping the error.
- Fix `unused_must_use` on `ShowWindow(...)` restore calls in main.rs and
editor.rs.1 parent 23e338a commit f01ffc1
10 files changed
Lines changed: 687 additions & 391 deletions
File tree
- src
- crypto
- ui
- dialogs
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | | - | |
| 3 | + | |
4 | 4 | | |
5 | 5 | | |
6 | 6 | | |
| |||
0 commit comments