aboutsummaryrefslogtreecommitdiffstats
path: root/doc/gpgsm.texi
diff options
context:
space:
mode:
authorWerner Koch <[email protected]>2020-08-06 14:02:59 +0000
committerWerner Koch <[email protected]>2020-08-06 14:03:57 +0000
commit646a30fd394a739ef653556b1a7b2eeebda95951 (patch)
treebefdb6d743cb20053b19a57dc3be46d4dde54c93 /doc/gpgsm.texi
parentgpgconf: New option --chuid. (diff)
downloadgnupg-646a30fd394a739ef653556b1a7b2eeebda95951.tar.gz
gnupg-646a30fd394a739ef653556b1a7b2eeebda95951.zip
gpgsm: New option --chuid.
* sm/gpgsm.c (oChUid, opts): New option --chuid. (main): Implement option. -- This option will at least be useful for Scute. Signed-off-by: Werner Koch <[email protected]>
Diffstat (limited to 'doc/gpgsm.texi')
-rw-r--r--doc/gpgsm.texi11
1 files changed, 11 insertions, 0 deletions
diff --git a/doc/gpgsm.texi b/doc/gpgsm.texi
index 0579be3ba..516213841 100644
--- a/doc/gpgsm.texi
+++ b/doc/gpgsm.texi
@@ -675,6 +675,17 @@ interoperability problems.
@table @gnupgtabopt
+@item --chuid @var{uid}
+@opindex chuid
+Change the current user to @var{uid} which may either be a number or a
+name. This can be used from the root account to run gpgsm for
+another user. If @var{uid} is not the current UID a standard PATH is
+set and the envvar GNUPGHOME is unset. To override the latter the
+option @option{--homedir} can be used. This option has only an effect
+when used on the command line. This option has currently no effect at
+all on Windows.
+
+
@item --extra-digest-algo @var{name}
@opindex extra-digest-algo
Sometimes signatures are broken in that they announce a different digest