Closed (fixed)
Project:
Sodium
Version:
3.0.x-dev
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
5 Jul 2026 at 22:38 UTC
Updated:
19 Jul 2026 at 22:50 UTC
Jump to comment: Most recent
Exceptions are currently rethrown without chaining:
catch (InvalidKey $e) {
throw new EncryptException($e);
}
We should instead rethrow with chaining to avoid adding the full stringified Halite exception to logs.
Also, we should use SensitiveParameter as I proposed upstream in #3608548: Hardening: Use SensitiveParameter attribute
Start within a Git clone of the project using the version control instructions.
Or, if you do not have SSH keys set up on git.drupalcode.org:
Comments
Comment #4
ptmkenny commented