Update readme
This commit is contained in:
parent
6db7a828ac
commit
6a496a2568
19
README.md
19
README.md
@ -3,10 +3,14 @@
|
|||||||
|
|
||||||

|

|
||||||
|
|
||||||
# Libsodium bindings for Kotiln Multiplatform
|
# Libsodium bindings for Kotlin Multiplatform
|
||||||
|
|
||||||
Libsodium bindings project uses libsodium c sources and libsodium.js to provide a kotlin multiplatform wrapper library for libsodium.
|
Libsodium bindings project uses libsodium c sources and libsodium.js to provide a kotlin multiplatform wrapper library for libsodium.
|
||||||
|
|
||||||
|
## Warning
|
||||||
|
While this library is just a wrapper around the well known Libsodium library it still comes with high potential of introducing new
|
||||||
|
attack surfaces, bugs and other issues and you shouldn't use it in production until it has been reviewed by community.
|
||||||
|
|
||||||
## Installation
|
## Installation
|
||||||
|
|
||||||
#### Gradle
|
#### Gradle
|
||||||
@ -132,7 +136,7 @@ Currently supported native platforms:
|
|||||||
|iOS Arm 32 | :heavy_check_mark: |
|
|iOS Arm 32 | :heavy_check_mark: |
|
||||||
|watchOS X86 32 | :heavy_check_mark: |
|
|watchOS X86 32 | :heavy_check_mark: |
|
||||||
|watchOS Arm 64(_32) | :heavy_check_mark: |
|
|watchOS Arm 64(_32) | :heavy_check_mark: |
|
||||||
|watchos Arm 32 | :heavy_check_mark: |
|
|watchOS Arm 32 | :heavy_check_mark: |
|
||||||
|tvOS X86 64 | :heavy_check_mark: |
|
|tvOS X86 64 | :heavy_check_mark: |
|
||||||
|tvOS Arm 64 | :heavy_check_mark: |
|
|tvOS Arm 64 | :heavy_check_mark: |
|
||||||
|minGW X86 64| :heavy_check_mark: |
|
|minGW X86 64| :heavy_check_mark: |
|
||||||
@ -146,16 +150,17 @@ Java Windows dll is from https://download.libsodium.org/libsodium/releases/libso
|
|||||||
|
|
||||||
|
|
||||||
### TODO:
|
### TODO:
|
||||||
- Copy/adapt code documentation, currently only some functions have documentation that is a copy-paste from libsodium website
|
- Improve documentation
|
||||||
- Android testing
|
- Running tests on Android
|
||||||
- Fix browser testing, both locally and in CI/CD
|
|
||||||
- LobsodiumUtil `unpad` and `fromBase64` native implementations use a nasty hack to support shared native sourceset. The hack either needs to be removed and replaced with another solution or additional safeguards need to be added.
|
- LobsodiumUtil `unpad` and `fromBase64` native implementations use a nasty hack to support shared native sourceset. The hack either needs to be removed and replaced with another solution or additional safeguards need to be added.
|
||||||
- Complete exposing libsodium constants
|
- Complete exposing libsodium constants
|
||||||
|
- Find a better way of fetching Konan dependencies than having a dummy project.
|
||||||
|
|
||||||
|
### Building
|
||||||
|
Clone the git, init the submodule and run `./gradlew build`. Note that current build settings are such that only linux builds `js` target.
|
||||||
|
|
||||||
#### Notes for Gitlab runners:
|
#### Notes for Gitlab runners:
|
||||||
- At the moment all runners need to have android sdk
|
- At the moment all runners need to have android sdk present even though not all are building Android build
|
||||||
#### Mac:
|
|
||||||
|
|
||||||
#### Windows:
|
#### Windows:
|
||||||
- Needs android sdk
|
- Needs android sdk
|
||||||
|
Loading…
x
Reference in New Issue
Block a user