652 Commits

Author SHA1 Message Date
Ugljesa Jovanovic
1424db0336
Remove xchacha20 streaming API for now, as they are not available on apple builds 2024-04-06 18:56:26 +02:00
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
05131383a1
Update readme and fix chanelog typos 2023-09-23 16:06:11 +02:00
Ugljesa Jovanovic
6c12ce766a
Bump to 0.9.1 2023-09-23 15:59:36 +02:00
Ugljesa Jovanovic
4a96c32418
Merge pull request #38 from ionspin/kotlin-1.9.0
Kotlin 1.9.10
2023-09-23 14:38:33 +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
3c6d0b1c43
Build without visionos 2023-09-23 13:18:23 +02:00
Ugljesa Jovanovic
34afd86d43
Remove deprecated watchosX86 2023-09-23 12:40:09 +02:00
Ugljesa Jovanovic
9a9731c3c0
Gradle plugin to 1.9.10 2023-09-23 12:33:09 +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
51073827d7
Release 0.8.9, Bump to 0.9.0-SNAPSHOT 2023-03-26 20:40:11 +02:00
Ugljesa Jovanovic
1cfa03a18f
Kotlin 1.8.10 + maintenance (#37)
* Update libsodium submodule, bump kotlin versions, switch to github actions
2023-03-26 19:12:15 +02:00
Ugljesa Jovanovic
f268886681
Sign with different GPG key 2022-12-26 18:16:36 +01:00
Ugljesa Jovanovic
f3ec8a755d
Merge pull request #33 from ionspin/kotlin-1.7.20
Bump to kotlin 1.7.20
2022-10-12 18:37:24 +02:00
Ugljesa Jovanovic
1888c07757
Bump to kotlin 1.7.20 2022-10-12 18:12:58 +02:00
Ugljesa Jovanovic
04f0a615ab
Bump to 0.8.9 snapshot, fix mac maven publish script 2022-10-09 11:56:56 +02:00
Ugljesa Jovanovic
d8fb4b41ca
Update changelog and readme, release fixes #29 2022-10-09 11:33:36 +02:00
Ugljesa Jovanovic
89947873e7
Merge pull request #30 from ionspin/better-sample
Better sample
2022-10-09 11:28: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
fec0f36dc3
Fix runners, use api because yarn breaks if same project has local sources and reference to build remote library 2022-10-06 12:26:35 +02:00
Ugljesa Jovanovic
13a880cc73
Bump sample to use latest snapshot and add some encryption/decryption to binary 2022-10-06 10:44:54 +02:00
Ugljesa Jovanovic
0baef1257e
Update badge master -> main 2022-10-05 13:43:41 +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
b3032ecefe
Merge pull request #28 from ionspin/0.8.8-SNAPSHOT
Bump to 0.8.8-SNAPSHOT
2022-09-10 10:23:58 +02:00
Ugljesa Jovanovic
4ac031f0ed
Bump to 0.8.8-SNAPSHOT 2022-09-10 09:51:29 +02:00
Ugljesa Jovanovic
16f6a3109e
Fix dokka issues, some formatting 2022-08-29 09:31:39 +02:00
Ugljesa Jovanovic
7f2fdbe477
Merge pull request #27 from ionspin/kotlin-1.7.10
Kotlin 1.7.10
2022-08-28 22:21:31 +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
13b81c409e
Bump libsodium to latest stable 2022-08-28 20:04:12 +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
258f2fadb0
Version bump 2022-05-19 18:03:06 +02:00
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