Comments (8)
happening to me too on MacOS 10.14.6
(PARI installed using homebrew
). Have enabled parisizemax
in .gprc but didn't help.
from multi-party-ecdsa.
thanks for reporting
from multi-party-ecdsa.
I got two reports for users that on their machines the problem did not occur. I will get more details on their setups. They suggested to consult : http://pari.math.u-bordeaux.fr/pub/pari/manuals/2.11.1/libpari.pdf page 17
from multi-party-ecdsa.
here are the setups that report of NO error:
1)
Ubuntu 19.04, with rustc 1.39.0-nightly, gp/pari 2.11.1. I ran
60 times the cargo test --features=cclst without errors.
macOS Mojave 10.14.6 and installed rust in a virtualbox
6.0.10 r132072 with debian stable 10.1, rustc 1.39.0-nightly
from multi-party-ecdsa.
I setup a fresh Ubuntu 19.04 on Digital Ocean with apt-get install build-essential llvm clang
, installed with rustup nightly and still not working. I got a
process didn't exit successfully: `/root/multi-party-ecdsa/target/debug/build/class_group-2cc3d835d71af03f/build-script-build` (exit code: 101)
--- stderr
wrapper.h:2:10: fatal error: 'pari/pari.h' file not found
wrapper.h:2:10: fatal error: 'pari/pari.h' file not found, err: true
thread 'main' panicked at 'Unable to generate bindings: ()', src/libcore/result.rs:1165:5
Then tried to install PARI via apt-get install pari-gp2c
and it build but got a different error:
root@ubuntu-s-2vcpu-2gb-lon1-01:~/multi-party-ecdsa# RUST_BACKTRACE=1 cargo test --features=cclst
Compiling class_group v0.1.4 (https://github.com/KZen-networks/class-groups?tag=v0.1.4#4501c2b8)
Compiling multi-party-ecdsa v0.2.3 (/root/multi-party-ecdsa)
error[E0308]: mismatched types
--> src/protocols/two_party_ecdsa/cclst_2019/party_one.rs:278:13
|
278 | GE::generator() * &party_one_private.x1,
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected struct `curv::elliptic::curves::secp256_k1::Secp256k1Point`, found a different struct `curv::elliptic::curves::secp256_k1::Secp256k1Point`
|
= note: expected type `curv::elliptic::curves::secp256_k1::Secp256k1Point` (struct `curv::elliptic::curves::secp256_k1::Secp256k1Point`)
found type `curv::elliptic::curves::secp256_k1::Secp256k1Point` (struct `curv::elliptic::curves::secp256_k1::Secp256k1Point`)
note: Perhaps two different versions of crate `curv` are being used?
--> src/protocols/two_party_ecdsa/cclst_2019/party_one.rs:278:13
|
278 | GE::generator() * &party_one_private.x1,
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
error: aborting due to previous error
🤷♂️
from multi-party-ecdsa.
@trepca the error you got was my fault. I fixed this error and now it should work. Please confirm
from multi-party-ecdsa.
I check the idea of @amanusk from ZenGo-X/class#20 .
It appears that running single thread all the tests solves the problem:
cargo test --features=cclst -- --test-threads=1
We do need to find a way to run Pari in parallel
from multi-party-ecdsa.
great, that works, even natively on MacOS
from multi-party-ecdsa.
Related Issues (20)
- No zk proof for N_i HOT 1
- Is there any instructions or examples for verifying the signature (for gg20)? HOT 9
- Is there any instructions or examples for decentralized HD wallet using GG20 ?
- libsecp256k1 allows overflowing signatures HOT 1
- Is it possible and practical to integrate the entire signing role, or `sm_client` to frontend implementation?
- Why did you replace libsecp256k1 with secp256k1?
- check_sig from common.rs seems to reject some valid signatures HOT 4
- Generate PublicKey and sign (ETH,BTC ,...) transactions HOT 3
- Question about the GG20 reference being obsolete
- how to get the final public key from the generated keys HOT 3
- [Feature request] Node.js binding
- How to verify signature generated in blockchain and send transaction using public key generated during key generation process
- how to expand to support starknet curve?
- Is the RFC 6979 can be supported? HOT 2
- Question : How to create "p" and "q" for pailier key pair to satisfy GG18 consideration?
- Question about the limitation of the size of sign message in demo/run.sh
- Public key remains unchanged and the shards are regenerated.
- Error while compiling on Ubuntu and MacOS HOT 2
- GG18 & GG20 Paillier Key Vulnerability
- Build Code Error
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from multi-party-ecdsa.