Skip to content

feat: require insecure flag to output private keys to node config json - #735

Open
alxdca wants to merge 1 commit into
mainfrom
feat/insecure-flag
Open

feat: require insecure flag to output private keys to node config json#735
alxdca wants to merge 1 commit into
mainfrom
feat/insecure-flag

Conversation

@alxdca

@alxdca alxdca commented Jul 28, 2026

Copy link
Copy Markdown
Contributor

Summary

  • Require the SDK prepareNodeConfig API and scripting schemas to receive an explicit insecure boolean.
  • Reject private-key parameters unless insecure is true, while generating key-free node configurations by default.
  • Update the prepare-node-config example with inline --insecure parsing, a workspace SDK dependency, and production guidance for runtime secret injection.

Why / Context

node-config.json can embed batch-poster and validator private keys. This change makes that secret exposure an explicit opt-in.

The documented production workflow keeps the persistent configuration key-free and injects credentials through the runtime secret-management system when Nitro starts.

@alxdca
alxdca requested a review from spsjvc July 28, 2026 15:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant