Make -s read passphrases without prompts or confirmation
authorkn <kn@openbsd.org>
Fri, 18 Aug 2023 14:09:19 +0000 (14:09 +0000)
committerkn <kn@openbsd.org>
Fri, 18 Aug 2023 14:09:19 +0000 (14:09 +0000)
commit5f2199705df039fb82c164ef15090482a3a3693c
treeca72e1634ab80224191a3f28d4938aae7945ecb6
parent02d561d09200565aadf0aa2290278a365803be27
Make -s read passphrases without prompts or confirmation

-s for non-interactive usage disables prompts, but still silently expects
two inputs, which is neither intuitive nor ergonomic.

Fix this get sane scriptable behaviour and documentation.

Feedback OK jsing op
sbin/bioctl/bioctl.8
sbin/bioctl/bioctl.c