ethers-x Secret storage meta only implements defaultPath? #392
Labels
bug
Verified to be an issue.
fixed/complete
This Bug is fixed or Enhancement is complete and published.
So after your wonderful explanation yesterday I set out to implement secret storage format.
Like I perhaps mentioned earlier we use a custom path.
If I understand correctly this should be saved under the x-ethers section but I can't see the property.
When I check
var path = searchPath(data, 'x-ethers/path') || defaultPath;
it will always result in the defaultPath because searchPath(data, 'x-ethers/path') will always return null.as a result I get
mnemonic mismatch
.The path is set in the plaintext version but after encryption it is not to be found.
I use ethers 3.0 but I checked the 4.0 version codebase and the problem seems to persist there?
The text was updated successfully, but these errors were encountered: