protolambda / eth2-val-tools

Some experimental tools to manage validators - use at your own risk
MIT License
63 stars 21 forks source link

Lodestar 0x prefix on secrets path #8

Closed dapplion closed 2 years ago

dapplion commented 2 years ago

In legacy version of Lodestar

The secrets dir has pubkey-named files containing passwords, but the pubkey in the names are encoded without the 0x prefix. The validators-DB dir is unimportant, and can be left empty. This is managed by lodestar.

This is an old bug that has been patched for a while. To drop this legacy code that reads the password from either 0x prefixed or not named files this tool should be updated.

Lodestar can use the exact same logic as Lighthouse or 0x prefix the secret key filename

protolambda commented 2 years ago

Fixed in #9 I think. Keeping the directory around for backwards compatibility.

dapplion commented 2 years ago

Fixed in #9 I think. Keeping the directory around for backwards compatibility.

Thank you! :heart: