Changes to --min-cert-level should cause a trustdb rebuild (issue 1366)
authorDavid Shaw <dshaw@jabberwocky.com>
Fri, 20 Jan 2012 03:33:51 +0000 (22:33 -0500)
committerDavid Shaw <dshaw@jabberwocky.com>
Fri, 20 Jan 2012 04:03:56 +0000 (23:03 -0500)
commit333b870929b9f6f65d9b229d301c0b38719da430
tree1e27f494f6ba1de79f319e422b0f96d94ab7d619
parent27a1e8d62014ba4550b9cfaff9e01267bce60ad5
Changes to --min-cert-level should cause a trustdb rebuild (issue 1366)

* g10/gpgv.c, g10/trustdb.c (read_trust_options): Add min_cert_level

* g10/trustdb.c (check_trustdb_stale): Request a rebuild if
  pending_check_trustdb is true (set when we detect a trustdb
  parameter has changed).

* g10/keylist.c (public_key_list): Use 'l' in the "tru" with-colons
  listing for min_cert_level not matching.

* g10/tdbio.c (tdbio_update_version_record, create_version_record,
  tdbio_db_matches_options, tdbio_dump_record, tdbio_read_record,
  tdbio_write_record): Add a byte for min_cert_level in the tdbio
  version record.
g10/gpgv.c
g10/keylist.c
g10/tdbio.c
g10/tdbio.h
g10/trustdb.c
g10/trustdb.h