ChangeLog 5.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141
  1. 2006-11-21 Marcus Brinkmann <marcus@g10code.de>
  2. * src/cert-gpgsm.c (search_certs_line): Fix off-by-one error.
  3. (export_cert_cb): Fix bug if EXP->buffer_size is 0.
  4. * src/cert-gpgsm.c (cert_reset): Free CERT->cert_der if set.
  5. (export_cert): Reimplement using data channel.
  6. (export_cert_compat): This contains the old version for
  7. compatibility.
  8. * src/cert.h (MAX_CERT_SIZE): Macro removed.
  9. (struct cert): Changed member CERT_DER into a pointer.
  10. * configure.ac (AC_CONFIG_FILES): Add doc/manual/Makefile.
  11. * doc/Makefile.am (SUBDIRS): New variable.
  12. * doc/manual/Makefile, doc/manual/scute.texi, doc/manual/gpl.texi,
  13. doc/manual/mdate-sh, doc/manual/texinfo.tex,
  14. doc/manual/firefox-cm.png, doc/manual/firefox-cm-view-detail.png,
  15. doc/manual/firefox-cm-view.png,
  16. doc/manual/firefox-dm-load-after.png,
  17. doc/manual/firefox-dm-load-before.png,
  18. doc/manual/firefox-dm-load.png,
  19. doc/manual/firefox-dm-token-present.png,
  20. doc/manual/firefox-pref.png, doc/manual/firefox-pref-view.png: New
  21. files.
  22. 2006-11-11 Marcus Brinkmann <marcus@g10code.de>
  23. * Released version 1.0.0.
  24. 2006-11-11 Marcus Brinkmann <marcus@g10code.de>
  25. * src/error-mapping.c (scute_gpg_err_to_ck): Report error on debug
  26. stream.
  27. * src/slots.c (add_object): New function.
  28. (slot_init): Rewritten using add_object.
  29. * src/gpgsm.c: Include "gpgsm.h".
  30. (struct search): Replace members ATTRP, ATTR_COUNTP, PRV_ATTRP,
  31. PRV_ATTR_COUNTP by CERT_GET_CB, HOOK.
  32. (search_cb): Rewritten to add all certificates for a certain key
  33. (scute_gpgsm_get_cert): Take a callback function instead of
  34. attribute pointers.
  35. * gpgsm.h (scute_gpgsm_get_cert): Adjust prototype.
  36. and also the certificate chain.
  37. * src/cert.h (scute_gpgsm_search_certs_by_fpr): New prototype.
  38. (struct cert): New member chain_id.
  39. * src/cert-gpgsm.c (struct search_ctx_by_grip): Rename to ...
  40. (struct search_ctx): ... this. Rename field GRIP to PATTERN, and
  41. add new field FIELD.
  42. (search_certs_by_grip): Rename function to ...
  43. (search_certs): ... this.
  44. (scute_gpgsm_search_certs_by_fpr): Change user of the above.
  45. (scute_gpgsm_search_certs_by_fpr): New function.
  46. (search_certs_line): Store chain ID.
  47. 2006-11-07 Marcus Brinkmann <marcus@g10code.de>
  48. * src/p11-gettokeninfo.c (C_GetTokenInfo): Fix assignment.
  49. 2006-11-06 Marcus Brinkmann <marcus@g10code.de>
  50. * doc/website/format/web.css: Set margin to 0.
  51. * configure.ac (AC_CONFIG_FILES): Add doc/Makefile.
  52. Makefile.am (SUBDIRS): Add doc/.
  53. doc/, doc/website/, doc/website/format: New directories.
  54. doc/Makefile.am, doc/website/index.xhtml,
  55. doc/website/documentation.xhtml, doc/website/download.xhtml,
  56. doc/website/contact.xhtml, doc/website/format/web.css,
  57. doc/website/format/scute-logo.svg,
  58. doc/website/format/scute-border.jpg: New files.
  59. 2006-10-30 Marcus Brinkmann <marcus@g10code.de>
  60. * configure.ac (PACKAGE, VERSION): Define these variables.
  61. * src/Makefile.am (libscute_la_CPPFLAGS): Fix include path for
  62. VPATH builds.
  63. * configure.ac (VERSION_MAJOR, VERSION_MINOR): New variable
  64. definitions.
  65. * src/gpgsm.h: Fix syntax error.
  66. * src/table.c, src/table.h: Rewritten.
  67. * src/slots.c: Reorganized and rewritten to use the new table
  68. interface. Include gpgsm.h.
  69. * src/p11-signinit.c, src/p11-sign.c, src/p11-getslotlist.c,
  70. src/p11-getsessioninfo.c, src/p11-getmechanismlist.c,
  71. src/p11-getattributevalue.c, src/p11-findobjectsinit.c,
  72. src/p11-findobjectsfinal.c, src/p11-findobjects.c,
  73. src/p11-closesession.c: Adjust callers.
  74. 2006-10-26 Marcus Brinkmann <marcus@g10code.de>
  75. * src/settings.h: Require VERSION_MAJOR and VERSION_MINOR to be
  76. defined.
  77. * src/p11-getinfo.c (CRYPTOKI_VERSION_MAJOR,
  78. CRYPTOKI_VERSION_MINOR): Move macros to ...
  79. * src/cryptoki.h (CRYPTOKI_VERSION_MAJOR, CRYPTOKI_VERSION_MINOR):
  80. ... here
  81. * src/gpgsm.c (gpgsm_get_cert): Rename to ...
  82. (scute_gpgsm_get_cert): ... this.
  83. * src/gpgsm.h: New file.
  84. * src/Makefile.am (libscute_la_SOURCES): Add gpgsm.h.
  85. * src/slots.c (gpgsm_get_cert): Remove prototype.
  86. (slots_update_slot): Call scute_gpgsm_get_cert, not gpgsm_get_cert.
  87. * src/error-mapping.c (scute_gpg_err_to_ck): Map GPG_ERR_NO_AGENT
  88. to CKR_GENERAL_ERROR.
  89. * src/agent.h (struct agent_card_info_s): Remove member error.
  90. Prefix external functions with scute_ if not already done so, also
  91. for callers.
  92. * src/agent.c: Include <stdarg.h>. Replace one-letter variable
  93. names by proper ones. Replace assuan_error_t with gpg_error_t
  94. everywhere.
  95. (agent_connect, agent_simple_cmd, agent_configure): New functions.
  96. (scute_agent_initialize): Use these new functions.
  97. ing of common code. Lots of cleanups.
  98. (scute_agent_finalize): Clear agent_ctx. Add debug message.
  99. 2006-10-13 Werner Koch <wk@g10code.com>
  100. * src/cert-gpgsm.c (MAX_LINE_LEN): Increased.
  101. * src/locking.c: Include string.h for memset declaration.
  102. * configure.ac: New option --disable-optimization.
  103. 2006-08-02 Marcus Brinkmann <marcus@g10code.de>
  104. * Initial version.
  105. Copyright 2006 g10 Code GmbH
  106. This file is free software; as a special exception the author gives
  107. unlimited permission to copy and/or distribute it, with or without
  108. modifications, as long as this notice is preserved.
  109. This file is distributed in the hope that it will be useful, but
  110. WITHOUT ANY WARRANTY, to the extent permitted by law; without even the
  111. implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.