From 1f80714904b99bb53eecc72834c62ce7a68f112a Mon Sep 17 00:00:00 2001 From: simplenty Date: Mon, 9 Nov 2026 10:41:30 +0800 Subject: [PATCH] Refresh the app and security documentation --- CHANGELOG.md | 3 +- SECURITY.md | 2 +- apps/windows/Keepassity.Mock/README.md | 48 +++++++++++++++----------- 3 files changed, 30 insertions(+), 23 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index f8da6cf..8957820 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -140,7 +140,8 @@ English UI. The full matrix, including untested states, is in `docs/compatibilit checksums and build-provenance attestations only (no code signing, no MSIX, no auto-update). - `v1.0.0` is not published yet: the 30-day acceptance runs first, then the tag/release is - created and the obsolete `v0.1.0` draft is removed (see `docs/release.md`). + created. No GitHub Release exists today; the obsolete `v0.1.0` draft and tag were removed + on 2026-11-09 (see `docs/release.md`). - Windows 11 x64 only; Linux is planned for v1.x. ## [0.1.0] - 2026-10-28 diff --git a/SECURITY.md b/SECURITY.md index f5e8e97..b9a7ef4 100644 --- a/SECURITY.md +++ b/SECURITY.md @@ -8,7 +8,7 @@ handled **best effort, with no SLA**. Please do not open a public issue for a vu | Version | Supported | |---|---| | `v1.0.x` (current source tree; tag and GitHub Release pending the 30-day acceptance) | Yes | -| `v0.1.0` draft from 2026-10-28 | No — obsolete draft, do not use | +| Pre-1.0 builds (the obsolete `v0.1.0` draft/tag were removed on 2026-11-09) | No | | Any other/pre-1.0 build | No | The `v1.0.0` tag and GitHub Release are created only after the acceptance period described diff --git a/apps/windows/Keepassity.Mock/README.md b/apps/windows/Keepassity.Mock/README.md index 22827f1..463c5bb 100644 --- a/apps/windows/Keepassity.Mock/README.md +++ b/apps/windows/Keepassity.Mock/README.md @@ -1,4 +1,4 @@ -# keepassity Windows app (test branch) +# keepassity Windows app Functional WinUI 3 shell on top of the Rust core. It opens a real KDBX database through the FFI v1 C ABI, shows its groups/entries, reads and writes entries, @@ -33,14 +33,16 @@ apps/windows/Keepassity.Mock/bin/Debug/net8.0-windows10.0.19041.0/win-x64/Keepas copied to `.keepassity\backups\\` before every save. Lock saves and closes the handle. -For local UI testing only, `--db ` pre-fills the database, and the -`KEEPASSITY_MOCK_PASSWORD` environment variable auto-unlocks the app. Do not put -real passwords in arguments. A second normal launch activates the existing -window; pass `--allow-multiple` for isolated test instances (e.g. conflict tests) -and `--no-tray` when a test needs the close button to exit instead of hiding to -the notification area. +`--db ` pre-fills the database, and a bare `.kdbx` path (file association / +"Open with") is handed to the running instance. The diagnostic overrides are +release-safe: `KEEPASSITY_MOCK_PASSWORD`, `--allow-multiple`, `--no-tray` and the +tray-menu hooks only work in a debug build or together with `--enable-test-hooks`. +Do not put real passwords in arguments. A second normal launch activates the +existing window instead of starting a second copy. `--data-dir ` (or +`KEEPASSITY_DATA_DIR`) keeps settings, logs and backups away from the real profile. -The tray menu can be opened without pointer input for visual checks: +The tray menu can be opened without pointer input for visual checks (requires +`--enable-test-hooks`): `KEEPASSITY_TRAY_MENU_AT="x,y"` (physical screen pixels) opens it 1.5 s after the window loads, `KEEPASSITY_TRAY_MENU_SCHEDULE="2000,x,y;8000,x,y"` lists exact delay/position toggles, `KEEPASSITY_TRAY_MENU_CYCLE_MS=12000` keeps toggling the @@ -76,8 +78,9 @@ non-zero on failure. The report contains counts/status only, never secrets. `otpauth://` clipboard URI; manual Base32 remains available. QR decoding stays in the UI layer (ZXing.Net) and only the resulting URI/secret reaches core. - Lock/unlock, light/dark theme, Mica/titlebar layout. -- Single instance (a second launch restores and focuses the existing window) and - persisted window position/size; `--allow-multiple` is a test-only bypass. +- Single instance (a second launch restores and focuses the existing window, and a + `.kdbx` path passed to it is forwarded to the running copy) and persisted window + position/size; `--allow-multiple` is a gated test-only bypass. - Notification-area icon: left/double click shows the window, right click offers Show / Lock / Exit, and closing the window hides it to the tray with a one-time hint. An optional setting starts the app minimized; `--no-tray` is a test-only @@ -90,14 +93,16 @@ non-zero on failure. The report contains counts/status only, never secrets. (`ClipboardContentOptions`). - Auto-lock after the configured inactivity period (default 15 minutes); activity from pointer or keyboard resets the timer. -- **WebDAV sync**: configure a file URL and username in Settings; the password is - stored with Windows DPAPI. The app checks the remote on unlock, syncs on save - (toggle), and supports manual sync from the footer. It implements PROPFIND - depth 0 metadata, conditional GET/PUT with ETag/If-Match/If-None-Match, download, - upload, and local merge. Non-overlapping changes merge automatically; when the - same item changed on both sides, a three-choice dialog offers Keep local, Keep - remote, or Keep both (recommended), and local/remote conflict copies are written - before any choice. +- **WebDAV sync**: configure an https file URL and username in Settings (the Open + dialog offers presets for Nextcloud/ownCloud, Synology and Jianguoyun); the + password is stored with Windows DPAPI. Self-signed certificates require an + explicit fingerprint confirmation and are then pinned per host. The app checks + the remote on unlock, syncs on save (toggle), and supports manual sync from the + footer. It implements PROPFIND depth 0 metadata, conditional GET/PUT with + ETag/If-Match/If-None-Match, download, upload, local merge, and 412 back-off + retries. Non-overlapping changes merge automatically; when the same item changed + on both sides, a three-choice dialog offers Keep local, Keep remote, or Keep both + (recommended), and local/remote conflict copies are written before any choice. Baseline ETag/hash/dirty state is kept under `%LOCALAPPDATA%\keepassity\state\`. - **Backups**: every save (local or sync write) first copies the current database to `.keepassity\backups\\.kdbx`; the newest `BackupRetention` @@ -105,10 +110,11 @@ non-zero on failure. The report contains counts/status only, never secrets. a selected backup after validating that it opens with the current password and backing up the current file first. -## Not implemented yet +## Not implemented in v1.0 -- Keyfile/challenge-response credentials. -- History/attachment UI. +- Keyfile/challenge-response credentials (master password only). +- History/attachment/recycle-bin management UI (the data is preserved). +- Windows Hello / quick unlock, auto-type, browser integration, multi-database. ## Notes