You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This is causing the following error in our CI workflow:
Downloaded zeroize v1.4.0
error: failed to parse manifest at `/home/runner/.cargo/registry/src/github.com-1ecc6299db9ec823/zeroize-1.4.0/Cargo.toml`
Caused by:
feature `resolver` is required
this Cargo does not support nightly features, but if you
switch to nightly channel you can add
`cargo-features = ["resolver"]` to enable this feature
Error: Process completed with exit code 101.
I did a preliminary look at swapping tiny-bip39 with rust-bip39 and the one missing part right now is rust-bip39 doesn't currently implement seed generation from the phrase.
I confirmed that using @LLFourn 's PR maciejhirsz/tiny-bip39#29 patched version of tiny-bip39 in bdk I'm able to remove the fix from #400 and build and test the all-keys feature with rust 1.46.0.
Oops, nevermind. still broken after removing Cargo.lock and doing a cargo clean.
Activity
notmandatory commentedon Jul 19, 2021
Can we switch to https://github.com/rust-bitcoin/rust-bip39? it's MSRV is 1.29.
afilini commentedon Jul 20, 2021
Yeah I guess it makes sense, I'm gonna reopen this issue to keep track of that
[-]Build with +1.46.0 toolchain fails for `all-keys` features[/-][+]Switch to a different BIP39 implementation[/+]notmandatory commentedon Jul 20, 2021
I did a preliminary look at swapping
tiny-bip39withrust-bip39and the one missing part right now isrust-bip39doesn't currently implement seed generation from the phrase.notmandatory commentedon Sep 21, 2021
As commented in
bip39.rs, another option is to write our ownbip-39implementation, ideally with no new dependencies.notmandatory commentedon Sep 21, 2021
I confirmed that using @LLFourn 's PR maciejhirsz/tiny-bip39#29 patched version oftiny-bip39inbdkI'm able to remove the fix from #400 and build and test theall-keysfeature with rust1.46.0.Oops, nevermind. still broken after removing
Cargo.lockand doing acargo clean.rajarshimaitra commentedon Oct 25, 2021
I am willing to work on this.. Does it make sense to implement our own bip39? Should not be too difficult. If yes I can start sketching one.
rajarshimaitra commentedon Oct 27, 2021
I looked into rust-bip39 and it seems it should be possible to use that with slight refactoring of our
keys.rsmodule. rust-bip39 does support seed generation from mnemonic phrase, https://github.com/rust-bitcoin/rust-bip39/blob/520e15a6e5b86940dae2d386d90b4b3616491d13/src/lib.rs#L477-L486.I am working on the transition. Should not take long.
notmandatory commentedon Oct 28, 2021
Sounds great if we can use
rust-bip39that will be ideal.