| 1 |
2011-12-01 Werner Koch <[email protected]> |
| 2 |
|
| 3 |
NB: ChangeLog files are no longer manually maintained. Starting |
| 4 |
on December 1st, 2011 we put change information only in the GIT |
| 5 |
commit log, and generate a top-level ChangeLog file from logs at |
| 6 |
"make dist". See doc/HACKING for details. |
| 7 |
|
| 8 |
2011-02-28 Werner Koch <[email protected]> |
| 9 |
|
| 10 |
* keyinfo.c (_ksba_algoinfo_from_sexp): New. |
| 11 |
(oid_from_buffer): Add arg WITH_SIG. |
| 12 |
* certreq.c (ksba_certreq_set_signing_key): Rename to .. |
| 13 |
(ksba_certreq_set_siginfo): new. Use new parser function. |
| 14 |
* libksba.def, libksba.vers, visibility.c, visibility.h: Change |
| 15 |
accordingly. |
| 16 |
|
| 17 |
2011-02-25 Werner Koch <[email protected]> |
| 18 |
|
| 19 |
* certreq.h (ksba_certreq_s): Add structure x509. |
| 20 |
* certreq.c (ksba_certreq_release): Free new fields. |
| 21 |
(ksba_certreq_set_serial, ksba_certreq_set_issuer) |
| 22 |
(ksba_certreq_set_validity, ksba_certreq_set_signing_key): New. |
| 23 |
(build_extensions): Add arg certmode and allow building of X.509 |
| 24 |
extensions. |
| 25 |
(build_cri): Add code to build an X.509 certificate. |
| 26 |
|
| 27 |
* libksba.def, libksba.vers: Add new functions. |
| 28 |
* visibility.c, visibility.h: Ditto. |
| 29 |
|
| 30 |
* ksba-config.in: Add option --host. |
| 31 |
* ksba.m4: Use --host for an consistency check. |
| 32 |
|
| 33 |
* version.c (compare_versions): Do not compare the patchlevel. |
| 34 |
|
| 35 |
2010-09-13 Werner Koch <[email protected]> |
| 36 |
|
| 37 |
* asn1-gentables.c (DEVNULL_NAME): New. |
| 38 |
(main): Use it for fopen. Suggested by Carlo Bramix. |
| 39 |
|
| 40 |
2010-08-19 Werner Koch <[email protected]> |
| 41 |
|
| 42 |
* dn.c (append_ucs2_value): Enlarge TMP buffer. Fixes bug#1269. |
| 43 |
|
| 44 |
2010-08-02 Werner Koch <[email protected]> |
| 45 |
|
| 46 |
* reader.c (ksba_reader_set_release_notify): New. |
| 47 |
(ksba_reader_release): Call notify function. |
| 48 |
* reader.h (struct ksba_reader_s): Add NOTIFY_CB and NOTIFY_CB_VALUE. |
| 49 |
* writer.c (ksba_writer_set_release_notify): New. |
| 50 |
(ksba_writer_release): Call notify function. |
| 51 |
* writer.h (struct ksba_writer_s): Add NOTIFY_CB and NOTIFY_CB_VALUE. |
| 52 |
* ksba.h, libksba.vers, libksba.def: Add new functions. |
| 53 |
|
| 54 |
2010-07-15 Werner Koch <[email protected]> |
| 55 |
|
| 56 |
* cms-parser.c (create_and_run_decoder): Add arg flags. |
| 57 |
(_ksba_cms_parse_enveloped_data_part_1): Handle NDEF recipientInfo |
| 58 |
sets. |
| 59 |
|
| 60 |
* ber-decoder.h (BER_DECODER_FLAG_FAST_STOP): New. |
| 61 |
* ber-decoder.c (_ksba_ber_decoder_decode): Add arg FLAGS. |
| 62 |
(decoder_next): Implement fast stop hack. |
| 63 |
|
| 64 |
2010-05-06 Werner Koch <[email protected]> |
| 65 |
|
| 66 |
* gen-help.c, gen-help.h: New. |
| 67 |
* Makefile.am: Build asn1-gentables and ber-dump also when cross |
| 68 |
compiling. |
| 69 |
(asn1_gentables_SOURCES, asn1_gentables_LDADD) |
| 70 |
(asn1_gentables_CFLAGS): Remove. |
| 71 |
(asn1-gentables): New rule. |
| 72 |
(asn1-parse.c): Add gen-help.h as dependency. |
| 73 |
(EXTRA_DIST): Add gen-help.c and gen-help.h. |
| 74 |
* asn1-parse.y [BUILD_GENTOOLS]: Include gen-help.h instead of |
| 75 |
util.h and ksba.h. |
| 76 |
(ksba_asn_parse_file): Use gpg_error_from_syserror. |
| 77 |
* asn1-func.c [BUILD_GENTOOLS]: Include gen-help.h instead of |
| 78 |
util.h and ksba.h. |
| 79 |
(resolve_identifier): Avoid the alloca. |
| 80 |
* asn1-gentables.c: Include gen-help instead of util.h and ksba.h. |
| 81 |
(sort_string_table): Remove useless printing of the string table. |
| 82 |
|
| 83 |
2010-01-22 Werner Koch <[email protected]> |
| 84 |
|
| 85 |
* util.c (ksba_calloc): Use gpg_er_set_errno. |
| 86 |
|
| 87 |
* ber-decoder.c (_ksba_ber_decoder_dump) |
| 88 |
(_ksba_ber_decoder_decode) [!HAVE_GETENV]: Set debug to 0. |
| 89 |
|
| 90 |
2009-12-08 Marcus Brinkmann <[email protected]> |
| 91 |
|
| 92 |
* src/Makefile.am (LTRCCOMPILE): Refactor with ... |
| 93 |
(RCCOMPILE): ... this new macro. Add $(libksba_la_CPPFLAGS). |
| 94 |
(SUFFIXES): Add .lo. |
| 95 |
(.rc.o): Change to ... |
| 96 |
(.rc.lo): ... this implicit rule. |
| 97 |
(ksba_res_ldflag): Removed. |
| 98 |
(libksba_la_LDFLAGS): Remove ksba_res_ldflag usage. |
| 99 |
(libksba_la_LIBADD): Add ksba_res. |
| 100 |
|
| 101 |
2009-07-02 Werner Koch <[email protected]> |
| 102 |
|
| 103 |
* util.c (_ksba_ascii_memcasecmp, ascii_toupper): New. |
| 104 |
* dn.c (parse_rdn): Use it |
| 105 |
|
| 106 |
2009-07-01 Werner Koch <[email protected]> |
| 107 |
|
| 108 |
* dn.c (oid_name_tbl): Add dotted string representation of OIDs. |
| 109 |
(append_atv): Try to match BER encoded OIDs. |
| 110 |
|
| 111 |
2009-06-29 Werner Koch <[email protected]> |
| 112 |
|
| 113 |
* oid.c (ksba_oid_to_str): Add an overflow check so that we can |
| 114 |
detect bogus OIDs. |
| 115 |
|
| 116 |
* asn1-func.c (copy_value): Fix out-of-bounds assignment of a |
| 117 |
boolean to HELPBUF. Due to alignment rules this was not |
| 118 |
exploitable and we did not even used this code path. Reported by |
| 119 |
David Binderman. |
| 120 |
|
| 121 |
2009-05-28 Werner Koch <[email protected]> |
| 122 |
|
| 123 |
* der-encoder.c (_ksba_der_store_null, sum_up_lengths): Actually |
| 124 |
write out NULL tags. |
| 125 |
|
| 126 |
2009-03-26 Werner Koch <[email protected]> |
| 127 |
|
| 128 |
* cms.h (struct certlist_s): Allow for SHA-512. |
| 129 |
|
| 130 |
2009-01-14 Werner Koch <[email protected]> |
| 131 |
|
| 132 |
* ocsp.c (ksba_ocsp_set_requestor, ksba_ocsp_hash_request) |
| 133 |
(ksba_ocsp_set_sig_val, ksba_ocsp_add_cert): Mark unused args. |
| 134 |
* cms-parser.c (_ksba_cms_parse_enveloped_data_part_2): Ditto. |
| 135 |
* cms.c (ct_parse_data, ct_parse_digested_data) |
| 136 |
(ct_parse_encrypted_data, ct_build_data, ct_build_digested_data) |
| 137 |
(ct_build_encrypted_data): Ditto. |
| 138 |
|
| 139 |
* visibility.c (ksba_cms_release, ksba_cms_set_hash_function) |
| 140 |
(ksba_crl_release, ksba_crl_set_hash_function, ksba_ocsp_release) |
| 141 |
(ksba_certreq_release, ksba_certreq_set_hash_function) |
| 142 |
(ksba_reader_release, ksba_writer_release, ksba_asn_tree_release) |
| 143 |
(ksba_asn_tree_dump, ksba_name_ref, ksba_name_release): No return |
| 144 |
vor a void fucntion. Reported by Nelson H. F. Beebe. |
| 145 |
|
| 146 |
2009-01-08 Werner Koch <[email protected]> |
| 147 |
|
| 148 |
* keyinfo.c (get_algorithm): Initialize R_PARM_POS, R_PARM_LEN and |
| 149 |
R_PARM_TYPE. |
| 150 |
|
| 151 |
2009-01-06 Werner Koch <[email protected]> |
| 152 |
|
| 153 |
* keyinfo.c (sig_algo_table): Fix TeleTrust dsaWithRIPEMD160 |
| 154 |
encoding. Add TeleTrust sigS_ISO9796-2rndWithrsa_ripemd160. |
| 155 |
|
| 156 |
2008-10-30 Werner Koch <[email protected]> |
| 157 |
|
| 158 |
* ber-dump.c (one_file): Mark unused arg. |
| 159 |
* ber-help.c (_ksba_ber_count_tl): Ditto. |
| 160 |
|
| 161 |
2008-10-30 Marcus Brinkmann <[email protected]> |
| 162 |
|
| 163 |
* ocsp.c (parse_context_tag): Don't trash the error value. |
| 164 |
|
| 165 |
2008-09-04 Werner Koch <[email protected]> |
| 166 |
|
| 167 |
* asn1-func.h (ksba_asn_create_structure): Remove unused prototype |
| 168 |
(ksba_asn1_create_tree): Ditto. |
| 169 |
(ksba_asn_read_value, ksba_asn_write_value): Ditto. |
| 170 |
|
| 171 |
* asn1-func.c (ksba_asn_delete_structure): Prefix name with underscore. |
| 172 |
* visibility.h (ksba_asn_delete_structure): Remove macros. |
| 173 |
(MARK_VISIBLEX): New. |
| 174 |
(ksba_asn_delete_structure): New. |
| 175 |
|
| 176 |
2008-03-17 Werner Koch <[email protected]> |
| 177 |
|
| 178 |
* cert.c (ksba_cert_get_image): Fix size_t/int format mismatch. |
| 179 |
Reported by Stéphane Corthésy. |
| 180 |
|
| 181 |
2008-02-25 Werner Koch <[email protected]> |
| 182 |
|
| 183 |
* visibility.h, visibility.c: New. |
| 184 |
* util.h: Include visibility.h. |
| 185 |
|
| 186 |
* keyinfo.c (pk_algo_table, sig_algo_table, enc_algo_table): Make |
| 187 |
const. |
| 188 |
(cryptval_to_sexp): Adjust for it. |
| 189 |
* dn.c (oid_name_tbl): Make const and static. |
| 190 |
* cms.c: Make oidstr_ const. |
| 191 |
|
| 192 |
* asn1-gentables.c (create_static_structure): Revamp to use a |
| 193 |
string table to reduce the relocation table. |
| 194 |
* asn1-func.h: Replace char* by offsets. |
| 195 |
* asn1-func2.c (ksba_asn_create_tree): Adjust for that change. |
| 196 |
|
| 197 |
2008-02-22 Werner Koch <[email protected]> |
| 198 |
|
| 199 |
* keyinfo.c (pkalgo_t): New. |
| 200 |
(algo_table_s): Add fields PARMELEM_STRING and |
| 201 |
PARMCTRL_STRING. Replace IS_ECC by PKALGO. Adjust all tables and |
| 202 |
users of IS_ECC. Add DSA parameter description. |
| 203 |
(TLV_LENGTH): Add PREFIX arg and change all callers. |
| 204 |
(_ksba_keyinfo_to_sexp): Parse parameters. |
| 205 |
(oid_from_buffer): Replace R_IS_ECC by R_PKALGO and allow for DSA. |
| 206 |
(_ksba_keyinfo_from_sexp): Revamp to support DSA. |
| 207 |
(sig_algo_table): Add dsaWithRIPEMD160, dsaWithSha224 and |
| 208 |
dsaWithSha256. |
| 209 |
|
| 210 |
2008-02-21 Werner Koch <[email protected]> |
| 211 |
|
| 212 |
* der-encoder.c (_ksba_der_write_algorithm_identifier): Add hack |
| 213 |
to allow not writing the parameter. |
| 214 |
* cms.c (store_smime_capability_sequence): Use this hack. |
| 215 |
|
| 216 |
2008-02-01 Werner Koch <[email protected]> |
| 217 |
|
| 218 |
* cert.c (get_name): Fix for unknown tags. |
| 219 |
|
| 220 |
2008-01-11 Werner Koch <[email protected]> |
| 221 |
|
| 222 |
* ber-decoder.c (decoder_next): Initialize NODE. Fixes bug#582. |
| 223 |
|
| 224 |
2007-12-13 Werner Koch <[email protected]> |
| 225 |
|
| 226 |
* keyinfo.c (algo_table_s): Replace the unused DIGEST_ALGO int by |
| 227 |
a string and changed all tables to use a string representation of |
| 228 |
the digest algo. |
| 229 |
(cryptval_to_sexp): Insert the hash algo element into the result. |
| 230 |
|
| 231 |
2007-11-14 Werner Koch <[email protected]> |
| 232 |
|
| 233 |
* ber-decoder.c (_ksba_ber_decoder_dump) |
| 234 |
(_ksba_ber_decoder_decode): Change envvar to KSBA_DEBUG_BER_DECODER. |
| 235 |
|
| 236 |
2007-11-07 Werner Koch <[email protected]> |
| 237 |
|
| 238 |
* cms.c (build_signed_data_attribute): Reset ATTRIDX for new |
| 239 |
signers. Use xfree and not free. |
| 240 |
|
| 241 |
2007-11-03 Moritz Schulte <[email protected]> |
| 242 |
|
| 243 |
* ksba.h: Include <stdio.h>, since FILE* is used. |
| 244 |
|
| 245 |
2007-08-08 Werner Koch <[email protected]> |
| 246 |
|
| 247 |
* crl.c (ksba_crl_get_update_times): Require only THIS_UPDATE. |
| 248 |
|
| 249 |
2007-07-04 Werner Koch <[email protected]> |
| 250 |
|
| 251 |
Changed license to GPLv3. |
| 252 |
|
| 253 |
* asn1-func.c, asn1-parse.y, CertificateExample.c: Also |
| 254 |
changed to GPLv3 as they used to be GPLv2+. |
| 255 |
|
| 256 |
2007-06-15 Werner Koch <[email protected]> |
| 257 |
|
| 258 |
* Makefile.am (AM_CPPFLAGS): Add top_builddir/gl as gnulib may |
| 259 |
create a header. |
| 260 |
|
| 261 |
2007-05-29 Werner Koch <[email protected]> |
| 262 |
|
| 263 |
* versioninfo.rc.in: New. |
| 264 |
* libksba.def: New. |
| 265 |
* Makefile.am: Add code to build a W32 DLL. |
| 266 |
(install-data-local, uninstall-local): New. |
| 267 |
|
| 268 |
2007-05-14 Werner Koch <[email protected]> |
| 269 |
|
| 270 |
* sexp-parse.h (smklen): New. |
| 271 |
* cert.c: Include sexp-parse.h. |
| 272 |
(get_name): Use smklen to avoid the snprintf. |
| 273 |
|
| 274 |
2007-05-09 Werner Koch <[email protected]> |
| 275 |
|
| 276 |
* ksba.m4: Print found version on success. |
| 277 |
|
| 278 |
2007-05-01 Werner Koch <[email protected]> |
| 279 |
|
| 280 |
* crl.c (do_hash): Cast BUFFER to char* for arithmetics. |
| 281 |
* ksba.h (ksba_stop_reason_t): Remove trailing comma. |
| 282 |
* asn1-parse.y (CONST_IMPLICIT): Ditto. Reported by Peter |
| 283 |
O'Gorman. |
| 284 |
|
| 285 |
2007-04-20 Werner Koch <[email protected]> |
| 286 |
|
| 287 |
* keyinfo.c: Add OIDs for brainpool curves. |
| 288 |
|
| 289 |
2007-04-19 Werner Koch <[email protected]> |
| 290 |
|
| 291 |
* keyinfo.c (pk_algo_table): Removed the ecdsa entry. |
| 292 |
(sig_algo_table): Add X9.62 ecc signature algorithm entries. |
| 293 |
(_ksba_parse_algorithm_identifier): Replace by a call to |
| 294 |
_ksba_parse_algorithm_identifier2. |
| 295 |
(_ksba_parse_algorithm_identifier2): Add hack to cope with |
| 296 |
ecdsaWithSpecified. |
| 297 |
* cert.c (ksba_cert_get_digest_algo): Use of |
| 298 |
_ksba_parse_algorithm_identifier to parse the OID. |
| 299 |
|
| 300 |
2007-04-06 Werner Koch <[email protected]> |
| 301 |
|
| 302 |
* keyinfo.c (curve_names): New. |
| 303 |
(get_ecc_curve_oid): New. |
| 304 |
(_ksba_keyinfo_from_sexp): Support ECC. |
| 305 |
(oid_from_buffer): Ditto. |
| 306 |
(_ksba_keyinfo_to_sexp): Ditto. |
| 307 |
|
| 308 |
* oid.c (_ksba_oid_from_buf): New. |
| 309 |
|
| 310 |
2007-01-30 Werner Koch <[email protected]> |
| 311 |
|
| 312 |
* shared.h: Add constants for SHA-2. |
| 313 |
* keyinfo.c (sig_algo_table): Add SHA-256, SHA384 and SHA-512 from |
| 314 |
pkcs#1. |
| 315 |
|
| 316 |
2006-12-21 Marcus Brinkmann <[email protected]> |
| 317 |
|
| 318 |
* cms.c (build_enveloped_data_header): Initialize CMS_TREE. |
| 319 |
Release CMS_TREE, and also TMPWRT always, just as IMAGE and ROOT. |
| 320 |
(build_signed_data_attributes): Release all this stuff that's not |
| 321 |
released. |
| 322 |
(build_signed_data_rest): Likewise. |
| 323 |
(ksba_cms_set_sig_val): Release SV and SV->algo on error. |
| 324 |
(ksba_cms_release): Free CMS->sig_val. |
| 325 |
|
| 326 |
* cert.c (ksba_cert_release): Release CERT->image. |
| 327 |
* ber-decoder.c (release_decoder_state): Release D->image.buf on |
| 328 |
error. |
| 329 |
|
| 330 |
2006-12-20 Marcus Brinkmann <[email protected]> |
| 331 |
|
| 332 |
* reader.c (ksba_reader_release): Release R->u.mem.buffer if type |
| 333 |
is READER_TYPE_MEM. |
| 334 |
|
| 335 |
* cms.c (ksba_cms_release): Release CMS->signer_info. |
| 336 |
* cms-parser.c (_ksba_cms_parse_signed_data_part_2): On failure, |
| 337 |
release SI. |
| 338 |
|
| 339 |
2006-12-18 Marcus Brinkmann <[email protected]> |
| 340 |
|
| 341 |
* cert.c (ksba_cert_release): Release cert->root and |
| 342 |
cert->asn_tree. |
| 343 |
(ksba_cert_read_der): Release cert->root and cert->asn_tree. |
| 344 |
* ber-decoder.c (_ksba_ber_decoder_decode): Release d->root. |
| 345 |
* asn1-func.c (do_expand_tree): Keep track of created nodes. |
| 346 |
(copy_tree): Likewise. |
| 347 |
(_ksba_asn_insert_copy): Likewise. |
| 348 |
(ksba_asn_tree_dump): Release tree if expanded. |
| 349 |
* asn1-func2.c (ksba_asn_create_tree): Keep track of created |
| 350 |
nodes. |
| 351 |
* asn1-parse.y (new_node): Fix assignment. |
| 352 |
|
| 353 |
2006-11-29 Werner Koch <[email protected]> |
| 354 |
|
| 355 |
* ocsp.c (parse_single_response): Fixed skipping of the NULL. |
| 356 |
|
| 357 |
* cert.c (ksba_cert_get_image): Cast an arg for printf. |
| 358 |
|
| 359 |
2006-10-18 Werner Koch <[email protected]> |
| 360 |
|
| 361 |
* cert.c (ksba_cert_get_key_usage): Map GPG_ERR_NO_VALUE to |
| 362 |
GPG_ERR_NO_DATA. This is required in case no extensions at all |
| 363 |
are available. |
| 364 |
(ksba_cert_get_cert_policies, ksba_cert_get_ext_key_usages) |
| 365 |
(ksba_cert_get_auth_key_id, get_simple_octet_string_ext): Ditto. |
| 366 |
|
| 367 |
2006-08-31 Werner Koch <[email protected]> |
| 368 |
|
| 369 |
* ocsp.h (struct ocsp_extension_s): New. |
| 370 |
* ocsp.c (extract_nonce): Renamed to .. |
| 371 |
(parse_response_extensions): .. this. Extended to save all |
| 372 |
extensions. |
| 373 |
(release_ocsp_extensions): New. |
| 374 |
(ksba_ocsp_release): Release new extension data. |
| 375 |
(ksba_ocsp_parse_response): Reset extesnion data. |
| 376 |
(parse_optional_boolean): New. |
| 377 |
(parse_single_extensions): New. |
| 378 |
|
| 379 |
* ksba.m4: Implement --api-version check. |
| 380 |
* ksba-config.in (echo_api_version): New option --api-version. |
| 381 |
|
| 382 |
* crl.c (GPG_ERR_UNKNOWN_CRIT_EXTN): Removed definition as we now |
| 383 |
require a decent libgpg-error. |
| 384 |
|
| 385 |
* ocsp.c (ksba_ocsp_get_responder_id): Implemented. Changed NAME |
| 386 |
from ksba_name_t* to char** and SHA1KEYHASH from unsigned char* to |
| 387 |
ksba_sexp_t*. Given that the function has always returned an |
| 388 |
not_implemented error code and thus was not useful at all, we |
| 389 |
don't consider this as an ABI change (still pointers) and the API |
| 390 |
change is not real as this function was never useful. |
| 391 |
|
| 392 |
2006-08-30 Werner Koch <[email protected]> |
| 393 |
|
| 394 |
* ocsp.c (extract_nonce): New. |
| 395 |
(ksba_ocsp_parse_response): Set status to replay on bad nonce. |
| 396 |
(ksba_ocsp_get_extension): New. |
| 397 |
(parse_response): Fixed storing of received_certs. |
| 398 |
|
| 399 |
* util.c (ksba_calloc): Protect against integer overflow. |
| 400 |
|
| 401 |
2006-08-01 Werner Koch <[email protected]> |
| 402 |
|
| 403 |
* dn.c (ksba_dn_teststr): Bump nparts to actually allow returning |
| 404 |
without an error. Hmmm, why did did t-dnparser didn't caught this |
| 405 |
problem? |
| 406 |
|
| 407 |
2006-07-19 Werner Koch <[email protected]> |
| 408 |
|
| 409 |
* dn.c (put_stringbuf_mem_skip): New. |
| 410 |
(append_quoted): New arg SKIP. Changed all callers. |
| 411 |
(append_ucs4_value, append_ucs2_value): Tell append_quoted to skip |
| 412 |
the zero bytes we detected. |
| 413 |
|
| 414 |
2006-07-18 Werner Koch <[email protected]> |
| 415 |
|
| 416 |
* dn.c (append_ucs2_value): Fixed second blank detection case. |
| 417 |
|
| 418 |
2006-07-03 Werner Koch <[email protected]> |
| 419 |
|
| 420 |
* ksba.h, ksba.c (ksba_dn_teststr): New. |
| 421 |
* dn.c (parse_rdn): New optionsl args ROFF and RLEN. Changed |
| 422 |
callers. |
| 423 |
(ksba_dn_der2str, ksba_dn_str2der): New. |
| 424 |
* libksba.vers: Added new functions. |
| 425 |
|
| 426 |
2006-06-19 Werner Koch <[email protected]> |
| 427 |
|
| 428 |
* ber-decoder.c (_ksba_ber_decoder_decode): always store value |
| 429 |
even if NODE is NULL. It used to work only because NODE used to |
| 430 |
be unitialized and thus most of the time yielded true. The |
| 431 |
2006-05-03 fix unveiled the actual problem. |
| 432 |
|
| 433 |
2006-06-08 Marcus Brinkmann <[email protected]> |
| 434 |
|
| 435 |
* cert.c (ksba_cert_get_crl_dist_point): Fix type of R_REASON. |
| 436 |
(parse_distribution_point): Fix type of REASON. |
| 437 |
|
| 438 |
2006-05-11 Werner Koch <[email protected]> |
| 439 |
|
| 440 |
* ber-decoder.c (decoder_next): Print error description returned |
| 441 |
from BER reader in debug mode. |
| 442 |
(struct ber_decoder_s): New fields OUTER_SEQUENCE_LENGTH, |
| 443 |
IGNORE_GARBAGE and FIRST_TAG_SEEN. |
| 444 |
(decoder_next): Implement hack for the Siemens CA to ignore a |
| 445 |
trailing byte. |
| 446 |
|
| 447 |
2006-05-03 Werner Koch <[email protected]> |
| 448 |
|
| 449 |
* ber-decoder.c (decoder_next): Zero out NODE. |
| 450 |
|
| 451 |
* ocsp.c (ksba_ocsp_prepare_request): Move requestExtensions into |
| 452 |
the TBSRequest. Reported by Daiko Ueno. |
| 453 |
|
| 454 |
2006-04-23 Brad Hards <[email protected]> (mb) |
| 455 |
|
| 456 |
* ksba.h (ksba_crl_get_update_times): Rename parameter to avoid |
| 457 |
collision with C++ keywords. |
| 458 |
|
| 459 |
* ksba.h: Fix typos. |
| 460 |
|
| 461 |
2006-03-20 Werner Koch <[email protected]> |
| 462 |
|
| 463 |
* ber-decoder.c: Dump debug info always to stderr and not to stdout. |
| 464 |
(decoder_next): Take zero length SETs into account. |
| 465 |
|
| 466 |
2005-11-13 Werner Koch <[email protected]> |
| 467 |
|
| 468 |
* cert.c (ksba_cert_set_user_data): Fixed. |
| 469 |
* ksba.h (ksba_cert_set_user_data, ksba_cert_get_user_data): Add |
| 470 |
prototypes. |
| 471 |
|
| 472 |
2005-11-11 Werner Koch <[email protected]> |
| 473 |
|
| 474 |
* cert.h (struct cert_user_data): New. |
| 475 |
(struct ksba_cert_s): New field UDATA. |
| 476 |
* cert.c (ksba_cert_release): Release the UDATA list. |
| 477 |
(ksba_cert_set_user_data, ksba_cert_get_user_data): New. |
| 478 |
* libksba.vers: Add the new functions. |
| 479 |
|
| 480 |
2005-09-28 Marcus Brinkmann <[email protected]> |
| 481 |
|
| 482 |
* Makefile.am (AM_CCPFLAGS): Renamed to AM_CPPFLAGS. |
| 483 |
|
| 484 |
2005-07-21 Werner Koch <[email protected]> |
| 485 |
|
| 486 |
* certreq.h (struct general_names_s): New. |
| 487 |
(struct ksba_certreq_s): New member SUBJECT_ALT_NAMES. |
| 488 |
* certreq.c (ksba_certreq_release): Free it. |
| 489 |
(add_general_names_to_extn): New. |
| 490 |
(build_cri): And build them here. |
| 491 |
|
| 492 |
* cert.c (get_name): Support dNSName and uRI. |
| 493 |
* certreq.c (ksba_certreq_add_subject): Ditto. |
| 494 |
|
| 495 |
2005-06-15 Werner Koch <[email protected]> |
| 496 |
|
| 497 |
* ksba.h, certreq.c (ksba_certreq_add_extension): Changed arg DER from |
| 498 |
unsigned char* to void*. |
| 499 |
* ksba.h, cms.c (ksba_cms_set_content_enc_algo): Changed arg IV |
| 500 |
from unsigned char* to void*. |
| 501 |
* ksba.h, cms.c (ksba_cms_get_content_enc_iv): Ditto. |
| 502 |
* ksba.h, cms.c (ksba_cms_set_message_digest): Changed arg DIGEST |
| 503 |
from char* to unsigned char*. |
| 504 |
|
| 505 |
2005-06-02 Werner Koch <[email protected]> |
| 506 |
|
| 507 |
* Makefile.am: Add flags for gnulib. |
| 508 |
* asn1-func.c: Include alloca.h. |
| 509 |
|
| 510 |
2005-04-20 Werner Koch <[email protected]> |
| 511 |
|
| 512 |
* time.c (_ksba_asntime_to_iso): Add arg IS_UTCTIME to allow for |
| 513 |
UTCTimes w/o seconds. |
| 514 |
* ocsp.c (parse_asntime_into_isotime): Set this arg. |
| 515 |
* crl.c (parse_to_next_update, parse_crl_entry): Ditto. |
| 516 |
* cert.c (ksba_cert_get_validity): Ditto. |
| 517 |
|
| 518 |
2005-04-19 Werner Koch <[email protected]> |
| 519 |
|
| 520 |
* Makefile.am: Don't have asn1-tables depend on built tools. |
| 521 |
|
| 522 |
* ocsp.c (ksba_ocsp_set_nonce): Set the length of the nonce. |
| 523 |
(write_request_extensions): New. |
| 524 |
(ksba_ocsp_prepare_request): Call new function. |
| 525 |
|
| 526 |
2005-04-18 Werner Koch <[email protected]> |
| 527 |
|
| 528 |
* crl.c (parse_crl_entry): Handle entry extensions. |
| 529 |
(store_one_entry_extension): New. |
| 530 |
(parse_enumerated): New. |
| 531 |
|
| 532 |
2005-04-15 Werner Koch <[email protected]> |
| 533 |
|
| 534 |
* cert.c (get_info_access): Fixed case of more than one |
| 535 |
AccessDescription. |
| 536 |
|
| 537 |
* ksba.h (ksba_cert_get_subj_key_id): New. |
| 538 |
* cert.c (get_simple_octet_string_ext): New. |
| 539 |
(ksba_cert_get_subj_key_id): New. |
| 540 |
* libksba.vers: Added ksba_cert_get_subj_key_id. |
| 541 |
|
| 542 |
* cert.c (ksba_cert_get_auth_key_id): Add support for |
| 543 |
keyIdentifier. |
| 544 |
* crl.c (ksba_crl_get_auth_key_id): Ditto. |
| 545 |
|
| 546 |
2005-01-31 Werner Koch <[email protected]> |
| 547 |
|
| 548 |
* cms-parser.c (_ksba_cms_parse_signed_data_part_2): Allow NDEF |
| 549 |
encoding for the set of certificates. |
| 550 |
|
| 551 |
2005-01-21 Werner Koch <[email protected]> |
| 552 |
|
| 553 |
* Makefile.am (ber_dump_SOURCES): Use per target flags to force |
| 554 |
object renaming. |
| 555 |
|
| 556 |
2004-12-18 Werner Koch <[email protected]> |
| 557 |
|
| 558 |
* Makefile.am (noinst_PROGRAMS): Don't generate them when cross |
| 559 |
compiling. |
| 560 |
(EXTRA_DIST): Include asn1-parse.c asn1-tables.c. |
| 561 |
(DISTCLEAN): Removed. |
| 562 |
|
| 563 |
2004-12-15 Werner Koch <[email protected]> |
| 564 |
|
| 565 |
* ksba.m4: Use proper quoting for use with automake 1.9. |
| 566 |
|
| 567 |
2004-11-29 Werner Koch <[email protected]> |
| 568 |
|
| 569 |
* cms.c (read_and_hash_cont): Added more code for the unusual |
| 570 |
non-NDEF things and factored common code out to .. |
| 571 |
(read_hash_block): .. new function. |
| 572 |
|
| 573 |
2004-11-26 Werner Koch <[email protected]> |
| 574 |
|
| 575 |
* util.c (_ksba_stpcpy): Renamed from stpcpy to avoid duble |
| 576 |
defines sympols in case libska gets statically linked. |
| 577 |
* util.h (stpcpy): Redefine it. |
| 578 |
|
| 579 |
2004-08-17 Werner Koch <[email protected]> |
| 580 |
|
| 581 |
* cert.c (ksba_cert_get_image): Replaced assert by proper error |
| 582 |
message. |
| 583 |
|
| 584 |
* ber-decoder.c (match_der): Fix for primitive implicit context |
| 585 |
tags. Argh, this whole decoder mess needs a full rewrite. |
| 586 |
|
| 587 |
2004-08-16 Werner Koch <[email protected]> |
| 588 |
|
| 589 |
* keyinfo.c: Fixed second DSA entry; a comma was missing. |
| 590 |
|
| 591 |
2004-07-20 Werner Koch <[email protected]> |
| 592 |
|
| 593 |
* cert.c (_ksba_cert_get_issuer_dn_ptr): Renamed to .. |
| 594 |
(_ksba_cert_get_subject_dn_ptr): .. this. And return the |
| 595 |
subject's DN. |
| 596 |
* ocsp.c (issuer_name_hash): Use it here. Thanks to Bernhard |
| 597 |
Herzog for pointing this out. It revealed itself only in a |
| 598 |
multi-level certificate chain. |
| 599 |
|
| 600 |
2004-06-08 Werner Koch <[email protected]> |
| 601 |
|
| 602 |
* certreq.c (ksba_certreq_add_extension): Removed unused variable. |
| 603 |
|
| 604 |
2004-06-06 Werner Koch <[email protected]> |
| 605 |
|
| 606 |
* ksba.h: Comment cleanups. |
| 607 |
|
| 608 |
* certreq.c (ksba_certreq_add_extension): New. |
| 609 |
|
| 610 |
2004-04-28 Werner Koch <[email protected]> |
| 611 |
|
| 612 |
* libksba.vers: Add new functions. |
| 613 |
|
| 614 |
* crl.h (crl_extn_s, crl_extn_t): New. |
| 615 |
(ksba_crl_s): Add member EXTENSION_LIST; |
| 616 |
* crl.c (ksba_crl_release): Free an extension list. |
| 617 |
(parse_one_extension, store_one_extension): New. |
| 618 |
(parse_crl_extensions): Store extensions. |
| 619 |
(ksba_crl_get_extension, ksba_crl_get_auth_key_id) |
| 620 |
(ksba_crl_get_crl_number): New. |
| 621 |
|
| 622 |
2004-04-06 Werner Koch <[email protected]> |
| 623 |
|
| 624 |
* cms.c (ksba_cms_add_smime_capability): Oops, we forgot to store |
| 625 |
the parameters. |
| 626 |
* writer.c (do_writer_write): Fixed memory allocation and added an |
| 627 |
extra check. |
| 628 |
|
| 629 |
2004-03-24 Werner Koch <[email protected]> |
| 630 |
|
| 631 |
* cms.c (ksba_cms_add_smime_capability): New. |
| 632 |
(ksba_cms_release): Free the capability list. |
| 633 |
(store_smime_capability_sequence): New. |
| 634 |
(build_signed_data_attributes): Include the smime capabilities. |
| 635 |
* cms.h (oidparmlist_s): New. |
| 636 |
(ksba_cms_s): Add element CAPABILITY_LIST. |
| 637 |
* der-encoder.c (_ksba_der_store_sequence): New. |
| 638 |
* asn1-func.c (_ksba_asn_is_primitive): New dummy type PRE_SEQUENCE. |
| 639 |
* der-encoder.c (set_nhdr_and_len, copy_nhdr_and_len): Support it. |
| 640 |
|
| 641 |
2004-03-17 Werner Koch <[email protected]> |
| 642 |
|
| 643 |
* ber-help.c (_ksba_ber_parse_tl): Check for length overflow. |
| 644 |
(_ksba_ber_read_tl): Ditto. |
| 645 |
|
| 646 |
2004-03-16 Werner Koch <[email protected]> |
| 647 |
|
| 648 |
* ocsp.c (ksba_ocsp_get_responder_id, ksba_ocsp_get_cert): New. |
| 649 |
|
| 650 |
2004-03-15 Werner Koch <[email protected]> |
| 651 |
|
| 652 |
* Makefile.am: Support for version scripts. |
| 653 |
* libksba.vers: New. |
| 654 |
|
| 655 |
* ocsp.c (parse_response): Fixed parsing of optional certificates. |
| 656 |
|
| 657 |
2004-03-09 Werner Koch <[email protected]> |
| 658 |
|
| 659 |
* ksba.h (ksba_set_hash_buffer_function): Add missing prototype. |
| 660 |
|
| 661 |
2004-02-20 Werner Koch <[email protected]> |
| 662 |
|
| 663 |
* cert.c (ksba_cert_get_ext_key_usages): New. |
| 664 |
(ksba_cert_get_auth_key_id): Fix for the case that there is only |
| 665 |
the KeyIdentifier. |
| 666 |
|
| 667 |
2004-02-13 Werner Koch <[email protected]> |
| 668 |
|
| 669 |
* reader.c, ksba.h (ksba_reader_clear): New. |
| 670 |
|
| 671 |
2004-02-12 Werner Koch <[email protected]> |
| 672 |
|
| 673 |
* cms.c (ksba_cms_identify): Detect pkcs#12. |
| 674 |
* ksba.h: Add KSBA_CT_PCKS12. |
| 675 |
|
| 676 |
2004-01-29 Werner Koch <[email protected]> |
| 677 |
|
| 678 |
* cms.c (build_signed_data_attributes): Arggg; noticed that severe |
| 679 |
bug shortly after the last release. Fixed wrong array size passed |
| 680 |
to qsort. |
| 681 |
|
| 682 |
2004-01-28 Werner Koch <[email protected]> |
| 683 |
|
| 684 |
* dn.c: Updated the table and changed a few names only used for |
| 685 |
String->DER. Added a source specifier as a replacement for the |
| 686 |
allowed_by_rfc2253 field. |
| 687 |
|
| 688 |
2004-01-19 Werner Koch <[email protected]> |
| 689 |
|
| 690 |
* cms.c (build_signed_data_attributes): Argh. We need to sort the |
| 691 |
attributes. |
| 692 |
(compare_attrarray): New. |
| 693 |
|
| 694 |
2003-12-19 Werner Koch <[email protected]> |
| 695 |
|
| 696 |
* cms.c (build_signed_data_header): Fixed silly ==/= bug. |
| 697 |
|
| 698 |
2003-12-09 Werner Koch <[email protected]> |
| 699 |
|
| 700 |
* cms.c (ksba_cms_set_sig_val): Fixed a code cleanup I did on Nov |
| 701 |
25 and led to bad signature creation. Unfortunatley gpgsm has |
| 702 |
currently no real regression tests. BTW, why the hell didn't I |
| 703 |
wrote an entry for that cleanup. |
| 704 |
|
| 705 |
2003-11-28 Werner Koch <[email protected]> |
| 706 |
|
| 707 |
* ocsp.h, ocsp.c: New. |
| 708 |
* ksba.h (ksba_status_t, ksba_ocsp_response_status_t): New. |
| 709 |
(ksba_ocsp_t): New. |
| 710 |
|
| 711 |
2003-11-25 Werner Koch <[email protected]> |
| 712 |
|
| 713 |
* ksba.h: Added a few more CRL reason codes. |
| 714 |
|
| 715 |
2003-11-21 Werner Koch <[email protected]> |
| 716 |
|
| 717 |
* oid.c (ksba_oid_from_str): Changed RBUF to unsigned char* and |
| 718 |
changed all callers to avoid incompatible pointer warnings. |
| 719 |
|
| 720 |
2003-11-20 Werner Koch <[email protected]> |
| 721 |
|
| 722 |
* cert.c (_ksba_cert_get_issuer_dn_ptr): New. |
| 723 |
(_ksba_cert_get_public_key_ptr): New. |
| 724 |
(_ksba_cert_get_serial_ptr): New. |
| 725 |
|
| 726 |
* util.c (_ksba_hash_buffer): New. |
| 727 |
(ksba_set_hash_buffer_function): New. |
| 728 |
|
| 729 |
* cms.c: Include sexp-parse.h. |
| 730 |
(ksba_cms_set_sig_val): Use snext and smatch instead of open |
| 731 |
coding it. |
| 732 |
|
| 733 |
* sexp-parse.h: New. Taken from GnuPG 1.9. |
| 734 |
|
| 735 |
2003-11-18 Werner Koch <[email protected]> |
| 736 |
|
| 737 |
* reader.c (ksba_reader_read): Return GPG_ERR_EOF and not -1. |
| 738 |
|
| 739 |
2003-11-17 Werner Koch <[email protected]> |
| 740 |
|
| 741 |
* cert.c (get_name, ksba_cert_get_extension): Return GPG_ERR_EOF |
| 742 |
and not just -1. |
| 743 |
* ber-decoder.c (_ksba_ber_decoder_decode): Ditto. |
| 744 |
|
| 745 |
2003-11-14 Werner Koch <[email protected]> |
| 746 |
|
| 747 |
* cms.c (write_encrypted_cont): Fixed test on EOF. |
| 748 |
* cert.c (ksba_cert_is_ca, ksba_cert_get_cert_policies) |
| 749 |
(ksba_cert_get_auth_key_id): Ditto. |
| 750 |
* ber-decoder.c (_ksba_ber_decoder_dump) |
| 751 |
(_ksba_ber_decoder_decode): Ditto. |
| 752 |
|
| 753 |
2003-11-13 Werner Koch <[email protected]> |
| 754 |
|
| 755 |
* ber-decoder.c (eof_or_error): Replaced READ_ERROR with a system |
| 756 |
provided error. |
| 757 |
* crl.c (parse_to_next_update): Ditto. |
| 758 |
* cms-parser.c (parse_cms_version): Ditto. |
| 759 |
(_ksba_cms_parse_signed_data_part_1): |
| 760 |
* ber-help.c (eof_or_error): Ditto. |
| 761 |
* reader.c (ksba_reader_error): Changed to return gpg_error_t. |
| 762 |
* writer.c (ksba_writer_error): Ditto. |
| 763 |
|
| 764 |
2003-11-12 Werner Koch <[email protected]> |
| 765 |
|
| 766 |
* writer.c (do_writer_write): Replaced WRITE_ERROR by one |
| 767 |
generated from errno. |
| 768 |
|
| 769 |
* asn1-parse.y (ksba_asn_parse_file): Replaced FILE_ERROR by one |
| 770 |
generated from errno. |
| 771 |
|
| 772 |
* cms.c (ksba_cms_new): Changed Interface to return an error code. |
| 773 |
* name.c (ksba_name_new): Ditto. |
| 774 |
* writer.c (ksba_writer_new): Ditto. |
| 775 |
* reader.c (ksba_reader_new): Ditto. |
| 776 |
* certreq.c (ksba_certreq_new): Ditto. |
| 777 |
* crl.c (ksba_crl_new): Ditto. |
| 778 |
|
| 779 |
* ksba.h: Removed all KSBA_ error codes and replaced them all over |
| 780 |
the package by the gpg-error.h codes. Include gpg-error.h |
| 781 |
* mkerrors: Removed. |
| 782 |
* Makefile.am: Removed generation of errors.c |
| 783 |
* asn1-gentables.c (one_file): Simplified error printing |
| 784 |
* ksba-config.in (libs,cflags): Add values for gpg-error. Remove |
| 785 |
duplicates. |
| 786 |
|
| 787 |
2003-11-11 Werner Koch <[email protected]> |
| 788 |
|
| 789 |
* cert.c (ksba_cert_new): Changed interface. |
| 790 |
|
| 791 |
2003-10-31 Werner Koch <[email protected]> |
| 792 |
|
| 793 |
Changed the representation of time. |
| 794 |
|
| 795 |
* ksba.h (ksba_isotime_t): New. |
| 796 |
* convert.h, cms.h, crl.h: Changed all data structure to use that |
| 797 |
new time object. |
| 798 |
* time.c (_ksba_asntime_to_epoch): Renamed to .. |
| 799 |
(_ksba_asntime_to_iso): .. this and rewrote for the new time format. |
| 800 |
(_ksba_asntime_from_epoch): Removed. Was never used. |
| 801 |
(_ksba_assert_time_format, _ksba_copy_time, _ksba_cmp_time) |
| 802 |
(_ksab_current_time): New. |
| 803 |
* cert.c (ksba_cert_get_validity): Changed for new time data type. |
| 804 |
* der-encoder.c (_ksba_der_store_time): Ditto. |
| 805 |
* crl.c (ksba_crl_get_update_times, ksba_crl_get_item) |
| 806 |
(parse_to_next_update, parse_crl_entry): Ditto. |
| 807 |
* cms.c (ksba_cms_get_signing_time, ksba_cms_set_signing_time): |
| 808 |
Ditto. |
| 809 |
|
| 810 |
2003-10-21 Werner Koch <[email protected]> |
| 811 |
|
| 812 |
* dn.c (oid_name_tbl): Changed OIDLEN to size_t. |
| 813 |
(parse_rdn): Ditto. |
| 814 |
* ber-decoder.c (dump_tlv): Fixed format specifier for NHDR. |
| 815 |
Reported by Stephane Corthesy. |
| 816 |
|
| 817 |
2003-08-20 Marcus Brinkmann <[email protected]> |
| 818 |
|
| 819 |
* ber-decoder.c (new_decoder_state): Initialize DS->cur.in_any. |
| 820 |
|
| 821 |
2003-03-17 Werner Koch <[email protected]> |
| 822 |
|
| 823 |
* dn.c (count_quoted_string): Fixed detection of nonprintable |
| 824 |
chars for hex pairs. Use IA5STRING instead of UTF8 if the only |
| 825 |
reason is an at-sign. |
| 826 |
(parse_rdn): Fixed parsing of hash prefixed hex pairs. Use |
| 827 |
IA5STRING instead of UTF8 if the only reason is an at-sign. |
| 828 |
|
| 829 |
2002-12-12 Werner Koch <[email protected]> |
| 830 |
|
| 831 |
* keyinfo.c (sig_algo_table): Added sha-1WithRSAEncryption. |
| 832 |
|
| 833 |
2002-12-03 Werner Koch <[email protected]> |
| 834 |
|
| 835 |
* ber-decoder.c (cmp_tag): Handle ANY tag even when the classes |
| 836 |
don't match. Test case arecertificates with a id-aa-encrypKeyPref. |
| 837 |
|
| 838 |
2002-11-25 Werner Koch <[email protected]> |
| 839 |
|
| 840 |
* cms.c (ksba_cms_get_sigattr_oids): New. |
| 841 |
(build_signed_data_attributes): Store the content-type. |
| 842 |
* der-encoder.c (_ksba_der_store_oid): Handle TYPE_ANY. |
| 843 |
|
| 844 |
2002-10-22 Werner Koch <[email protected]> |
| 845 |
|
| 846 |
* asn1-parse.y (yyparse): Prefix with _ksba_asn1_. |
| 847 |
|
| 848 |
* asn1-func.c (_asn1_find_left): Made static. |
| 849 |
|
| 850 |
* dn.c (parse_rdn): Add a parse-only mode to determine the end os |
| 851 |
a part. |
| 852 |
(_ksba_dn_from_str): Parse the string in reversed order as |
| 853 |
specified by rfc2253. |
| 854 |
|
| 855 |
2002-08-23 Werner Koch <[email protected]> |
| 856 |
|
| 857 |
* ksba.m4: Removed unnecessary libs |
| 858 |
* ksba-config.in: Made --prefix work for --libs. |
| 859 |
* Makefile.am (EXTRA_DIST): Add ksba.m4 |
| 860 |
|
| 861 |
2002-08-21 Werner Koch <[email protected]> |
| 862 |
|
| 863 |
* der-encoder.c (_ksba_der_copy_tree) |
| 864 |
* crl.c (ksba_crl_get_issuer) |
| 865 |
* cms.c (ksba_cms_get_issuer_serial) |
| 866 |
(ksba_cms_get_sig_val) |
| 867 |
(ksba_cms_get_enc_val) |
| 868 |
* cert.c (ksba_cert_get_image) |
| 869 |
(ksba_cert_hash) |
| 870 |
(ksba_cert_get_serial) |
| 871 |
(ksba_cert_get_sig_val): Removed all debugging output for encoding |
| 872 |
errors. |
| 873 |
|
| 874 |
2002-08-13 Werner Koch <[email protected]> |
| 875 |
|
| 876 |
* ksba.m4: New. |
| 877 |
|
| 878 |
2002-08-06 Werner Koch <[email protected]> |
| 879 |
|
| 880 |
* cms.h (signer_info_s, sig_val_s): New. Actually moved out of |
| 881 |
ksba_cms_s and made it pointers there. |
| 882 |
* cms.c (ksba_cms_release): Changed for new types of signer_info |
| 883 |
and sig_val. |
| 884 |
(ksba_cms_get_issuer_serial): Implemented index for signer_info. |
| 885 |
(ksba_cms_get_digest_algo): Ditto. |
| 886 |
(ksba_cms_get_message_digest): Ditto. |
| 887 |
(ksba_cms_get_sig_val): Ditto. |
| 888 |
(ksba_cms_hash_signed_attrs): Ditto. |
| 889 |
(build_signed_data_attributes): Build the list of signer_infos. |
| 890 |
(build_signed_data_rest): And process the list. |
| 891 |
(ksba_cms_set_sig_val): Append values. |
| 892 |
(build_signed_data_rest): Use the sig_val list. |
| 893 |
(ct_build_signed_data): Changed check for set sig_val. |
| 894 |
(build_signed_data_header): Fixed writing of more than one algo. |
| 895 |
* cms-parser.c (_ksba_cms_parse_signed_data_part_2): Create a list |
| 896 |
of signer_infos and not just one. |
| 897 |
|
| 898 |
2002-08-05 Werner Koch <[email protected]> |
| 899 |
|
| 900 |
* cms.c (ksba_cms_add_cert): Don't add duplicates. |
| 901 |
* cert.c (_ksba_cert_cmp): New. |
| 902 |
|
| 903 |
2002-07-04 Werner Koch <[email protected]> |
| 904 |
|
| 905 |
* cms.c (ksba_cms_identify): Make sure to read the full first 20 |
| 906 |
bytes. |
| 907 |
|
| 908 |
2002-07-02 Werner Koch <[email protected]> |
| 909 |
|
| 910 |
* certreq.c (ksba_certreq_set_sig_val): Don't store a leanding zero. |
| 911 |
|
| 912 |
2002-06-27 Werner Koch <[email protected]> |
| 913 |
|
| 914 |
* cert.c (ksba_cert_get_auth_key_id): Skip keyIdentifier tag. |
| 915 |
|
| 916 |
2002-06-17 Werner Koch <[email protected]> |
| 917 |
|
| 918 |
* cms.c (write_encrypted_cont): Don't use write_octet_stream here |
| 919 |
because this is used with an implicit tag and the outer context |
| 920 |
already provides the constructed containter. |
| 921 |
|
| 922 |
2002-06-13 Werner Koch <[email protected]> |
| 923 |
|
| 924 |
* writer.c (ksba_writer_write_octet_string): Correctly write |
| 925 |
undefined length octet strings. |
| 926 |
* cms.c (ct_build_signed_data): Write an end tag for non-detached |
| 927 |
sigs. |
| 928 |
(build_enveloped_data_header): Fix doc; it is an explicit octect |
| 929 |
string. |
| 930 |
(read_encrypted_cont): Read constructed octet strings. |
| 931 |
|
| 932 |
2002-06-12 Werner Koch <[email protected]> |
| 933 |
|
| 934 |
* writer.c (ksba_writer_write_octet_string): New. |
| 935 |
* cms.c (write_encrypted_cont): Use it here. |
| 936 |
|
| 937 |
2002-05-17 Werner Koch <[email protected]> |
| 938 |
|
| 939 |
* Makefile.am: Tweaked to avoid double compilations. |
| 940 |
|
| 941 |
* cms.c (ksba_cms_identify): New. |
| 942 |
|
| 943 |
2002-05-16 Werner Koch <[email protected]> |
| 944 |
|
| 945 |
* cms-parser.c (_ksba_cms_parse_signed_data_part_1): Never |
| 946 |
allocate 0 bytes - this is not defined. |
| 947 |
|
| 948 |
2002-05-04 Werner Koch <[email protected]> |
| 949 |
|
| 950 |
* dn.c (parse_rdn): Better detection of empty elements. |
| 951 |
|
| 952 |
2002-04-27 Werner Koch <[email protected]> |
| 953 |
|
| 954 |
* cms.c (read_and_hash_cont): Handle constructed octet strings. |
| 955 |
* cms-parser.c (_ksba_cms_parse_signed_data_part_2): Eat one |
| 956 |
pending end tag. |
| 957 |
|
| 958 |
2002-04-15 Werner Koch <[email protected]> |
| 959 |
|
| 960 |
* version.c: New. |
| 961 |
|
| 962 |
* dn.c (append_ucs4_value,append_ucs2_value): Implemented. |
| 963 |
|
| 964 |
* cert.c (ksba_cert_get_auth_key_id): New. |
| 965 |
* name.c (_ksba_name_new_from_der): Add support for "Name" type. |
| 966 |
* dn.c (_ksba_derdn_to_str): New. |
| 967 |
|
| 968 |
2002-03-22 Werner Koch <[email protected]> |
| 969 |
|
| 970 |
* cert.c (get_name): Fixed enumerating of alternate names. |
| 971 |
|
| 972 |
* name.c: New. |
| 973 |
* ksba.h (KsbaName): New. Added defintions for the name functions. |
| 974 |
(KsbaCRLReason): Changed values to allow use as bit flags. |
| 975 |
* cert.c (parse_distribution_point): New. |
| 976 |
(ksba_cert_get_crl_dist_point): New. |
| 977 |
|
| 978 |
2002-03-15 Werner Koch <[email protected]> |
| 979 |
|
| 980 |
* asn1-func.c (_ksba_asn_check_identifier): Better check against |
| 981 |
overflow, also the data used is static. |
| 982 |
|
| 983 |
2002-03-13 Werner Koch <[email protected]> |
| 984 |
|
| 985 |
* cms.h (value_tree_s): New and use it for recp_info. |
| 986 |
(enc_val_s): New, use it in certlist and remove it from the |
| 987 |
ksba_cms_s and change all users. |
| 988 |
* cms.c (ksba_cms_set_enc_val): Allow multiple recipients. |
| 989 |
(ksba_cms_add_signer): Keep ordering of signers so that they can |
| 990 |
be implictly counted by an index. |
| 991 |
(build_enveloped_data_header): Fixed the creation of the RID. |
| 992 |
|
| 993 |
* cms.c (release_value_tree): New. |
| 994 |
(ksba_cms_release): And use it here. |
| 995 |
(ksba_cms_get_issuer_serial): Use the new recp_list structure and |
| 996 |
take the IDX into account. |
| 997 |
(ksba_cms_get_enc_val): Ditto. |
| 998 |
(ksba_cms_set_sig_val,ksba_cms_set_enc_val): Don't store a leading |
| 999 |
zero. |
| 1000 |
|
| 1001 |
* cms-parser.c (_ksba_cms_parse_enveloped_data_part_1): Handle |
| 1002 |
multiple recipients. |
| 1003 |
|
| 1004 |
* cms.c (build_signed_data_rest): Write 3 end tags. |
| 1005 |
(ct_build_enveloped_data): Write 4 end tags. |
| 1006 |
|
| 1007 |
2002-03-12 Werner Koch <[email protected]> |
| 1008 |
|
| 1009 |
* cms-parser.c (_ksba_cms_parse_signed_data_part_2): Allow an |
| 1010 |
empty set of signer infos. |
| 1011 |
|
| 1012 |
2002-03-11 Werner Koch <[email protected]> |
| 1013 |
|
| 1014 |
* keyinfo.c: Fixed last change; forgot to set the length. |
| 1015 |
|
| 1016 |
2002-03-09 Werner Koch <[email protected]> |
| 1017 |
|
| 1018 |
* keyinfo.c: Add algo for Telesec NetKey cards. |
| 1019 |
|
| 1020 |
2002-02-19 Werner Koch <[email protected]> |
| 1021 |
|
| 1022 |
* cert.c (ksba_cert_get_cert_policies): New. |
| 1023 |
|
| 1024 |
2002-02-07 Werner Koch <[email protected]> |
| 1025 |
|
| 1026 |
* cert.c (ksba_cert_release): Release the nodes. |
| 1027 |
|
| 1028 |
2002-02-01 Marcus Brinkmann <[email protected]> |
| 1029 |
|
| 1030 |
* asn1-parse.y: Add missing colon at end of block. |
| 1031 |
|
| 1032 |
2002-02-01 Werner Koch <[email protected]> |
| 1033 |
|
| 1034 |
* cms.c (ksba_cms_set_sig_val): Add kludge to allow "rsa" instead |
| 1035 |
of an OID. |
| 1036 |
|
| 1037 |
2002-01-28 Werner Koch <[email protected]> |
| 1038 |
|
| 1039 |
* oid.c (ksba_oid_from_str): Fixed docs and return type. |
| 1040 |
|
| 1041 |
* certreq.c (ksba_certreq_set_subject): Renamed to.. |
| 1042 |
(ksba_certreq_add_subject): this and added logic to store |
| 1043 |
subjectAltNames. |
| 1044 |
(build_extensions): New. |
| 1045 |
(build_cri): Write the extensions. |
| 1046 |
|
| 1047 |
* ber-help.c (_ksba_ber_encode_tl): New. |
| 1048 |
|
| 1049 |
2002-01-25 Werner Koch <[email protected]> |
| 1050 |
|
| 1051 |
* cms.c (build_signed_data_attributes): Write the optional certs. |
| 1052 |
* cert.c (ksba_cert_get_image): Don't return the image length but |
| 1053 |
the parsed length. |
| 1054 |
|
| 1055 |
2002-01-24 Werner Koch <[email protected]> |
| 1056 |
|
| 1057 |
* cms.h: Add new member cert_info_list. |
| 1058 |
* cms.c (ksba_cms_add_cert): New. |
| 1059 |
(ksba_cms_release): Release the cert info list. |
| 1060 |
|
| 1061 |
2002-01-23 Werner Koch <[email protected]> |
| 1062 |
|
| 1063 |
* crl.c (parse_to_next_update): Use measured length to fixup the |
| 1064 |
tbs_len after reading the name. Check tbs_len before checking |
| 1065 |
for the entry list. |
| 1066 |
|
| 1067 |
* ksba.h (KsbaKeyUsage): New. |
| 1068 |
* cert.c (ksba_cert_get_key_usage): New. |
| 1069 |
|
| 1070 |
* cert.c (get_name): New, implemented rfc822 AltNames. |
| 1071 |
(ksba_cert_get_issuer,ksba_cert_get_subject): Use it. |
| 1072 |
|
| 1073 |
2002-01-22 Werner Koch <[email protected]> |
| 1074 |
|
| 1075 |
* cert.c (ksba_cert_is_ca): New. |
| 1076 |
|
| 1077 |
* ber-help.c (premature_eof): New. |
| 1078 |
(eof_or_error): Use it here. |
| 1079 |
(_ksba_ber_parse_tl): New. |
| 1080 |
|
| 1081 |
2002-01-21 Werner Koch <[email protected]> |
| 1082 |
|
| 1083 |
* cert.c (ksba_cert_get_extension): New. |
| 1084 |
(read_extensions): New. |
| 1085 |
(ksba_cert_release): Release the cached extension info. |
| 1086 |
|
| 1087 |
2002-01-14 Werner Koch <[email protected]> |
| 1088 |
|
| 1089 |
* dn.c: Fixed oid table according to rfc2253. |
| 1090 |
(append_atv): Do only use the allowed names. |
| 1091 |
|
| 1092 |
2002-01-11 Werner Koch <[email protected]> |
| 1093 |
|
| 1094 |
* dn.c (append_atv): Don't write a trailing hash sign. |
| 1095 |
|
| 1096 |
* time.c (_ksba_asntime_to_epoch): Kludge to cope with the Y2038 |
| 1097 |
problem. |
| 1098 |
|
| 1099 |
* crl.c (do_hash): New. Apply the hashing where needed. |
| 1100 |
|
| 1101 |
2002-01-10 Werner Koch <[email protected]> |
| 1102 |
|
| 1103 |
* certreq.c, certreq.h: New. |
| 1104 |
* keyinfo.c (_ksba_keyinfo_from_sexp): New. |
| 1105 |
|
| 1106 |
* der-encoder.c: Removed commented code. |
| 1107 |
|
| 1108 |
2002-01-09 Werner Koch <[email protected]> |
| 1109 |
|
| 1110 |
* dn.c (count_quoted_string, parse_rdn, write_escaped): New. |
| 1111 |
(_ksba_dn_from_str): Implemented. |
| 1112 |
|
| 1113 |
* ber-help.c (_ksba_ber_count_tl): New. |
| 1114 |
|
| 1115 |
* util.h (spacep): New. |
| 1116 |
(hexdigitp): Now takes a pointer as arg. |
| 1117 |
|
| 1118 |
* writer.c (do_writer_write): Set the error flag when we are out |
| 1119 |
of core. |
| 1120 |
(ksba_writer_snatch_mem): New. |
| 1121 |
|
| 1122 |
2002-01-08 Werner Koch <[email protected]> |
| 1123 |
|
| 1124 |
* writer.c (ksba_writer_set_mem): New. |
| 1125 |
(do_writer_write): Implemented it here. |
| 1126 |
(ksba_writer_get_mem): New. |
| 1127 |
|
| 1128 |
* tmttv2.asn (CertificationRequestInfo): Added. |
| 1129 |
|
| 1130 |
2002-01-07 Werner Koch <[email protected]> |
| 1131 |
|
| 1132 |
* ksba.h (KsbaCRLReason): New. |
| 1133 |
* crl.c: Basically works. |
| 1134 |
|
| 1135 |
2002-01-05 Werner Koch <[email protected]> |
| 1136 |
|
| 1137 |
* asn1-func.c (_ksba_asn_find_node): Moved code to .. |
| 1138 |
(find_node): new function which allows resolving of identifiers. |
| 1139 |
(_ksba_asn_expand_tree): Use the resolving find_node here. |
| 1140 |
|
| 1141 |
* keyinfo.c (_ksba_parse_algorithm_identifier2): Reset len2 so |
| 1142 |
that a given r_parm returns correct values. |
| 1143 |
|
| 1144 |
* ksba.h (KsbaCRL): New typedef and prototypes for the CRL functions. |
| 1145 |
* crl.c, crl.h: New but not yet complete. |
| 1146 |
|
| 1147 |
2001-12-20 Werner Koch <[email protected]> |
| 1148 |
|
| 1149 |
* cms.c (read_and_hash_cont): New. |
| 1150 |
(ct_parse_signed_data): Use it here for non-detached signatures. |
| 1151 |
* cms-parser.c (_ksba_cms_parse_signed_data_part_1): Store the |
| 1152 |
inner content length. |
| 1153 |
(_ksba_cms_parse_signed_data_part_2): Add dummy read code for CRLs. |
| 1154 |
|
| 1155 |
* cert.c (ksba_cert_set_serial): Changed to return an entire S-Exp |
| 1156 |
and not just an octet string. |
| 1157 |
* cms.c (ksba_cms_get_issuer_serial): Ditto. |
| 1158 |
|
| 1159 |
2001-12-18 Werner Koch <[email protected]> |
| 1160 |
|
| 1161 |
* Makefile.am (DISTCLEANFILES): Add asn1-tables.c |
| 1162 |
|
| 1163 |
2001-12-17 Werner Koch <[email protected]> |
| 1164 |
|
| 1165 |
* cert.c (ksba_cert_get_serial): Does now return a S-expression. |
| 1166 |
* cms.c (ksba_cms_get_issuer_serial): Ditto. |
| 1167 |
|
| 1168 |
* keyinfo.c: Changed all functions to return canonical encoded S-Exp. |
| 1169 |
|
| 1170 |
* Makefile.am (asn1-tables.c): Fixed rule to work with VPATH builds. |
| 1171 |
|
| 1172 |
2001-12-14 Werner Koch <[email protected]> |
| 1173 |
|
| 1174 |
* oid.c, time.c, cms.c : Moved atoi macros and digitp macro to .. |
| 1175 |
* util.h: .. here. Fixed digitp macro. Added hexdigitp. |
| 1176 |
|
| 1177 |
2001-12-13 Werner Koch <[email protected]> |
| 1178 |
|
| 1179 |
* cert.c (ksba_cert_get_issuer): Added an idx argument so that the |
| 1180 |
function can be used to enumerate alternate names. |
| 1181 |
(ksba_cert_get_subject): Ditto. |
| 1182 |
|
| 1183 |
|
| 1184 |
Copyright 2001, 2002, 2003, 2004, 2005, 2008, 2009 g10 Code GmbH |
| 1185 |
|
| 1186 |
This file is free software; as a special exception the author gives |
| 1187 |
unlimited permission to copy and/or distribute it, with or without |
| 1188 |
modifications, as long as this notice is preserved. |
| 1189 |
|
| 1190 |
This file is distributed in the hope that it will be useful, but |
| 1191 |
WITHOUT ANY WARRANTY, to the extent permitted by law; without even the |
| 1192 |
implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. |