Ugljesa Jovanovic
59c5f958ca
Fix for #42 , add check for values returned by libsodium that signal failure, reintroduce xChaCha20 stream API since iosArm32 is not supported any more, use forked resource loader that deletes tmp folders properly
2024-04-06 11:46:28 +02:00
Ugljesa Jovanovic
bd988cc493
Correct package in AndroidManifest.xml
2023-09-25 11:45:36 +02:00
Ugljesa Jovanovic
c7fbc71814
libsodium version bump to 1.0.19 and appropriate test update
2023-09-23 14:15:21 +02:00
Ugljesa Jovanovic
6d3d452a29
Updated jvm binaries
2023-09-23 13:46:48 +02:00
Ugljesa Jovanovic
45e4058481
iosArm32 removed, watchosArm32 returned
2023-09-23 13:34:02 +02:00
Ugljesa Jovanovic
194994f5b2
Update kotlin to 1.9.10, update library versions, use latest libsodium stable, clean up Deps, remove deprecated targets, change PasswordHash str related functions to use String
2023-09-23 11:54:02 +02:00
Ugljesa Jovanovic
b32821e13e
Bump to 1.9.0
2023-08-17 11:45:23 +02:00
Ugljesa Jovanovic
c843ea5122
Remove test dependencies from jvm main, clean up runners
2022-10-07 20:00:59 +02:00
Ugljesa Jovanovic
d0e9920aa4
Disable mingw cross-compilation on linux
2022-10-05 11:25:26 +02:00
Ugljesa Jovanovic
7dd2b90a09
Add lib prefix to libraries on jvm as some packaging tools extract them into system path and java expects lib prefix
2022-09-20 11:03:24 +02:00
Ugljesa Jovanovic
16f6a3109e
Fix dokka issues, some formatting
2022-08-29 09:31:39 +02:00
Ugljesa Jovanovic
b18b637b91
Update mac and windows jvm libs
2022-08-28 21:34:25 +02:00
Ugljesa Jovanovic
8bbb2ff635
Update android and linux dynamic libs, prevent windows shell from hanging and fix type for android on x86_64
2022-08-28 20:33:23 +02:00
Ugljesa Jovanovic
a15be35197
Update to kotlin 1.7.10, remove test dependancy from common source set, cleanup some old comments
2022-08-28 20:03:25 +02:00
Ugljesa Jovanovic
6a47f7d90b
Enable initialization on 32bit android devices
2022-05-19 16:52:27 +02:00
Ugljesa Jovanovic
7625a2d103
Remove logging from loader, stream exception
2022-03-25 15:56:36 +01:00
Ugljesa Jovanovic
cdb6ecb8f9
Revert "Workaround inline class not allowed in external interfaces in JS https://youtrack.jetbrains.com/issue/KT-43224 still need to verify there is no narrowing or truncation when not using unsinged inline classes"
...
Left the checks for UInt in password hash
This reverts commit ce868fc598612f759c130715bc1caa2b21546739.
2022-03-25 15:00:57 +01:00
Ugljesa Jovanovic
80c84a25d4
Remove check narrowing todos, they are handled
2022-03-25 12:54:47 +01:00
Ugljesa Jovanovic
ec19c02a42
Remove debug test
2022-03-25 12:52:32 +01:00
Ugljesa Jovanovic
cd3ec109a3
Handle ULong -> UInt conversions, update api to reflect stream_chacha20_ietf takes UInt for initial counter
2022-03-25 12:47:22 +01:00
Ugljesa Jovanovic
ce868fc598
Workaround inline class not allowed in external interfaces in JS https://youtrack.jetbrains.com/issue/KT-43224 still need to verify there is no narrowing or truncation when not using unsinged inline classes
2022-03-25 11:51:23 +01:00
Luca Spinazzola
e16167a08e
JS fixes.
...
Use libsodium-sumo module for ready and _sodium_init, and libsodium-wrapper-sumo for JsSodiumInterface
Load JsSodiumInterface as external object
Clean up JsSodiumLoader: remove storeSodium (not needed anymore)
Clean up LibsodiumInitializer: remove sodiumPointer (not needed anymore)
2022-03-25 02:43:10 -04:00
Ugljesa Jovanovic
1197e585d2
Changelog, version and libsodium updates
2022-03-05 19:30:33 +01:00
Ugljesa Jovanovic
c2887184e0
ed25519PkToCurve25519 was calling libsodium sk_to_curve in both native and jvm platforms. Fixed so it calls appropriate pk_to_curve. Fixes #20
2022-03-04 12:13:41 +01:00
Ugljesa Jovanovic
3c5e91d8c9
Bump to 1.6.10
2022-01-15 21:59:14 +01:00
Ugljesa Jovanovic
071ba83bfc
Update with most recent built libraries bundled with jvm
2021-09-25 23:40:49 +02:00
Ugljesa Jovanovic
2ef2690f2c
Updated msvc to latest stable
2021-09-25 13:39:25 +02:00
Ugljesa Jovanovic
594c2bbae3
Update android target in sample, update README, use macos dylib build on M1
2021-09-24 18:25:31 +02:00
Ugljesa Jovanovic
d4e5320a36
Bump android sdk to 31
2021-09-24 17:26:41 +02:00
Ugljesa Jovanovic
3bb56115f3
Updated jvm jna libraries, README
2021-09-23 19:20:57 +02:00
Ugljesa Jovanovic
4833eaaea2
Build script cleanup
2021-09-22 22:35:25 +02:00
Ugljesa Jovanovic
65af7143fc
Missing initializer in test
2021-07-27 12:33:22 +02:00
Ugljesa Jovanovic
9f11aa8af9
Fix out of bounds when trying to get a pointer to empty array
2021-07-27 11:46:39 +02:00
Ugljesa Jovanovic
310e86695d
Prevent JS name mangling when using libsodium, remove randombytes duplicate definition
2021-07-20 14:25:37 +02:00
Ugljesa Jovanovic
38d3ac1b44
Reduce chance that tamper change is same as original value in tests
2021-07-19 22:14:27 +02:00
Ugljesa Jovanovic
d6945979a9
Update dokka, update resource extractor, update js wrapper versions, remove js from sample as gradle cant find libs when building
2021-07-19 19:29:26 +02:00
Ugljesa Jovanovic
d9a847d39d
Updating gradle and kotlin, probably dokka as well
2021-07-15 17:10:41 +02:00
Ugljesa Jovanovic
776f62d001
mac and win prebuilt update
2021-05-28 15:42:41 +02:00
Ugljesa Jovanovic
a10faf1967
Init is done automatically by libsodium.js
2021-05-28 15:15:08 +02:00
Ugljesa Jovanovic
b596cfa9c8
Added updated prebuilts for jna
2021-05-28 11:33:25 +02:00
Ugljesa Jovanovic
23c4a6f2e2
Fix release info to point to correct repo
2021-05-22 11:51:08 +02:00
Ugljesa Jovanovic
e000d13b79
Call sodium init in js and jvm
2021-05-01 12:43:29 +02:00
Ugljesa Jovanovic
da85fefb9b
Use UInt in kdf derivation, because that's the most js can support more or less. I'll try to figure out if we can use all 52bits lates. Also dont show arm build to intellij as it is checking if there is coroutines build for arm and fails with the most unusefull and misleading error I have seen so far.
2021-04-30 22:10:02 +02:00
Ugljesa Jovanovic
3a33781db8
Use int instead of ulong
2021-03-03 10:32:31 +01:00
Ugljesa Jovanovic
ed7cb7482b
Remove bignum dep
2021-03-02 14:09:43 +01:00
Ugljesa Jovanovic
67723d2a4b
Set default base64 variant to original
2021-03-01 17:09:33 +01:00
Ugljesa Jovanovic
cfba7a2c3a
Add arm64 .so, add branch for arm in loader
2021-03-01 16:35:06 +01:00
Ugljesa Jovanovic
e30f4f0e86
Use library loader instead of file loader as it fails when in published jar form
2021-02-24 17:19:12 +01:00
Ugljesa Jovanovic
9d1e0bd9d1
Add android publishing
2021-02-24 13:01:02 +01:00
Ugljesa Jovanovic
de161003ec
Add release scripts, version bump, dokka downgrade
2021-02-24 12:04:16 +01:00