diff options
| author | David Shaw <[email protected]> | 2003-12-30 00:46:42 +0000 |
|---|---|---|
| committer | David Shaw <[email protected]> | 2003-12-30 00:46:42 +0000 |
| commit | d537d547cef144014f46aa050b5e3b911c48cf93 (patch) | |
| tree | 85f447f01b82038836c25b79e0a2546876b53556 /g10/pkclist.c | |
| parent | * gpgkeys_hkp.c (send_key, get_key, main): Work with new HTTP code that (diff) | |
| download | gnupg-d537d547cef144014f46aa050b5e3b911c48cf93.tar.gz gnupg-d537d547cef144014f46aa050b5e3b911c48cf93.zip | |
* misc.c (pull_in_libs): Dead code. Removed.
* sig-check.c (check_revocation_keys): Comments.
* getkey.c (merge_selfsigs_main): Don't bother to check designated revoker
sigs if the key is already revoked.
* packet.h, getkey.c (merge_selfsigs_main): New "maybe_revoked" flag on
PKs. It is set when there is a revocation signature from a valid
revocation key, but the revocation key is not present to verify the
signature.
* pkclist.c (check_signatures_trust): Use it here to give a warning when
showing key trust.
* compress-bz2.c: Include stdio.h. Solaris 9 has a very old bzip2 library
and we can at least guarantee that it won't fail because of the lack of
stdio.h.
* tdbio.c: Fixed format string bugs related to the use of DB_NAME.
Reported by Florian Weimer.
Diffstat (limited to 'g10/pkclist.c')
| -rw-r--r-- | g10/pkclist.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/g10/pkclist.c b/g10/pkclist.c index 7a9ac8137..eb4872580 100644 --- a/g10/pkclist.c +++ b/g10/pkclist.c @@ -615,6 +615,10 @@ check_signatures_trust( PKT_signature *sig ) goto leave; } + if(pk->maybe_revoked && !pk->is_revoked) + log_info(_("WARNING: this key might be revoked (revocation key" + " not present)\n")); + trustlevel = get_validity (pk, NULL); if ( (trustlevel & TRUST_FLAG_REVOKED) ) |
