Fabrice Drouin
eb92fccbd6
Build a universal JNI binary for macos ( #106 )
...
Universal libraries embed both arm64 and x64 binaries.
2024-03-12 10:09:34 +01:00
Fabrice Drouin
d30e2a1b59
Set version to 0.15.0 ( #105 )
2024-03-04 19:29:52 +01:00
Fabrice Drouin
bae4744bcb
Add macos build targets ( #104 )
...
* Add macos build targets
* Update snapshot publishing script
2024-03-04 17:58:20 +01:00
Fabrice Drouin
b2eb68bf83
Post release cleanup ( #103 )
...
* Set version to 0.15.0-SNAPSHOT
* Update publishing scripts
2024-02-14 18:28:19 +01:00
Fabrice Drouin
c582396b96
Set version to 0.14.0 ( #102 )
2024-02-14 13:51:52 +01:00
Fabrice Drouin
202b0c94b6
Add support for musig2 ( #93 )
...
* Use Jonas Nick's musig2 branch
* Reformat c code (no functional changes)
* Implement musig2
* Add documentation to musig2 functions (#97 )
Usage of the Musig2 functions isn't intuitive at all, especially with
the key aggregation cache and session data. It's important to provide
accurate documentation to help users understand how to correctly produce
musig2 signatures.
We also change argument names to match Kotlin best practices instead of
using the same argument names as C functions.
* Add musig2 reference tests (no functional changes)
---------
Co-authored-by: Bastien Teinturier <31281497+t-bast@users.noreply.github.com>
2024-02-14 13:28:22 +01:00
Fabrice Drouin
780f97e46d
Set version to 0.14.0-SNAPSHOT ( #99 )
2024-01-23 22:27:31 +01:00
Fabrice Drouin
f5e1655ff0
Set version to 0.13.0 ( #98 )
2024-01-23 16:46:55 +01:00
Fabrice Drouin
8ba5d4652e
Use kotlin 1.9 ( #92 )
...
Use kotlin 1.9
2024-01-23 15:44:06 +01:00
Fabrice Drouin
e94e41b896
Update secp256k1 to version 0.4.1 ( #96 )
...
Use secp256k1 0.4.1
2024-01-02 11:16:36 +01:00
Fabrice Drouin
1a4c8b37cb
Release 0.12.0 ( #95 )
2023-12-13 16:40:32 +01:00
Fabrice Drouin
f242b4ffe8
Check arguments passed to secp256k1 methods ( #94 )
...
* Check arguments passed to secp256k1 methods
Illegal arguments will trigger an internal callback that prints to stderr and calls abort.
We already check arguments in our JNI and kotlin native code but had missed 2 checks (recid in ecdsaRecover, empty arrays in pubkeyCombine).
* Implement the same "tweak" checks in the native code and JNI code
The native code was missing checks on the "tweak" size (which must be 32 bytes)
2023-12-13 13:42:14 +01:00
Fabrice Drouin
161da89ee1
Set version to 0.11.0 ( #86 )
2023-09-28 09:50:24 +02:00
Fabrice Drouin
3706a546a2
Use secp256k1 0.4.0 ( #85 )
2023-09-18 14:05:36 +02:00
Fabrice Drouin
ffcaaf1b64
Set version to 0.10.1 ( #84 )
2023-06-28 13:03:19 +02:00
Fabrice Drouin
6ef94df247
Use secp256k1 0.3.2 ( #83 )
2023-06-28 10:43:05 +02:00
Fabrice Drouin
317e086cba
Set version to 0.10.0 ( #82 )
2023-05-11 18:29:50 +02:00
Fabrice Drouin
7c7aabba80
Upgrade to Kotlin 1.8 ( #81 )
...
* Upgrade to Kotlin 1.8
* Update snapshot deployment script
Kotlin 1.8 creates a new metadata jar for ios modules.
2023-05-11 17:53:41 +02:00
Fabrice Drouin
b6823cbda6
Update CI build ( #80 )
2023-04-25 09:55:48 +02:00
Fabrice Drouin
d50d9060c2
Set version to 0.9.0 ( #78 )
2023-04-13 09:36:07 +02:00
Fabrice Drouin
bf05a001fe
Update Android build plugin and tools ( #75 )
2023-04-11 18:42:06 +02:00
Fabrice Drouin
d9e5fda600
Set version to 0.8.0 ( #73 )
2023-03-09 11:41:08 +01:00
Fabrice Drouin
8c984678be
Use secp256k1 0.3.0 ( #72 )
...
* Use secp256k1 0.3.0
* Set version to 0.8.0-SNAPSHOT
2023-03-09 11:10:41 +01:00
Fabrice Drouin
cec3fb385f
Set version to 0.7.1 ( #70 )
2023-01-04 15:33:55 +01:00
Fabrice Drouin
52d73951e6
Set version to 0.7.1-SNAPSHOT ( #68 )
2022-12-13 19:33:06 +01:00
Fabrice Drouin
5e59132e2a
Set version to 0.7.0 ( #64 )
2022-09-21 16:25:50 +02:00
Fabrice Drouin
d4eba9fb96
Update to kotlin 1.6 ( #63 )
...
Use kotlin 1.6 (and gradle 7.5.1)
2022-09-21 16:00:19 +02:00
Fabrice Drouin
d01a067159
Update secp256k1 sources ( #60 )
...
* Set version to 0.6.5-SNAPSHOT
* Update secp256k1 sources
We use 44c2452fd387f7ca604ab42d73746e7d3a44d8a2, same as bitcoin core at c41bfd1070176efcaae7fa33313cb4c3e88b44b0
2022-08-03 10:01:40 +02:00
Fabrice Drouin
75f45e9191
Set version to 0.6.4 ( #53 )
2022-04-11 15:17:42 +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 )
2022-03-23 19:15:00 +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 )
2022-01-04 11:27:49 +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.
2021-11-07 20:37:50 +01:00
sstone
e378bb04b1
Set version to 0.6.1-SNAPSHOT
2021-09-23 13:37:05 +02:00
Fabrice Drouin
60801787f9
Release 0.6.0 ( #30 )
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
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 )
2021-06-28 11:30:05 +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
eadd428895
Set version to 0.5.1 ( #17 )
2021-03-22 21:44:01 +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
2021-03-08 16:50:25 +01:00
sstone
bb25eb21b7
Set version to 0.4.1
2020-09-16 10:40:37 +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>
2020-08-18 10:52:42 +02:00
sstone
7a33c81c01
Use Kotlin 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>
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>
2020-07-16 22:21:30 +02:00