diff options
author | Werner Koch <[email protected]> | 1999-04-06 18:04:55 +0000 |
---|---|---|
committer | Werner Koch <[email protected]> | 1999-04-06 18:04:55 +0000 |
commit | 1b9a820c19d8ada57d19ea9ec1bbf7e80cb69d18 (patch) | |
tree | fa5639c6ee2652942b712a244125734d7155c937 /g10/import.c | |
parent | ./BUGS (diff) | |
download | gnupg-1b9a820c19d8ada57d19ea9ec1bbf7e80cb69d18.tar.gz gnupg-1b9a820c19d8ada57d19ea9ec1bbf7e80cb69d18.zip |
See ChangeLog: Tue Apr 6 19:58:12 CEST 1999 Werner Koch
Diffstat (limited to '')
-rw-r--r-- | g10/import.c | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/g10/import.c b/g10/import.c index 920aafbea..deab7f4bd 100644 --- a/g10/import.c +++ b/g10/import.c @@ -796,7 +796,12 @@ delete_inv_parts( const char *fname, KBNODE keyblock, u32 *keyid ) else if( node->pkt->pkttype == PKT_SIGNATURE && (p = parse_sig_subpkt2( node->pkt->pkt.signature, SIGSUBPKT_EXPORTABLE, NULL )) - && !*p ) { + && !*p + && seckey_available( node->pkt->pkt.signature->keyid ) ) { + /* here we violate the rfc a bit by still allowing + * to import non-exportable signature when we have the + * the secret key used to create this signature - it + * seems that this makes sense */ log_info_f(fname, _("key %08lX: non exportable signature " "(class %02x) - skipped\n"), (ulong)keyid[1], |