Commit Graph
93 Commits
Author SHA1 Message Date
sstone 929e2cda40 Check that the recovery id is valid
It must be 0,1,2 or 3, this is an explicit requirement of the secp256k1 library.
2023-12-11 11:54:07 +01:00
sstone 41eac9273f Reformat JNI c code (no functional changes) 2023-12-11 10:46:43 +01:00
Fabrice Drouin 161da89ee1 Set version to 0.11.0 (#86) v0.11.0 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) v0.10.1 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 5169073a92 Update README.md 2023-05-15 11:15:30 +02:00
Fabrice Drouin 317e086cba Set version to 0.10.0 (#82) v0.10.0 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) v0.9.0 2023-04-13 09:36:07 +02:00
Fabrice Drouin 6fedb1577c Update build for macos M1 (#77) 2023-04-13 09:15:43 +02:00
Fabrice Drouin 94bb2d67cf Use secp256k1 0.3.1 (#76) 2023-04-11 19:10:51 +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) v0.8.0 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
gandlafbtc 840de25c5f remove kotlin from dependencies in readme example (#71)
The dependencies wouldn't resolve unless I removed kotlin(...)
2023-02-01 17:49:51 +01:00
Fabrice Drouin cec3fb385f Set version to 0.7.1 (#70) v0.7.1 2023-01-04 15:33:55 +01:00
Fabrice Drouin d59def1c79 Use secp256k1 0.2.0 (#67) 2022-12-13 19:33:28 +01:00
Fabrice Drouin 52d73951e6 Set version to 0.7.1-SNAPSHOT (#68) 2022-12-13 19:33:06 +01:00
Fabrice Drouin 08669500b6 Update README.md
Upgrade to a kotlin 1.6.21 badge
2022-09-22 10:29:21 +02:00
thunderbiscuit 68e77c70be Fix artifact names in README (#65) v0.7.0 2022-09-21 17:17:16 +02: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) v0.6.4 2022-04-11 15:17:42 +02:00
Fabrice Drouin 118c72064c Update secp256k1 sources (#52)
We're now at 8746600eec5e7fcd35dabd480839a3a4bdfee87b, same as bitcoin core at 747cdf1d652d8587e9f2e3d4436c3ecdbf56d0a5
2022-04-11 13:34:59 +02:00
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