if echo "$adduidCommand" | \
gpg_host --quiet --command-fd 0 --edit-key "0x${fingerprint}!" ; then
- # update the trustdb for the authentication keyring
- gpg_authentication "--check-trustdb"
-
show_key
echo
# They are Copyright 2008, and are all released under the GPL, version 3
# or later.
+gen_key() {
+
local keyType="RSA"
local keyLength="2048"
local keyUsage="auth"
# show info about new key
show_key
+
+}
# They are Copyright 2008, and are all released under the GPL, version 3
# or later.
+import_key() {
+
local hostName=$(hostname -f)
local keyFile="/etc/ssh/ssh_host_rsa_key"
local keyExpire
# show info about new key
show_key
+
+}
if echo "$revuidCommand" | \
gpg_host --quiet --command-fd 0 --edit-key "0x${fingerprint}!" ; then
- # update the trustdb for the authentication keyring
- gpg_authentication "--check-trustdb"
-
show_key
echo