Skip to content

Commit f01ffc1

Browse files
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

Cargo.lock

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "locknote"
3-
version = "1.2.0"
3+
version = "1.2.1"
44
edition = "2021"
55
description = "Self-contained encrypted notepad for Windows"
66
authors = ["Chris Tardy"]

0 commit comments

Comments
 (0)