X-Git-Url: https://codewiz.org/gitweb?a=blobdiff_plain;f=src%2Fsubcommands%2Fma%2Flist-certifiers;h=83f77869c063ea55deb1fad83dccb083a1dacc9e;hb=6923ef580f068ff535af273714e59235260ab7b6;hp=789d553225789716a72c01308a87eb2c5f112b92;hpb=7d4b4815db8ba2f6f984a18a90b50032cf9158ba;p=monkeysphere.git diff --git a/src/subcommands/ma/list-certifiers b/src/subcommands/ma/list-certifiers old mode 100755 new mode 100644 index 789d553..83f7786 --- a/src/subcommands/ma/list-certifiers +++ b/src/subcommands/ma/list-certifiers @@ -1,4 +1,5 @@ -#!/usr/bin/env bash +# -*-shell-script-*- +# This should be sourced by bash (though we welcome changes to make it POSIX sh compliant) # Monkeysphere authentication list-certifiers subcommand # @@ -7,11 +8,13 @@ # Jamie McClelland # Daniel Kahn Gillmor # -# They are Copyright 2008, and are all released under the GPL, version 3 -# or later. +# They are Copyright 2008-2009, and are all released under the GPL, +# version 3 or later. # list the host certifiers +list_certifiers() { + local keys local key @@ -23,3 +26,5 @@ keys=$(gpg_authentication "--no-options --list-options show-uid-validity --keyri for key in $keys ; do gpg_authentication "--no-options --list-options show-uid-validity --keyring ${GNUPGHOME_AUTHENTICATION}/pubring.gpg --list-key --fingerprint $key" done + +}