diff options
author | Werner Koch <[email protected]> | 2024-04-17 09:42:20 +0000 |
---|---|---|
committer | Werner Koch <[email protected]> | 2024-04-17 09:42:20 +0000 |
commit | 21f7ad563d9bcb6d295e8f313f29b14238e7481f (patch) | |
tree | 544f62b33f36a0b833206140b197b4b0900c8ea2 /doc/gpg.texi | |
parent | gpg: Make --with-subkey-fingerprint the default. (diff) | |
download | gnupg-21f7ad563d9bcb6d295e8f313f29b14238e7481f.tar.gz gnupg-21f7ad563d9bcb6d295e8f313f29b14238e7481f.zip |
gpg: New command --quick-set-ownertrust.
* g10/gpg.c (aQuickSetOwnertrust): New.
(opts): Add new command.
(main): Implement it.
* g10/keyedit.c (keyedit_quick_set_ownertrust): New.
Diffstat (limited to 'doc/gpg.texi')
-rw-r--r-- | doc/gpg.texi | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/doc/gpg.texi b/doc/gpg.texi index f5a6fdd4d..2fe6a8448 100644 --- a/doc/gpg.texi +++ b/doc/gpg.texi @@ -1223,12 +1223,19 @@ all affected self-signatures is set one second ahead. This command updates the preference list of the key to the current default value (either built-in or set via @option{--default-preference-list}). This is the unattended version -of of using "setpref" in the @option{--key-edit} menu without giving a +of using "setpref" in the @option{--key-edit} menu without giving a list. Note that you can show the preferences in a key listing by using @option{--list-options show-pref} or @option{--list-options show-pref-verbose}. You should also re-distribute updated keys to your peers. +@item --quick-set-ownertrust @var{user-id} @var{value} +@opindex quick-set-ownertrust +This command sets the ownertrust of a key and can also be used to set +the disable flag of a key. This is the unattended version of using +"trust", "disable", or "enable" in the @option{--key-edit} menu. + + @item --change-passphrase @var{user-id} @opindex change-passphrase @itemx --passwd @var{user-id} |