# retrieve key from web of trust, import it into the host keyring, and
# ltsign the key in the host keyring so that it may certify other keys
+add_certifier() {
+
local domain
local trust
local depth
else
failure "Problem adding identify certifier."
fi
+
+}
# They are Copyright 2008, and are all released under the GPL, version 3
# or later.
-# * check on the status and validity of the key and public certificates
+# check on the status and validity of the key and public certificates
+
+diagnostics() {
+
local seckey
local keysfound
local curdate
else
echo "Everything seems to be in order!"
fi
+
+}
# list the host certifiers
+list_certifiers() {
+
local keys
local key
for key in $keys ; do
gpg_authentication "--no-options --list-options show-uid-validity --keyring ${GNUPGHOME_AUTHENTICATION}/pubring.gpg --list-key --fingerprint $key"
done
+
+}
# delete a certifiers key from the host keyring
+remove_certifier() {
+
local keyID
local fingerprint
failure "Problem removing identity certifier."
fi
+}
# They are Copyright 2008, and are all released under the GPL, version 3
# or later.
+update_users() {
+
if [ "$1" ] ; then
# get users from command line
unames="$@"
# destroy temporary directory
rm -rf "$TMPLOC"
- done
+done
+
+}
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