Repository navigation
Conversation
SPARK_SEED_FINGERPRINT names the only MF_ seed that may sign for Spark, at the SPARK_ACCOUNT Spark account (required, no default). Any other wallet is refused before KMS is called, and so is a seed marked Compromised. The decrypted mnemonic is normalized to single spaces, validated as BIP-39 and must reproduce its MF_ fingerprint; errors never echo it. Only the derived Spark account keys are cached, for SPARK_SIGNER_CACHE_SECONDS (60 by default, 0 disables). The mnemonic and master key are never cached. The signer serves an explicit list of operations; this layer serves only info and identity-public-key, so callers can pin the identity first. Everything else under /spark/ is a 404 that never touches a seed.
Account 0 is NSpark's default and what NodeGuard uses unless told otherwise. An invalid value is still a configuration error.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
SPARK_SEED_FINGERPRINT) may sign for Spark; other seeds and compromised seeds are refused./spark/infoand the Spark identity key.SPARK_ACCOUNTdefaults to 0.Stack created with GitHub Stacks CLI • Give Feedback 💬