summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDan McGee <dan@archlinux.org>2011-09-01 14:47:33 -0500
committerDan McGee <dan@archlinux.org>2011-09-02 21:41:40 -0500
commit3c3ee6796a417cdd06be5639989a570b22318a20 (patch)
treeded904e6422f1ac69f260b3456443c10b933e950
parent83a1e4fee39321358858841069e1fe36d44edefc (diff)
downloadpacman-3c3ee6796a417cdd06be5639989a570b22318a20.tar.xz
pacman-key: document --lsign-key
Signed-off-by: Dan McGee <dan@archlinux.org>
-rw-r--r--doc/pacman-key.8.txt4
-rw-r--r--scripts/pacman-key.sh.in1
2 files changed, 5 insertions, 0 deletions
diff --git a/doc/pacman-key.8.txt b/doc/pacman-key.8.txt
index 3582b993..4201107f 100644
--- a/doc/pacman-key.8.txt
+++ b/doc/pacman-key.8.txt
@@ -77,6 +77,10 @@ Options
*--list-sigs* [keyid(s)]::
Same as --list-keys, but the signatures are listed too.
+*\--lsign-key* <keyid>::
+ Locally sign the given key. This is primarily used to root the web of trust
+ in the local private key generated by \--init.
+
*-r, \--receive* <keyserver> <keyid(s)>::
Fetch the specified keyids from the specified key server URL.
diff --git a/scripts/pacman-key.sh.in b/scripts/pacman-key.sh.in
index 14ea07d5..b469fd3a 100644
--- a/scripts/pacman-key.sh.in
+++ b/scripts/pacman-key.sh.in
@@ -74,6 +74,7 @@ usage() {
echo "$(gettext " --import-trustdb <dir(s)> Imports ownertrust values from trustdb.gpg in dir(s)")"
echo "$(gettext " --init Ensure the keyring is properly initialized")"
echo "$(gettext " --list-sigs [<keyid(s)>] List keys and their signatures")"
+ echo "$(gettext " --lsign-key <keyid> Locally sign the specified keyid")"
printf "$(gettext " --populate [<keyring(s)] Reload the default keys from the (given) keyrings\n\
in '%s'")\n" "@pkgdatadir@/keyrings"
}