Debian Codegraph @

ChangeLog

raw
1 2026-05-13 Werner Koch <[email protected]>
2
3 Release 1.8.0.
4 + commit 476c602e2f35f1ddd769a613fa44681df33d0101
5
6
7 2026-05-12 Werner Koch <[email protected]>
8
9 Implement building of unsigned attributes.
10 + commit 54d7e3bea86640023e7e9eac25774c2071d8f526
11 * src/cms.c (ksba_cms_get_attribute): Fix tree walking.
12 (build_signed_data_rest): Support unsigned attributes.
13 * src/der-encoder.c (copy_nhdr_and_len): Make context tag work.
14
15 * tests/t-cms-parser.c (one_file): Print also unsigned attributes.
16 Factor some code out to ...
17 (dump_one_attribute_set): new.
18 (main): New option --all.
19
20 New function ksba_cms_get_attribute.
21 + commit f40bfced7c07acafae01d502aa0fdd97269d39ac
22 * src/cms.c (ksba_cms_get_attribute): New.
23 * src/visibility.c (ksba_cms_get_attribute): New.
24 * src/ksba.h.in: Add new function.
25 * src/libksba.def:
26 * src/libksba.vers:
27
28 * tests/t-common.h (print_hex): Add arg wrapindent and adjust all
29 callers.
30 * tests/t-cms-parser.c: Include oidtranstbl.h
31 (get_oid_desc): Copied from cert-basic.c
32 (print_oid_and_desc): Ditto.
33 (one_file): Print all attributes in --verbose mode.
34
35 2026-05-07 Werner Koch <[email protected]>
36
37 Release 1.7.0.
38 + commit 941eed831904fb7b3a4d7a3ed55a6842cf6db478
39
40
41 2026-05-06 Werner Koch <[email protected]>
42
43 New function ksba_cms_add_attribute.
44 + commit 4cccd024e015a4a5f001fc40df909bea51c7ded4
45 * src/visibility.c (ksba_cms_add_attribute): New.
46 * src/visibility.h (ksba_cms_add_attribute): New mapping.
47 * src/libksba.def: Add new function.
48 * src/libksba.vers: Ditto.
49 * src/ksba.h.in: Ditto.
50 * src/asn1-constants.h (TYPE_PRE_SET_OF): New.
51 * src/asn1-func.c (_ksba_asn_is_primitive): Add TYPE_PRE_SET_OF.
52 (_ksba_asn_node_dump): Ditto.
53 * src/cms.h (struct oidparmlist_s): Add fields 'unprotected' and
54 'signeridx'.
55 (struct ksba_cms_s): Add field attribute_list.
56 * src/cms.c (ksba_cms_release): Free attribute_list.
57 (ksba_cms_add_smime_capability): Clear new fields.
58 (ksba_cms_add_attribute): New.
59 (build_signed_data_attributes): Implement attribute output.
60 * src/der-encoder.c (_ksba_der_store_set_of): New.
61 (set_nhdr_and_len): Handle TYPE_PRE_SET_OF.
62 (copy_nhdr_and_len): Ditto.
63 (_ksba_der_encode_tree): Encode TYPE_PRE_SET_OF.
64
65 Minor debug output rework.
66 + commit 1624246505e671ffb2a63979322ffcb53ed0ca2c
67 * src/der-encoder.c (_ksba_der_encode_tree): Improve debug output.
68 (_ksba_der_encode_tree): Use gpgrt log fucntions for debug output.
69
70 2026-05-05 Werner Koch <[email protected]>
71
72 Various typo and comment fixes and minor test code output cleanup.
73 + commit 0ef4070116d65a185d2a3884fb738f529c483132
74 * tests/t-common.h (print_sexp): Print space if no delimiter seen.
75
76 Fix other silent truncation of length fields.
77 + commit 2d120e345537c64ea71ac9c6e796e9ac2e6669b4
78 * src/ber-help.h (MAX_CRL_NUMBER_LENGTH): New.
79 (MAX_NAME_URL_LENGTH): New.
80 * src/crl.c (ksba_crl_get_auth_key_id): Error out if the length is
81 larger that a given limit.
82 (ksba_crl_get_crl_number): Ditto.
83 (parse_crl_entry): Ditto.
84 * src/name.c (_ksba_name_new_from_der): Ditto.
85 * src/ocsp.c (ksba_ocsp_get_responder_id): Ditto.
86
87 Fix incorrect overflow guard condition in _ksba_ber_read_tl.
88 + commit 55be6f57b6369bf8e77053b9f3ce616ba29f4bb1
89 * src/ber-help.c (_ksba_ber_read_tl): Remove useless extra overflow
90 check.
91
92 Fix silent truncation of 64 bit length fields.
93 + commit c44cc98460ea42e393214dc6e23ff746196baefd
94 * src/ber-help.h (MAX_SERIALNO_LENGTH): New.
95 (MAX_KEYID_DER_LENGTH): New.
96 (MAX_CERT_EXT_LENGTH): New.
97 * src/cms.c (ksba_cms_get_issuer_serial): Error out if the s/n exceeds
98 a limit.
99 * src/cert.c (ksba_cert_get_serial): Ditto.
100 (ksba_cert_get_auth_key_id): Ditto. This also fixes a possible
101 corrupted s-exp due to an int overlow by a long on systems where this
102 differs. Also check the keyid length.
103 (get_simple_octet_string_ext): Likewise.
104
105 2026-05-03 Werner Koch <[email protected]>
106
107 Allow building AUTHENVELOPEDDATA.
108 + commit 8c640493cbcf53bc18e4442af6280e46f009cfee
109 * src/cms.h (struct ksba_cms_s): Add flag 'auth_mode'.
110 * src/cms.c (ksba_cms_set_content_type): Set flag.
111 (ksba_cms_set_message_digest): Extend to be used for setting the
112 authtag.
113 (ct_build_enveloped_data): Add new state WAITTAG and write the
114 authtag.
115
116 2026-04-23 Werner Koch <[email protected]>
117
118 crl: Fix minor memory leak in case of a corrupt DER structure.
119 + commit c8df64fe11e872c5a147fe0487cef6436b61d5b5
120 * src/crl.c (parse_one_extension): Replace a return by a goto to make
121 sure everything is cleaned up.
122
123 2026-02-23 Werner Koch <[email protected]>
124
125 Release 1.6.8.
126 + commit 39aa8435819df6a97fc751f5e5e45178f033c2ef
127
128
129 2026-02-20 NIIBE Yutaka <[email protected]>
130
131 Fix a memory leak in _ksba_ber_decoder_decode.
132 + commit 86c6e972421a2fdd8d17ad12993891e9d8fb9bc4
133 * src/ber-decoder.c (_ksba_ber_decoder_decode): Clear image.buf after
134 the release. Release ->root on error.
135
136 2026-02-18 Werner Koch <[email protected]>
137
138 Do not let the assert do the work of the previous test.
139 + commit 49a33f98ae4e3fa70e00453e2f6319af7b065d76
140 * src/ocsp.c (parse_response): Return on error.
141
142 2026-02-13 Werner Koch <[email protected]>
143
144 Fix double increment in DN parser while counting hexdigits.
145 + commit b9e8f4b3d8d7826e85dff23cbb62c21ade27b06c
146 * src/dn.c (parse_rdn): Turn for-loop into a while-loop.
147
148 2026-01-15 NIIBE Yutaka <[email protected]>
149
150 build: Update build-aux and m4 from libgpg-error.
151 + commit 63df5658b41d16c97a5276837915b0653e24e0a5
152 * build-aux/compile, build-aux/depcomp: Update.
153 * build-aux/ltmain.sh, build-aux/mdate-sh: Likewise.
154 * build-aux/missing, build-aux/texinfo.tex: Likewise.
155 * m4/autobuild.m4, m4/ax_cc_for_build.m4, m4/gpg-error.m4: Likewise.
156 * m4/libtool.m4, m4/ltoptions.m4, m4/ltsugar.m4: Likewise.
157 * m4/ltversion.m4, m4/lt~obsolete.m4: Likewise.
158
159 2025-11-28 Werner Koch <[email protected]>
160
161 ocsp: Add a hack to allow handling SHA256 based CertIDs.
162 + commit 2dd35bef663f5ba89260222299aabffd017c4bbd
163 * src/ocsp.h (struct ocsp_reqitem_s): Increase size of hash items.
164 (struct ksba_ocsp_s): Add flag sha256_certid.
165 * src/ocsp.c (oidstr_sha256): New.
166 (ksba_ocsp_set_nonce): Add hack to set/clear this flag.
167 (issuer_name_hash): Add arg use_sha256 and change accordingly.
168 (issuer_key_hash): Ditto.
169 (ksba_ocsp_prepare_request): Make use of the new flag.
170 (parse_single_response): Allow the use of SHA256 CertID items.
171
172 * tests/sha1.c (sha256_hash_buffer): New. Also add a bunch of othe
173 functions to implement SHA256.
174 * tests/t-ocsp.c (sha256_certid): New flag.
175 (one_request): Use it.
176 (one_response): Ditto.
177 (my_hash_buffer): Support SHA256.
178 (main): Add option --sha256.
179
180 2025-09-25 NIIBE Yutaka <[email protected]>
181
182 build: Avoid using -a for test(1).
183 + commit 8c552d02bb9039007f0d9e6198d48d0d985d7ad3
184 * configure.ac: Use && in shell level, instead of -a of test.
185 *src/ksba.m4: Likewise.
186
187 2025-04-23 NIIBE Yutaka <[email protected]>
188
189 Mark with __nonstring__ attribute for GCC 15 and later.
190 + commit 58b389a192d3a4ca6164df6fa22c0d6a049668f8
191 * src/ksba.h.in (_KSBA_NONSTRING): New.
192 * src/cms.c (oid_messageDigest): Mark with _KSBA_NONSTRING.
193 (oid_signingTime): Likewise.
194
195 2025-01-15 NIIBE Yutaka <[email protected]>
196
197 build,tests: Remove WindowsCE support.
198 + commit b2fccb07a3215085a9f22844e8afe0bc1aebb579
199 * configure.ac (GPG_ERR_ENABLE_ERRNO_MACROS): Remove.
200 * tests/cert-basic.c [__MINGW32CE__]: Clean up.
201
202 2024-06-21 Werner Koch <[email protected]>
203
204 Release 1.6.7.
205 + commit b14e68b97df754b2bb7a90bb904d143d8e896afb
206
207
208 Allow for an empty Subject in certs.
209 + commit f2e2f320c9de969e4e29861788ba590a03a0f4d8
210 * src/ber-decoder.c (match_der): Add hack for an empty subject.
211
212 2024-06-14 NIIBE Yutaka <[email protected]>
213
214 Update gpg-error.m4.
215 + commit f43a21b2c53ed0a95a5ad6572549eaa4123146f5
216
217
218 2024-06-13 NIIBE Yutaka <[email protected]>
219
220 Apply spell fixes from GnuPG.
221 + commit 364e67effbf47c58550c3e3eda13d783fd25ffc0
222 * src/ksba.m4: Fix from GnuPG.
223
224 m4: Update gpg-error.m4 from gpg-error master.
225 + commit f63a9c36505210fb5696849b13170020c0f2752f
226 * m4/gpg-error.m4: Update.
227 * m4/libgcrypt.m4: Remove, we don't use libgcrypt.
228
229 ksba.m4: Fix setting/using GPG_ERROR_CONFIG.
230 + commit 95dda84002f6e23f2770cdf63921f0bac1459d76
231 ksba.m4 (_AM_PATH_GPGRT_CONFIG): Don't set GPG_ERROR_CONFIG and
232 gpg_error_config_version.
233
234 2024-05-14 NIIBE Yutaka <[email protected]>
235
236 Fix the previous commit.
237 + commit b02b0bea7d62a352a21678a247bcb20b5a9fbf39
238
239
240 m4: Include _AM_PATH_GPGRT_CONFIG definition.
241 + commit c910b8b136b89b134632ce1f317d856790b93fd3
242 * src/ksba.m4: Find gpgrt-config.
243
244 2024-05-08 NIIBE Yutaka <[email protected]>
245
246 Use unsigned int for 1-bit flags.
247 + commit a7aab2553d316eaa484e76167151157d7923a60d
248 * src/asn1-func.h (struct node_flag_s): Use unsigned int for
249 bit fields.
250
251 2024-02-23 Werner Koch <[email protected]>
252
253 Release 1.6.6.
254 + commit 3a4382259c3c6e7ef38cd33626fe2c1da282f816
255
256
257 2024-02-14 Jakub Jelen <[email protected]>
258
259 der-builder: Fix possible uninitialized variable.
260 + commit 75e94db38ccd9ed166b40fb2d8aaed7c094cff69
261 * src/der-builder.c (_ksba_der_builder_get): Initialize ERR.
262
263 2023-11-16 Werner Koch <[email protected]>
264
265 Release 1.6.5.
266 + commit 7b3e4785e54280d1a13c5bc839bdc6722d898ac7
267
268
269 2023-11-14 Werner Koch <[email protected]>
270
271 Add Brainpool curve detection using parameters with compressed BP.
272 + commit eb23f853f178f8d381254e2cb03c0ebff57828d6
273 * src/keyinfo.c (ecdomainparm_to_name): Add variants for Brainpool.
274
275 2023-11-01 NIIBE Yutaka <[email protected]>
276
277 build: Remove HAVE_W32CE_SYSTEM.
278 + commit bce1c52b260da063c6198fe270cd46baf1368d9e
279 * configure.ac (HAVE_W32CE_SYSTEM): Remove.
280
281 2023-09-01 NIIBE Yutaka <[email protected]>
282
283 build: Change the default for --with-libtool-modification.
284 + commit 2c4551c0c405a736e1b3953b2a58ec5104c52083
285 * configure.ac (--with-libtool-modification): default=never.
286
287 2023-08-16 NIIBE Yutaka <[email protected]>
288
289 build: New configure option --with-libtool-modification.
290 + commit e0a46b490926879b5519e2e8dfb97226ec024817
291 * Makefile.am (EXTRA_DIST): Add build-aux/libtool-patch.sed.
292 * build-aux/libtool-patch.sed: New.
293 * configure.ac (--with-libtool-modification): New.
294 * build-aux/ltmain.sh: Revert our own local modification.
295
296 2023-06-19 Werner Koch <[email protected]>
297
298 Release 1.6.4.
299 + commit 557999424ebd13e70d6fc17e648a5dd2a06f440b
300
301
302 Correctly detect write errors while creating CMS objects.
303 + commit 9ced7706f2738128aa5068727ea348c44f42e16e
304 * src/cms.c (write_encrypted_cont): Take care of write errors.
305
306 2023-05-16 NIIBE Yutaka <[email protected]>
307
308 build: Sync libtool from libgpg-error for 64-bit Windows.
309 + commit a920c2ff1a723031e8c6b8b61632bad46a740c83
310 * build-aux/ltmain.hs: Update from libgpg-error.
311
312 2023-05-12 NIIBE Yutaka <[email protected]>
313
314 tests: Use -no-fast-install LDFLAGS for Windows.
315 + commit 74fb95dbaf70d97b67793b29497b1e7b29a5e2f1
316 * tests/Makefile.am [HAVE_W32_SYSTEM] (AM_LDFLAGS): Conditionalize.
317
318 2023-04-05 NIIBE Yutaka <[email protected]>
319
320 build: Update gpg-error.m4.
321 + commit 53b9fa1d58ba522ca0eea4fe460719722e6e1ef5
322 * m4/gpg-error.m4: Update from libgpg-error master.
323
324 2022-12-06 Werner Koch <[email protected]>
325
326 Release 1.6.3.
327 + commit bffa9b346071725363a483db547e7dced9721cb5
328
329
330 2022-11-23 Werner Koch <[email protected]>
331
332 Fix an integer overflow in the CRL signature parser.
333 + commit f61a5ea4e0f6a80fd4b28ef0174bee77793cf070
334 * src/crl.c (parse_signature): N+N2 now checked for overflow.
335
336 * src/ocsp.c (parse_response_extensions): Do not accept too large
337 values.
338 (parse_single_extensions): Ditto.
339
340 2022-11-02 NIIBE Yutaka <[email protected]>
341
342 build: Update m4/libgcrypt.m4.
343 + commit 4076b60f7cef4fddc3d30f6e6d4078081dbc7167
344 * m4/libgcrypt.m4: Update from libgcrypt master.
345
346 2022-11-01 NIIBE Yutaka <[email protected]>
347
348 build: Prefer gpgrt-config when available.
349 + commit 13307b22882a220d206341e1196e74fd37418c2f
350 * src/ksba.m4: Overriding the decision by --with-libksba-prefix, use
351 gpgrt-config ksba when gpgrt-config is available.
352
353 2022-10-24 NIIBE Yutaka <[email protected]>
354
355 build: Update gpg-error.m4.
356 + commit c3c1627f34234e3d54fe1f3411ac499dd7e3b3b0
357 * m4/gpg-error.m4: Update from libgpg-error 1.46.
358
359 2022-10-07 Werner Koch <[email protected]>
360
361 Release 1.6.2.
362 + commit 29814959fe2b65c6d4ac35dea261006a8cad3661
363
364
365 2022-10-05 Werner Koch <[email protected]>
366
367 Detect a possible overflow directly in the TLV parser.
368 + commit 4b7d9cd4a018898d7714ce06f3faf2626c14582b
369 * src/ber-help.c (_ksba_ber_read_tl): Check for overflow of a commonly
370 used sum.
371
372 2022-09-16 Werner Koch <[email protected]>
373
374 Release 1.6.1.
375 + commit d3c1e063d708a46ef39152256f8b1ea466b61be0
376
377
378 2022-07-19 NIIBE Yutaka <[email protected]>
379
380 build: Update config.guess and config.sub.
381 + commit 466837db84fb318eaaee1aba6cc3939c16a3e2ba
382 * build-aux/config.guess: Update from upstream.
383 * build-aux/config.sub: Ditto.
384
385 build: Support cross compile.
386 + commit ca9a04569020c51719ab45ebd35a3cbb1f35c6aa
387 * configure.ac (AX_CC_FOR_BUILD): New.
388 * m4/ax_cc_for_build.m4: New.
389 * src/Makefile.am: Use EXEEXT_FOR_BUILD.
390
391 2022-06-28 NIIBE Yutaka <[email protected]>
392
393 build: Update gpg-error.m4.
394 + commit e51d5c7ce81fe3f90039ad970fbb82f751a645fc
395 * m4/gpg-error.m4: Update from libgpg-error.
396
397 2022-03-31 NIIBE Yutaka <[email protected]>
398
399 build: When no gpg-error-config, not install ksba-config.
400 + commit 41000330cdba87afdf9ea0b481e0260dab262a54
401 * configure.ac (USE_GPGRT_CONFIG): New.
402 * src/Makefile.am [USE_GPGRT_CONFIG]: Conditionalize the install
403 of ksba-config.
404
405 2022-03-22 NIIBE Yutaka <[email protected]>
406
407 Fix test of t-cms-parser.
408 + commit e751d1fa01bd3e593eeccbeffb729176a59ca28c
409 * tests/t-cms-parser.c (one_file): Open the file with binary flag.
410
411 2022-02-26 Werner Koch <[email protected]>
412
413 ocsp: Accept a server not responding with a nonce.
414 + commit 24992a4a7a61d93759e1dbd104b845903d4589bf
415 * src/ocsp.h (struct ksba_ocsp_s): Remove good_nonce.
416 * src/ocsp.c (parse_response_extensions): No not set good_nonce.
417 (ksba_ocsp_parse_response): Simplify the check.
418
419 ocsp: Fix detecting the right response item.
420 + commit c9cde18bc84a1b3bb7de22ca80264c418ffd0fee
421 * src/ocsp.c (ksba_ocsp_prepare_request): Store the value of the
422 integer.
423
424 2021-12-22 NIIBE Yutaka <[email protected]>
425
426 build: Update for newer autoconf.
427 + commit 51b565054096926dc97fc2ebb72c7de05a127dff
428 * configure.ac (AC_PREREQ): Require >= 2.69.
429 (AC_HEADER_STDC): Remove.
430
431 2021-11-29 NIIBE Yutaka <[email protected]>
432
433 Silence warning for ksba_isotime_t.
434 + commit 64ef3144abee7afbc93a87e960b9a79c7b43cfca
435 * src/time.c (_ksba_current_time): Let it return the result.
436
437 Fix ksba.pc to use HTTPS for the URL.
438 + commit 4898212c705a49da0384ac8f1b44f2d6592a990e
439 * src/ksba.pc.in: Use https.
440
441 2021-11-10 NIIBE Yutaka <[email protected]>
442
443 libtool: Link without -flat_namespace for macOS.
444 + commit 0d7a62c355ea18031daf00490da9f7c9f33683c3
445 * m4/libtool.m4: Not setting 10.0 to MACOSX_DEPLOYMENT_TARGET when not
446 defined. Only specify -flat_namespace to linker for specific
447 (older) versions and hosts.
448
449 2021-10-13 NIIBE Yutaka <[email protected]>
450
451 ASN.1 parser: Provide token table (no more %token-table).
452 + commit f3b7dd4167779f2694e932ad7c2adba98ff9a21d
453 * src/asn1-parse.y (%token-table): Remove.
454 (token_table): New.
455 (yylex): Use token_table.
456
457 2021-09-22 Andreas Metzler <[email protected]>
458
459 build: Use automake primitives to install libksba.def.
460 + commit ce1de8cb2bcd712381f77519de4da87af42879a4
461 * src/Makekefile.am: Do not use explicit $INSTALL to install
462 libksba.def, fixes windows parallel build error.
463
464 2021-08-18 Werner Koch <[email protected]>
465
466 Avoid warnings about NULL ptr deref in ASN.1 helpers.
467 + commit c242f31b6d520a7f87bf36782e4b5c8da7dc045d
468 * src/asn1-func.c (_ksba_asn_set_value): Add extra asserts. Fix the
469 VALTYPE_BOOL case, which is actually not in Libksba.
470
471 2021-08-05 NIIBE Yutaka <[email protected]>
472
473 build: Simplify configure.ac.
474 + commit 379e787a965148fa5613ccd4e2b8c3c00feb45d9
475 * configure.ac (AC_CHECK_HEADERS): Remove string.h.
476 (AC_CHECK_FUNCS): Remove memmove, strchr, strtol and strtoul.
477
478 2021-06-10 Werner Koch <[email protected]>
479
480 Release 1.6.0.
481 + commit 6b3573afb03afd4560f78bec73ec192e09fdd9d5
482
483
484 2021-06-02 Werner Koch <[email protected]>
485
486 Support Authenticated-Enveloped-Data Content Type.
487 + commit 81fdcd680c127cbc7cfb977aa43aa45ffce0f5fc
488 * src/cms.h (struct ksba_cms_s): Remove struct data which was not
489 used. Add struct authdata.
490 * src/cms.asn (AuthEnvelopedData): New.
491 (id-authEnvelopedData): New.
492 * src/ksba.h.in (ksba_content_type_t): Add KSBA_CT_AUTHENVELOPED_DATA.
493 * src/cms.c (content_handlers): Ditto.
494 (ksba_cms_release): Free the new fields.
495 (ksba_cms_get_message_digest): Hack to return authtag.
496 (ct_parse_signed_data): Remove useless condition which was always true.
497 * src/cms-parser.c (parse_encrypted_content_info): Add arg
498 r_algo_parmtype.
499 (_ksba_cms_parse_enveloped_data_part_1): Detect GCM with AES and parse
500 the parameters.
501 (_ksba_cms_parse_enveloped_data_part_2): Parse the MAC part and store
502 it for retrieval by ksba_cms_get_message_digest.
503 * tests/t-cms-parser.c (one_file): Handle authdata.
504
505 2021-05-27 NIIBE Yutaka <[email protected]>
506
507 build: _DARWIN_C_SOURCE should be 1.
508 + commit a375a3d20e831c58c3b87abb41f3a8e8b723d985
509 * configure.ac (*-apple-darwin*): Set _DARWIN_C_SOURCE 1.
510
511 2021-05-18 Werner Koch <[email protected]>
512
513 Support password based decryption.
514 + commit cb7f2484a09cbe3cddcee6d2a752148df937cf0e
515 * src/cms.asn (RecipientInfo): Add pwri element.
516 (PasswordRecipientInfo): New.
517 * src/keyinfo.c (get_algorithm): Add arg to specify the expected tag.
518 Change all callers.
519 (_ksba_parse_algorithm_identifier3): New to specify the expected tag.
520 * src/cms.c: Include stringbuf.h.
521 (ksba_cms_get_issuer_serial): Return an error code for pwri.
522 (ksba_cms_get_enc_val): Add special code for pwri.
523
524 * tests/t-cms-parser.c (one_file): Detect pwri recipients.
525
526 2021-04-21 NIIBE Yutaka <[email protected]>
527
528 build: Update gpg-error.m4.
529 + commit 72f19cdabfb26bf51c6a4ea2e17154adf7e5a96b
530 * m4/gpg-error.m4: Update from libgpg-error.
531
532 2021-04-20 Jakub Jelen <[email protected]>
533
534 Fixes for static analysis reports.
535 + commit fbb1f303198b5ff0cc7012eaef210ad2cf22edb5
536 * tests/t-oid.c (main): Reset freed pointer for next iteration.
537 * src/time.c (_ksba_current_time): Use snprintf to avoid buffer overrun.
538 * src/asn1-func.c (_ksba_asn_expand_object_id): Initialize NAME2.
539 * src/ber-help.c (_ksba_ber_count_tl): Mark identical branches as
540 intentional for coverity.
541
542 2021-04-06 Werner Koch <[email protected]>
543
544 Release 1.5.1.
545 + commit 1015bea2f8a55b965dee29e17118bc73c2deca39
546
547
548 build: Add the usual release targets.
549 + commit 1050939435548baa30a8ba8c20b7824ec7b2841e
550 * Makefile.am (release, sign-release): New targets.
551
552 2021-02-22 Werner Koch <[email protected]>
553
554 Support Brainpoolp256r1 and Brainpoolp384r1 with ECDomainParameters.
555 + commit 4243085d7d4361d8900010ed32018985b133f958
556 * src/keyinfo.c (ecdomainparm_to_name): Two more entries.
557
558 2021-02-01 Werner Koch <[email protected]>
559
560 Support Brainpoolp512r1 certs specified with ECDomainParameters.
561 + commit e51873b567d9f9cce708d191b29f09d56ea16f2d
562 * src/keyinfo.c (ecdomainparm_to_name): New table.
563 (_ksba_keyinfo_to_sexp): Support ECDomainParameter lookup.
564
565 2020-12-21 Werner Koch <[email protected]>
566
567 Fix a possible segv in case of an unknown CMS object.
568 + commit fe03ab4c14e71cb08210159a943a6edded6cdc4d
569 * src/cms.c (ksba_cms_get_enc_val): Fix strcmp.
570
571 2020-11-18 Werner Koch <[email protected]>
572
573 Release 1.5.0.
574 + commit 9c0a818cd89cf90e87a3fdf5f7b2d82062645229
575 * configure.ac: Set LT version to C21/A13/R0.
576
577 Add SPDX identifiers.
578 + commit b426d2216583b8165abe89900578e0dbf9590571
579 * src/version.c (cright_blurb): New.
580 (ksba_check_version): Detect request for the cright blurb.
581
582 Allow for NDEF list of certs and CRLs in CMS.
583 + commit b6438e768cf969a74b985bf2686d7cf0b4323355
584 * src/cms-parser.c (_ksba_cms_parse_signed_data_part_2): Fix endtag
585 detection.
586
587 * tests/t-cms-parser.c (main): Allow several files on the command line
588 and add more files to the default invocation.
589
590 2020-11-18 NIIBE Yutaka <[email protected]>
591
592 m4: Update with newer autoconf constructs.
593 + commit 1ef7f310d8bb0990d2c7a65f34ffa46f77c5d35d
594 * src/ksba.m4: Replace AC_HELP_STRING to AS_HELP_STRING.
595
596 build: Update to newer autoconf constructs.
597 + commit 0d46f2c000c45147db9a2c418248108bf444afb9
598 * configure.ac (AC_INIT): Use 'https://'.
599 Use AC_CONFIG_HEADERS instead of AM_CONFIG_HEADER.
600 Use AC_USE_SYSTEM_EXTENSIONS instead of AC_GNU_SOURCE.
601 Use AS_HELP_STRING instead of AC_HELP_STRING.
602 * gl/m4/onceonly_2_57.m4: Remove.
603 * m4/gpg-error.m4: Update from libgpg-error.
604 * m4/libtool.m4: Update from libgpg-error.
605 * m4/libgcrypt.m4: Update from libgcrypt.
606
607 build: Use modern Autoconf check for type.
608 + commit 60b32609ae7f7940c11117cb545c571356743624
609 * configure.ac (u32): Use AC_CHECK_TYPES.
610 * m4/Makefile.am (EXTRA_DIST): Update.
611 * m4/gnupg-typedef.m4: Remove.
612 * tests/sha1.c: Use HAVE_TYPE_U32.
613
614 2020-06-17 Werner Koch <[email protected]>
615
616 Support TR-03111 plain format ECDSA signature verification.
617 + commit 486fb0257d08c9a90571aa8433c1c61b53dda4fe
618 * src/keyinfo.c (sig_algo_table): Add ECDSA algos from TR-03111.
619 (cryptval_to_sexp): Support plain ecdsa format.
620
621 2020-05-28 Werner Koch <[email protected]>
622
623 Let ksba_cms_identify detect the new OpenPGP keyblock content.
624 + commit 5cdf0b5b0f1994405c8689ceaee76126755dcd1c
625 * src/ksba.h.in (KSBA_CT_OPENPGP_KEYBLOCK): New.
626 * src/cms.c: Add to table.
627 * tests/t-cms-parser.c (one_file): Ditto.
628
629 2020-05-19 Werner Koch <[email protected]>
630
631 Release 1.4.0.
632 + commit f30f604700d37f1932d399ab2fb552713007117f
633
634
635 2020-05-18 Werner Koch <[email protected]>
636
637 Finish creation of ECDSA and EdDSA certificates.
638 + commit 71a2f1e87790cc4fccd4e5e60ffd368fbfd85bb2
639 * src/keyinfo.c (_ksba_keyinfo_from_sexp): Skip writing curve
640 parameter in algoinfo mode.
641 (PKALGO_NONE): New.
642 (curve_names): Add field pkalgo and set for rfc8410 algos.
643 (get_ecc_curve_oid): New arg r_pkalgo.
644 (_ksba_keyinfo_from_sexp): Take are of a forced algo. Add code path
645 for rfc8410 public key.
646 * src/certreq.h (struct ksba_certreq_s): Add flag 'is_ecc'.
647 * src/certreq.c (ksba_certreq_add_extension): Set that flag.
648 (ksba_certreq_set_sig_val): Use sig_val.is_ecc also for EdDSA.
649 (build_cri): Rewrite using the DER builder.
650
651 2020-05-15 Werner Koch <[email protected]>
652
653 Allow direct construction of encapsulated octet and bit strings.
654 + commit 2605a994a2c7a4c06e7a2efb69e620fd687359ba
655 * src/ksba.h.in (KSBA_CLASS_ENCAPSULATE): New pseudo class.
656 * src/der-builder.c (struct item_s): Add field 'encapsulate'. Change
657 'class' to a 2 bit field. Decrease size of 'hdrlen' to 10 bits which
658 is more than enough.
659 (_ksba_der_builder_reset): Clear 'encapsulate'.
660 (_ksba_der_add_ptr): Mask CLASS to avoid possible compiler warnings.
661 (add_val_core): Ditto.
662 (_ksba_der_add_tag): Ditto. Set ENCAPSULATE.
663 (compute_lengths): Account for extra octet.
664 (_ksba_der_builder_get): Implement encapsulated data.
665
666 * tests/t-der-builder.c (test_der_builder): Add test cases for
667 encapsulated data.
668
669 2020-05-14 Werner Koch <[email protected]>
670
671 Publish constants for the DER builder.
672 + commit 0e0fad9335ba8afe319fdb36e735533cff71a2b4
673 * src/ksba.h.in (KSBA_CLASS_): New constants.
674 (KSBA_TYPE_): New constants.
675 * src/der-builder.c (struct item_s): Increase size of HDRLEN and TAG.
676 (count_tl, write_tl): Support tags > 30.
677
678 * tests/t-der-builder.c: New
679 * tests/Makefile.am (TESTS): Add file.
680
681 Simplify the ksba_keyinfo_from_sexp function.
682 + commit 88647cd33059129dca6d17434208d5f68108daf3
683 * src/keyinfo.c: Include der-builder.h
684 (get_ecc_curve_oid): Change to return a string.
685 (oid_from_buffer): Ditto.
686 (_ksba_keyinfo_from_sexp): Rewrite.
687
688 Fix DER builder to a allow a single primitive element.
689 + commit 31c42e7568a7532f8fb5d291f5c4a26594d74ad4
690 * src/der-builder.c (_ksba_der_builder_get): Allow a single item.
691
692 Fold duplicated code in keyinfo.c into one function.
693 + commit fae738f23b5bfde8fa25b6759fd1aac6809b40ca
694 * src/keyinfo.c (_ksba_algoinfo_from_sexp): Remove.
695 (_ksba_keyinfo_from_sexp): Add arg algoinfomode
696 * src/certreq.c (ksba_certreq_add_subject): Adjust for change.
697 (ksba_certreq_set_serial): Use _ksba_keyinfo_from_sexp in
698 algoinfomode.
699
700 * tests/cert-basic.c (one_file): Adjust for change.
701
702 2020-05-14 Trammell Hudson <[email protected]>
703
704 Fix qsort handler to reproducible sort the string table.
705 + commit cdbced98819dd0b1478db1bb82bbc249d52e32ae
706 * src/asn1-gentables.c (cmp_string): Comapre the strings if they have
707 the same length.
708
709 2020-05-12 Werner Koch <[email protected]>
710
711 New API to construct arbitrary DER objects in memory.
712 + commit 30d35448cd585156a0461f02934a356894e6867b
713 * src/der-builder.h (struct ksba_der_s, ksba_der_t): Move to ...
714 * src/ksba.h.in: here.
715 (ksba_der_release): New.
716 (ksba_der_builder_new): New.
717 (ksba_der_builder_reset): New.
718 (ksba_der_add_ptr): New.
719 (ksba_der_add_val): New.
720 (ksba_der_add_int): New.
721 (ksba_der_add_oid): New.
722 (ksba_der_add_bts): New.
723 (ksba_der_add_der): New.
724 (ksba_der_add_tag): New.
725 (ksba_der_add_end): New.
726 (ksba_der_builder_get): New.
727 * src/libksba.def: Add new functions.
728 * src/libksba.vers: Ditto.
729 * src/visibility.c: Add wrapper.
730 * src/visibility.h (ksba_der_add_val): Add usual macro magic.
731
732 Allow parsing of EdDSA certificates.
733 + commit 60943d9f18162c7a55a635b122888b9f53690e77
734 * src/keyinfo.c (sig_algo_table): Remove unused params for EdDSA
735 algos.
736 (_ksba_keyinfo_to_sexp): Add curve to EdDSA algos.
737 (cryptval_to_sexp): Add special handling for EdDSA algos.
738
739 2020-05-11 Werner Koch <[email protected]>
740
741 Support creation of ECDSA signed data.
742 + commit cda81bec2e141f67e6ee905eac0e719abb7ef20c
743 * src/der-builder.c (_ksba_der_add_int): New.
744 * src/cms.h (struct sig_val_s): Add struct ecc.
745 * src/cms.c (ksba_cms_release): Release ecc.
746 (ksba_cms_set_sig_val): Support ecdsa.
747 (build_signed_data_rest): Ditto.
748
749 * tests/samples/ecdsa-sample1.p7s: New.
750 * tests/samples/ecdsa-sample1.p7s.asn: New.
751 * tests/samples/rsa-sample1.p7s: New.
752 * tests/samples/rsa-sample1.p7s.asn: New.
753
754 2020-05-04 Werner Koch <[email protected]>
755
756 Support creation of ECDH enveloped data object (part 2 of 2)
757 + commit 8ade151b10480cb03998669e928cfd2e159531c0
758 * src/cms.c (build_enveloped_data_header): Write out ECDH info.
759
760 Add a dedicated BIT STRING function to the new DER builder.
761 + commit be1b4416afc3d646b43c5541b2d79036b6e7cdaf
762 * src/der-builder.c (_ksba_der_add_bts): New.
763
764 2020-05-01 Werner Koch <[email protected]>
765
766 Support creation of ECDH enveloped data object (part 1)
767 + commit 0ddfbb464e0a86164768bd42e3e02a07f06dca62
768 * src/cms.h (struct enc_val_s): Add new fields for ECDH.
769 * src/cms.c: Include der-builder.h
770 (log_sexp): New but commented debug helper.
771 (ksba_cms_release): Free new ECDH values.
772 (ksba_cms_set_enc_val): Support ECDH.
773 (build_enveloped_data_header): Rewrite to make use of the new DER
774 builder.
775
776 Add a new DER builder for internal use.
777 + commit cf49d3e60a67180fcb1b9005d910f015b388cf3c
778 * src/der-builder.c: New.
779 * src/der-builder.h: New.
780 * src/util.c (_ksba_reallocarray): New.
781
782 Add new internal function to get the encoded issuer.
783 + commit 9c52d0787e0d0e78c8f10523a1c12fd83126393b
784 * src/cert.c (_ksba_cert_get_issuer_dn_ptr): New.
785 (_ksba_cert_get_serial_ptr): Return the full DER encoding and not just
786 the value.
787 * src/ocsp.c (ksba_ocsp_prepare_request): Adjust for this change.
788
789 Add RSA encrypted sample file.
790 + commit 0aee4bf128097cbce7e26b76a06d41045fd9d26a
791
792
793 Move ASN.1 constants to a separate header.
794 + commit d1ca2c8b65da20f5c407a1c9aad721ace4de460e
795 * src/asn1-func.h: Factor constants out to ...
796 * src/asn1-constants.h: new.
797 * src/Makefile.am (libksba_la_SOURCES): Add new file.
798
799 2020-04-21 Werner Koch <[email protected]>
800
801 Support parsing of the CMS KeyAgreeRecipientInfo.
802 + commit 401dc58d3d55ed58a0ac4e1f286a7e19ed9e956c
803 * src/cms-parser.c (_ksba_cms_parse_enveloped_data_part_1): Decode at
804 the RecipientInfo level.
805 * src/cms.c (ksba_cms_get_issuer_serial): Adjust for this change.
806 Support KeyAgreeRecipientInfo.
807 (ksba_cms_get_enc_val): Ditto.
808 (dbg_print_sexp): New commented debug helper.
809 * src/keyinfo.c (enc_algo_table): Add and entry of ECDH.
810 (_ksba_parse_algorithm_identifier2): Make R_NREAD optional.
811 (cryptval_to_sexp): Add args to support ECDH.
812 (_ksba_sigval_to_sexp): Adjust for this.
813 (_ksba_encval_to_sexp): Ditto.
814 (_ksba_encval_kari_to_sexp): New.
815
816 * tests/t-cms-parser.c (one_file): Print the enc-val.
817
818 * tests/samples/ecdh-sample1.p7m: New sample.
819 * tests/samples/ecdh-sample1.p7m.asn: And a dump with some comments.
820
821 Extend the parser to better handle CHOICE elements.
822 + commit d07733cf94a255ae804f1964e0fd769f2b337965
823 * src/asn1-func.c (find_node): Support '+' operator.
824 * src/ber-decoder.c (find_anchor_node): Support CHOICE tag.
825 (decoder_next): Set the outer sequence length also for context tags.
826
827 2020-04-14 Werner Koch <[email protected]>
828
829 Allow for Null hash algo parameters on rsaPSS and add pss flag.
830 + commit 17a09f41fc4b26b7af839be2b9666c94e5a22097
831 * src/ber-help.c (_ksba_parse_optional_null): New.
832 * src/ber-help.h (parse_optional_null): New macro.
833 * src/crl.c (ksba_crl_get_sig_val): Insert a "pss" flag.
834 * src/keyinfo.c (cryptval_to_sexp): Ditto.
835 (_ksba_keyinfo_get_pss_info): Allow for NULL parameter.
836
837 2020-04-09 Werner Koch <[email protected]>
838
839 Support rsaPSS also for CRLs.
840 + commit e6e9858970ed37f4d1b82b63868f2f855b4509fe
841 * src/crl.c: Include stringbuf.h
842 (ksba_crl_get_sig_val): Extend to return PSS parameter.
843
844 * tests/t-crl-parser.c (one_file): Print parameter.
845
846 Refactor PSS parameter parsing.
847 + commit 5c08d7ea8e0f6945082c1c6947aa333b6d36d789
848 * src/keyinfo.c (cryptval_to_sexp): Move pssRSA parser to ...
849 (_ksba_keyinfo_get_pss_info): new.
850
851 Merge copies of stringbuf functions into one new header.
852 + commit 641fc8b6deac2262978c5212fd0d41b6d0a07277
853 * src/stringbuf.h: New.
854 * src/Makefile.am (libksba_la_SOURCES): Add it.
855 * src/dn.c: Move stringbuf functions to new file.
856 * src/keyinfo.c: Ditto.
857
858 2020-04-08 Werner Koch <[email protected]>
859
860 Add read-only support for rsaPSS.
861 + commit f5695be600abe905476f45808ef7df850d9a4dae
862 * src/ber-help.c (_ksba_parse_context_tag): Minor tweak in the
863 returned error codes.
864 * src/keyinfo.c (SUPPORTED_RSAPSS): New.
865 (pk_algo_table): Add rsaPSS.
866 (sig_algo_table): Add rsaPSS.
867 (put_stringbuf_uint): New.
868 (cryptval_to_sexp): Parse out the rsaPSS parameters.
869
870 Remove duplicated code and make parse wrappers internally available.
871 + commit 152d04749cceeaccf309a3b150000da09aa503b5
872 * src/ber-help.c (_ksba_parse_sequence): New. Code taken from ocsp.c
873 or crl.c and function name prefixed with _ksba_.
874 (_ksba_parse_context_tag): Ditto.
875 (_ksba_parse_enumerated): Ditto.
876 (_ksba_parse_integer): Ditto.
877 (_ksba_parse_octet_string): Ditto.
878 (_ksba_parse_optional_boolean): Ditto.
879 (_ksba_parse_object_id_into_str): Ditto.
880 (_ksba_parse_asntime_into_isotime): Ditto.
881 * src/ber-help.h: Add new prototypes and macros fro easier use.
882 (parse_skip): Moved from ocsp.c and crl.c as inline to here.
883 * src/crl.c: Remove parse fucntions.
884 * src/ocsp.c: Remove parse fucntions.
885
886 * src/Makefile.am (ber_dump_SOURCES): Add time.c
887
888 2020-04-03 Werner Koch <[email protected]>
889
890 Very minor patch cleanup.
891 + commit 1119068b2e9f3bc1555dcc78fa54716733470b01
892 * src/keyinfo.c (pkalgo_t): Remove trailing comma
893
894 2020-03-31 NIIBE Yutaka <[email protected]>
895
896 ecc: Add Ed25519 and Ed448 public key support.
897 + commit 2625e13bc9d5ed1292eacba38683e5f3b1371237
898 * src/keyinfo.c (PKALGO_ED25519, PKALGO_ED448): New.
899 (PKALGO_X25519, PKALGO_X448): New for future.
900 (pk_algo_table): Add
901 (sig_algo_table): New entries for Ed25519 and Ed448 for future.
902 (_ksba_keyinfo_from_sexp): Add handling for Ed25519 and Ed448.
903
904 2020-03-30 Werner Koch <[email protected]>
905
906 Allow optional elements in keyinfo objects.
907 + commit 1e903fe558bd6583c5447fbebe2ef019229dbfdc
908 * src/keyinfo.c (_ksba_keyinfo_from_sexp): Allow for optiona elements.
909 (_ksba_algoinfo_from_sexp): Ditto.
910
911 2020-01-21 Werner Koch <[email protected]>
912
913 tests: Implement option --to-str for t-dn-parser.
914 + commit bf52cfb8f2b624fb4e24b4bc1089f74429b70b5a
915 * tests/t-dnparser.c (main): Implement option.
916
917 2019-08-20 NIIBE Yutaka <[email protected]>
918
919 pkgconfig: Fix ksba.pc.
920 + commit 3df0cd32e3b21b7da96a93d1f84d6cb6a77b89be
921 * src/ksba.pc.in (Cflags, Libs): Have flags.
922
923 2019-07-22 NIIBE Yutaka <[email protected]>
924
925 build: Use {CFLAGS,CPPFLAGS,LDFLAGS}_FOR_BUILD for helper program.
926 + commit b92ec7f502d9a1107ac69dacce9ff684f5ae1c07
927 * src/Makefile.am: Add {CFLAGS,CPPFLAGS,LDFLAGS}_FOR_BUILD for
928 asn1-gentables.
929
930 2019-04-26 Werner Koch <[email protected]>
931
932 Add support for authenticode signing.
933 + commit 1f0afa452e1276c98c2932e7247e36e0d74cc306
934 * src/cms.c (content_handlers): Add KSBA_CT_SPC_IND_DATA_CTX.
935
936 Add constants KSBA_VERSION and KSBA_VERSION_NUMBER.
937 + commit 158539fd0c82522665fc4be86ba32f7f8553bc9b
938 * src/ksba.h: Rename to ...
939 * src/ksba.h.in: this.
940 (KSBA_VERSION, KSBA_VERSION_NUMBER): New.
941 * configure.ac (VERSION_NUMBER): Set it.
942 (AC_CONFIG_FILES): Add ksba.h
943
944 2019-03-06 NIIBE Yutaka <[email protected]>
945
946 Update libgcrypt.m4.
947 + commit 09a4cfae14397605bb32ddd4449b47d32e5090ab
948 * m4/libgcrypt.m4: Update from libgcrypt master.
949
950 2019-02-27 NIIBE Yutaka <[email protected]>
951
952 Revert wrong fix for ECDSA.
953 + commit f37361f86d2228aa5c5b09db188b8c6ba33cc435
954 * src/certreq.c (ksba_certreq_set_sig_val): Add back MSB handling of
955 0x80 for ECDSA.
956
957 Don't remove leading zero byte.
958 + commit 9fea74575085352daec89b64bd36db5df9a05fb8
959 * src/cms.c (ksba_cms_set_sig_val): Don't remove leading zero byte.
960 (ksba_cms_set_enc_val): Likewise.
961 * src/certreq.c (ksba_certreq_set_sig_val): Likewise for RSA.
962
963 2019-02-26 NIIBE Yutaka <[email protected]>
964
965 Fixing ECDSA, support EdDSA signatures in CSRs.
966 + commit 5d9278f3d13050eddd68d8a1c490274a4f631f5f
967 * src/certreq.c (ksba_certreq_set_sig_val): Remove MSB handling of
968 0x80 for ECDSA, because it is done by GnuPG.
969
970 Distinguishing EdDSA signature in libgcrypt format, make a signature
971 simply concatinate r and s.
972
973 2019-02-14 Damien Goutte-Gattat via Gnupg-devel <[email protected]>
974
975 Support multi-valued signatures in CSRs.
976 + commit 98882064f45778927d38c6fdbe008f5858b36813
977 * src/certreq.c (ksba_certreq_set_sig_val): Support signatures
978 made of several values.
979
980 2019-01-16 NIIBE Yutaka <[email protected]>
981
982 build: With LD_LIBRARY_PATH defined, use --disable-new-dtags.
983 + commit 3f99f332ada603468eb30d77649c4fdf84b383e6
984 * configure.ac (LDADD_FOR_TESTS_KLUDGE): New for --disable-new-dtags.
985 * tests/Makefile.am (LDADD): Use LDADD_FOR_TESTS_KLUDGE.
986
987 2018-11-13 NIIBE Yutaka <[email protected]>
988
989 build: Update autogen.rc.
990 + commit c37cdbd0f1b4a682799e0661178e392227cca938
991 * autogen.rc: Remove obsolete --with-gpg-error-prefix option.
992
993 2018-11-08 NIIBE Yutaka <[email protected]>
994
995 Add annotation for fall through path.
996 + commit 3f5dcb5ff6721b0c70c8b0e320e4fd58f1c2cada
997 * src/ber-decoder.c (decoder_next): Add FALLTHROUGH.
998
999 2018-11-02 NIIBE Yutaka <[email protected]>
1000
1001 build: Update gpg-error.m4 and ksba.m4.
1002 + commit 5a7c0d8667ceddf7820131865dad0ab850e5c3a4
1003 * m4/gpg-error.m4: Update to 2018-11-02.
1004 * src/ksba.m4: Add AC_MSG_NOTICE.
1005
1006 2018-10-29 NIIBE Yutaka <[email protected]>
1007
1008 build: Update gpg-error.m4 and ksba.m4.
1009 + commit 9917a23a6c8177f79bdd8da031d3b7135b597c91
1010 * m4/gpg-error.m4: Update to 2018-10-29.
1011 * src/ksba.m4: Follow the change of gpgrt-config.
1012
1013 2018-10-26 NIIBE Yutaka <[email protected]>
1014
1015 ksba.m4: Fix calling by gpgrt-config.
1016 + commit 825a4a9e93655b136dd2eee685e0e67aca912a01
1017 * src/ksba.m4: Fix condition and use "ksba" for *.pc.
1018
1019 ksba.m4: Better backward compatibility.
1020 + commit d3fdae7a299a0514b90dbb7f45a0d08ee5d93078
1021 * m4/gpg-error.m4: Update.
1022 * src/ksba.m4: Don't assume ksba-config is newer.
1023 Fix KSBA_CONFIG which used LIBKSBA_CONFIG wrongly.
1024
1025 build: Fix ksba.m4.
1026 + commit 910c148825d50798689998ed760b658f2aeeee64
1027 * src/ksba.m4: Use AC_PATH_PROG to detect ksba-config.
1028
1029 build: Improve ksba.m4.
1030 + commit f0116c07d0d89fc7114dedeb3fc638ab9dae2254
1031 * src/ksba.m4: Don't try gpgrt-config when LIBKSBA_CONFIG set. Fall
1032 back to detecting ksba-config, when gpgrt-config doesn't work well.
1033
1034 build: Relax build requirements.
1035 + commit a32a50c7726ee7c6ac320d99b9ab42f073960cc9
1036 * m4/gpg-error.m4: Update from libgpg-error 1.33.
1037 * src/ksba.m4: Don't require AM_PATH_GPG_ERROR. Use GPGRT_CONFIG when
1038 it is confirmed that it is available and working well.
1039 * configure.ac (AM_PATH_GPG_ERROR): No requirement for newer version
1040 (It was because of new gpgrt-config which supports *.pc files).
1041
1042 2018-10-25 NIIBE Yutaka <[email protected]>
1043
1044 build: Require libgpg-error >= 1.33.
1045 + commit 07cf4a9ab6f1a7b68aeda39ba03691e713254418
1046 * configure.ac (NEED_GPG_ERROR_VERSION): Require >= 1.33.
1047 * m4/gpg-error.m4: Update from libgpg-error 1.33.
1048 * src/ksba.m4: Fix to support --with-libksba-prefix.
1049
1050 2018-10-24 NIIBE Yutaka <[email protected]>
1051
1052 build: Fix ksba.pc.
1053 + commit 4754816d10a38ebe97acd2f3bfaa835055566696
1054 * src/ksba.pc.in: Fix typo.
1055
1056 build: Fix previous commit.
1057 + commit 5a21f7465ca2aadfb3877a53f6536859b6973463
1058
1059
1060 build: Compatibility to pkg-config.
1061 + commit dfc3ad5c6e97cc11de4faa19de59203ae8d5eb1a
1062 * src/ksba-config.in: Support --variable and --modversion.
1063
1064 build: Make ksba.m4 use gpg-error-config.
1065 + commit ce5247c0f3fcbe8a1e70c33ab4c83d807aecce63
1066 * src/ksba.m4: Use gpg-error-config.
1067
1068 build: Provide libassuan.pc, generated by configure.
1069 + commit d0016a76942eb58748182ad282c03d5cd7a0dc86
1070 * configure.ac (PACKAGE, VERSION): Remove.
1071 Generate src/ksba.pc.
1072 * src/Makefile.am (pkgconfigdir, pkgconfig_DATA): New.
1073 * src/ksba-config.in: Use @PACKAGE_VERSION@.
1074 * src/ksba.pc.in: New.
1075
1076 build: Update gpg-error.m4 from libgpg-error.
1077 + commit ec4e838ca91849b493f7ea77074e4415ed6a2d4a
1078 * m4/gpg-error.m4: Update from libgpg-error 1.33.
1079
1080 2018-10-23 Werner Koch <[email protected]>
1081
1082 Fix error detection in the CMS parser which may led to a NULL-deref.
1083 + commit a1ce3c17ee0d44ba8c7c9553824ba55b7950e930
1084 * src/cms.c (build_signed_data_rest): Fix c+p bug.
1085
1086 Use only one .PHONY target in a Makefile.
1087 + commit d56bddc68db86878e1b3497362407c994c2841ca
1088 * Makefile.am (.PHONY): Move to the end.
1089
1090 Fix test for existence of the signing_time.
1091 + commit a0bbba1c49286f09c5f2eb3cd788938fac2ed252
1092 * src/cms.c (build_signed_data_attributes): Fix test.
1093
1094 2017-08-22 Marcus Brinkmann <[email protected]>
1095
1096 Fix make distcheck.
1097 + commit af99234b21c98ad1a4eaf2b72fb52de67beba9d3
1098 * configure.ac: Revert last change and define HAVE_GCOV if not
1099 in maintainer mode.
1100 * tests/detached-sig.csm: New file.
1101 * tests/Makefile.am (EXTRA_DIST): Add detached-sig.csm.
1102 * tests/t-cms-parser.c (main): Use detached-sig.csm as test file.
1103
1104 2017-08-18 Marcus Brinkmann <[email protected]>
1105
1106 Fix non-maintainer build.
1107 + commit 457d2f0c6a1fea394de6d48afb1c1c0189c52878
1108 * configure.ac: Always check for gcov program to make sure
1109 the automake variable is defined.
1110
1111 Fix all compiler warnings.
1112 + commit 982faa2c354a2d23ffd4a0bad584e145faf809bc
1113 * src/asn1-parse.y (import_defs, identifier_list): Comment out unused part
1114 of the grammar that causes a shift-reduce conflict.
1115 * src/cms-parser.c (_ksba_cms_parse_enveloped_data_part_1): Initialize
1116 some variables to help suppress uninitialized use warning.
1117 * src/crl.c (oidstr_issuingDistributionPoint): Comment out unused OID.
1118 * src/gen-help.h (ksba_asn_parse_file, ksba_asn_tree_dump): Add declarations.
1119
1120 2017-08-15 Kai Michaelis <[email protected]>
1121
1122 Fix memory leaks in ksba_cms_identify and tests.
1123 + commit a1d9b046aec8cedda16a9e24eb8d2ed021f68d5d
1124 * tests/t-reader.c: free prepend_srcdir() result.
1125 * tests/t-cms-parser: ditto & release writer instance.
1126 * src/cms.c: fix mem leak in ksba_cms_identify().
1127
1128 2017-08-10 Kai Michaelis <[email protected]>
1129
1130 Enable CMS parser test.
1131 + commit 39e633d6d224cafa83d884865ac4e372709d91b7
1132 * tests/Makefile.am: add t-cms-parser to the list of tests.
1133 * tests/t-cms-parser.c: change default test file to something that
1134 exists.
1135
1136 Generate coverage information.
1137 + commit 3e029a4ed0059116febe05924a14009ca622e3c5
1138 * autogen.sh: add options --coverage and --report to help w/ coverage
1139 info collection and reporting.
1140 * m4/gcov.m4: new file. Boilerplate for locating gcov et.al.
1141 * Makefile.am: add coverage-report target
1142
1143 GnuPG-Bud-Id: 3050
1144
1145 2017-08-09 Kai Michaelis <[email protected]>
1146
1147 Add missing include.
1148 + commit ad36a28e3a0580c1a9547843c03e1af172681efc
1149 * src/reader.c: include unistd.h
1150
1151 Don't use decls in for-loop headers.
1152 + commit 707862ab44fb6cca79dacbf866a7066d941b92fc
1153 libksba compiles w/ C90
1154
1155 Add missing fd support to ksba_reader_t.
1156 + commit c7f4ef5b5ebc8d6be2c56f14da999a36735a2eba
1157 * src/reader.c: add branches for READER_TYPE_FD
1158 * tests/t-reader.c: tests for above
1159
1160 2017-06-19 Marcus Brinkmann <[email protected]>
1161
1162 configure: Add flag to disable documentation build.
1163 + commit ab23f39a91b5c16eda2d9d581f9bf2ab2da39cf2
1164 * configure.ac: Add new option --disable-doc.
1165 (BUILD_DOC): New automake conditional.
1166 * Makefile.am (SUBDIRS): Make doc optional based on BUILD_DOC.
1167 (DISTCHECK_CONFIGURE_FLAGS): New variable.
1168
1169 Signed-Off-By: Marcus Brinkmann <[email protected]>
1170
1171 2017-04-20 Andre Heinecke <[email protected]>
1172
1173 tests: Open testfile in binary mode.
1174 + commit 3bb0c54fe47eb72e1e7be93de8775b37045de34d
1175 * tests/t-crl-parser.c (one_file): Read file in binary mode.
1176
1177 2017-03-08 Justus Winter <[email protected]>
1178
1179 build: Use macOS' compatibility macros to enable all features.
1180 + commit 561d03a008150c201ece22b29c97b24a1f6bf590
1181 * configure.ac: On macOS, use the compatibility macros to expose every
1182 feature of the libc. This is the equivalent of _GNU_SOURCE on GNU
1183 libc.
1184
1185 2016-10-14 Werner Koch <[email protected]>
1186
1187 Let configure print a note if Yacc is not Bison.
1188 + commit 100ed5092aec0afe16ca7a4fe660602745e92a36
1189 * m4/ax_prog_bison.m4: New.
1190 * m4/Makefile.am (EXTRA_DIST): Add it.
1191 * configure.ac: Test for Bison and print a note.
1192
1193 2016-08-22 Werner Koch <[email protected]>
1194
1195 Release 1.3.5.
1196 + commit 25cc42cf61a56e01f1bd72883e452f691dda8309
1197 * configure.ac: Set LT version to C19/A/11/R6.
1198
1199 Use size_t for the result of fread.
1200 + commit 68fba3d8d7757b7f7ed75fdebd2b91299943503b
1201 * src/reader.c (ksba_reader_read): Make 'n' and size_t.
1202
1203 Limit allocation in the BER decoder to 16 MiB.
1204 + commit 89d898346b75337ec2546c672ea720c5c956b53a
1205 * src/ber-decoder.c (MAX_IMAGE_LENGTH): New.
1206 (decoder_next): Limit allcoation to MAX_IMAGE_LENGTH.
1207 (_ksba_ber_decoder_dump, _ksba_ber_decoder_decode): Ditto.
1208
1209 2016-07-17 Tomáš Trnka <[email protected]>
1210
1211 Encode OCSP nonce value as an octet string (RFC 6960)
1212 + commit eb7833b8720cd0831c78d42e993ca878cecf27bc
1213 * src/ocsp.c (ksba_ocsp_set_nonce): Stop removing the sign bit.
1214 (write_request_extensions): Encode nonce as octet string.
1215 (parse_response_extensions): Decode nonce as octet string.
1216
1217 2016-07-13 Werner Koch <[email protected]>
1218
1219 build: Update config.{guess,sub} to {2016-05-15,2016-06-20}.
1220 + commit ee203f948a6573809672d9e61177145a13b3987d
1221 * build-aux/config.guess: Update.
1222 * build-aux/config.sub: Update.
1223
1224 2016-06-27 Werner Koch <[email protected]>
1225
1226 tests: Fix a memory leak.
1227 + commit 995d2e34932143cc9888db779cb3ecd92ae6e32e
1228 * tests/t-oid.c (test_oid_to_str): Free STR.
1229
1230 Use modern error macros and fix a missing assignment.
1231 + commit b60e5140f85fc00cd131ab635d4202693759abe1
1232 * src/ocsp.c: Remove errno.h. Replace gpg_error_from_errno(errno) by
1233 gpg_error_from_syserror ().
1234 (parse_response): Ditto. Return direct becuase static analyzer may
1235 not grasp that gpg_error_from_syserror will never return false.
1236 (ksba_ocsp_get_responder_id): Actually return an error for NO_DATA.
1237
1238 Detect invalid RDN names and avoid a read from uninitialized variable.
1239 + commit 7243a3c6ed1635eef45b567b37a025e4a5e0dc51
1240 * src/dn.c (parse_rdn): Bail out for an invalid name.
1241
1242 2016-05-25 Werner Koch <[email protected]>
1243 Pascal Cuoq <[email protected]>
1244
1245 Fix OOB read in parse_distribution_point.
1246 + commit 43f890f37b514757db5653608ec59b5a74e8e092
1247 * src/cert.c (parse_distribution_point): Check TI.length.
1248
1249 2016-05-11 Werner Koch <[email protected]>
1250
1251 Make sure that ASN.1 data is stored in an all-initialized buffer.
1252 + commit 2a9fc5654df497b91ab9b64e946c1e19371888e5
1253 * src/ber-decoder.c (decoder_next): Clear the image buffer.
1254
1255 2016-05-03 Werner Koch <[email protected]>
1256
1257 Release 1.3.4.
1258 + commit 3a92e8c8939767d19aaa48f051d721d582ab0eff
1259 * configure.ac: Set LT version to C19/A11/R5.
1260
1261 Update config.{guess,sub} to 2016-04-02 and 2016-03-30.
1262 + commit 8290fabdb260e228c3b89706c88caf90da77358b
1263 * build-aux/config.guess: Update.
1264 * build-aux/config.sub: Update.
1265
1266 Create an SWDB file during "make distcheck"
1267 + commit ec820ebbb05cbc0d5ee00f086364ecaf3efa54cb
1268 * Makefile.am (distcheck-hook): New.
1269
1270 Fix an undefined return value in ksba_cert_get_digest_algo.
1271 + commit 3f74c2cc0068d0b3584627af73c8c42ce720a826
1272 * src/cert.c (ksba_cert_get_digest_algo): Set ALGO in the error case.
1273 * tests/cert-basic.c (one_file): Take care of printf which does not
1274 handle NULL for %s
1275
1276 Fix an OOB read access in _ksba_dn_to_str.
1277 + commit 6be61daac047d8e6aa941eb103f8e71a1d4e3c75
1278 * src/dn.c (append_utf8_value): Use a straightforward check to fix an
1279 off-by-one.
1280
1281 Fix possible read access beyond the buffer.
1282 + commit a7eed17a0b2a1c09ef986f3b4b323cd31cea2b64
1283 * src/ber-help.c (_ksba_ber_parse_tl): Add extra sanity check.
1284 * src/cert.c (ksba_cert_get_cert_policies): Check TLV given length
1285 against buffer length.
1286 (ksba_cert_get_ext_key_usages): Ditto.
1287 * src/ocsp.c (parse_asntime_into_isotime): Ditto.
1288
1289 2015-10-28 Werner Koch <[email protected]>
1290
1291 Add more curves to the name->OID table.
1292 + commit 3d968bbffc3a0acda890e342fbbfa5b34a26085e
1293 * src/keyinfo.c (curve_names): Add more curves.
1294
1295 Fix lookup of ECC OIDs by name.
1296 + commit 9df0ac3a4afa0272dbff08d17e9064f13be95814
1297 * src/keyinfo.c (get_ecc_curve_oid): Fix obviously never tested table
1298 lookup.
1299
1300 2015-08-25 Werner Koch <[email protected]>
1301
1302 Add configure option --enable-build-timestamp.
1303 + commit 538188812ace9594aad92a9b0f73b75e5ffc4526
1304 * configure.ac (BUILD_TIMESTAMP): Set to "<none>" by default. Add
1305 ac_define_unquoted.
1306
1307 2015-04-10 Werner Koch <[email protected]>
1308
1309 Release 1.3.3.
1310 + commit b46ea28e82d67a2072817294115360fd3e1ab20c
1311
1312
1313 2015-04-09 Werner Koch <[email protected]>
1314
1315 Do not abort on decoder stack overflow.
1316 + commit 07116a314f4dcd4d96990bbd74db95a03a9f650a
1317 * src/ber-decoder.c (push_decoder_state, pop_decoder_state): Return an
1318 error code.
1319 (set_error): Prefix error message with "ksba:". Act on new return code.
1320 (decoder_next): Act on new return code.
1321
1322 Fix integer overflow in the BER decoder.
1323 + commit aea7b6032865740478ca4b706850a5217f1c3887
1324 * src/ber-decoder.c (ber_decoder_s): Change val.length from int to
1325 size_t.
1326 (sum_a1_a2_gt_b, sum_a1_a2_ge_b): New.
1327 (decoder_next): Check for integer overflow. Use new sum function for
1328 size check.
1329 (_ksba_ber_decoder_dump): Use size_t for n to match change of
1330 val.length. Adjust printf fomrat. Check for integer overflow and use
1331 gpg_error_from_syserror instead of GPG_ERR_ENOMEM.
1332 (_ksba_ber_decoder_decode): Use new sum function for size check.
1333 Check for integer overflow. Use size_t for n to match change of
1334 val.length.
1335
1336 2015-04-08 Werner Koch <[email protected]>
1337
1338 Fix encoding of invalid utf-8 strings in dn.c.
1339 + commit 243d12fdec66a4360fbb3e307a046b39b5b4ffc3
1340 * src/dn.c (append_quoted, append_atv): Use snprintf.
1341 (append_utf8_value): Fix invalid encoding handling.
1342
1343 2015-01-30 Werner Koch <[email protected]>
1344
1345 w32: Use -static-libgcc to avoid linking to libgcc_s_sjlj-1.dll.
1346 + commit 792f4b36f998beba3515b776e8ca76ecbf20e468
1347 * src/Makefile.am (extra_ltoptions): New.
1348 (libksba_la_LDFLAGS): Use it.
1349
1350 Update ASN.1 grammar for newer Bison versions.
1351 + commit 569f3da664de81638bcb322d6e9380f3ff16f70c
1352 * src/asn1-parse.y (YYERROR_VERBOSE): Replace by ...
1353 (%define parse.error.verbose): this.
1354 (YYPARSE_PARM, YYLEX_PARM): Replace by ...
1355 (%parm): this.
1356 (%pure_parser): Replace by ...
1357 (%define api.pure full): this.
1358 (yyerror): Add arg parm.
1359
1360 2015-01-28 Werner Koch <[email protected]>
1361
1362 Require automake 1.14 and update build-aux files.
1363 + commit 32b3a47a358d694332450f9c2487a88aedc46ca7
1364 * Makefile.am (AUTOMAKE_OPTIONS): Move to ...
1365 * configure.ac (AM_INIT_AUTOMAKE: here. Add serial-tests.
1366
1367 2014-11-25 Werner Koch <[email protected]>
1368
1369 Release 1.3.2.
1370 + commit 02079b56b8d0d922bb84981270fafbc36637b417
1371 * configure.ac: Set LT version to C19/A11/R3.
1372
1373 build: Update version number magic.
1374 + commit 00ef765bc1aff709e990f9fd984e25aa8e09f482
1375 * autogen.sh: Update from gnupg master.
1376 * configure.ac: Change for new init style. Create VERSION.
1377 * Makefile.am (dist-hook): Do no create VERSION
1378
1379 Fix buffer overflow in ksba_oid_to_str.
1380 + commit f715b9e156dfa99ae829fc694e5a0abd23ef97d7
1381 * src/oid.c (ksba_oid_to_str): Fix unsigned underflow.
1382
1383 * tests/Makefile.am (noinst_PROGRAMS): Move t-oid to ..
1384 (TESTS): here.
1385 * tests/t-oid.c (test_oid_to_str): New.
1386 (main): Run the new tests by default. The former functionality
1387 requires the use of one of the new options.
1388
1389 2014-09-25 Werner Koch <[email protected]>
1390
1391 Strip CRs while building the oid translation table.
1392 + commit 6692de1398629061d405099bb22e9480475928af
1393 * tests/Makefile.am (oidtranstbl.h): Strip CRs
1394
1395 2014-09-18 Werner Koch <[email protected]>
1396
1397 Release 1.3.1.
1398 + commit 447784c718c817ab8036af7d81ce5a6bbb1f1df0
1399 * configure.ac: Set LT version to C19/A11/R2.
1400
1401 2014-07-22 Dmitry Eremin-Solenikov <[email protected]>
1402
1403 Fix two memory leaks in cert-basic test.
1404 + commit 4486cb8228eeaefccc800e550cae4cd4701967c1
1405 * tests/cert-basic.c (one_file): always free public key and der2.
1406
1407 Enable optional valgrind for testsuite.
1408 + commit 64902148236af8f39397bfaf6b5494b342027948
1409 * configure.ac: Enable gnulib valgrind module.
1410 * gl/m4/gnulib.m4: Enable valgrind module.
1411 * tests/Makefile.am: Enable valgrind as LOG_COMPILER.
1412 * gl/m4/valgrind-tests.m4: New
1413
1414 Fix memory leak in crl parsing code.
1415 + commit 42aca4c9e575d44436e82e2e6bad6c967f12f21b
1416 * src/crl.c (store_one_entry_extension): Free memory at oid variable -
1417 otherwise libksba leaks memory on crl parsing.
1418
1419 Adapt mkoidtbl script to newer dumpasn1 database format.
1420 + commit 21cf824e1547d94f898946715b525e7d41de5899
1421 * tests/mkoidtbl.awk: optionally parse oid at OID line.
1422
1423 Reuse common test functions in cert-basic test.
1424 + commit 70bb73e5da9be83ec170829d7cdab5a1da89d408
1425 * tests/cert-basic.c (xmalloc, print_hex, print_sexp, print_time,
1426 print_dn): Drop.
1427
1428 tests: fix print_sexp and print_sexp_hex functions.
1429 + commit ce85db73a9330371d456ccd6a49a8682c31d0ed4
1430 * tests/t-common.h (print_sexp, print_sexp_hex): advance pointer on
1431 closing brace.
1432
1433 tests: Pass -no-install to libtool.
1434 + commit 7f9e09611fce8466a98f53c5dfe4bebb398c708f
1435 * tests/Makefile.am: add AM_LDFLAGS = -no-install
1436
1437 2014-04-15 Werner Koch <[email protected]>
1438
1439 tests: Fix warning about unused var.
1440 + commit 5b79ad34ea2d7a86cfe465c81ff6bcd7fc1c06fc
1441 * tests/t-dnparser.c (main): Drop unneeded var INPUTLEN.
1442
1443 Fix possible segv if NULL is passed as cert.
1444 + commit 6fd166870237d5b913fb59cb2a4356fed1734efa
1445 * src/cert.c (ksba_cert_get_digest_algo): Fix !cert case.
1446
1447 2014-01-10 Werner Koch <[email protected]>
1448
1449 Remove cruft.
1450 + commit f73e671406eefa96aba98f609cb68a9caae6bb7a
1451 * autogen.rc: Remove cruft.
1452
1453 Use the generic autogen.sh script.
1454 + commit 3943ea7f7dd739dc2c259b76a569a46259d47c43
1455 * Makefile.am (EXTRA_DIST): Add autogen.rc.
1456 * autogen.rc: New.
1457 * autogen.sh: Update from current GnuPG.
1458 * ltmain.sh: Move to build-aux/.
1459 * compile: Ditto.
1460 * config.guess: Ditto.
1461 * config.sub: Ditto.
1462 * depcomp: Ditto.
1463 * doc/mdate-sh: Ditto.
1464 * doc/texinfo.tex: Ditto.
1465 * install-sh: Ditto.
1466 * missing: Ditto.
1467 * ylwrap: Ditto.
1468 * configure.ac (AC_CONFIG_AUX_DIR): New.
1469
1470 2014-01-08 Werner Koch <[email protected]>
1471
1472 Add --enable-silent-rules stuff.
1473 + commit 629c1f0b16b12418711516de3bef5298ab45fe12
1474 * configure.ac: Add AM_SILENT_RULES.
1475
1476 Fix libtool 2.4.2 to correctly detect .def files.
1477 + commit a7b75d6e8e8af79eab9ece7a4061ea48eab8a81d
1478 * ltmain.sh (sed_uncomment_deffile): New.
1479 (orig_export_symbols): Uncomment def file before testing for EXPORTS.
1480 * m4/libtool.m4: Do the same for the generated code.
1481
1482 2013-12-10 David 'Digit' Turner <[email protected]>
1483
1484 Update libtool to support Android.
1485 + commit d69cde444b2a4b106b4d8c6857efe7d5e8ce18fc
1486 * m4/libtool.m4: Add "linux*android*" case. Taken from the libtool
1487 repository.
1488
1489 2013-12-10 Werner Koch <[email protected]>
1490
1491 Add build support for ppc64le.
1492 + commit a34986a19b2d597cfa3fac099abe243ce1a896a5
1493 * config.guess, config.sub: Update to latest version (2013-11-29).
1494 * m4/libtool.m4: Add patches for ppc64le.
1495
1496 Fix duplicate definition of TRUE and FALSE in grammar file.
1497 + commit ab3fe5dccd5bd814f9e2db943380b28598f8cb7a
1498 * src/asn1-parse.y (YYPRINT): Define.
1499 (%token-table): Define.
1500 (TRUE,FALSE,BOOLEAN): Prefix these tokens with "ksba_" to avoid name
1501 conflicts.
1502 (key_word, key_word_token): Remove arrays.
1503 (%token): Add literal strings to almost all tokens.
1504 (yylex): Use yytname array for keyword lookup.
1505
1506 2012-11-16 Werner Koch <[email protected]>
1507
1508 Improve parsing of the GIT revision number.
1509 + commit 7b9662f2bf28feb575c4b2b181d88ca61ad43d53
1510 * configure.ac (mmm4_revision): Use git rev-parse.
1511
1512 Fix non-portable use of chmod in autogen.sh.
1513 + commit c18bf9d08d95a73192e12580ce5eae3454c07c0d
1514 * autogen.sh: Remove option -c from chmod.
1515
1516 2012-09-27 Werner Koch <[email protected]>
1517
1518 Release 1.3.0.
1519 + commit ea8487406ecafbcf190008b6c8a5c8e7c63ed6b8
1520 * configure.ac: Set LT version to C19/A11/R1.
1521
1522 2012-09-26 Werner Koch <[email protected]>
1523
1524 Update build helper scripts.
1525 + commit 1533a9662128fca669eeb661308939cdc8e5d74b
1526 * config.guess, config.sub: Update to version 2012-07-31.
1527 * ltmain.sh: Update to version 2.4.2.
1528 * install-sh, m4/libtool.m4, m4/ltoptions.m4, m4/ltversion.m4
1529 * m4/lt~obsolete.m4: Update to autoconf 2.69 versions.
1530
1531 Adjust for stricter autoconf requirements.
1532 + commit 3e71347052593f4ba3312eb31e932765be1c93ec
1533 * configure.ac: Fix usage of AC_LANG_PROGRAM.
1534
1535 Do not distribute a copy of gitlog-to-changelog.
1536 + commit 5d60c0f340584b280762864fc1cb65013c55503d
1537 * Makefile.am (AUTOMAKE_OPTIONS): Do not create a tar.gz.
1538 (gen-ChangeLog): Require an installed gitlog-to-changelog.
1539 * build-aux/gitlog-to-changelog: Remove.
1540
1541 Allow building with w64-mingw32.
1542 + commit 3776ae8f4ea642ad6ac0af726e90492e6f82eb5f
1543 * autogen.sh <--build-w32>: Support the w64-mingw32 toolchain. Also
1544 prepare for 64 bit building.
1545
1546 Switch to the new automagic beta numbering scheme.
1547 + commit 120d58757d43d10278d4f5ec4126bc18d2ccd28a
1548 * configure.ac: Add all the required m4 magic.
1549
1550 Change library license to LGPLv3+/GPLv2+.
1551 + commit d4333eefc945750613ac9483a41793b5971e3cfe
1552 * COPYING.GPLv2, COPYING.GPLv3, COPYING.LGPLv3: New.
1553 * COPYING: Replace text by a reference to the new files.
1554 * AUTHORS: Update copyright, license, and maintainer information.
1555 * Makefile.am (EXTRA_DIST): Distribute the new files.
1556
1557 Remove unused or useless files.
1558 + commit 9abb7c027e9501012f96393c80607c4ad6a8a38f
1559 * src/asn1-parse.h: Remove empty file.
1560 * src/asn1-parse.y: Do not include asn1-parse.h.
1561
1562 2011-12-06 Werner Koch <[email protected]>
1563
1564 Allow to set subject and issuer.
1565 + commit aa6cbc8332e59ad94b104b51ea59784f17e522f6
1566 * src/certreq.c (ksba_certreq_set_issuer): Do not check the subject.
1567
1568 2011-12-01 Werner Koch <[email protected]>
1569
1570 Post release updates.
1571 + commit 3f957f48388756732b5795b77b65d5ab7c0c8298
1572
1573
1574 Generate the ChangeLog from commit logs.
1575 + commit 1120a33155aa3246b6aeed2dcd6a1315969c632d
1576 * build-aux/gitlog-to-changelog: New script. Taken from gnulib.
1577 * build-aux/git-log-fix: New file.
1578 * build-aux/git-log-footer: New file.
1579 * doc/HACKING: New file.
1580 * ChangeLog: New file.
1581 * Makefile.am (EXTRA_DIST): Add new files.
1582 (gen-ChangeLog): New.
1583 (dist-hook): Run gen-ChangeLog.
1584 * autogen.sh: Install commit-msg hook for git.
1585
1586 Rename all ChangeLog files to ChangeLog-2011.
1587
1588 2011-12-01 Werner Koch <[email protected]>
1589
1590 NB: Changes done before December 1st, 2011 are described in
1591 per directory files named ChangeLog-2011. See doc/HACKING for
1592 details.
1593
1594 -----
1595 Copyright (C) 2011 g10 Code GmbH
1596
1597 Copying and distribution of this file and/or the original GIT
1598 commit log messages, with or without modification, are
1599 permitted provided the copyright notice and this notice are
1600 preserved.