Fabrice Drouin
7af7b7760e
Document how to add custom JNI bindings ( #50 )
...
This is how we add Linux Arm64 JNI bindings.
2022-04-04 11:26:18 +02:00
Fabrice Drouin
4df49dd8f6
Document publishing process ( #46 )
...
Document publishing process
2022-03-29 18:42:01 +02:00
Fabrice Drouin
48c3e4723b
Set version to 0.6.4-SNAPSHOT ( #49 )
2022-03-24 16:26:17 +01:00
Fabrice Drouin
df183e88b2
Set version to 0.6.3 ( #45 )
v0.6.3
2022-03-23 19:15:00 +01:00
Fabrice Drouin
de3fc7fe11
CI: fix windows tests ( #48 )
...
Github Actions modified their windows runners which broke our build. As recommended, we now uses `msys2` on windows and install the packages that we need.
2022-03-23 15:45:45 +01:00
sstone
d074a03f2d
Set version to 0.6.3-SNAPSHOT
2022-01-04 13:52:26 +01:00
Fabrice Drouin
5942ccc977
Set version to 0.6.2 ( #41 )
v0.6.2
2022-01-04 11:27:49 +01:00
Fabrice Drouin
c3602dc649
Update secp256k1 sources ( #40 )
...
We're now at 0559fc6e41b65af6e52c32eb9b1286494412a162, same as bitcoin core at 98a2ddcd6ed01a38cd0dad7c1abc7023a60d3fd0
2021-12-20 19:35:23 +01:00
Fabrice Drouin
ac7d4983d5
Export Schnorr signature API ( #32 )
...
Implement Schnorr signatures (BIP 340)
2021-11-23 17:38:46 +01:00
sstone
5ee01ea526
Set version to 0.6.2-SNAPSHOT
2021-11-08 17:05:20 +01:00
Fabrice Drouin
050cc83dd0
Set version to 0.6.1 ( #38 )
...
* Set version to 0.6.1
* Don't set up Android CI env on windows
It's useless as we just run Android CI checks on Android.
v0.6.1
2021-11-07 20:37:50 +01:00
Bastien Teinturier
2ae6abcf93
Clarify public key encoding and enrich tests ( #37 )
...
Don't throw in `seckey_verify`: it's inconsistent to have this function throw
for some invalid inputs and return false for other invalid inputs.
Document public key compression and add tests.
2021-11-05 10:45:49 +01:00
Bastien Teinturier
f695e7453d
Clean up and enrich tests ( #35 )
...
* Harmonize parameter names
* Document methods
* Replace pubKeyAdd with pubKeyCombine
* Clean-up tests
2021-10-26 17:16:36 +02:00
Fabrice Drouin
3389795a52
Update build instructions ( #34 )
2021-10-26 16:28:04 +02:00
Fabrice Drouin
6955c7416a
Add option to skip building and testing Android libraries ( #33 )
...
* Add otpion to skip building and testing Android libraries
Add `skip.android=true` to the local.properties files at the project's root to skip Android builds.
2021-10-25 14:27:02 +02:00
sstone
e378bb04b1
Set version to 0.6.1-SNAPSHOT
2021-09-23 13:37:05 +02:00
Fabrice Drouin
32ef659f82
Update README
2021-09-22 17:48:15 +02:00
Fabrice Drouin
60801787f9
Release 0.6.0 ( #30 )
v0.6.0
2021-09-22 15:51:58 +02:00
Fabrice Drouin
e7644b7ddb
Upgrade to kotlin 1.5 ( #27 )
...
* Upgrade to kotlin 1.5.31
* Upgrade dokka gradle plugins to 1.5.30
2021-09-22 15:22:05 +02:00
Fabrice Drouin
3a394cdddc
Update secp256k1 sources to be8d9c262f ( #29 )
2021-09-22 15:03:20 +02:00
Fabrice Drouin
4aa4dc2a50
Set version to 0.5.3-SNASPHOT ( #25 )
...
* Set version to 0.5.3-SNAPSHOT
* Use Android API level 27
2021-08-10 09:48:31 +02:00
Fabrice Drouin
7bc3aafd08
Set version to 0.5.2 ( #22 )
v0.5.2
2021-06-28 11:30:05 +02:00
Fabrice Drouin
9c1afc715a
Fix Android build ( #23 )
...
* Upgrade Android NDK
* Use Android emulator 30.7.3 on macos
2021-06-28 10:31:57 +02:00
Fabrice Drouin
b544b24cc3
Fix memory leak in pubkeyCreate() ( #20 )
2021-06-22 16:16:08 +02:00
Fabrice Drouin
2b0254affb
Update secp256k1 sources ( #19 )
...
We're now at efad350, the same commit that bitcoin core is using
2021-06-17 11:42:50 +02:00
Fabrice Drouin
b23733d5d4
Use kotlin 1.4.32, set version to 0.5.2-SNAPSHOT, remove bintray settings. ( #18 )
2021-04-08 10:12:36 +02:00
Fabrice Drouin
0751d7c103
Update README.md
2021-03-26 14:35:15 +01:00
Fabrice Drouin
eadd428895
Set version to 0.5.1 ( #17 )
v0.5.1
2021-03-22 21:44:01 +01:00
Fabrice Drouin
ad1979c11e
Update libsecp256k1 code ( #16 )
...
There are no external dependencies now
2021-03-19 19:07:05 +01:00
Romain Boisselle
a609b092be
Fix CI ( #15 )
2021-03-12 10:35:48 +01:00
Romain Boisselle
f493edfdfb
New publication configuration ( #14 )
...
* add Dokka + align POM metadatas with sonatype requirements
* update snapshot CI
* update JNI publication
* update CI scripts
* remove maven-metadata-local.xml
* add snapshot publication with maven-publish plugin
2021-03-11 17:53:50 +01:00
Salomon BRYS
7d22d835a5
Kotlin 1.4.31 ( #13 )
...
* Kotlin 1.4.31
* Updated CI add-path disabled command to new more secure environment file.
* Properly setting up Android in CI
v0.5.0
2021-03-08 16:50:25 +01:00
sstone
bb25eb21b7
Set version to 0.4.1
v0.4.1
2020-09-16 10:40:37 +02:00
sstone
6a67dbe9f6
signatureNormalize: relax check on signature size
...
Checking that the sig size is >= 64 is enough, this is just a quick check before the actual library method is called.
v0.4.0
2020-09-10 20:21:58 +02:00
Salomon BRYS
7272a55b8a
Changed deployment artifact-id to secp256k1-kmp
( #12 )
...
Co-authored-by: Salomon BRYS <salomon@kodein.net>
2020-09-09 11:00:04 +02:00
Salomon BRYS
d702925e40
Kotlin 1.4.0 ( #11 )
...
Co-authored-by: Salomon BRYS <salomon@kodein.net>
v0.3.0
2020-08-18 10:52:42 +02:00
sstone
7a33c81c01
Use Kotlin 1.4
v0.3.0-1.4
2020-08-18 09:51:20 +02:00
Romain Boisselle
2615187b87
Kotlin 1.4.0-rc ( #10 )
...
* Move to kotlin 1.4.0-rc
* Removing broken WSL bash
see https://github.com/actions/virtual-environments/issues/50
Co-authored-by: Salomon BRYS <salomon@kodein.net>
v0.3.0-1.4-rc
2020-08-02 20:08:02 +02:00
Salomon BRYS
dbf8301f34
Android loading may fallback to standard JVM ( #9 )
...
* Android loading may fallback to standard JVM
* Java code must target JVM 1.8 in order to be compatible Android.
Co-authored-by: Salomon BRYS <salomon@kodein.net>
v0.3.0-1.4-M3
2020-07-16 22:21:30 +02:00
Fabrice Drouin
0cc4c251f9
Fixup for #6 (native signature format detection) ( #8 )
...
* Fixup for #6
Behaviour was changed in the JNI wapper but not in Kotlin native code.
* Set version to 0.2.1-1.4-M3
v0.2.1-1.4-M3
2020-07-09 20:16:39 +02:00
Salomon BRYS
eeac972785
Update README.md ( #7 )
...
The package in bintray has lost the `-kmp`.
The badge needs to be updated to avoid image not found.
2020-07-09 17:54:22 +02:00
Fabrice Drouin
5af1807f38
Fix signature format detection ( #6 )
...
64 bytes means compact, less is invalid, other try DER and let the library handle the actual check.
v0.2.0-1.4-M3
2020-07-09 15:59:07 +02:00
Salomon BRYS
6c850eb2c4
Native jni build ( #5 )
...
* Each native library is in its own jar. Got rid of cross compilation. The project is `secp256k1` and not `secp256k1-kmp`.
* Updated CI to use all 3 OS VMs
Co-authored-by: Salomon BRYS <salomon@kodein.net>
2020-07-09 14:54:34 +02:00
Salomon BRYS
c5dbc42496
Kotlin 1.4-M3, fixed CI glitches & fixed build on Mac ( #4 )
...
* Kotlin 1.4-M3, fixed CI glitches & fixed build on Mac
* Fixes https://github.com/eskatos/gradle-command-action/issues/24
* Explicit mode requirements in Android tests
Co-authored-by: Salomon BRYS <salomon@kodein.net>
2020-07-06 21:45:17 +02:00
Salomon BRYS
316e585e4c
Rational ci ( #3 )
...
* Only test when pushing on master OR when there's a PR
* Added the bintray badge as well as the repository informations to README.
* Do not re-launch CI when updating documentation, auto-publish when pushing a snapshot.
* Update README.md
Co-authored-by: Salomon BRYS <salomon@kodein.net>
2020-07-06 11:37:10 +02:00
Fabrice Drouin
e2e250fb16
Update README.md
2020-07-04 13:39:26 +02:00
Salomon BRYS
fa425731a1
GitHub actions ( #2 )
...
* Updated readme, enabled automatc testing
* Snapshot support
* Release CI support
Co-authored-by: Salomon BRYS <salomon@kodein.net>
2020-07-03 19:12:38 +02:00
sstone
08d1692932
Add compact2der() method
2020-07-02 21:39:33 +02:00
Salomon BRYS
244673b04c
Reset version number
2020-07-02 18:07:28 +02:00
Fabrice Drouin
3ee2635d93
Upgrade JNI interface ( #1 )
...
* Upgrade JNI interface
* Input signatures can be DER or compact format, output signatures are always in compact format
* Input public keys can be compressed or uncompressed, output public keys are always uncompressed
* Name and parameters match libsecp256k1's
* JNI implementation is now straightforward
No more ByteBuffers
Exceptions are thrown in case of failures
* Update src/nativeMain/kotlin/fr/acinq/secp256k1/Secp256k1Native.kt
* Add public key compression method
Co-authored-by: Salomon BRYS <salomon.brys@gmail.com>
2020-07-02 17:52:21 +02:00