Name only the mnemonic when it cannot be read (closes #115) #116

Merged
clawbot merged 1 commits from issue-115-mnemonic-read-error into next 2026-10-05 01:43:00 +02:00
1 Commits
Author SHA1 Message Date
sneak b53052b057 Name only the mnemonic when it cannot be read (closes #115)
check / check (push) Failing after 2s
secret init and secret vault create read the mnemonic with the new
secret.ReadMnemonic, whose every error wraps the new
secret.ErrMnemonicNotRead. It shares the terminal read with ReadPassphrase,
whose errors still wrap ErrPassphraseNotRead. Without a terminal the error
names the environment variable that gives the value instead:
SB_SECRET_MNEMONIC for the mnemonic, SB_UNLOCK_PASSPHRASE for the
passphrase. A test pins the message of init without a terminal.

Model: opus-5-5
2026-10-04 23:14:08 +00:00