2004-12-07 18:07:30 +00:00
|
|
|
2004-12-07 Werner Koch <wk@g10code.com>
|
|
|
|
|
|
|
|
* keybox-init.c (keybox_release): Close the file pointer.
|
|
|
|
|
2004-12-02 07:48:09 +00:00
|
|
|
2004-11-26 Werner Koch <wk@g10code.com>
|
|
|
|
|
|
|
|
* Makefile.am (kbxutil_LDADD): Add ../common/libcommon.a
|
|
|
|
|
|
|
|
* keybox-defs.h: Include stringhelp.h.
|
|
|
|
|
2004-09-30 14:34:34 +00:00
|
|
|
2004-09-30 Werner Koch <wk@g10code.com>
|
|
|
|
|
2004-09-30 21:37:11 +00:00
|
|
|
* kbxutil.c (i18n_init): Always use LC_ALL.
|
|
|
|
|
|
|
|
* Makefile.am: Adjusted for gettext 0.14.
|
2004-09-30 14:34:34 +00:00
|
|
|
|
2004-08-24 19:55:47 +00:00
|
|
|
2004-08-24 Werner Koch <wk@g10code.de>
|
|
|
|
|
|
|
|
* kbxutil.c: New command --import-openpgp.
|
|
|
|
(main): Updated libgcrypt initialization stuff.
|
|
|
|
(my_gcry_logger): New.
|
|
|
|
(read_file): New. Taken from ../agent/protect-tool.
|
|
|
|
(dump_fpr, dump_openpgp_key, import_openpgp): New.
|
|
|
|
|
|
|
|
* keybox-openpgp.c: New.
|
|
|
|
|
2004-06-18 09:53:56 +00:00
|
|
|
2004-06-18 Werner Koch <wk@gnupg.org>
|
|
|
|
|
|
|
|
* keybox-dump.c (_keybox_dump_file): New arg STATS_ONLY.
|
|
|
|
(update_stats): New.
|
|
|
|
* kbxutil.c (main): New command --stats.
|
|
|
|
|
2004-04-26 08:09:25 +00:00
|
|
|
2004-04-23 Werner Koch <wk@gnupg.org>
|
|
|
|
|
|
|
|
* keybox-blob.c (_keybox_update_header_blob): New.
|
|
|
|
* keybox-update.c (blob_filecopy): Handle header blob.
|
|
|
|
* keybox-file.c (_keybox_read_blob2): New. Moved code from
|
|
|
|
_keybox_read_blob to there.
|
|
|
|
* keybox-dump.c (dump_header_blob): Print header info.
|
|
|
|
|
|
|
|
2004-04-21 Werner Koch <wk@gnupg.org>
|
|
|
|
|
|
|
|
* keybox-search.c (_keybox_get_flag_location): Add flag
|
|
|
|
KEYBOX_FLAG_CREATED_AT.
|
|
|
|
* keybox-update.c (keybox_compress): New.
|
|
|
|
|
|
|
|
* keybox-search.c (get32, get16, blob_get_type)
|
|
|
|
(blob_get_blob_flags, has_short_kid, has_long_kid)
|
|
|
|
(has_fingerprint, has_issuer, has_issuer_sn, has_sn, has_subject)
|
|
|
|
(has_subject_or_alt, has_mail): inline them.
|
|
|
|
|
|
|
|
* keybox-update.c (blob_filecopy): Fixed an error/eof check
|
|
|
|
(s/if(fread)/if(nread)/).
|
|
|
|
|
|
|
|
* keybox-dump.c (_keybox_dump_blob): Really print the timestamps.
|
|
|
|
|
2004-04-20 14:16:55 +00:00
|
|
|
2004-04-20 Werner Koch <wk@gnupg.org>
|
|
|
|
|
|
|
|
* keybox-defs.h: Include jnlib/types.h and remove our own
|
|
|
|
definitions for byte.u16 and u32.
|
|
|
|
|
2004-02-02 17:09:35 +00:00
|
|
|
2004-02-02 Werner Koch <wk@gnupg.org>
|
|
|
|
|
|
|
|
* keybox.h (keybox_flag_t): New.
|
|
|
|
* keybox-search.c (get_flag_from_image, keybox_get_flags): New.
|
|
|
|
(_keybox_get_flag_location): New.
|
|
|
|
|
2003-11-12 15:17:44 +00:00
|
|
|
2003-11-12 Werner Koch <wk@gnupg.org>
|
|
|
|
|
|
|
|
Adjusted for API changes in Libksba.
|
|
|
|
|
|
|
|
* keybox-blob.c: Include time.h
|
|
|
|
|
2003-06-05 07:14:21 +00:00
|
|
|
2003-06-03 Werner Koch <wk@gnupg.org>
|
|
|
|
|
|
|
|
Changed all error codes in all files to the new libgpg-error scheme.
|
|
|
|
|
|
|
|
* keybox-defs.h: Include gpg-error.h .
|
|
|
|
(KeyboxError): Removed.
|
|
|
|
* Makefile.am: Removed keybox-error.c stuff.
|
|
|
|
|
|
|
|
2002-11-14 Werner Koch <wk@gnupg.org>
|
|
|
|
|
|
|
|
* keybox-search.c (blob_cmp_name) <compare all names>: Fixed
|
|
|
|
length compare; there is no 0 stored since nearly a year.
|
|
|
|
|
|
|
|
2002-10-31 Neal H. Walfield <neal@g10code.de>
|
|
|
|
|
|
|
|
* Makefile.am (AM_CPPFLAGS): Fix ytpo.
|
|
|
|
|
|
|
|
2002-08-10 Werner Koch <wk@gnupg.org>
|
|
|
|
|
|
|
|
* keybox-search.c (blob_cmp_fpr_part): New.
|
|
|
|
(has_short_kid, has_long_kid): Implemented.
|
|
|
|
|
|
|
|
2002-07-22 Werner Koch <wk@gnupg.org>
|
|
|
|
|
|
|
|
* keybox-defs.h: New BLOBTYPTE_EMPTY.
|
|
|
|
* keybox-dump.c (_keybox_dump_blob): Handle new type.
|
|
|
|
* keybox-file.c (_keybox_read_blob): Skip over empty blobs. Store
|
|
|
|
the file offset.
|
|
|
|
* keybox-blob.c (_keybox_new_blob): Add new arg OFF.
|
|
|
|
(_keybox_get_blob_fileoffset): New.
|
|
|
|
* keybox-update.c (keybox_delete): Implemented.
|
|
|
|
|
|
|
|
2002-06-19 Werner Koch <wk@gnupg.org>
|
|
|
|
|
|
|
|
* keybox-init.c (keybox_set_ephemeral): New.
|
|
|
|
* keybox-blob.c (create_blob_header): Store ephemeral 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 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 Werner Koch <wk@gnupg.org>
|
|
|
|
|
|
|
|
* keybox-search.c (keybox_search): Allow KEYDB_SEARCH_MODE_FPR20.
|
|
|
|
|
|
|
|
2002-01-15 Werner Koch <wk@gnupg.org>
|
|
|
|
|
|
|
|
* keybox-search.c (blob_cmp_fpr): New.
|
|
|
|
(has_fingerprint): Implemented;
|
|
|
|
|
|
|
|
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.
|
|
|
|
(_keybox_create_x509_blob): And fixed length calculation.
|
|
|
|
(create_blob_header): Don't add an offset when writing the serial.
|
|
|
|
|
|
|
|
2001-12-18 Werner Koch <wk@gnupg.org>
|
|
|
|
|
|
|
|
* Makefile.am (AM_CPPFLAGS): Add flags for libksba
|
|
|
|
|
|
|
|
* 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 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 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 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.
|
|
|
|
|