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
{{ message }}
This repository was archived by the owner on Feb 6, 2021. It is now read-only.
Kalium with libsodium 1.0.15 & 1.0.16 is broken, due to incorrect string handling in jnr-ffi.
1.0.15\0\0xsalsa20....(Version String Changed in Windows Release jedisct1/libsodium#665)\0\0\0\0). (Broken null-terminated multibyte string handling when JVM is non-USdefaultCharsetjnr/jnr-ffi#108)As a result,
sodium_lib_versionreturns "1.0.15\0\0xsalsa20", andcheckVersionfails because it tries to convert15\0\0xsalsa20to an integer.Short of fixing jnr-ffi, Kalium could update its regex when parsing the input string to avoid this bug.