diff options
author | Daniel Kahn Gillmor <dkg@fifthhorseman.net> | 2009-01-31 18:30:59 -0500 |
---|---|---|
committer | Daniel Kahn Gillmor <dkg@fifthhorseman.net> | 2009-01-31 18:30:59 -0500 |
commit | c700e9b0dcede303ed1f160ba51f564fd314d2e3 (patch) | |
tree | 579690c1cb9e9112aa2fe4924a1c570fee357dcf /src/subcommands/mh/publish-key | |
parent | 7d4b4815db8ba2f6f984a18a90b50032cf9158ba (diff) | |
parent | 0d36aebed69b154903e158a4c0f5cc8707cf5168 (diff) |
merging from jrollins
Diffstat (limited to 'src/subcommands/mh/publish-key')
-rwxr-xr-x | src/subcommands/mh/publish-key | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/subcommands/mh/publish-key b/src/subcommands/mh/publish-key index 792d858..8b36a18 100755 --- a/src/subcommands/mh/publish-key +++ b/src/subcommands/mh/publish-key @@ -12,6 +12,8 @@ # publish server key to keyserver +publish_key() { + read -p "Really publish host key to $KEYSERVER? (y/N) " OK; OK=${OK:=N} if [ ${OK/y/Y} != 'Y' ] ; then failure "key not published." @@ -22,3 +24,5 @@ fingerprint=$(fingerprint_server_key) # publish host key gpg_authentication "--keyserver $KEYSERVER --send-keys '0x${fingerprint}!'" + +} |