hyperledger / identus-apollo

Collection of the cryptographic methods used all around identus
Apache License 2.0
10 stars 4 forks source link

fix: Invalid signature integer: negative on JS platform #158

Closed elribonazo closed 6 months ago

elribonazo commented 6 months ago

Description:

Adding a fix for JS signatures which result in Invalid signature integer: negative. Simply added a try catch and now we conditionally run the transcoding function as last resource.

All CommonMain and JSMain tests are working.

Checklist:

atala-dev commented 6 months ago

Code Coverage

File Coverage [91.67%] :white_check_mark:
apollo/src/jsMain/kotlin/io/iohk/atala/prism/apollo/secp256k1/Secp256k1Lib.kt 91.67% :white_check_mark:
Total Project Coverage 91.72% :white_check_mark:
atala-dev commented 6 months ago

:tada: This PR is included in version 1.2.16 :tada:

The release is available on:

Your semantic-release bot :package::rocket: