mirror of
git://git.gnupg.org/gnupg.git
synced 2025-07-02 22:46:30 +02:00
* options.h, trustdb.c (trust_model_string, init_trustdb): Add support for
"external" trust model, where the user can provide a pregenerated trustdb. * keyedit.c (keyedit_menu): Do not allow editing ownertrust with an external trust model trustdb.
This commit is contained in:
parent
80caf9957f
commit
c47ec46526
4 changed files with 30 additions and 8 deletions
|
@ -1565,6 +1565,13 @@ keyedit_menu( const char *username, STRLIST locusr, STRLIST commands,
|
|||
break;
|
||||
|
||||
case cmdTRUST:
|
||||
if(opt.trust_model==TM_EXTERNAL)
|
||||
{
|
||||
tty_printf(_("Owner trust may not be set while "
|
||||
"using an user provided trust database\n"));
|
||||
break;
|
||||
}
|
||||
|
||||
show_key_with_all_names( keyblock, 0, 0, 0, 1, 0 );
|
||||
tty_printf("\n");
|
||||
if( edit_ownertrust( find_kbnode( keyblock,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue