ChangeLog 8.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232
  1. 2007-04-30 Marcus Brinkmann <marcus@g10code.de>
  2. * src/agent.h (scute_agent_is_trusted): New prototype. Include <stdbool.h>.
  3. * src/agent.c (scute_agent_is_trusted): New implementation.
  4. * src/cert.h (struct cert): New member IS_TRUSTED.
  5. * src/cert-gpgsm.c (export_cert): Set CERT->is_trusted.
  6. * src/cert-object.c (scute_attr_cert): Set CKA_TRUSTED to
  7. CERT->is_trusted.
  8. * tests/t-getattribute.c: Support new option '--printable'.
  9. * src/table.c (scute_table_dealloc): Return, but not a value.
  10. 2007-02-09 Marcus Brinkmann <marcus@g10code.de>
  11. * src/pkcs11.h: Add definitions for SHA.
  12. 2006-12-17 Marcus Brinkmann <marcus@g10code.de>
  13. * src/pkcs11.h: Minor cosmetic changes. Require CRYPTOKI_GNU now
  14. to switch on the GNU API, and do not check what CRYPTOKI_COMPAT is
  15. defined to, just if it is defined at all.
  16. * src/pkcs11.h [__WIN32]: Changed to [_WIN32 ||
  17. CRYPTOKI_FORCE_WIN32] at the end.
  18. Submitted by Alon Bar-Lev.
  19. 2006-12-11 Marcus Brinkmann <marcus@g10code.de>
  20. * src/pkcs11.h (CKO_VENDOR_DEFINED): Fixed syntax error.
  21. 2006-12-10 Marcus Brinkmann <marcus@g10code.de>
  22. * configure.ac (NEED_GPG_ERROR_VERSION): Bump to 1.4.
  23. * src/pkcs11.h [CRYPTOKI_COMPAT]: Rewrote the compatibility layer.
  24. 2006-12-09 Marcus Brinkmann <marcus@g10code.de>
  25. * src/pkcs11.h [__cplusplus]: Protect with extern "C".
  26. Do not use the C++ keyword "template" in parameter lists.
  27. Submitted by Alon Bar-Lev.
  28. * src/pkcs11.h [__WIN32]: Changed to [_WIN32 ||
  29. CRYPTOKI_FORCE_WIN32].
  30. (ck_rv_t): Changed to unsigned long.
  31. (CRYPTOKI_VERSION_MAJOR, CRYPTOKI_VERSION_MINOR,
  32. CRYPTOKI_VERSION_REVISION): New macros.
  33. (CKO_VENDOR_DEFINED, CKH_VENDOR_DEFINED, CKK_VENDOR_DEFINED,
  34. CKC_VENDOR_DEFINED, CKA_VENDOR_DEFINED, CKM_VENDOR_DEFINED,
  35. CKF_EXTENSION, CKR_VENDOR_DEFINED): Add cast to suppress compiler
  36. warning.
  37. Submitted by Alon Bar-Lev.
  38. * src/cryptoki.h (CRYPTOKI_VERSION_MAJOR, CRYPTOKI_VERSION_MINOR):
  39. Removed.
  40. 2006-11-30 Marcus Brinkmann <marcus@g10code.de>
  41. * m4/autobuild.m4: New file.
  42. * configure.ac: Invoke AB_INIT.
  43. 2006-11-29 Marcus Brinkmann <marcus@g10code.de>
  44. * configure.ac (CFLAGS): Remove variable.
  45. 2006-11-27 Marcus Brinkmann <marcus@g10code.de>
  46. * src/pkcs11.h: Add more definitions provided by Andreas Jellinghaus.
  47. * README (Copyright and License): Update copyright notice. Also
  48. for all other files.
  49. * AUTHORS (Maintainer): Removed RSA Security Inc.
  50. * include/pkcs11t.h, include/pkcs11f.h, include/pkcs11.h,
  51. include/disclaimer.txt, include/cryptoki-w32.h,
  52. include/cryptoki-generic.h, include/README, include/Makefile.am:
  53. Files removed.
  54. * configure.ac (AC_CONFIG_FILES): Removed include/Makefile.
  55. * Makefile.am (SUBDIRS): Removed include directory.
  56. 2006-11-24 Marcus Brinkmann <marcus@g10code.de>
  57. * src/pkcs11.h: New file.
  58. * src/Makefile.am (libscute_la_SOURCES): Add pkcs11.h.
  59. * src/cryptoki.h: Include "pkcs11.h" instead of original PKCS #11
  60. header file.
  61. * tests/t-support.h (mechanism_type_str): Remove most mechanisms.
  62. 2006-11-23 Marcus Brinkmann <marcus@g10code.de>
  63. * src/cert-gpgsm.c (search_certs_line): Don't overwrite CERT->uid.
  64. 2006-11-21 Marcus Brinkmann <marcus@g10code.de>
  65. * src/cert-gpgsm.c (search_certs_line): Fix off-by-one error.
  66. (export_cert_cb): Fix bug if EXP->buffer_size is 0.
  67. * src/cert-gpgsm.c (cert_reset): Free CERT->cert_der if set.
  68. (export_cert): Reimplement using data channel.
  69. (export_cert_compat): This contains the old version for
  70. compatibility.
  71. * src/cert.h (MAX_CERT_SIZE): Macro removed.
  72. (struct cert): Changed member CERT_DER into a pointer.
  73. * configure.ac (AC_CONFIG_FILES): Add doc/manual/Makefile.
  74. * doc/Makefile.am (SUBDIRS): New variable.
  75. * doc/manual/Makefile, doc/manual/scute.texi, doc/manual/gpl.texi,
  76. doc/manual/mdate-sh, doc/manual/texinfo.tex,
  77. doc/manual/firefox-cm.png, doc/manual/firefox-cm-view-detail.png,
  78. doc/manual/firefox-cm-view.png,
  79. doc/manual/firefox-dm-load-after.png,
  80. doc/manual/firefox-dm-load-before.png,
  81. doc/manual/firefox-dm-load.png,
  82. doc/manual/firefox-dm-token-present.png,
  83. doc/manual/firefox-pref.png, doc/manual/firefox-pref-view.png: New
  84. files.
  85. 2006-11-11 Marcus Brinkmann <marcus@g10code.de>
  86. * Released version 1.0.0.
  87. 2006-11-11 Marcus Brinkmann <marcus@g10code.de>
  88. * src/error-mapping.c (scute_gpg_err_to_ck): Report error on debug
  89. stream.
  90. * src/slots.c (add_object): New function.
  91. (slot_init): Rewritten using add_object.
  92. * src/gpgsm.c: Include "gpgsm.h".
  93. (struct search): Replace members ATTRP, ATTR_COUNTP, PRV_ATTRP,
  94. PRV_ATTR_COUNTP by CERT_GET_CB, HOOK.
  95. (search_cb): Rewritten to add all certificates for a certain key
  96. (scute_gpgsm_get_cert): Take a callback function instead of
  97. attribute pointers.
  98. * gpgsm.h (scute_gpgsm_get_cert): Adjust prototype.
  99. and also the certificate chain.
  100. * src/cert.h (scute_gpgsm_search_certs_by_fpr): New prototype.
  101. (struct cert): New member chain_id.
  102. * src/cert-gpgsm.c (struct search_ctx_by_grip): Rename to ...
  103. (struct search_ctx): ... this. Rename field GRIP to PATTERN, and
  104. add new field FIELD.
  105. (search_certs_by_grip): Rename function to ...
  106. (search_certs): ... this.
  107. (scute_gpgsm_search_certs_by_fpr): Change user of the above.
  108. (scute_gpgsm_search_certs_by_fpr): New function.
  109. (search_certs_line): Store chain ID.
  110. 2006-11-07 Marcus Brinkmann <marcus@g10code.de>
  111. * src/p11-gettokeninfo.c (C_GetTokenInfo): Fix assignment.
  112. 2006-11-06 Marcus Brinkmann <marcus@g10code.de>
  113. * doc/website/format/web.css: Set margin to 0.
  114. * configure.ac (AC_CONFIG_FILES): Add doc/Makefile.
  115. Makefile.am (SUBDIRS): Add doc/.
  116. doc/, doc/website/, doc/website/format: New directories.
  117. doc/Makefile.am, doc/website/index.xhtml,
  118. doc/website/documentation.xhtml, doc/website/download.xhtml,
  119. doc/website/contact.xhtml, doc/website/format/web.css,
  120. doc/website/format/scute-logo.svg,
  121. doc/website/format/scute-border.jpg: New files.
  122. 2006-10-30 Marcus Brinkmann <marcus@g10code.de>
  123. * configure.ac (PACKAGE, VERSION): Define these variables.
  124. * src/Makefile.am (libscute_la_CPPFLAGS): Fix include path for
  125. VPATH builds.
  126. * configure.ac (VERSION_MAJOR, VERSION_MINOR): New variable
  127. definitions.
  128. * src/gpgsm.h: Fix syntax error.
  129. * src/table.c, src/table.h: Rewritten.
  130. * src/slots.c: Reorganized and rewritten to use the new table
  131. interface. Include gpgsm.h.
  132. * src/p11-signinit.c, src/p11-sign.c, src/p11-getslotlist.c,
  133. src/p11-getsessioninfo.c, src/p11-getmechanismlist.c,
  134. src/p11-getattributevalue.c, src/p11-findobjectsinit.c,
  135. src/p11-findobjectsfinal.c, src/p11-findobjects.c,
  136. src/p11-closesession.c: Adjust callers.
  137. 2006-10-26 Marcus Brinkmann <marcus@g10code.de>
  138. * src/settings.h: Require VERSION_MAJOR and VERSION_MINOR to be
  139. defined.
  140. * src/p11-getinfo.c (CRYPTOKI_VERSION_MAJOR,
  141. CRYPTOKI_VERSION_MINOR): Move macros to ...
  142. * src/cryptoki.h (CRYPTOKI_VERSION_MAJOR, CRYPTOKI_VERSION_MINOR):
  143. ... here
  144. * src/gpgsm.c (gpgsm_get_cert): Rename to ...
  145. (scute_gpgsm_get_cert): ... this.
  146. * src/gpgsm.h: New file.
  147. * src/Makefile.am (libscute_la_SOURCES): Add gpgsm.h.
  148. * src/slots.c (gpgsm_get_cert): Remove prototype.
  149. (slots_update_slot): Call scute_gpgsm_get_cert, not gpgsm_get_cert.
  150. * src/error-mapping.c (scute_gpg_err_to_ck): Map GPG_ERR_NO_AGENT
  151. to CKR_GENERAL_ERROR.
  152. * src/agent.h (struct agent_card_info_s): Remove member error.
  153. Prefix external functions with scute_ if not already done so, also
  154. for callers.
  155. * src/agent.c: Include <stdarg.h>. Replace one-letter variable
  156. names by proper ones. Replace assuan_error_t with gpg_error_t
  157. everywhere.
  158. (agent_connect, agent_simple_cmd, agent_configure): New functions.
  159. (scute_agent_initialize): Use these new functions.
  160. ing of common code. Lots of cleanups.
  161. (scute_agent_finalize): Clear agent_ctx. Add debug message.
  162. 2006-10-13 Werner Koch <wk@g10code.com>
  163. * src/cert-gpgsm.c (MAX_LINE_LEN): Increased.
  164. * src/locking.c: Include string.h for memset declaration.
  165. * configure.ac: New option --disable-optimization.
  166. 2006-08-02 Marcus Brinkmann <marcus@g10code.de>
  167. * Initial version.
  168. Copyright 2006 g10 Code GmbH
  169. This file is free software; as a special exception the author gives
  170. unlimited permission to copy and/or distribute it, with or without
  171. modifications, as long as this notice is preserved.
  172. This file is distributed in the hope that it will be useful, but
  173. WITHOUT ANY WARRANTY, to the extent permitted by law; without even the
  174. implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.