Problem/Motivation
Identified by Claude Fable:
`checkDependencies($text, $key)` receives the key but only checks that Halite exists. A wrong-length key therefore isn't caught at profile-save validation; it surfaces later as a runtime `InvalidKey`. Adding a 32-byte length check here gives a clean validation error instead (length isn't secret, so a plain comparison is fine).
Issue fork sodium-3608554
Show commands
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