Feature request: Add sodium extension #34
nilskretschmer
started this conversation in
Ideas
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
I think it would be helpful to have sodium included in the default binaries. As sodium is included in modern PHP why not include it in the NativePHP binaries (see https://www.php.net/manual/en/sodium.installation.php)?
I am working on an E2EE-enabled app with NativePHP desktop and I am running into issues when I am trying to generate key pairs:
[2025-10-25 16:47:12] local.ERROR: Call to undefined function sodium_crypto_sign_keypair() {"exception":"[object] (Error(code: 0): Call to undefined function sodium_crypto_sign_keypair() at C:\\Users\\nk\\programming\\my-app\\desktop\\app\\Livewire\\Setup.php:59)What do you guys think?
Or should I generate my own binaries? As the docs say if I use my own binaries there won't be support on GitHub and there could be security risks I wanted to ask here first.
Beta Was this translation helpful? Give feedback.
All reactions