FuelLabs / FuelLabs/forc

Wallet new generates keys with incorrect length

Open
#17 1 comment 1 reaction 1 assignee Claimed by @MujkicA View on GitHub
bug forc-wallet
Dominant language
Rust
Stars
0
Forks
0
Avg merge
1d 22h
Merged PRs (30d)
3

Description

https://github.com/FuelLabs/fuels-rs/issues/1289

The above issue on the Rust SDK led me to discover that we provide `eth_keystore::encrypt_key` with a mnemonic to be used
as pk here:

https://github.com/FuelLabs/forc-wallet/blob/4d5fa8b1214df6bcad9b31dbef571a67af70da8f/src/utils.rs#L129

which leads to variable length keys being generated instead of the expected 32 bytes.

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.