2002-06-19 10:29:41 +02:00
|
|
|
2002-06-19 Werner Koch <wk@gnupg.org>
|
|
|
|
|
|
|
|
* keybox-init.c (keybox_set_ephemeral): New.
|
|
|
|
* keybox-blob.c (create_blob_header): Store epheermal flag.
|
|
|
|
(_keybox_create_x509_blob): Pass epheermal flag on.
|
|
|
|
* keybox-update.c (keybox_insert_cert): Ditto.
|
|
|
|
* keybox-search.c (blob_get_blob_flags): New.
|
|
|
|
(keybox_search): Ignore ephemeral blobs when not in ephemeral mode.
|
|
|
|
|
|
|
|
* keybox-dump.c (_keybox_dump_blob): Print blob flags as strings.
|
|
|
|
|
2002-02-25 19:18:18 +01:00
|
|
|
2002-02-25 Werner Koch <wk@gnupg.org>
|
|
|
|
|
|
|
|
* keybox-search.c (blob_cmp_mail): Use case-insensitive compare
|
|
|
|
because mail addresses are in general case insensitive (well
|
|
|
|
RFC2822 allows for case sensitive mailbox parts, but this is in
|
|
|
|
general considired a Bad Thing). Add additional substr parameter
|
|
|
|
to allow for substring matches within the mail address. Change
|
|
|
|
all callers to pass this along.
|
|
|
|
(blob_cmp_name): Likewise but do the case-insensitive search only
|
|
|
|
in sub string mode.
|
|
|
|
(keybox_search): Implement MAILSUB and SUBSTR mode.
|
|
|
|
|
2002-01-21 13:03:25 +01:00
|
|
|
2002-01-21 Werner Koch <wk@gnupg.org>
|
|
|
|
|
|
|
|
* keybox-search.c (keybox_search): Allow KEYDB_SEARCH_MODE_FPR20.
|
|
|
|
|
2002-01-15 14:02:25 +01:00
|
|
|
2002-01-15 Werner Koch <wk@gnupg.org>
|
|
|
|
|
|
|
|
* keybox-search.c (blob_cmp_fpr): New.
|
|
|
|
(has_fingerprint): Implemented;
|
|
|
|
|
2001-12-20 14:24:49 +01:00
|
|
|
2001-12-20 Werner Koch <wk@gnupg.org>
|
|
|
|
|
|
|
|
* keybox-blob.c (_keybox_create_x509_blob): Skip the leading
|
|
|
|
parenthesis of the serial number's S-exp.
|
2001-12-20 17:50:13 +01:00
|
|
|
(_keybox_create_x509_blob): And fixed length calculation.
|
|
|
|
(create_blob_header): Don't add an offset when writing the serial.
|
2001-12-20 14:24:49 +01:00
|
|
|
|
2001-12-18 18:37:48 +01:00
|
|
|
2001-12-18 Werner Koch <wk@gnupg.org>
|
|
|
|
|
2001-12-18 20:35:12 +01:00
|
|
|
* Makefile.am (AM_CPPFLAGS): Add flags for libksba
|
|
|
|
|
2001-12-18 18:37:48 +01:00
|
|
|
* keybox-blob.c (_keybox_create_x509_blob): Use
|
|
|
|
gcry_sexp_canon_len to get the length of the serial number.
|
|
|
|
(_keybox_release_blob): Need to use a new serialbuf to free the memory.
|
|
|
|
|
|
|
|
2001-12-17 Werner Koch <wk@gnupg.org>
|
|
|
|
|
|
|
|
* keybox-search.c: Changed the way the serial number is
|
|
|
|
represented.
|
|
|
|
|
2001-12-15 17:19:08 +01:00
|
|
|
2001-12-15 Werner Koch <wk@gnupg.org>
|
|
|
|
|
|
|
|
* keybox-search.c (blob_cmp_name): There is no terminating 0 stored
|
|
|
|
for the uid; fixed length compare.
|
|
|
|
|
2001-12-14 21:48:07 +01:00
|
|
|
2001-12-14 Werner Koch <wk@gnupg.org>
|
|
|
|
|
|
|
|
* keybox-blob.c (x509_email_kludge): New.
|
|
|
|
(_keybox_create_x509_blob): Insert an extra email address if the
|
|
|
|
subject's DN has an email part.
|
|
|
|
* keybox-defs.h: Added the xtoi_2 and digitp macros.
|
|
|
|
|
2001-12-13 14:10:58 +01:00
|
|
|
2001-12-13 Werner Koch <wk@gnupg.org>
|
|
|
|
|
|
|
|
* keybox-search.c (blob_cmp_name): Kludge to allow searching for
|
|
|
|
more than one name.
|
|
|
|
(has_subject_or_alt): New.
|
|
|
|
(blob_cmp_mail): New.
|
|
|
|
(has_mail): New.
|
|
|
|
(keybox_search): Implemented exact search and exact mail search.
|
|
|
|
|
|
|
|
* kbx/keybox-blob.c (_keybox_create_x509_blob): Insert alternate
|
|
|
|
names.
|
|
|
|
|
|
|
|
|
|
|
|
Copyright 2001 g10 Code GmbH
|
|
|
|
|
|
|
|
This file is free software; as a special exception the author gives
|
|
|
|
unlimited permission to copy and/or distribute it, with or without
|
|
|
|
modifications, as long as this notice is preserved.
|
|
|
|
|
|
|
|
This file is distributed in the hope that it will be useful, but
|
|
|
|
WITHOUT ANY WARRANTY, to the extent permitted by law; without even the
|
|
|
|
implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
|
|
|
|
|