envoy: -p is calling gpg_update_tty twice