boltlabs-inc / tss-ecdsa

An implementation of a threshold ECDSA signature scheme
Other
11 stars 5 forks source link

Compilation Error on `rug` v1.24 #513

Closed gatoWololo closed 6 months ago

gatoWololo commented 7 months ago

Trying to compile this from scratch is currently causing compiler errors in a sub-sub-dependency: rug with v1.24.0. This is due to a missing std feature. Compilation error:

error[E0599]: no method named `to_string_radix` found for struct `rug::Integer` in the current scope
  --> /home/user/.cargo/registry/src/index.crates.io-6f17d22bba15001f/unknown_order-0.6.0/src/gmp_backend.rs:46:18
   |
46 |     |b: &Bn| b.0.to_string_radix(16),
   |                  ^^^^^^^^^^^^^^^ method not found in `Integer`
error: could not compile `unknown_order` (lib) due to 4 previous errors

See https://github.com/mikelodder7/paillier-rs/issues/8 for more information.

The current workaround is to specify rug in the Cargo.toml. I will make a PR for this fix so we can merge it.

gatoWololo commented 6 months ago

Closed by #514