encrypt(1) also needs to pledge "wpath" for getpass().
authordoug <doug@openbsd.org>
Sat, 10 Oct 2015 18:14:20 +0000 (18:14 +0000)
committerdoug <doug@openbsd.org>
Sat, 10 Oct 2015 18:14:20 +0000 (18:14 +0000)
commita6252556487847a566efae683c2069fcfbad2b5e
tree5f948b8207c583fca66da1b94cb4cc254124a535
parent57ae68919325b77be9ad4af9b2b44fac8156f600
encrypt(1) also needs to pledge "wpath" for getpass().

getpass() opens /dev/tty RW so it can write the prompt.

ok deraadt@
usr.bin/encrypt/encrypt.c