question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Better options for managing large numbers of keys

See original GitHub issue

Description

From @protolambda

Hey, is there some better way to run multiple validators with Teku. Instead of passing a huge list to --validators-key-files in the CLI? Lighthouse does something neat where you specify just a secrets dir, and each password file is named by pubkey, so the client can find them.

Or maybe use a csv or json of account -> password mappings? If a directory is too complicated to implement on what’s already there?

I’ll try generating the CLI argument, but it would be neat to just have Teku resolve where to find the passphrases for the key files

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Reactions:2
  • Comments:7 (7 by maintainers)

github_iconTop GitHub Comments

1reaction
ajsuttoncommented, Jun 5, 2020

@protolambda For the record any command line option in Teku can also be put in a YAML config file. But it’s still annoying to have to list every key individually.

0reactions
rolfyonecommented, Jun 8, 2020

to flatten the folder structure, we’ll change:

├── validator_814a1a6
│   ├── validator_814a1a6.json
│   └── withdrawal_8b3ad4d.json
├── validator_81ee3ca
│   ├── validator_81ee3ca.json
│   └── withdrawal_8077d79.json

for validator 814a1a6 (pubkey), we will generate

key/814a1a6_validator.json
key/814a1a6_withdrawal.json

and its password would be in

secrets/814a1a6_validator
secrets/814a1a6_withdrawal

then part 2 is specifying the key folder and secrets folder to make this all work… they could easily be broken into separate concerns and worked on independent of each other at this point.

Read more comments on GitHub >

github_iconTop Results From Across the Web

10 Key Management Best Practices You Should Know | Fortanix
10 Key Management Best Practices You Should Know · 1. Algorithms and key sizes · 2. Key lifecycle management · 3. Secure storage...
Read more >
5 Keys to Better Key Management - Dark Reading
1. Start with really good keys — and an inventory scan. · 2. Analyze your entire risk profile across your whole environment. ·...
Read more >
16 Encryption Key Management Best Practices - phoenixNAP
Learn about the encryption key management best practices that help ... Be sensible with key sizes as large keys often cause issues.
Read more >
The Ultimate Guide to Key Control in the Workplace
Learn how to create a comprehensive key control policy from planning to execution. Get the information you need to create a safer workplace...
Read more >
The 13 Best Key Organizers for 2022 - The Modest Man
Looking for a new key organizer? I tested Orbitkey, KeySmart, Keybar, Bellroy and others to find the best key holder money can buy....
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found