You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
A draft security advisory has been filed for the taskpane's error-surfacing path. Details (impact, root cause, affected lines) are in the private advisory — not repeated here to avoid public disclosure:
Introduce an explicit "this message was written for the user" error marker in src/lib/, and use it for the validation failures that src/taskpane/compose-view.ts throws on purpose.
In the catch blocks of src/taskpane/compose-view.ts and src/taskpane/read-view.ts, show the marked message when present and a generic localized message (t("encryptionError") / t("decryptionError")) otherwise, with the raw value logged via console.error for DevTools only. This matches encryptionFailureMessage() in src/launchevent/launchevent.ts:95-105, which already does this on the send path.
Replace the ad-hoc /KEM/i message test in read-view.ts with a check that does not depend on matching SDK message text.
Add node:test coverage for the routing (marked error → own message; arbitrary error → generic message).
Repo maintainers/collaborators can view the advisory thread for full context. Same shape as #123.
A draft security advisory has been filed for the taskpane's error-surfacing path. Details (impact, root cause, affected lines) are in the private advisory — not repeated here to avoid public disclosure:
https://github.com/encryption4all/postguard-outlook-addon/security/advisories/GHSA-hv6m-xwjr-m2f6
Scope of the work (see advisory for specifics):
src/lib/, and use it for the validation failures thatsrc/taskpane/compose-view.tsthrows on purpose.catchblocks ofsrc/taskpane/compose-view.tsandsrc/taskpane/read-view.ts, show the marked message when present and a generic localized message (t("encryptionError")/t("decryptionError")) otherwise, with the raw value logged viaconsole.errorfor DevTools only. This matchesencryptionFailureMessage()insrc/launchevent/launchevent.ts:95-105, which already does this on the send path./KEM/imessage test inread-view.tswith a check that does not depend on matching SDK message text.node:testcoverage for the routing (marked error → own message; arbitrary error → generic message).Repo maintainers/collaborators can view the advisory thread for full context. Same shape as #123.