1 2007-08-24 Werner Koch <wk@g10code.com>
3 * keybox-init.c (keybox_register_file): Use same_file_p.
5 2007-08-23 Werner Koch <wk@g10code.com>
7 * kbxutil.c: New commands --find-dups and --cut. New options
9 * keybox-dump.c (hash_blob_rawdata): New.
10 (_keybox_dump_find_dups): New.
11 (open_file): Factor some code out to this.
12 (_keybox_dump_cut_records): New.
14 2007-06-26 Werner Koch <wk@g10code.com>
16 * kbxutil.c: Include init.h
18 2007-06-15 Werner Koch <wk@g10code.com>
20 * Makefile.am (kbxutil_LDADD): Add W32SOCKLIBS.
22 2007-06-12 Werner Koch <wk@g10code.com>
24 * kbxutil.c (main): Replace some calls by init_common_subsystems.
26 2007-06-06 Werner Koch <wk@g10code.com>
28 * kbxutil.c (i18n_init): Remove.
30 2007-03-20 Werner Koch <wk@g10code.com>
32 * keybox.h (KEYBOX_FLAG_BLOB_SECRET, KEYBOX_FLAG_BLOB_EPHEMERAL):
34 * keybox-update.c (keybox_compress): Use it here instead of a
37 2007-01-31 Werner Koch <wk@g10code.com>
39 * Makefile.am (kbxutil_LDADD): Use GPG_ERROR_LIBS instead of -l.
42 2007-01-25 Werner Koch <wk@g10code.com>
44 * Makefile.am (kbxutil_LDADD): Added LIBICONV. Noted by Billy
47 2006-11-15 Werner Koch <wk@g10code.com>
49 * kbxutil.c (dump_openpgp_key): Cast printf argument.
51 2006-10-20 Werner Koch <wk@g10code.com>
53 * keybox-search.c (blob_x509_has_grip, has_keygrip): New.
54 (keybox_search): Implement new search mode.
55 * keybox-search-desc.h (KEYDB_SEARCH_MODE_KEYGRIP): New.
56 (keydb_search_desc): New member GRIP.
58 2006-09-20 Werner Koch <wk@g10code.com>
60 * Makefile.am ($(PROGRAMS): New.
62 2006-09-14 Werner Koch <wk@g10code.com>
64 Replaced all call gpg_error_from_errno(errno) by
65 gpg_error_from_syserror().
67 2005-10-08 Marcus Brinkmann <marcus@g10code.de>
69 * Makefile.am (kbxutil_LDADD): Add ../gl/libgnu.a after
72 2005-06-15 Werner Koch <wk@g10code.com>
74 * keybox-file.c (_keybox_read_blob2): Make IMAGE unsigned.
77 * keybox-blob.c (create_blob_finish, _keybox_create_x509_blob):
78 Fixed warnings about signed/unsigned pointer mismatches.
79 (x509_email_kludge): Ditto.
80 (_keybox_new_blob): Changed arg IMAGE to unsigned char *.
81 (_keybox_get_blob_image): Changed return type to unsigned char*.
83 2005-06-01 Werner Koch <wk@g10code.com>
85 * keybox-file.c (ftello) [!HAVE_FSEEKO]: New replacement
86 function. Copied from ../common/ftello.c.
87 * keybox-update.c (fseeko) [!HAVE_FSEEKO]: New replacement
88 function. Copied from ../common/iobuf.c.
90 2004-12-18 Werner Koch <wk@g10code.com>
92 * keybox-defs.h (map_assuan_err): Define in terms of
93 map_assuan_err_with_source.
95 2004-12-07 Werner Koch <wk@g10code.com>
97 * keybox-init.c (keybox_release): Close the file pointer.
99 2004-11-26 Werner Koch <wk@g10code.com>
101 * Makefile.am (kbxutil_LDADD): Add ../common/libcommon.a
103 * keybox-defs.h: Include stringhelp.h.
105 2004-09-30 Werner Koch <wk@g10code.com>
107 * kbxutil.c (i18n_init): Always use LC_ALL.
109 * Makefile.am: Adjusted for gettext 0.14.
111 2004-08-24 Werner Koch <wk@g10code.de>
113 * kbxutil.c: New command --import-openpgp.
114 (main): Updated libgcrypt initialization stuff.
115 (my_gcry_logger): New.
116 (read_file): New. Taken from ../agent/protect-tool.
117 (dump_fpr, dump_openpgp_key, import_openpgp): New.
119 * keybox-openpgp.c: New.
121 2004-06-18 Werner Koch <wk@gnupg.org>
123 * keybox-dump.c (_keybox_dump_file): New arg STATS_ONLY.
125 * kbxutil.c (main): New command --stats.
127 2004-04-23 Werner Koch <wk@gnupg.org>
129 * keybox-blob.c (_keybox_update_header_blob): New.
130 * keybox-update.c (blob_filecopy): Handle header blob.
131 * keybox-file.c (_keybox_read_blob2): New. Moved code from
132 _keybox_read_blob to there.
133 * keybox-dump.c (dump_header_blob): Print header info.
135 2004-04-21 Werner Koch <wk@gnupg.org>
137 * keybox-search.c (_keybox_get_flag_location): Add flag
138 KEYBOX_FLAG_CREATED_AT.
139 * keybox-update.c (keybox_compress): New.
141 * keybox-search.c (get32, get16, blob_get_type)
142 (blob_get_blob_flags, has_short_kid, has_long_kid)
143 (has_fingerprint, has_issuer, has_issuer_sn, has_sn, has_subject)
144 (has_subject_or_alt, has_mail): inline them.
146 * keybox-update.c (blob_filecopy): Fixed an error/eof check
147 (s/if(fread)/if(nread)/).
149 * keybox-dump.c (_keybox_dump_blob): Really print the timestamps.
151 2004-04-20 Werner Koch <wk@gnupg.org>
153 * keybox-defs.h: Include jnlib/types.h and remove our own
154 definitions for byte.u16 and u32.
156 2004-02-02 Werner Koch <wk@gnupg.org>
158 * keybox.h (keybox_flag_t): New.
159 * keybox-search.c (get_flag_from_image, keybox_get_flags): New.
160 (_keybox_get_flag_location): New.
162 2003-11-12 Werner Koch <wk@gnupg.org>
164 Adjusted for API changes in Libksba.
166 * keybox-blob.c: Include time.h
168 2003-06-03 Werner Koch <wk@gnupg.org>
170 Changed all error codes in all files to the new libgpg-error scheme.
172 * keybox-defs.h: Include gpg-error.h .
173 (KeyboxError): Removed.
174 * Makefile.am: Removed keybox-error.c stuff.
176 2002-11-14 Werner Koch <wk@gnupg.org>
178 * keybox-search.c (blob_cmp_name) <compare all names>: Fixed
179 length compare; there is no 0 stored since nearly a year.
181 2002-10-31 Neal H. Walfield <neal@g10code.de>
183 * Makefile.am (AM_CPPFLAGS): Fix ytpo.
185 2002-08-10 Werner Koch <wk@gnupg.org>
187 * keybox-search.c (blob_cmp_fpr_part): New.
188 (has_short_kid, has_long_kid): Implemented.
190 2002-07-22 Werner Koch <wk@gnupg.org>
192 * keybox-defs.h: New BLOBTYPTE_EMPTY.
193 * keybox-dump.c (_keybox_dump_blob): Handle new type.
194 * keybox-file.c (_keybox_read_blob): Skip over empty blobs. Store
196 * keybox-blob.c (_keybox_new_blob): Add new arg OFF.
197 (_keybox_get_blob_fileoffset): New.
198 * keybox-update.c (keybox_delete): Implemented.
200 2002-06-19 Werner Koch <wk@gnupg.org>
202 * keybox-init.c (keybox_set_ephemeral): New.
203 * keybox-blob.c (create_blob_header): Store ephemeral flag.
204 (_keybox_create_x509_blob): Pass epheermal flag on.
205 * keybox-update.c (keybox_insert_cert): Ditto.
206 * keybox-search.c (blob_get_blob_flags): New.
207 (keybox_search): Ignore ephemeral blobs when not in ephemeral mode.
209 * keybox-dump.c (_keybox_dump_blob): Print blob flags as strings.
211 2002-02-25 Werner Koch <wk@gnupg.org>
213 * keybox-search.c (blob_cmp_mail): Use case-insensitive compare
214 because mail addresses are in general case insensitive (well
215 RFC2822 allows for case sensitive mailbox parts, but this is in
216 general considired a Bad Thing). Add additional substr parameter
217 to allow for substring matches within the mail address. Change
218 all callers to pass this along.
219 (blob_cmp_name): Likewise but do the case-insensitive search only
221 (keybox_search): Implement MAILSUB and SUBSTR mode.
223 2002-01-21 Werner Koch <wk@gnupg.org>
225 * keybox-search.c (keybox_search): Allow KEYDB_SEARCH_MODE_FPR20.
227 2002-01-15 Werner Koch <wk@gnupg.org>
229 * keybox-search.c (blob_cmp_fpr): New.
230 (has_fingerprint): Implemented;
232 2001-12-20 Werner Koch <wk@gnupg.org>
234 * keybox-blob.c (_keybox_create_x509_blob): Skip the leading
235 parenthesis of the serial number's S-exp.
236 (_keybox_create_x509_blob): And fixed length calculation.
237 (create_blob_header): Don't add an offset when writing the serial.
239 2001-12-18 Werner Koch <wk@gnupg.org>
241 * Makefile.am (AM_CPPFLAGS): Add flags for libksba
243 * keybox-blob.c (_keybox_create_x509_blob): Use
244 gcry_sexp_canon_len to get the length of the serial number.
245 (_keybox_release_blob): Need to use a new serialbuf to free the memory.
247 2001-12-17 Werner Koch <wk@gnupg.org>
249 * keybox-search.c: Changed the way the serial number is
252 2001-12-15 Werner Koch <wk@gnupg.org>
254 * keybox-search.c (blob_cmp_name): There is no terminating 0 stored
255 for the uid; fixed length compare.
257 2001-12-14 Werner Koch <wk@gnupg.org>
259 * keybox-blob.c (x509_email_kludge): New.
260 (_keybox_create_x509_blob): Insert an extra email address if the
261 subject's DN has an email part.
262 * keybox-defs.h: Added the xtoi_2 and digitp macros.
264 2001-12-13 Werner Koch <wk@gnupg.org>
266 * keybox-search.c (blob_cmp_name): Kludge to allow searching for
268 (has_subject_or_alt): New.
269 (blob_cmp_mail): New.
271 (keybox_search): Implemented exact search and exact mail search.
273 * kbx/keybox-blob.c (_keybox_create_x509_blob): Insert alternate
277 Copyright 2001 g10 Code GmbH
279 This file is free software; as a special exception the author gives
280 unlimited permission to copy and/or distribute it, with or without
281 modifications, as long as this notice is preserved.
283 This file is distributed in the hope that it will be useful, but
284 WITHOUT ANY WARRANTY, to the extent permitted by law; without even the
285 implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.