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 03:33:51 +0000 (22:33 -0500)
commitf310735975a199f8fde08e7ffeb42412e75daa3c
tree5e9ad1c2fdcae70ef8618b8a976bd5f5e33d2349
parentcb8ebf792e919b1797bf16b6606427d77c45c947
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