715 Commits

Author SHA1 Message Date
Ugljesa Jovanovic
6a47f7d90b
Enable initialization on 32bit android devices 2022-05-19 16:52:27 +02:00
Ugljesa Jovanovic
87652f7014
Merge pull request #25 from ionspin/fix-js-initalization
Fix js initalization
2022-03-25 16:42:41 +01:00
Ugljesa Jovanovic
93eb410a16
Update changelog 2022-03-25 16:15:20 +01: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
10f9a3226f
Merge branch 'fix-js-initalization2' into fix-js-initalization 2022-03-25 14:39:13 +01:00
Luca Spinazzola
c61d555017 update to kotlin 1.6.20-RC2 2022-03-25 09:13:32 -04: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
a77ba4cc8f Revert removal of import
Accidentally removed a coroutines test import
2022-03-25 03:02:08 -04: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
Luca Spinazzola
494e3d5ac0 fix importing coroutines in sample 2022-03-25 02:27:11 -04:00
Ugljesa Jovanovic
4282fc54c1
Merge pull request #22 from ionspin/release-0.8.5
Release 0.8.5
2022-03-05 20:00:44 +01:00
Ugljesa Jovanovic
eafdfe5ed6
Add macos static build folder to gitignore 2022-03-05 19:36:59 +01:00
Ugljesa Jovanovic
f6bc442520
Update version in readme 2022-03-05 19:32:15 +01:00
Ugljesa Jovanovic
1197e585d2
Changelog, version and libsodium updates 2022-03-05 19:30:33 +01:00
Ugljesa Jovanovic
9681309cde
Merge pull request #21 from ionspin/20-ed25519-curve-pk-conversion-fix
Fix ed25519PkToCurve25519 jvm and native implementations
2022-03-04 13:32:42 +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
cd41c428a3
Konan does still bundle sysroot and crosscompiler, use that otherwise gold complains 2022-01-16 00:32:30 +01:00
Ugljesa Jovanovic
761b4649c8
Don't use konan cross compiling as it's not bundled anymore 2022-01-15 23:53:50 +01:00
Ugljesa Jovanovic
3c5e91d8c9
Bump to 1.6.10 2022-01-15 21:59:14 +01:00
Ugljesa Jovanovic
498dd87c5d
Switch to main branch 2022-01-15 21:38:28 +01:00
Ugljesa Jovanovic
2aaf0cc79f
Merge pull request #19 from ionspin/bump-to-1.5.31
Bump to 1.5.31
2021-10-04 19:47:53 +02:00
Ugljesa Jovanovic
c08d3d6693
Bump to 1.5.31 2021-10-04 18:01:38 +02:00
Ugljesa Jovanovic
08d76023b9
Merge pull request #18 from ionspin/update-jvm-bundled-libraries
Update jvm bundle with most recent built libraries
2021-09-26 11:21:15 +02:00
Ugljesa Jovanovic
071ba83bfc
Update with most recent built libraries bundled with jvm 2021-09-25 23:40:49 +02:00
Ugljesa Jovanovic
196449d965
Merge pull request #17 from ionspin/stable-libsodium
Stable libsodium
2021-09-25 14:01:25 +02:00
Ugljesa Jovanovic
2ef2690f2c
Updated msvc to latest stable 2021-09-25 13:39:25 +02:00
Ugljesa Jovanovic
9a02481645
Stable libsodium 2021-09-25 12:13:52 +02:00
Ugljesa Jovanovic
725c95c397
Merge pull request #15 from ionspin/1.5.31-new-targets-updated-libsodium
1.5.31 new targets updated libsodium
2021-09-24 19:16:41 +02:00
Ugljesa Jovanovic
4588b049a0
Disable tests on non macos apple sillicon for now 2021-09-24 18:53:12 +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
b5f7fe94fd
Merge master 2021-09-24 14:31:34 +02:00
Ugljesa Jovanovic
d982ac190e
Merge pull request #16 from ionspin/1.5.31
Kotlin 1.5.30, libsodium update, coroutines/serialization update
2021-09-24 09:27:42 +02:00
Ugljesa Jovanovic
b931a0ff2d
Plugin version bump 2021-09-23 21:51:25 +02:00
Ugljesa Jovanovic
0a1f559d4a
Kotlin 1.5.30, libsodium update, coroutines/serialization update 2021-09-23 21:21:36 +02:00
Ugljesa Jovanovic
5339b852f0
Configure initially 2021-09-23 20:12:15 +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
140947e249
Kotlin to 1.3.51, coroutines and serialization update, libsodium update to latest master 2021-09-22 20:41:05 +02:00
Ugljesa Jovanovic
965615f145
Bump sample dep version and fix README typo. Fixes #13 2021-07-28 15:56:28 +02:00
Ugljesa Jovanovic
c7b3599c7c
Merge pull request #12 from ionspin/fix-empty-array-pointer-out-of-bounds
Fix out of bounds when trying to get a pointer to empty array
2021-07-27 11:29:15 +00: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
f3cc8ca006
Version bump 2021-07-19 23:18:33 +02:00
Ugljesa Jovanovic
763471f745
Merge pull request #11 from ionspin/kotlin-1.5.21
Kotlin 1.5.21
2021-07-19 20:15:12 +00:00