summaryrefslogtreecommitdiff
path: root/src/share/mh/revoke_key
diff options
context:
space:
mode:
authorMatthew Goins <mjgoins@openflows.com>2009-07-11 19:04:26 -0400
committerMatthew Goins <mjgoins@openflows.com>2009-07-11 19:04:26 -0400
commitb6bd17157915c420b8cda418abc4c658e2da83c6 (patch)
tree0dc1d5ff6dfb32f5e0f9f6af9a2f9f8feba11835 /src/share/mh/revoke_key
parent9eb1c769ec82b339079ba786fce9592ec846f115 (diff)
parent56f591cdd4f4e7032d573f2942f7b6cf3a01c8c2 (diff)
Merge commit 'jrollins/master'
Diffstat (limited to 'src/share/mh/revoke_key')
-rw-r--r--src/share/mh/revoke_key6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/share/mh/revoke_key b/src/share/mh/revoke_key
index ad68d5f..5460e51 100644
--- a/src/share/mh/revoke_key
+++ b/src/share/mh/revoke_key
@@ -33,7 +33,8 @@ Publishing this certificate will IMMEDIATELY and PERMANENTLY revoke
your host key!
EOF
- read -p "Publish the certificate after generation? (y/n/Q) " publish
+ printf "Publish the certificate after generation? (y/n/Q) " >&2
+ read publish
if ! [ "${publish/y/Y}" = 'Y' -o "${publish/n/N}" = 'N' ] ; then
failure "aborting at user request"
@@ -87,7 +88,8 @@ y
if [ "${publish/y/Y}" = 'Y' ] ; then
printf "\n" >&2
- read -p "Really publish this cert to $KEYSERVER ? (Y/n) " really
+ printf "Really publish this cert to $KEYSERVER ? (Y/n) " >&2
+ read really
if [ "${really/n/N}" = 'N' ] ; then
printf "Not publishing.\n" >&2
else