ChainSafe / ChainSafe/lodestar

Support different passwords for each keystore

Open
#5,249 7 comments 0 reactions 1 assignee Claimed by @JackCC703 View on GitHub
good first issue help wanted meta-feature-request prio-medium
Dominant language
TypeScript
Stars
1.4k
Forks
483
Avg merge
1d 16h
Merged PRs (30d)
150

Description

**Is your feature request related to a problem? Please describe.**

There are two flags: `--importKeystores` and `--importKeystoresPassword`. Where `--importKeystores` expects a directory with all the keystores while `--importKeystoresPassword` expects just ONE password file to decrypt ALL the keystores. What if we have keystores with different password for each keystore?

**Describe the solution you'd like**

Support multiple password file formats (simple and mapped) or option to provide multiple password files, maybe similar approach to how [teku validator-keys](https://docs.teku.consensys.net/Reference/CLI/CLI-Syntax/#validator-keys) work.

I could imagine a file structure like this

```txt
:
:
:
```

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.