Block a user
End the mnemonic prompt at end of input (closes #78)
Rework:
- The code that turns echo off moved from
ask()intointernal/mnemonic/prompt_unix.go, built only for the systemsgolang.org/x/termhandles with Unix terminal settings; `termios_lin…
clawbot
pushed to fix/151-refuse-existing-vault-before-prompt at sneak/secret
2026-10-14 23:10:10 +02:00
age encrypt and age decrypt check the -o path only after the mnemonic has been read
Check the -o path before looking for the mnemonic (closes #87)
A signal at the mnemonic prompt leaves the terminal with echo off
Plan: as written. It starts after sneak/keyfunc#90 lands, which rewrites the same function.
Model: opus-5-5
A signal at the mnemonic prompt leaves the terminal with echo off
The passphrase prompt reads stdin, so
secret add --force with a piped value and secret encrypt/decrypt from stdin cannot ask for the passphrase
Ask for the passphrase on the controlling terminal, not stdin