1 2022-09-16 Werner Koch <wk@gnupg.org>
4 + commit d3c1e063d708a46ef39152256f8b1ea466b61be0
7 2022-07-19 NIIBE Yutaka <gniibe@fsij.org>
9 build: Update config.guess and config.sub.
10 + commit 466837db84fb318eaaee1aba6cc3939c16a3e2ba
11 * build-aux/config.guess: Update from upstream.
12 * build-aux/config.sub: Ditto.
14 build: Support cross compile.
15 + commit ca9a04569020c51719ab45ebd35a3cbb1f35c6aa
16 * configure.ac (AX_CC_FOR_BUILD): New.
17 * m4/ax_cc_for_build.m4: New.
18 * src/Makefile.am: Use EXEEXT_FOR_BUILD.
20 2022-06-28 NIIBE Yutaka <gniibe@fsij.org>
22 build: Update gpg-error.m4.
23 + commit e51d5c7ce81fe3f90039ad970fbb82f751a645fc
24 * m4/gpg-error.m4: Update from libgpg-error.
26 2022-03-31 NIIBE Yutaka <gniibe@fsij.org>
28 build: When no gpg-error-config, not install ksba-config.
29 + commit 41000330cdba87afdf9ea0b481e0260dab262a54
30 * configure.ac (USE_GPGRT_CONFIG): New.
31 * src/Makefile.am [USE_GPGRT_CONFIG]: Conditionalize the install
34 2022-03-22 NIIBE Yutaka <gniibe@fsij.org>
36 Fix test of t-cms-parser.
37 + commit e751d1fa01bd3e593eeccbeffb729176a59ca28c
38 * tests/t-cms-parser.c (one_file): Open the file with binary flag.
40 2022-02-26 Werner Koch <wk@gnupg.org>
42 ocsp: Accept a server not responding with a nonce.
43 + commit 24992a4a7a61d93759e1dbd104b845903d4589bf
44 * src/ocsp.h (struct ksba_ocsp_s): Remove good_nonce.
45 * src/ocsp.c (parse_response_extensions): No not set good_nonce.
46 (ksba_ocsp_parse_response): Simplify the check.
48 ocsp: Fix detecting the right response item.
49 + commit c9cde18bc84a1b3bb7de22ca80264c418ffd0fee
50 * src/ocsp.c (ksba_ocsp_prepare_request): Store the value of the
53 2021-12-22 NIIBE Yutaka <gniibe@fsij.org>
55 build: Update for newer autoconf.
56 + commit 51b565054096926dc97fc2ebb72c7de05a127dff
57 * configure.ac (AC_PREREQ): Require >= 2.69.
58 (AC_HEADER_STDC): Remove.
60 2021-11-29 NIIBE Yutaka <gniibe@fsij.org>
62 Silence warning for ksba_isotime_t.
63 + commit 64ef3144abee7afbc93a87e960b9a79c7b43cfca
64 * src/time.c (_ksba_current_time): Let it return the result.
66 Fix ksba.pc to use HTTPS for the URL.
67 + commit 4898212c705a49da0384ac8f1b44f2d6592a990e
68 * src/ksba.pc.in: Use https.
70 2021-11-10 NIIBE Yutaka <gniibe@fsij.org>
72 libtool: Link without -flat_namespace for macOS.
73 + commit 0d7a62c355ea18031daf00490da9f7c9f33683c3
74 * m4/libtool.m4: Not setting 10.0 to MACOSX_DEPLOYMENT_TARGET when not
75 defined. Only specify -flat_namespace to linker for specific
76 (older) versions and hosts.
78 2021-10-13 NIIBE Yutaka <gniibe@fsij.org>
80 ASN.1 parser: Provide token table (no more %token-table).
81 + commit f3b7dd4167779f2694e932ad7c2adba98ff9a21d
82 * src/asn1-parse.y (%token-table): Remove.
84 (yylex): Use token_table.
86 2021-09-22 Andreas Metzler <ametzler@bebt.de>
88 build: Use automake primitives to install libksba.def.
89 + commit ce1de8cb2bcd712381f77519de4da87af42879a4
90 * src/Makekefile.am: Do not use explicit $INSTALL to install
91 libksba.def, fixes windows parallel build error.
93 2021-08-18 Werner Koch <wk@gnupg.org>
95 Avoid warnings about NULL ptr deref in ASN.1 helpers.
96 + commit c242f31b6d520a7f87bf36782e4b5c8da7dc045d
97 * src/asn1-func.c (_ksba_asn_set_value): Add extra asserts. Fix the
98 VALTYPE_BOOL case, which is actually not in Libksba.
100 2021-08-05 NIIBE Yutaka <gniibe@fsij.org>
102 build: Simplify configure.ac.
103 + commit 379e787a965148fa5613ccd4e2b8c3c00feb45d9
104 * configure.ac (AC_CHECK_HEADERS): Remove string.h.
105 (AC_CHECK_FUNCS): Remove memmove, strchr, strtol and strtoul.
107 2021-06-10 Werner Koch <wk@gnupg.org>
110 + commit 6b3573afb03afd4560f78bec73ec192e09fdd9d5
113 2021-06-02 Werner Koch <wk@gnupg.org>
115 Support Authenticated-Enveloped-Data Content Type.
116 + commit 81fdcd680c127cbc7cfb977aa43aa45ffce0f5fc
117 * src/cms.h (struct ksba_cms_s): Remove struct data which was not
118 used. Add struct authdata.
119 * src/cms.asn (AuthEnvelopedData): New.
120 (id-authEnvelopedData): New.
121 * src/ksba.h.in (ksba_content_type_t): Add KSBA_CT_AUTHENVELOPED_DATA.
122 * src/cms.c (content_handlers): Ditto.
123 (ksba_cms_release): Free the new fields.
124 (ksba_cms_get_message_digest): Hack to return authtag.
125 (ct_parse_signed_data): Remove useless condition which was always true.
126 * src/cms-parser.c (parse_encrypted_content_info): Add arg
128 (_ksba_cms_parse_enveloped_data_part_1): Detect GCM with AES and parse
130 (_ksba_cms_parse_enveloped_data_part_2): Parse the MAC part and store
131 it for retrieval by ksba_cms_get_message_digest.
132 * tests/t-cms-parser.c (one_file): Handle authdata.
134 2021-05-27 NIIBE Yutaka <gniibe@fsij.org>
136 build: _DARWIN_C_SOURCE should be 1.
137 + commit a375a3d20e831c58c3b87abb41f3a8e8b723d985
138 * configure.ac (*-apple-darwin*): Set _DARWIN_C_SOURCE 1.
140 2021-05-18 Werner Koch <wk@gnupg.org>
142 Support password based decryption.
143 + commit cb7f2484a09cbe3cddcee6d2a752148df937cf0e
144 * src/cms.asn (RecipientInfo): Add pwri element.
145 (PasswordRecipientInfo): New.
146 * src/keyinfo.c (get_algorithm): Add arg to specify the expected tag.
148 (_ksba_parse_algorithm_identifier3): New to specify the expected tag.
149 * src/cms.c: Include stringbuf.h.
150 (ksba_cms_get_issuer_serial): Return an error code for pwri.
151 (ksba_cms_get_enc_val): Add special code for pwri.
153 * tests/t-cms-parser.c (one_file): Detect pwri recipients.
155 2021-04-21 NIIBE Yutaka <gniibe@fsij.org>
157 build: Update gpg-error.m4.
158 + commit 72f19cdabfb26bf51c6a4ea2e17154adf7e5a96b
159 * m4/gpg-error.m4: Update from libgpg-error.
161 2021-04-20 Jakub Jelen <jjelen@redhat.com>
163 Fixes for static analysis reports.
164 + commit fbb1f303198b5ff0cc7012eaef210ad2cf22edb5
165 * tests/t-oid.c (main): Reset freed pointer for next iteration.
166 * src/time.c (_ksba_current_time): Use snprintf to avoid buffer overrun.
167 * src/asn1-func.c (_ksba_asn_expand_object_id): Initialize NAME2.
168 * src/ber-help.c (_ksba_ber_count_tl): Mark identical branches as
169 intentional for coverity.
171 2021-04-06 Werner Koch <wk@gnupg.org>
174 + commit 1015bea2f8a55b965dee29e17118bc73c2deca39
177 build: Add the usual release targets.
178 + commit 1050939435548baa30a8ba8c20b7824ec7b2841e
179 * Makefile.am (release, sign-release): New targets.
181 2021-02-22 Werner Koch <wk@gnupg.org>
183 Support Brainpoolp256r1 and Brainpoolp384r1 with ECDomainParameters.
184 + commit 4243085d7d4361d8900010ed32018985b133f958
185 * src/keyinfo.c (ecdomainparm_to_name): Two more entries.
187 2021-02-01 Werner Koch <wk@gnupg.org>
189 Support Brainpoolp512r1 certs specified with ECDomainParameters.
190 + commit e51873b567d9f9cce708d191b29f09d56ea16f2d
191 * src/keyinfo.c (ecdomainparm_to_name): New table.
192 (_ksba_keyinfo_to_sexp): Support ECDomainParameter lookup.
194 2020-12-21 Werner Koch <wk@gnupg.org>
196 Fix a possible segv in case of an unknown CMS object.
197 + commit fe03ab4c14e71cb08210159a943a6edded6cdc4d
198 * src/cms.c (ksba_cms_get_enc_val): Fix strcmp.
200 2020-11-18 Werner Koch <wk@gnupg.org>
203 + commit 9c0a818cd89cf90e87a3fdf5f7b2d82062645229
204 * configure.ac: Set LT version to C21/A13/R0.
206 Add SPDX identifiers.
207 + commit b426d2216583b8165abe89900578e0dbf9590571
208 * src/version.c (cright_blurb): New.
209 (ksba_check_version): Detect request for the cright blurb.
211 Allow for NDEF list of certs and CRLs in CMS.
212 + commit b6438e768cf969a74b985bf2686d7cf0b4323355
213 * src/cms-parser.c (_ksba_cms_parse_signed_data_part_2): Fix endtag
216 * tests/t-cms-parser.c (main): Allow several files on the command line
217 and add more files to the default invocation.
219 2020-11-18 NIIBE Yutaka <gniibe@fsij.org>
221 m4: Update with newer autoconf constructs.
222 + commit 1ef7f310d8bb0990d2c7a65f34ffa46f77c5d35d
223 * src/ksba.m4: Replace AC_HELP_STRING to AS_HELP_STRING.
225 build: Update to newer autoconf constructs.
226 + commit 0d46f2c000c45147db9a2c418248108bf444afb9
227 * configure.ac (AC_INIT): Use 'https://'.
228 Use AC_CONFIG_HEADERS instead of AM_CONFIG_HEADER.
229 Use AC_USE_SYSTEM_EXTENSIONS instead of AC_GNU_SOURCE.
230 Use AS_HELP_STRING instead of AC_HELP_STRING.
231 * gl/m4/onceonly_2_57.m4: Remove.
232 * m4/gpg-error.m4: Update from libgpg-error.
233 * m4/libtool.m4: Update from libgpg-error.
234 * m4/libgcrypt.m4: Update from libgcrypt.
236 build: Use modern Autoconf check for type.
237 + commit 60b32609ae7f7940c11117cb545c571356743624
238 * configure.ac (u32): Use AC_CHECK_TYPES.
239 * m4/Makefile.am (EXTRA_DIST): Update.
240 * m4/gnupg-typedef.m4: Remove.
241 * tests/sha1.c: Use HAVE_TYPE_U32.
243 2020-06-17 Werner Koch <wk@gnupg.org>
245 Support TR-03111 plain format ECDSA signature verification.
246 + commit 486fb0257d08c9a90571aa8433c1c61b53dda4fe
247 * src/keyinfo.c (sig_algo_table): Add ECDSA algos from TR-03111.
248 (cryptval_to_sexp): Support plain ecdsa format.
250 2020-05-28 Werner Koch <wk@gnupg.org>
252 Let ksba_cms_identify detect the new OpenPGP keyblock content.
253 + commit 5cdf0b5b0f1994405c8689ceaee76126755dcd1c
254 * src/ksba.h.in (KSBA_CT_OPENPGP_KEYBLOCK): New.
255 * src/cms.c: Add to table.
256 * tests/t-cms-parser.c (one_file): Ditto.
258 2020-05-19 Werner Koch <wk@gnupg.org>
261 + commit f30f604700d37f1932d399ab2fb552713007117f
264 2020-05-18 Werner Koch <wk@gnupg.org>
266 Finish creation of ECDSA and EdDSA certificates.
267 + commit 71a2f1e87790cc4fccd4e5e60ffd368fbfd85bb2
268 * src/keyinfo.c (_ksba_keyinfo_from_sexp): Skip writing curve
269 parameter in algoinfo mode.
271 (curve_names): Add field pkalgo and set for rfc8410 algos.
272 (get_ecc_curve_oid): New arg r_pkalgo.
273 (_ksba_keyinfo_from_sexp): Take are of a forced algo. Add code path
274 for rfc8410 public key.
275 * src/certreq.h (struct ksba_certreq_s): Add flag 'is_ecc'.
276 * src/certreq.c (ksba_certreq_add_extension): Set that flag.
277 (ksba_certreq_set_sig_val): Use sig_val.is_ecc also for EdDSA.
278 (build_cri): Rewrite using the DER builder.
280 2020-05-15 Werner Koch <wk@gnupg.org>
282 Allow direct construction of encapsulated octet and bit strings.
283 + commit 2605a994a2c7a4c06e7a2efb69e620fd687359ba
284 * src/ksba.h.in (KSBA_CLASS_ENCAPSULATE): New pseudo class.
285 * src/der-builder.c (struct item_s): Add field 'encapsulate'. Change
286 'class' to a 2 bit field. Decrease size of 'hdrlen' to 10 bits which
288 (_ksba_der_builder_reset): Clear 'encapsulate'.
289 (_ksba_der_add_ptr): Mask CLASS to avoid possible compiler warnings.
290 (add_val_core): Ditto.
291 (_ksba_der_add_tag): Ditto. Set ENCAPSULATE.
292 (compute_lengths): Account for extra octet.
293 (_ksba_der_builder_get): Implement encapsulated data.
295 * tests/t-der-builder.c (test_der_builder): Add test cases for
298 2020-05-14 Werner Koch <wk@gnupg.org>
300 Publish constants for the DER builder.
301 + commit 0e0fad9335ba8afe319fdb36e735533cff71a2b4
302 * src/ksba.h.in (KSBA_CLASS_): New constants.
303 (KSBA_TYPE_): New constants.
304 * src/der-builder.c (struct item_s): Increase size of HDRLEN and TAG.
305 (count_tl, write_tl): Support tags > 30.
307 * tests/t-der-builder.c: New
308 * tests/Makefile.am (TESTS): Add file.
310 Simplify the ksba_keyinfo_from_sexp function.
311 + commit 88647cd33059129dca6d17434208d5f68108daf3
312 * src/keyinfo.c: Include der-builder.h
313 (get_ecc_curve_oid): Change to return a string.
314 (oid_from_buffer): Ditto.
315 (_ksba_keyinfo_from_sexp): Rewrite.
317 Fix DER builder to a allow a single primitive element.
318 + commit 31c42e7568a7532f8fb5d291f5c4a26594d74ad4
319 * src/der-builder.c (_ksba_der_builder_get): Allow a single item.
321 Fold duplicated code in keyinfo.c into one function.
322 + commit fae738f23b5bfde8fa25b6759fd1aac6809b40ca
323 * src/keyinfo.c (_ksba_algoinfo_from_sexp): Remove.
324 (_ksba_keyinfo_from_sexp): Add arg algoinfomode
325 * src/certreq.c (ksba_certreq_add_subject): Adjust for change.
326 (ksba_certreq_set_serial): Use _ksba_keyinfo_from_sexp in
329 * tests/cert-basic.c (one_file): Adjust for change.
331 2020-05-14 Trammell Hudson <hudson@trmm.net>
333 Fix qsort handler to reproducible sort the string table.
334 + commit cdbced98819dd0b1478db1bb82bbc249d52e32ae
335 * src/asn1-gentables.c (cmp_string): Comapre the strings if they have
338 2020-05-12 Werner Koch <wk@gnupg.org>
340 New API to construct arbitrary DER objects in memory.
341 + commit 30d35448cd585156a0461f02934a356894e6867b
342 * src/der-builder.h (struct ksba_der_s, ksba_der_t): Move to ...
343 * src/ksba.h.in: here.
344 (ksba_der_release): New.
345 (ksba_der_builder_new): New.
346 (ksba_der_builder_reset): New.
347 (ksba_der_add_ptr): New.
348 (ksba_der_add_val): New.
349 (ksba_der_add_int): New.
350 (ksba_der_add_oid): New.
351 (ksba_der_add_bts): New.
352 (ksba_der_add_der): New.
353 (ksba_der_add_tag): New.
354 (ksba_der_add_end): New.
355 (ksba_der_builder_get): New.
356 * src/libksba.def: Add new functions.
357 * src/libksba.vers: Ditto.
358 * src/visibility.c: Add wrapper.
359 * src/visibility.h (ksba_der_add_val): Add usual macro magic.
361 Allow parsing of EdDSA certificates.
362 + commit 60943d9f18162c7a55a635b122888b9f53690e77
363 * src/keyinfo.c (sig_algo_table): Remove unused params for EdDSA
365 (_ksba_keyinfo_to_sexp): Add curve to EdDSA algos.
366 (cryptval_to_sexp): Add special handling for EdDSA algos.
368 2020-05-11 Werner Koch <wk@gnupg.org>
370 Support creation of ECDSA signed data.
371 + commit cda81bec2e141f67e6ee905eac0e719abb7ef20c
372 * src/der-builder.c (_ksba_der_add_int): New.
373 * src/cms.h (struct sig_val_s): Add struct ecc.
374 * src/cms.c (ksba_cms_release): Release ecc.
375 (ksba_cms_set_sig_val): Support ecdsa.
376 (build_signed_data_rest): Ditto.
378 * tests/samples/ecdsa-sample1.p7s: New.
379 * tests/samples/ecdsa-sample1.p7s.asn: New.
380 * tests/samples/rsa-sample1.p7s: New.
381 * tests/samples/rsa-sample1.p7s.asn: New.
383 2020-05-04 Werner Koch <wk@gnupg.org>
385 Support creation of ECDH enveloped data object (part 2 of 2)
386 + commit 8ade151b10480cb03998669e928cfd2e159531c0
387 * src/cms.c (build_enveloped_data_header): Write out ECDH info.
389 Add a dedicated BIT STRING function to the new DER builder.
390 + commit be1b4416afc3d646b43c5541b2d79036b6e7cdaf
391 * src/der-builder.c (_ksba_der_add_bts): New.
393 2020-05-01 Werner Koch <wk@gnupg.org>
395 Support creation of ECDH enveloped data object (part 1)
396 + commit 0ddfbb464e0a86164768bd42e3e02a07f06dca62
397 * src/cms.h (struct enc_val_s): Add new fields for ECDH.
398 * src/cms.c: Include der-builder.h
399 (log_sexp): New but commented debug helper.
400 (ksba_cms_release): Free new ECDH values.
401 (ksba_cms_set_enc_val): Support ECDH.
402 (build_enveloped_data_header): Rewrite to make use of the new DER
405 Add a new DER builder for internal use.
406 + commit cf49d3e60a67180fcb1b9005d910f015b388cf3c
407 * src/der-builder.c: New.
408 * src/der-builder.h: New.
409 * src/util.c (_ksba_reallocarray): New.
411 Add new internal function to get the encoded issuer.
412 + commit 9c52d0787e0d0e78c8f10523a1c12fd83126393b
413 * src/cert.c (_ksba_cert_get_issuer_dn_ptr): New.
414 (_ksba_cert_get_serial_ptr): Return the full DER encoding and not just
416 * src/ocsp.c (ksba_ocsp_prepare_request): Adjust for this change.
418 Add RSA encrypted sample file.
419 + commit 0aee4bf128097cbce7e26b76a06d41045fd9d26a
422 Move ASN.1 constants to a separate header.
423 + commit d1ca2c8b65da20f5c407a1c9aad721ace4de460e
424 * src/asn1-func.h: Factor constants out to ...
425 * src/asn1-constants.h: new.
426 * src/Makefile.am (libksba_la_SOURCES): Add new file.
428 2020-04-21 Werner Koch <wk@gnupg.org>
430 Support parsing of the CMS KeyAgreeRecipientInfo.
431 + commit 401dc58d3d55ed58a0ac4e1f286a7e19ed9e956c
432 * src/cms-parser.c (_ksba_cms_parse_enveloped_data_part_1): Decode at
433 the RecipientInfo level.
434 * src/cms.c (ksba_cms_get_issuer_serial): Adjust for this change.
435 Support KeyAgreeRecipientInfo.
436 (ksba_cms_get_enc_val): Ditto.
437 (dbg_print_sexp): New commented debug helper.
438 * src/keyinfo.c (enc_algo_table): Add and entry of ECDH.
439 (_ksba_parse_algorithm_identifier2): Make R_NREAD optional.
440 (cryptval_to_sexp): Add args to support ECDH.
441 (_ksba_sigval_to_sexp): Adjust for this.
442 (_ksba_encval_to_sexp): Ditto.
443 (_ksba_encval_kari_to_sexp): New.
445 * tests/t-cms-parser.c (one_file): Print the enc-val.
447 * tests/samples/ecdh-sample1.p7m: New sample.
448 * tests/samples/ecdh-sample1.p7m.asn: And a dump with some comments.
450 Extend the parser to better handle CHOICE elements.
451 + commit d07733cf94a255ae804f1964e0fd769f2b337965
452 * src/asn1-func.c (find_node): Support '+' operator.
453 * src/ber-decoder.c (find_anchor_node): Support CHOICE tag.
454 (decoder_next): Set the outer sequence length also for context tags.
456 2020-04-14 Werner Koch <wk@gnupg.org>
458 Allow for Null hash algo parameters on rsaPSS and add pss flag.
459 + commit 17a09f41fc4b26b7af839be2b9666c94e5a22097
460 * src/ber-help.c (_ksba_parse_optional_null): New.
461 * src/ber-help.h (parse_optional_null): New macro.
462 * src/crl.c (ksba_crl_get_sig_val): Insert a "pss" flag.
463 * src/keyinfo.c (cryptval_to_sexp): Ditto.
464 (_ksba_keyinfo_get_pss_info): Allow for NULL parameter.
466 2020-04-09 Werner Koch <wk@gnupg.org>
468 Support rsaPSS also for CRLs.
469 + commit e6e9858970ed37f4d1b82b63868f2f855b4509fe
470 * src/crl.c: Include stringbuf.h
471 (ksba_crl_get_sig_val): Extend to return PSS parameter.
473 * tests/t-crl-parser.c (one_file): Print parameter.
475 Refactor PSS parameter parsing.
476 + commit 5c08d7ea8e0f6945082c1c6947aa333b6d36d789
477 * src/keyinfo.c (cryptval_to_sexp): Move pssRSA parser to ...
478 (_ksba_keyinfo_get_pss_info): new.
480 Merge copies of stringbuf functions into one new header.
481 + commit 641fc8b6deac2262978c5212fd0d41b6d0a07277
482 * src/stringbuf.h: New.
483 * src/Makefile.am (libksba_la_SOURCES): Add it.
484 * src/dn.c: Move stringbuf functions to new file.
485 * src/keyinfo.c: Ditto.
487 2020-04-08 Werner Koch <wk@gnupg.org>
489 Add read-only support for rsaPSS.
490 + commit f5695be600abe905476f45808ef7df850d9a4dae
491 * src/ber-help.c (_ksba_parse_context_tag): Minor tweak in the
492 returned error codes.
493 * src/keyinfo.c (SUPPORTED_RSAPSS): New.
494 (pk_algo_table): Add rsaPSS.
495 (sig_algo_table): Add rsaPSS.
496 (put_stringbuf_uint): New.
497 (cryptval_to_sexp): Parse out the rsaPSS parameters.
499 Remove duplicated code and make parse wrappers internally available.
500 + commit 152d04749cceeaccf309a3b150000da09aa503b5
501 * src/ber-help.c (_ksba_parse_sequence): New. Code taken from ocsp.c
502 or crl.c and function name prefixed with _ksba_.
503 (_ksba_parse_context_tag): Ditto.
504 (_ksba_parse_enumerated): Ditto.
505 (_ksba_parse_integer): Ditto.
506 (_ksba_parse_octet_string): Ditto.
507 (_ksba_parse_optional_boolean): Ditto.
508 (_ksba_parse_object_id_into_str): Ditto.
509 (_ksba_parse_asntime_into_isotime): Ditto.
510 * src/ber-help.h: Add new prototypes and macros fro easier use.
511 (parse_skip): Moved from ocsp.c and crl.c as inline to here.
512 * src/crl.c: Remove parse fucntions.
513 * src/ocsp.c: Remove parse fucntions.
515 * src/Makefile.am (ber_dump_SOURCES): Add time.c
517 2020-04-03 Werner Koch <wk@gnupg.org>
519 Very minor patch cleanup.
520 + commit 1119068b2e9f3bc1555dcc78fa54716733470b01
521 * src/keyinfo.c (pkalgo_t): Remove trailing comma
523 2020-03-31 NIIBE Yutaka <gniibe@fsij.org>
525 ecc: Add Ed25519 and Ed448 public key support.
526 + commit 2625e13bc9d5ed1292eacba38683e5f3b1371237
527 * src/keyinfo.c (PKALGO_ED25519, PKALGO_ED448): New.
528 (PKALGO_X25519, PKALGO_X448): New for future.
530 (sig_algo_table): New entries for Ed25519 and Ed448 for future.
531 (_ksba_keyinfo_from_sexp): Add handling for Ed25519 and Ed448.
533 2020-03-30 Werner Koch <wk@gnupg.org>
535 Allow optional elements in keyinfo objects.
536 + commit 1e903fe558bd6583c5447fbebe2ef019229dbfdc
537 * src/keyinfo.c (_ksba_keyinfo_from_sexp): Allow for optiona elements.
538 (_ksba_algoinfo_from_sexp): Ditto.
540 2020-01-21 Werner Koch <wk@gnupg.org>
542 tests: Implement option --to-str for t-dn-parser.
543 + commit bf52cfb8f2b624fb4e24b4bc1089f74429b70b5a
544 * tests/t-dnparser.c (main): Implement option.
546 2019-08-20 NIIBE Yutaka <gniibe@fsij.org>
548 pkgconfig: Fix ksba.pc.
549 + commit 3df0cd32e3b21b7da96a93d1f84d6cb6a77b89be
550 * src/ksba.pc.in (Cflags, Libs): Have flags.
552 2019-07-22 NIIBE Yutaka <gniibe@fsij.org>
554 build: Use {CFLAGS,CPPFLAGS,LDFLAGS}_FOR_BUILD for helper program.
555 + commit b92ec7f502d9a1107ac69dacce9ff684f5ae1c07
556 * src/Makefile.am: Add {CFLAGS,CPPFLAGS,LDFLAGS}_FOR_BUILD for
559 2019-04-26 Werner Koch <wk@gnupg.org>
561 Add support for authenticode signing.
562 + commit 1f0afa452e1276c98c2932e7247e36e0d74cc306
563 * src/cms.c (content_handlers): Add KSBA_CT_SPC_IND_DATA_CTX.
565 Add constants KSBA_VERSION and KSBA_VERSION_NUMBER.
566 + commit 158539fd0c82522665fc4be86ba32f7f8553bc9b
567 * src/ksba.h: Rename to ...
568 * src/ksba.h.in: this.
569 (KSBA_VERSION, KSBA_VERSION_NUMBER): New.
570 * configure.ac (VERSION_NUMBER): Set it.
571 (AC_CONFIG_FILES): Add ksba.h
573 2019-03-06 NIIBE Yutaka <gniibe@fsij.org>
576 + commit 09a4cfae14397605bb32ddd4449b47d32e5090ab
577 * m4/libgcrypt.m4: Update from libgcrypt master.
579 2019-02-27 NIIBE Yutaka <gniibe@fsij.org>
581 Revert wrong fix for ECDSA.
582 + commit f37361f86d2228aa5c5b09db188b8c6ba33cc435
583 * src/certreq.c (ksba_certreq_set_sig_val): Add back MSB handling of
586 Don't remove leading zero byte.
587 + commit 9fea74575085352daec89b64bd36db5df9a05fb8
588 * src/cms.c (ksba_cms_set_sig_val): Don't remove leading zero byte.
589 (ksba_cms_set_enc_val): Likewise.
590 * src/certreq.c (ksba_certreq_set_sig_val): Likewise for RSA.
592 2019-02-26 NIIBE Yutaka <gniibe@fsij.org>
594 Fixing ECDSA, support EdDSA signatures in CSRs.
595 + commit 5d9278f3d13050eddd68d8a1c490274a4f631f5f
596 * src/certreq.c (ksba_certreq_set_sig_val): Remove MSB handling of
597 0x80 for ECDSA, because it is done by GnuPG.
599 Distinguishing EdDSA signature in libgcrypt format, make a signature
600 simply concatinate r and s.
602 2019-02-14 Damien Goutte-Gattat via Gnupg-devel <gnupg-devel@gnupg.org>
604 Support multi-valued signatures in CSRs.
605 + commit 98882064f45778927d38c6fdbe008f5858b36813
606 * src/certreq.c (ksba_certreq_set_sig_val): Support signatures
607 made of several values.
609 2019-01-16 NIIBE Yutaka <gniibe@fsij.org>
611 build: With LD_LIBRARY_PATH defined, use --disable-new-dtags.
612 + commit 3f99f332ada603468eb30d77649c4fdf84b383e6
613 * configure.ac (LDADD_FOR_TESTS_KLUDGE): New for --disable-new-dtags.
614 * tests/Makefile.am (LDADD): Use LDADD_FOR_TESTS_KLUDGE.
616 2018-11-13 NIIBE Yutaka <gniibe@fsij.org>
618 build: Update autogen.rc.
619 + commit c37cdbd0f1b4a682799e0661178e392227cca938
620 * autogen.rc: Remove obsolete --with-gpg-error-prefix option.
622 2018-11-08 NIIBE Yutaka <gniibe@fsij.org>
624 Add annotation for fall through path.
625 + commit 3f5dcb5ff6721b0c70c8b0e320e4fd58f1c2cada
626 * src/ber-decoder.c (decoder_next): Add FALLTHROUGH.
628 2018-11-02 NIIBE Yutaka <gniibe@fsij.org>
630 build: Update gpg-error.m4 and ksba.m4.
631 + commit 5a7c0d8667ceddf7820131865dad0ab850e5c3a4
632 * m4/gpg-error.m4: Update to 2018-11-02.
633 * src/ksba.m4: Add AC_MSG_NOTICE.
635 2018-10-29 NIIBE Yutaka <gniibe@fsij.org>
637 build: Update gpg-error.m4 and ksba.m4.
638 + commit 9917a23a6c8177f79bdd8da031d3b7135b597c91
639 * m4/gpg-error.m4: Update to 2018-10-29.
640 * src/ksba.m4: Follow the change of gpgrt-config.
642 2018-10-26 NIIBE Yutaka <gniibe@fsij.org>
644 ksba.m4: Fix calling by gpgrt-config.
645 + commit 825a4a9e93655b136dd2eee685e0e67aca912a01
646 * src/ksba.m4: Fix condition and use "ksba" for *.pc.
648 ksba.m4: Better backward compatibility.
649 + commit d3fdae7a299a0514b90dbb7f45a0d08ee5d93078
650 * m4/gpg-error.m4: Update.
651 * src/ksba.m4: Don't assume ksba-config is newer.
652 Fix KSBA_CONFIG which used LIBKSBA_CONFIG wrongly.
655 + commit 910c148825d50798689998ed760b658f2aeeee64
656 * src/ksba.m4: Use AC_PATH_PROG to detect ksba-config.
658 build: Improve ksba.m4.
659 + commit f0116c07d0d89fc7114dedeb3fc638ab9dae2254
660 * src/ksba.m4: Don't try gpgrt-config when LIBKSBA_CONFIG set. Fall
661 back to detecting ksba-config, when gpgrt-config doesn't work well.
663 build: Relax build requirements.
664 + commit a32a50c7726ee7c6ac320d99b9ab42f073960cc9
665 * m4/gpg-error.m4: Update from libgpg-error 1.33.
666 * src/ksba.m4: Don't require AM_PATH_GPG_ERROR. Use GPGRT_CONFIG when
667 it is confirmed that it is available and working well.
668 * configure.ac (AM_PATH_GPG_ERROR): No requirement for newer version
669 (It was because of new gpgrt-config which supports *.pc files).
671 2018-10-25 NIIBE Yutaka <gniibe@fsij.org>
673 build: Require libgpg-error >= 1.33.
674 + commit 07cf4a9ab6f1a7b68aeda39ba03691e713254418
675 * configure.ac (NEED_GPG_ERROR_VERSION): Require >= 1.33.
676 * m4/gpg-error.m4: Update from libgpg-error 1.33.
677 * src/ksba.m4: Fix to support --with-libksba-prefix.
679 2018-10-24 NIIBE Yutaka <gniibe@fsij.org>
682 + commit 4754816d10a38ebe97acd2f3bfaa835055566696
683 * src/ksba.pc.in: Fix typo.
685 build: Fix previous commit.
686 + commit 5a21f7465ca2aadfb3877a53f6536859b6973463
689 build: Compatibility to pkg-config.
690 + commit dfc3ad5c6e97cc11de4faa19de59203ae8d5eb1a
691 * src/ksba-config.in: Support --variable and --modversion.
693 build: Make ksba.m4 use gpg-error-config.
694 + commit ce5247c0f3fcbe8a1e70c33ab4c83d807aecce63
695 * src/ksba.m4: Use gpg-error-config.
697 build: Provide libassuan.pc, generated by configure.
698 + commit d0016a76942eb58748182ad282c03d5cd7a0dc86
699 * configure.ac (PACKAGE, VERSION): Remove.
700 Generate src/ksba.pc.
701 * src/Makefile.am (pkgconfigdir, pkgconfig_DATA): New.
702 * src/ksba-config.in: Use @PACKAGE_VERSION@.
703 * src/ksba.pc.in: New.
705 build: Update gpg-error.m4 from libgpg-error.
706 + commit ec4e838ca91849b493f7ea77074e4415ed6a2d4a
707 * m4/gpg-error.m4: Update from libgpg-error 1.33.
709 2018-10-23 Werner Koch <wk@gnupg.org>
711 Fix error detection in the CMS parser which may led to a NULL-deref.
712 + commit a1ce3c17ee0d44ba8c7c9553824ba55b7950e930
713 * src/cms.c (build_signed_data_rest): Fix c+p bug.
715 Use only one .PHONY target in a Makefile.
716 + commit d56bddc68db86878e1b3497362407c994c2841ca
717 * Makefile.am (.PHONY): Move to the end.
719 Fix test for existence of the signing_time.
720 + commit a0bbba1c49286f09c5f2eb3cd788938fac2ed252
721 * src/cms.c (build_signed_data_attributes): Fix test.
723 2017-08-22 Marcus Brinkmann <marcus.brinkmann@ruhr-uni-bochum.de>
726 + commit af99234b21c98ad1a4eaf2b72fb52de67beba9d3
727 * configure.ac: Revert last change and define HAVE_GCOV if not
729 * tests/detached-sig.csm: New file.
730 * tests/Makefile.am (EXTRA_DIST): Add detached-sig.csm.
731 * tests/t-cms-parser.c (main): Use detached-sig.csm as test file.
733 2017-08-18 Marcus Brinkmann <marcus.brinkmann@ruhr-uni-bochum.de>
735 Fix non-maintainer build.
736 + commit 457d2f0c6a1fea394de6d48afb1c1c0189c52878
737 * configure.ac: Always check for gcov program to make sure
738 the automake variable is defined.
740 Fix all compiler warnings.
741 + commit 982faa2c354a2d23ffd4a0bad584e145faf809bc
742 * src/asn1-parse.y (import_defs, identifier_list): Comment out unused part
743 of the grammar that causes a shift-reduce conflict.
744 * src/cms-parser.c (_ksba_cms_parse_enveloped_data_part_1): Initialize
745 some variables to help suppress uninitialized use warning.
746 * src/crl.c (oidstr_issuingDistributionPoint): Comment out unused OID.
747 * src/gen-help.h (ksba_asn_parse_file, ksba_asn_tree_dump): Add declarations.
749 2017-08-15 Kai Michaelis <kai@gnupg.org>
751 Fix memory leaks in ksba_cms_identify and tests.
752 + commit a1d9b046aec8cedda16a9e24eb8d2ed021f68d5d
753 * tests/t-reader.c: free prepend_srcdir() result.
754 * tests/t-cms-parser: ditto & release writer instance.
755 * src/cms.c: fix mem leak in ksba_cms_identify().
757 2017-08-10 Kai Michaelis <kai@gnupg.org>
759 Enable CMS parser test.
760 + commit 39e633d6d224cafa83d884865ac4e372709d91b7
761 * tests/Makefile.am: add t-cms-parser to the list of tests.
762 * tests/t-cms-parser.c: change default test file to something that
765 Generate coverage information.
766 + commit 3e029a4ed0059116febe05924a14009ca622e3c5
767 * autogen.sh: add options --coverage and --report to help w/ coverage
768 info collection and reporting.
769 * m4/gcov.m4: new file. Boilerplate for locating gcov et.al.
770 * Makefile.am: add coverage-report target
774 2017-08-09 Kai Michaelis <kai@gnupg.org>
777 + commit ad36a28e3a0580c1a9547843c03e1af172681efc
778 * src/reader.c: include unistd.h
780 Don't use decls in for-loop headers.
781 + commit 707862ab44fb6cca79dacbf866a7066d941b92fc
782 libksba compiles w/ C90
784 Add missing fd support to ksba_reader_t.
785 + commit c7f4ef5b5ebc8d6be2c56f14da999a36735a2eba
786 * src/reader.c: add branches for READER_TYPE_FD
787 * tests/t-reader.c: tests for above
789 2017-06-19 Marcus Brinkmann <marcus.brinkmann@ruhr-uni-bochum.de>
791 configure: Add flag to disable documentation build.
792 + commit ab23f39a91b5c16eda2d9d581f9bf2ab2da39cf2
793 * configure.ac: Add new option --disable-doc.
794 (BUILD_DOC): New automake conditional.
795 * Makefile.am (SUBDIRS): Make doc optional based on BUILD_DOC.
796 (DISTCHECK_CONFIGURE_FLAGS): New variable.
798 Signed-Off-By: Marcus Brinkmann <mb@g10code.com>
800 2017-04-20 Andre Heinecke <aheinecke@intevation.de>
802 tests: Open testfile in binary mode.
803 + commit 3bb0c54fe47eb72e1e7be93de8775b37045de34d
804 * tests/t-crl-parser.c (one_file): Read file in binary mode.
806 2017-03-08 Justus Winter <justus@g10code.com>
808 build: Use macOS' compatibility macros to enable all features.
809 + commit 561d03a008150c201ece22b29c97b24a1f6bf590
810 * configure.ac: On macOS, use the compatibility macros to expose every
811 feature of the libc. This is the equivalent of _GNU_SOURCE on GNU
814 2016-10-14 Werner Koch <wk@gnupg.org>
816 Let configure print a note if Yacc is not Bison.
817 + commit 100ed5092aec0afe16ca7a4fe660602745e92a36
818 * m4/ax_prog_bison.m4: New.
819 * m4/Makefile.am (EXTRA_DIST): Add it.
820 * configure.ac: Test for Bison and print a note.
822 2016-08-22 Werner Koch <wk@gnupg.org>
825 + commit 25cc42cf61a56e01f1bd72883e452f691dda8309
826 * configure.ac: Set LT version to C19/A/11/R6.
828 Use size_t for the result of fread.
829 + commit 68fba3d8d7757b7f7ed75fdebd2b91299943503b
830 * src/reader.c (ksba_reader_read): Make 'n' and size_t.
832 Limit allocation in the BER decoder to 16 MiB.
833 + commit 89d898346b75337ec2546c672ea720c5c956b53a
834 * src/ber-decoder.c (MAX_IMAGE_LENGTH): New.
835 (decoder_next): Limit allcoation to MAX_IMAGE_LENGTH.
836 (_ksba_ber_decoder_dump, _ksba_ber_decoder_decode): Ditto.
838 2016-07-17 Tomáš Trnka <tomastrnka@gmx.com>
840 Encode OCSP nonce value as an octet string (RFC 6960)
841 + commit eb7833b8720cd0831c78d42e993ca878cecf27bc
842 * src/ocsp.c (ksba_ocsp_set_nonce): Stop removing the sign bit.
843 (write_request_extensions): Encode nonce as octet string.
844 (parse_response_extensions): Decode nonce as octet string.
846 2016-07-13 Werner Koch <wk@gnupg.org>
848 build: Update config.{guess,sub} to {2016-05-15,2016-06-20}.
849 + commit ee203f948a6573809672d9e61177145a13b3987d
850 * build-aux/config.guess: Update.
851 * build-aux/config.sub: Update.
853 2016-06-27 Werner Koch <wk@gnupg.org>
855 tests: Fix a memory leak.
856 + commit 995d2e34932143cc9888db779cb3ecd92ae6e32e
857 * tests/t-oid.c (test_oid_to_str): Free STR.
859 Use modern error macros and fix a missing assignment.
860 + commit b60e5140f85fc00cd131ab635d4202693759abe1
861 * src/ocsp.c: Remove errno.h. Replace gpg_error_from_errno(errno) by
862 gpg_error_from_syserror ().
863 (parse_response): Ditto. Return direct becuase static analyzer may
864 not grasp that gpg_error_from_syserror will never return false.
865 (ksba_ocsp_get_responder_id): Actually return an error for NO_DATA.
867 Detect invalid RDN names and avoid a read from uninitialized variable.
868 + commit 7243a3c6ed1635eef45b567b37a025e4a5e0dc51
869 * src/dn.c (parse_rdn): Bail out for an invalid name.
871 2016-05-25 Werner Koch <wk@gnupg.org>
872 Pascal Cuoq <cuoq@trust-in-soft.com>
874 Fix OOB read in parse_distribution_point.
875 + commit 43f890f37b514757db5653608ec59b5a74e8e092
876 * src/cert.c (parse_distribution_point): Check TI.length.
878 2016-05-11 Werner Koch <wk@gnupg.org>
880 Make sure that ASN.1 data is stored in an all-initialized buffer.
881 + commit 2a9fc5654df497b91ab9b64e946c1e19371888e5
882 * src/ber-decoder.c (decoder_next): Clear the image buffer.
884 2016-05-03 Werner Koch <wk@gnupg.org>
887 + commit 3a92e8c8939767d19aaa48f051d721d582ab0eff
888 * configure.ac: Set LT version to C19/A11/R5.
890 Update config.{guess,sub} to 2016-04-02 and 2016-03-30.
891 + commit 8290fabdb260e228c3b89706c88caf90da77358b
892 * build-aux/config.guess: Update.
893 * build-aux/config.sub: Update.
895 Create an SWDB file during "make distcheck"
896 + commit ec820ebbb05cbc0d5ee00f086364ecaf3efa54cb
897 * Makefile.am (distcheck-hook): New.
899 Fix an undefined return value in ksba_cert_get_digest_algo.
900 + commit 3f74c2cc0068d0b3584627af73c8c42ce720a826
901 * src/cert.c (ksba_cert_get_digest_algo): Set ALGO in the error case.
902 * tests/cert-basic.c (one_file): Take care of printf which does not
905 Fix an OOB read access in _ksba_dn_to_str.
906 + commit 6be61daac047d8e6aa941eb103f8e71a1d4e3c75
907 * src/dn.c (append_utf8_value): Use a straightforward check to fix an
910 Fix possible read access beyond the buffer.
911 + commit a7eed17a0b2a1c09ef986f3b4b323cd31cea2b64
912 * src/ber-help.c (_ksba_ber_parse_tl): Add extra sanity check.
913 * src/cert.c (ksba_cert_get_cert_policies): Check TLV given length
914 against buffer length.
915 (ksba_cert_get_ext_key_usages): Ditto.
916 * src/ocsp.c (parse_asntime_into_isotime): Ditto.
918 2015-10-28 Werner Koch <wk@gnupg.org>
920 Add more curves to the name->OID table.
921 + commit 3d968bbffc3a0acda890e342fbbfa5b34a26085e
922 * src/keyinfo.c (curve_names): Add more curves.
924 Fix lookup of ECC OIDs by name.
925 + commit 9df0ac3a4afa0272dbff08d17e9064f13be95814
926 * src/keyinfo.c (get_ecc_curve_oid): Fix obviously never tested table
929 2015-08-25 Werner Koch <wk@gnupg.org>
931 Add configure option --enable-build-timestamp.
932 + commit 538188812ace9594aad92a9b0f73b75e5ffc4526
933 * configure.ac (BUILD_TIMESTAMP): Set to "<none>" by default. Add
936 2015-04-10 Werner Koch <wk@gnupg.org>
939 + commit b46ea28e82d67a2072817294115360fd3e1ab20c
942 2015-04-09 Werner Koch <wk@gnupg.org>
944 Do not abort on decoder stack overflow.
945 + commit 07116a314f4dcd4d96990bbd74db95a03a9f650a
946 * src/ber-decoder.c (push_decoder_state, pop_decoder_state): Return an
948 (set_error): Prefix error message with "ksba:". Act on new return code.
949 (decoder_next): Act on new return code.
951 Fix integer overflow in the BER decoder.
952 + commit aea7b6032865740478ca4b706850a5217f1c3887
953 * src/ber-decoder.c (ber_decoder_s): Change val.length from int to
955 (sum_a1_a2_gt_b, sum_a1_a2_ge_b): New.
956 (decoder_next): Check for integer overflow. Use new sum function for
958 (_ksba_ber_decoder_dump): Use size_t for n to match change of
959 val.length. Adjust printf fomrat. Check for integer overflow and use
960 gpg_error_from_syserror instead of GPG_ERR_ENOMEM.
961 (_ksba_ber_decoder_decode): Use new sum function for size check.
962 Check for integer overflow. Use size_t for n to match change of
965 2015-04-08 Werner Koch <wk@gnupg.org>
967 Fix encoding of invalid utf-8 strings in dn.c.
968 + commit 243d12fdec66a4360fbb3e307a046b39b5b4ffc3
969 * src/dn.c (append_quoted, append_atv): Use snprintf.
970 (append_utf8_value): Fix invalid encoding handling.
972 2015-01-30 Werner Koch <wk@gnupg.org>
974 w32: Use -static-libgcc to avoid linking to libgcc_s_sjlj-1.dll.
975 + commit 792f4b36f998beba3515b776e8ca76ecbf20e468
976 * src/Makefile.am (extra_ltoptions): New.
977 (libksba_la_LDFLAGS): Use it.
979 Update ASN.1 grammar for newer Bison versions.
980 + commit 569f3da664de81638bcb322d6e9380f3ff16f70c
981 * src/asn1-parse.y (YYERROR_VERBOSE): Replace by ...
982 (%define parse.error.verbose): this.
983 (YYPARSE_PARM, YYLEX_PARM): Replace by ...
985 (%pure_parser): Replace by ...
986 (%define api.pure full): this.
987 (yyerror): Add arg parm.
989 2015-01-28 Werner Koch <wk@gnupg.org>
991 Require automake 1.14 and update build-aux files.
992 + commit 32b3a47a358d694332450f9c2487a88aedc46ca7
993 * Makefile.am (AUTOMAKE_OPTIONS): Move to ...
994 * configure.ac (AM_INIT_AUTOMAKE: here. Add serial-tests.
996 2014-11-25 Werner Koch <wk@gnupg.org>
999 + commit 02079b56b8d0d922bb84981270fafbc36637b417
1000 * configure.ac: Set LT version to C19/A11/R3.
1002 build: Update version number magic.
1003 + commit 00ef765bc1aff709e990f9fd984e25aa8e09f482
1004 * autogen.sh: Update from gnupg master.
1005 * configure.ac: Change for new init style. Create VERSION.
1006 * Makefile.am (dist-hook): Do no create VERSION
1008 Fix buffer overflow in ksba_oid_to_str.
1009 + commit f715b9e156dfa99ae829fc694e5a0abd23ef97d7
1010 * src/oid.c (ksba_oid_to_str): Fix unsigned underflow.
1012 * tests/Makefile.am (noinst_PROGRAMS): Move t-oid to ..
1014 * tests/t-oid.c (test_oid_to_str): New.
1015 (main): Run the new tests by default. The former functionality
1016 requires the use of one of the new options.
1018 2014-09-25 Werner Koch <wk@gnupg.org>
1020 Strip CRs while building the oid translation table.
1021 + commit 6692de1398629061d405099bb22e9480475928af
1022 * tests/Makefile.am (oidtranstbl.h): Strip CRs
1024 2014-09-18 Werner Koch <wk@gnupg.org>
1027 + commit 447784c718c817ab8036af7d81ce5a6bbb1f1df0
1028 * configure.ac: Set LT version to C19/A11/R2.
1030 2014-07-22 Dmitry Eremin-Solenikov <dbaryshkov@gmail.com>
1032 Fix two memory leaks in cert-basic test.
1033 + commit 4486cb8228eeaefccc800e550cae4cd4701967c1
1034 * tests/cert-basic.c (one_file): always free public key and der2.
1036 Enable optional valgrind for testsuite.
1037 + commit 64902148236af8f39397bfaf6b5494b342027948
1038 * configure.ac: Enable gnulib valgrind module.
1039 * gl/m4/gnulib.m4: Enable valgrind module.
1040 * tests/Makefile.am: Enable valgrind as LOG_COMPILER.
1041 * gl/m4/valgrind-tests.m4: New
1043 Fix memory leak in crl parsing code.
1044 + commit 42aca4c9e575d44436e82e2e6bad6c967f12f21b
1045 * src/crl.c (store_one_entry_extension): Free memory at oid variable -
1046 otherwise libksba leaks memory on crl parsing.
1048 Adapt mkoidtbl script to newer dumpasn1 database format.
1049 + commit 21cf824e1547d94f898946715b525e7d41de5899
1050 * tests/mkoidtbl.awk: optionally parse oid at OID line.
1052 Reuse common test functions in cert-basic test.
1053 + commit 70bb73e5da9be83ec170829d7cdab5a1da89d408
1054 * tests/cert-basic.c (xmalloc, print_hex, print_sexp, print_time,
1057 tests: fix print_sexp and print_sexp_hex functions.
1058 + commit ce85db73a9330371d456ccd6a49a8682c31d0ed4
1059 * tests/t-common.h (print_sexp, print_sexp_hex): advance pointer on
1062 tests: Pass -no-install to libtool.
1063 + commit 7f9e09611fce8466a98f53c5dfe4bebb398c708f
1064 * tests/Makefile.am: add AM_LDFLAGS = -no-install
1066 2014-04-15 Werner Koch <wk@gnupg.org>
1068 tests: Fix warning about unused var.
1069 + commit 5b79ad34ea2d7a86cfe465c81ff6bcd7fc1c06fc
1070 * tests/t-dnparser.c (main): Drop unneeded var INPUTLEN.
1072 Fix possible segv if NULL is passed as cert.
1073 + commit 6fd166870237d5b913fb59cb2a4356fed1734efa
1074 * src/cert.c (ksba_cert_get_digest_algo): Fix !cert case.
1076 2014-01-10 Werner Koch <wk@gnupg.org>
1079 + commit f73e671406eefa96aba98f609cb68a9caae6bb7a
1080 * autogen.rc: Remove cruft.
1082 Use the generic autogen.sh script.
1083 + commit 3943ea7f7dd739dc2c259b76a569a46259d47c43
1084 * Makefile.am (EXTRA_DIST): Add autogen.rc.
1086 * autogen.sh: Update from current GnuPG.
1087 * ltmain.sh: Move to build-aux/.
1089 * config.guess: Ditto.
1090 * config.sub: Ditto.
1092 * doc/mdate-sh: Ditto.
1093 * doc/texinfo.tex: Ditto.
1094 * install-sh: Ditto.
1097 * configure.ac (AC_CONFIG_AUX_DIR): New.
1099 2014-01-08 Werner Koch <wk@gnupg.org>
1101 Add --enable-silent-rules stuff.
1102 + commit 629c1f0b16b12418711516de3bef5298ab45fe12
1103 * configure.ac: Add AM_SILENT_RULES.
1105 Fix libtool 2.4.2 to correctly detect .def files.
1106 + commit a7b75d6e8e8af79eab9ece7a4061ea48eab8a81d
1107 * ltmain.sh (sed_uncomment_deffile): New.
1108 (orig_export_symbols): Uncomment def file before testing for EXPORTS.
1109 * m4/libtool.m4: Do the same for the generated code.
1111 2013-12-10 David 'Digit' Turner <digit@google.com>
1113 Update libtool to support Android.
1114 + commit d69cde444b2a4b106b4d8c6857efe7d5e8ce18fc
1115 * m4/libtool.m4: Add "linux*android*" case. Taken from the libtool
1118 2013-12-10 Werner Koch <wk@gnupg.org>
1120 Add build support for ppc64le.
1121 + commit a34986a19b2d597cfa3fac099abe243ce1a896a5
1122 * config.guess, config.sub: Update to latest version (2013-11-29).
1123 * m4/libtool.m4: Add patches for ppc64le.
1125 Fix duplicate definition of TRUE and FALSE in grammar file.
1126 + commit ab3fe5dccd5bd814f9e2db943380b28598f8cb7a
1127 * src/asn1-parse.y (YYPRINT): Define.
1128 (%token-table): Define.
1129 (TRUE,FALSE,BOOLEAN): Prefix these tokens with "ksba_" to avoid name
1131 (key_word, key_word_token): Remove arrays.
1132 (%token): Add literal strings to almost all tokens.
1133 (yylex): Use yytname array for keyword lookup.
1135 2012-11-16 Werner Koch <wk@gnupg.org>
1137 Improve parsing of the GIT revision number.
1138 + commit 7b9662f2bf28feb575c4b2b181d88ca61ad43d53
1139 * configure.ac (mmm4_revision): Use git rev-parse.
1141 Fix non-portable use of chmod in autogen.sh.
1142 + commit c18bf9d08d95a73192e12580ce5eae3454c07c0d
1143 * autogen.sh: Remove option -c from chmod.
1145 2012-09-27 Werner Koch <wk@gnupg.org>
1148 + commit ea8487406ecafbcf190008b6c8a5c8e7c63ed6b8
1149 * configure.ac: Set LT version to C19/A11/R1.
1151 2012-09-26 Werner Koch <wk@gnupg.org>
1153 Update build helper scripts.
1154 + commit 1533a9662128fca669eeb661308939cdc8e5d74b
1155 * config.guess, config.sub: Update to version 2012-07-31.
1156 * ltmain.sh: Update to version 2.4.2.
1157 * install-sh, m4/libtool.m4, m4/ltoptions.m4, m4/ltversion.m4
1158 * m4/lt~obsolete.m4: Update to autoconf 2.69 versions.
1160 Adjust for stricter autoconf requirements.
1161 + commit 3e71347052593f4ba3312eb31e932765be1c93ec
1162 * configure.ac: Fix usage of AC_LANG_PROGRAM.
1164 Do not distribute a copy of gitlog-to-changelog.
1165 + commit 5d60c0f340584b280762864fc1cb65013c55503d
1166 * Makefile.am (AUTOMAKE_OPTIONS): Do not create a tar.gz.
1167 (gen-ChangeLog): Require an installed gitlog-to-changelog.
1168 * build-aux/gitlog-to-changelog: Remove.
1170 Allow building with w64-mingw32.
1171 + commit 3776ae8f4ea642ad6ac0af726e90492e6f82eb5f
1172 * autogen.sh <--build-w32>: Support the w64-mingw32 toolchain. Also
1173 prepare for 64 bit building.
1175 Switch to the new automagic beta numbering scheme.
1176 + commit 120d58757d43d10278d4f5ec4126bc18d2ccd28a
1177 * configure.ac: Add all the required m4 magic.
1179 Change library license to LGPLv3+/GPLv2+.
1180 + commit d4333eefc945750613ac9483a41793b5971e3cfe
1181 * COPYING.GPLv2, COPYING.GPLv3, COPYING.LGPLv3: New.
1182 * COPYING: Replace text by a reference to the new files.
1183 * AUTHORS: Update copyright, license, and maintainer information.
1184 * Makefile.am (EXTRA_DIST): Distribute the new files.
1186 Remove unused or useless files.
1187 + commit 9abb7c027e9501012f96393c80607c4ad6a8a38f
1188 * src/asn1-parse.h: Remove empty file.
1189 * src/asn1-parse.y: Do not include asn1-parse.h.
1191 2011-12-06 Werner Koch <wk@gnupg.org>
1193 Allow to set subject and issuer.
1194 + commit aa6cbc8332e59ad94b104b51ea59784f17e522f6
1195 * src/certreq.c (ksba_certreq_set_issuer): Do not check the subject.
1197 2011-12-01 Werner Koch <wk@gnupg.org>
1199 Post release updates.
1200 + commit 3f957f48388756732b5795b77b65d5ab7c0c8298
1203 Generate the ChangeLog from commit logs.
1204 + commit 1120a33155aa3246b6aeed2dcd6a1315969c632d
1205 * build-aux/gitlog-to-changelog: New script. Taken from gnulib.
1206 * build-aux/git-log-fix: New file.
1207 * build-aux/git-log-footer: New file.
1208 * doc/HACKING: New file.
1209 * ChangeLog: New file.
1210 * Makefile.am (EXTRA_DIST): Add new files.
1211 (gen-ChangeLog): New.
1212 (dist-hook): Run gen-ChangeLog.
1213 * autogen.sh: Install commit-msg hook for git.
1215 Rename all ChangeLog files to ChangeLog-2011.
1217 2011-12-01 Werner Koch <wk@gnupg.org>
1219 NB: Changes done before December 1st, 2011 are described in
1220 per directory files named ChangeLog-2011. See doc/HACKING for
1224 Copyright (C) 2011 g10 Code GmbH
1226 Copying and distribution of this file and/or the original GIT
1227 commit log messages, with or without modification, are
1228 permitted provided the copyright notice and this notice are