Refractoring Stage 7.2 Added IPC regression tests verifying native confirmation protects OpenPGP key replacement and trust elevation: cancellation leaves stored key state unchanged, while confirmation permits the change. Bumped to 0.4.38 (Android version code 438) and updated REFACTOR_PLAN.md.
This commit is contained in:
+2
-1
@@ -153,7 +153,7 @@ This is a gradual destination, not a requirement to move everything at once. IPC
|
||||
- Electron Builder and the desktop Actions artifact name derive from `package.json`.
|
||||
- Android `versionName` derives from the same package version. Its current `versionCode` mapping is `major * 10000 + minor * 100 + patch`; keep minor and patch below 100, and revise the mapping before reaching that boundary to avoid collisions.
|
||||
- `scripts/build-all.ps1` uses the package version for APK naming. Before a release, bump once with `npm run bump:build`, verify the lockfile and computed Android version code, and build every target without another bump.
|
||||
- Latest version check: `package.json` and both lockfile version fields are `0.4.37`; Android derives `versionName 0.4.37` and `versionCode 437`. The user confirms the previous artifact works; this bump is for the next build.
|
||||
- Latest version check: `package.json` and both lockfile version fields are `0.4.38`; Android derives `versionName 0.4.38` and `versionCode 438`. The user confirms the previous artifact works; this bump is for the next build.
|
||||
|
||||
## Progress log
|
||||
|
||||
@@ -193,5 +193,6 @@ This is a gradual destination, not a requirement to move everything at once. IPC
|
||||
- Step 6 at version `0.4.35` consolidates the mail API factory under `window.epMailFeatures.modules`, removing the separate `window.epMailUiModules` global.
|
||||
- Step 6 at version `0.4.36` consolidates the HTML sanitization and remote-image policy API under `window.epMailFeatures.contentSecurity`.
|
||||
- Step 7 at version `0.4.37` adds focused sanitizer coverage for dangerous DOM nodes/attributes and verifies that remote images remain data-only pending explicit loading.
|
||||
- Step 7 at version `0.4.38` tests main-process native confirmation for OpenPGP key replacement and trust elevation; cancellation must not mutate stored key state.
|
||||
- The current IPC/DAV validation changes pass the full suite: 108 tests.
|
||||
- While work continued, `package.json` and `package-lock.json` reflected a version bump to `0.4.6`; those changes were preserved.
|
||||
|
||||
Reference in New Issue
Block a user