Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion SECURITY.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
48 changes: 27 additions & 21 deletions apps/windows/Keepassity.Mock/README.md
Original file line number Diff line number Diff line change
@@ -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,
Expand Down Expand Up @@ -33,14 +33,16 @@ apps/windows/Keepassity.Mock/bin/Debug/net8.0-windows10.0.19041.0/win-x64/Keepas
copied to `.keepassity\backups\<db>\` before every save. Lock saves and closes
the handle.

For local UI testing only, `--db <path>` 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 <path>` 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 <path>` (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
Expand Down Expand Up @@ -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
Expand All @@ -90,25 +93,28 @@ 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\<db>\<timestamp>.kdbx`; the newest `BackupRetention`
copies are kept (default 20). The footer's Backups item lists them and restores
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

Expand Down
Loading