ChangeLog 21 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593
  1. 2010-04-21 Marcus Brinkmann <marcus@g10code.de>
  2. Release 1.4.0.
  3. * configure.ac (NEED_LIBASSUAN_VERSION): Bump to 2.0.0.
  4. (LIBSCUTE_LT_REVISION): Bump to 2.
  5. 2009-12-08 Marcus Brinkmann <marcus@g10code.de>
  6. * src/agent.c (agent_connect): Convert posix fd to assuan fd.
  7. * src/cert-gpgsm.c (export_cert_compat): Likewise.
  8. * src/Makefile.am (libgpg-error.a, libassuan.a): Force symlink.
  9. 2009-11-06 Marcus Brinkmann <marcus@g10code.de>
  10. * src/cert-gpgsm.c (export_cert_compat, export_cert)
  11. (scute_gpgsm_search_certs_by_grip)
  12. (scute_gpgsm_search_certs_by_fpr): Call assuan_pipe_connect
  13. instead of assuan_pipe_connect_ext.
  14. * src/agent.c (agent_connect): Update use of assuan_socket_connect
  15. and assuan_pipe_connect.
  16. 2009-10-16 Marcus Brinkmann <marcus@g10code.com>
  17. * src/p11-initialize.c (CK_DEFINE_FUNCTION): Fix code on
  18. non-Windows.
  19. 2009-10-08 Marcus Brinkmann <marcus@g10code.com>
  20. * src/p11-initialize.c (C_Initialize): Call WSAStartup.
  21. * src/p11-finalize.c (CK_DEFINE_FUNCTION): Call WSACleanup.
  22. 2009-10-06 Marcus Brinkmann <marcus@g10code.com>
  23. * src/pkcs11.h: Add support for GOST. By Andreas Jellinghaus.
  24. 2009-09-23 Marcus Brinkmann <marcus@g10code.de>
  25. * configure.ac (NEED_LIBASSUAN_VERSION): Update to 1.1.0.
  26. (_ASSUAN_ONLY_GPG_ERROR): Remove.
  27. * src/p11-initialize.c: Update to new Assuan interface.
  28. * src/debug.c (_scute_debug_init): Remove call to
  29. assuan_set_assuan_log_stream.
  30. * src/agent.c (agent_connect): Allocate assuan context before
  31. connecting to server. Release it on error.
  32. * src/cert-gpgsm.c (export_cert_compat, export_cert)
  33. (scute_gpgsm_search_certs_by_grip)
  34. (scute_gpgsm_search_certs_by_fpr): Likewise.
  35. 2009-07-22 Stef Walter <stef@memberwebs.com>
  36. * src/pkcs11.h: Make all constants UL that should be.
  37. 2009-06-19 Werner Koch <wk@g10code.com>
  38. Release 1.3.0.
  39. * src/settings.h (SLOT_FIRMWARE_VERSION_MAJOR)
  40. (SLOT_FIRMWARE_VERSION_MINOR, SLOT_HARDWARE_VERSION_MAJOR)
  41. (SLOT_HARDWARE_VERSION_MINOR): Remove.
  42. * src/p11-getslotinfo.c (CK_DEFINE_FUNCTION): Set firmware version
  43. to Scute version and agent version to hardware version.
  44. * src/agent.c (read_version_cb): New.
  45. (agent_configure): Call that.
  46. (agent_version_major, agent_version_minor): New.
  47. (scute_agent_get_agent_version): New.
  48. * src/agent.c (SIG_LEN_2): Fix stupid c+p bug.
  49. 2009-06-19 Marcus Brinkmann <marcus@g10code.de>
  50. * src/Makefile.am (scute_deps): Add libgpg-error.a, libassuan.a.
  51. (scute_libadd): New variable.
  52. (libgpg-error.a, libassuan.a, clean-local): New targets.
  53. (libscute_la_LIBADD): Add $(scute_libadd).
  54. 2009-06-19 Werner Koch <wk@g10code.com>
  55. * src/agent.c (geteventcounter_status_cb): New.
  56. (scute_agent_check_status): Check the eventcounter first.
  57. 2009-06-19 Marcus Brinkmann <marcus@g10code.de>
  58. * tests/t-getattribute.c (dump_object): Allow empty CKA_START_DATE
  59. and CKA_END_DATE.
  60. * src/cert-object.c (scute_attr_prv): Always set CKA_START_DATE
  61. and CKA_END_DATE.
  62. 2009-06-19 Werner Koch <wk@g10code.com>
  63. * src/agent.c (MAX_SIGNATURE_LEN): Increase size to cope with 2048
  64. bit RSA.
  65. (scute_agent_sign): Add a hack for 2048 bit RSA.
  66. * tests/t-auth.c (sign_with_object): Increase SIZE to 256.
  67. 2009-06-19 Marcus Brinkmann <marcus@g10code.de>
  68. * libtool.m4: Removed.
  69. * m4/libtool.m4, m4/ltoptions.m4, m4/ltsugar.m4, m4/ltversion.m4,
  70. m4/lt~obsolete.m4: New files from libtool 2.2.6.
  71. * configure.ac: Update to libtool 2.2.6.
  72. (lt_cv_deplibs_check_method): Slightly evil hack to get libtool to
  73. our thing.
  74. (AC_DISABLE_STATIC, AC_LIBTOOL_WIN32_DLL, AC_LIBTOOL_RC)
  75. (AC_PROG_LIBTOOL): Obsolete, replaced by ...
  76. (LT_PREREQ, LT_INIT, LT_LANG): ... these new macro invocations.
  77. * src/Makefile.am: Remove a bunch of rules for shared library.
  78. (RCCOMPILE): New.
  79. (LTRCCOMPILE): Use it here.
  80. (.rc.lo): Add quoting.
  81. 2009-06-19 Werner Koch <wk@g10code.com>
  82. * src/estream-printf.c, src/estream-printf.h: New.
  83. * src/Makefile.am (sources): Add them.
  84. * Makefile.am (SUBDIRS): Add m4/.
  85. * m4/Makefile.am: New.
  86. * m4/estream.m4: New.
  87. * configure.ac (AC_REPLACE_FUNCS): Remove.
  88. (estream_PRINTF_INIT): Add.
  89. (AH_BOTTOM): Prefix estream fucntions.
  90. (AC_FUNC_REALLOC) Remove because it uses AC_LIBOBJ which as
  91. problems with the current libtool. The GNU guarantees for realloc
  92. don't seem to be needed.
  93. * src/realloc.c: Remove
  94. * src/vasprintf.c, src/stpcpy.c, src/stpcpy.h: Remove.
  95. * src/support.h: Do not include stpcpy.h but define it inline.
  96. Include estream-printf.h.
  97. (vasprintf, asprintf, snprintf): Redefine to estream functions
  98. * src/agent.c (scute_agent_sign): s/sprintf/vsnprintf/.
  99. 2009-06-18 Werner Koch <wk@g10code.com>
  100. * src/slots.c (slot_token_manufacturer): Update list.
  101. 2009-04-23 Werner Koch <wk@g10code.com>
  102. * src/error-mapping.c (scute_gpg_err_to_ck): Add mappings to
  103. CKR_PIN_INCORRECT and CKR_PIN_LOCKED.
  104. 2008-12-03 Marcus Brinkmann <marcus@g10code.de>
  105. * configure.ac: Enable AC_CONFIGU_MACRO_DIR.
  106. * m4/ltsugar.m4, m4/libtool.m4, m4/ltversion.m4,
  107. m4/lt~obsolete.m4, m4/ltoptions.m4: New files.
  108. * config.guess, config.sub, ltmain.sh, configure.ac: Updated.
  109. 2008-10-29 Marcus Brinkmann <marcus@g10code.de>
  110. * configure.ac (_ASSUAN_ONLY_GPG_ERRORS): Define it.
  111. * src/agent.c (default_inq_cb): Change return type to gpg_error_t
  112. to silence gcc -W warning.
  113. * src/cert-gpgsm.c (search_certs, export_cert_cb): Change type of
  114. argument to silence gcc -W warning.
  115. * src/p11-findobjects.c (CK_DEFINE_FUNCTION): Add explicit cast to
  116. silence gcc -W warning.
  117. * src/table.c (struct scute_table): Change signedness of
  118. FIRST_FREE and LAST_USED members to silence gcc -W warning.
  119. (scute_table_alloc): Change signedness of IDX for the same reason.
  120. * tests/t-getslotinfo.c, tests/t-getsessioninfo.c,
  121. tests/t-getmechanismlist.c, tests/t-auth.c,
  122. tests/t-getattribute.c, tests/t-opensession.c,
  123. tests/t-getslotlist.c, tests/t-getmechanisminfo.c,
  124. tests/t-support.h, tests/t-closeallsessions.c,
  125. tests/t-findobjects.c, tests/t-gettokeninfo.c: Change signedness
  126. of some variables to silence gcc -W warnings.
  127. 2008-10-21 Marcus Brinkmann <marcus@g10code.com>
  128. * src/slots.c (slots_update_slot): Ignore card errors.
  129. 2008-10-01 Marcus Brinkmann <marcus@g10code.com>
  130. * src/agent.c (agent_connect): Set assuan log stream.
  131. * src/p11-initialize.c: Include "debug.h".
  132. (C_Initialize): Call _scute_debug_init.
  133. * src/Makefile.am (sources): Add debug.c.
  134. * src/debug.c: New file.
  135. * src/debug.h: Rewritten.
  136. * src/agent.c, src/cert-gpgsm.c, src/cert-object.c,
  137. src/slots.c, src/error-mapping.c: More or improved or
  138. adjusted debug output.
  139. 2008-09-30 Marcus Brinkmann <marcus@g10code.com>
  140. * src/cert-object.c [!CERT_PARSING]: Disable some certificate
  141. parsing code. Unfortunately, we can't get rid of all of it for
  142. now.
  143. 2008-09-30 Marcus Brinkmann <marcus@g10code.com>
  144. * src/get-path.c (find_program_in_inst_dir): New function.
  145. (get_gpgsm_path, get_gpg_agent_path): Use it to check in install dir.
  146. 2008-09-30 Werner Koch <wk@g10code.de>
  147. * src/Makefile.am (scute_DEPENDENCIES): Use .libs/versioninfo.o
  148. * AUTHORS (License): New.
  149. * Makefile.am (AUTOMAKE_OPTIONS): Do not distribute a gzip tarball.
  150. (EXTRA_DIST): Distibute autogen.sh and README.SVN.
  151. * README.CVS: Replace by README.SVN.
  152. * configure.ac: Update bug address and some comments.
  153. * autogen.sh: Update.
  154. 2008-09-29 Marcus Brinkmann <marcus@g10code.com>
  155. * src/gpgsm.c (struct search): New member WITH_CHAIN.
  156. (search_cb): Only load chain if WITH_CHAIN is true.
  157. (scute_gpgsm_get_cert): Call search_cb in the agent code path.
  158. 2008-09-29 Marcus Brinkmann <marcus@g10code.com>
  159. * src/slots.c (MIN): Remove macro.
  160. (slot_token_maxpinlen, slot_token_pincount): Do not consider
  161. second pincount, which meaning depends on the card version.
  162. 2008-09-26 Marcus Brinkmann <marcus@g10code.de>
  163. * src/agent.c: Include "cert.h".
  164. (GET_CERT_INIT_SIZE): New symbol.
  165. (struct get_cert_s): New struct.
  166. (get_cert_data_cb, scute_agent_get_cert): New functions.
  167. * src/gpgsm.c: Include "agent.h".
  168. (scute_gpgsm_get_cert): Take extra argument NO. Use it to get the
  169. certificate directly from the card, if possible.
  170. * src/gpgsm.h (scute_gpgsm_get_cert): Add extra argument NO to
  171. prototype.
  172. * src/slots.c (slot_init): Pass extra argument to
  173. scute_gpgsm_get_cert invocation.
  174. * src/cert-object.c (scute_attr_prv, scute_attr_cert): Don't use
  175. the fpr, timestamp and expire field of a certificate for now.
  176. 2008-09-23 Marcus Brinkmann <marcus@g10code.de>
  177. * src/agent.c (GET_CERT_INIT_SIZE): New symbol.
  178. (struct get_cert_s): New struct.
  179. (get_cert_data_cb, scute_agent_get_cert): New functions.
  180. 2008-09-03 Marcus Brinkmann <marcus@g10code.com>
  181. * src/Makefile.am (.rc.o): New rule.
  182. * src/Makefile.am (EXTRA_DIST): Add stpcpy.h.
  183. 2008-09-02 Marcus Brinkmann <marcus@g10code.com>
  184. * configure.ac: Post-release cleanup.
  185. * doc/website/download.xhtml: Update.
  186. 2008-09-02 Marcus Brinkmann <marcus@g10code.com>
  187. * Released version 1.2.0.
  188. * doc/manual/Makefile.am (CLEANFILES): Add $(images_eps).
  189. (images_eps): New variable.
  190. (scute.dvi): Depend on $(images_eps) instead of $(images_pdf).
  191. 2008-08-23 Marcus Brinkmann <marcus@g10code.com>
  192. * src/Makefile.am [HAVE_W32_SYSTEM]: Build autonomous DLL.
  193. 2008-08-23 Marcus Brinkmann <marcus@g10code.com>
  194. * src/agent.c (gnupg_allow_set_foregound_window)
  195. [!HAVE_W32_SYSTEM]: Define it.
  196. 2008-08-23 Marcus Brinkmann <marcus@g10code.com>
  197. * src/Makefile.am [HAVE_W32_SYSTEM]: Build autonomous DLL.
  198. * src/dllmain.c (DllMain): New file.
  199. * src/cert-gpgsm.c: Include "debug.h". Use
  200. assuan_pipe_connect_ext instead of assuan_pipe_connect everywhere.
  201. * src/agent.c (WINVER) [HAVE_W32_SYSTEM]: Define symbol.
  202. [HAVE_W32_SYSTEM]: Include <windows.h>. Do this before including
  203. <assuan.h>.
  204. (gnupg_allow_set_foregound_window): New function.
  205. (agent_connect): Use Sleep() instead of _sleep().
  206. (default_inq_cb): New function, and use it in all transactions.
  207. (agent_configure): Don't bail out if ttytname is not defined. Set
  208. allow-pinentry-notify.
  209. * tests/t-support.h [_WIN32]: Include <windows.h>.
  210. (init_cryptoki) [_WIN32]: Call WSAStartup.
  211. 2008-08-21 Marcus Brinkmann <marcus@g10code.com>
  212. * src/scute.def: Start at @1 instead of @0.
  213. 2008-08-21 Marcus Brinkmann <marcus@g10code.com>
  214. * src/agent.c (agent_configure): Fix cut and paste error.
  215. 2008-08-11 Marcus Brinkmann <marcus@g10code.com>
  216. * src/agent.c (spawn_process_detachted) [! HAVE_W32_SYSTEM]: Remove.
  217. (agent_configure): Ignore error with old versions of gpg-agent.
  218. 2008-08-08 Marcus Brinkmann <marcus@g10code.de>
  219. * configure.ac: Update svn macros.
  220. (BUILD_REVISION, BUILD_FILEVERSION, BUILD_TIMESTAMP): New.
  221. (AC_CONFIG_OUTPUT): Add src/versioninfo.rc.
  222. (GPG_AGENT_DEFAULT, GPG_AGENT): New.
  223. (AC_REPLACE_FUNCS): Add vasprintf and stpcpy.
  224. (AC_CHECK_FUNCS): Add ttyname, localtime_r and timegm.
  225. * src/stpcpy.h, src/stpcpy.c, src/realloc.c: New file from gnulib.
  226. * src/vasprintf.c: New file from libiberty.
  227. * src/support.h [!HAVE_STPCPY]: Include "stpcpy.h".
  228. [!HAVE_TTYNAME]: Define simple replacement function.
  229. (get_gpgsm_path, get_gpg_agent_path)
  230. (default_homedir, make_filename): New prototypes.
  231. * src/Makefile.am: Add W32 support.
  232. (libscute_la_SOURCES): Add get-path.c.
  233. (EXTRA_DIST): Add versioninfo.rc.in.
  234. * src/versioninfo.rc.in: New file.
  235. * src/get-path.c: New file.
  236. * src/agent.c (PATHSEP_C): New macro.
  237. (build_w32_commandline_copy)
  238. (build_w32_commandline) [HAVE_W32_SYSTEM]: New functions.
  239. (spawn_process_deatched): New function.
  240. (agent_connect): Start gpg-agent if it is not running yet.
  241. (agent_configure): Also pass xauthority and pinentry-user-data.
  242. * src/cert-gpgsm.c (COMPAT_FALLBACK) [!HAVE_W32_SYSTEM]: New
  243. macro.
  244. (export_cert_compat) [!COMPAT_FALLBACK]: Remove.
  245. (export_cert) [!COMPAT_FALLBACK]: Don't call export_cert_compat.
  246. Don't create (unused) output pipe cruft.
  247. * src/cert-object.c (time_to_ck_date) [!HAVE_LOCALTIME_R]: Fall
  248. back to localtime.
  249. * tests/t-getslotinfo.c (main) [WIN32]: Call _sleep instead sleep.
  250. * src/cryptoki.h (CRYPTOKI_EXPORTS): Define symbol.
  251. * src/error-mapping.h: Do not include <error.h>.
  252. (scute_sys_to_ck): Change type of ERR to int.
  253. * src/error-mapping.c: Do not include <error.h>.
  254. (scute_sys_to_ck): Change type of ERR to int.
  255. * src/slots.c (slot_create_session): Change type of ERR to int.
  256. 2007-05-03 Marcus Brinkmann <marcus@g10code.de>
  257. Released version 1.1.0.
  258. * doc/manual/Makefile.am (images_pdf, CLEANFILES): New variables.
  259. (scute.dvi, scute.pdf): New dependencies.
  260. (%.eps, %.pdf): New rules.
  261. * configure.ac: Check for convert and epstopdf.
  262. * doc/manual/scute.texi (Authentication With Service): Avoid
  263. @indicateurl in TeX output, as this seems to be broken (in
  264. texi2dvi 1.34).
  265. * doc/manual/Makefile.am (images, EXTRA_DIST): New variables.
  266. 2007-04-30 Marcus Brinkmann <marcus@g10code.de>
  267. * src/agent.h (scute_agent_is_trusted): New prototype. Include
  268. <stdbool.h>.
  269. * src/agent.c (scute_agent_is_trusted): New implementation.
  270. * src/cert.h (struct cert): New member IS_TRUSTED.
  271. * src/cert-gpgsm.c (export_cert): Set CERT->is_trusted.
  272. * src/cert-object.c (scute_attr_cert): Set CKA_TRUSTED to
  273. CERT->is_trusted.
  274. * tests/t-getattribute.c: Support new option '--printable'.
  275. * src/table.c (scute_table_dealloc): Return, but not a value.
  276. 2007-02-09 Marcus Brinkmann <marcus@g10code.de>
  277. * src/pkcs11.h: Add definitions for SHA.
  278. 2006-12-17 Marcus Brinkmann <marcus@g10code.de>
  279. * src/pkcs11.h: Minor cosmetic changes. Require CRYPTOKI_GNU now
  280. to switch on the GNU API, and do not check what CRYPTOKI_COMPAT is
  281. defined to, just if it is defined at all.
  282. * src/pkcs11.h [__WIN32]: Changed to [_WIN32 ||
  283. CRYPTOKI_FORCE_WIN32] at the end.
  284. Submitted by Alon Bar-Lev.
  285. 2006-12-11 Marcus Brinkmann <marcus@g10code.de>
  286. * src/pkcs11.h (CKO_VENDOR_DEFINED): Fixed syntax error.
  287. 2006-12-10 Marcus Brinkmann <marcus@g10code.de>
  288. * configure.ac (NEED_GPG_ERROR_VERSION): Bump to 1.4.
  289. * src/pkcs11.h [CRYPTOKI_COMPAT]: Rewrote the compatibility layer.
  290. 2006-12-09 Marcus Brinkmann <marcus@g10code.de>
  291. * src/pkcs11.h [__cplusplus]: Protect with extern "C".
  292. Do not use the C++ keyword "template" in parameter lists.
  293. Submitted by Alon Bar-Lev.
  294. * src/pkcs11.h [__WIN32]: Changed to [_WIN32 ||
  295. CRYPTOKI_FORCE_WIN32].
  296. (ck_rv_t): Changed to unsigned long.
  297. (CRYPTOKI_VERSION_MAJOR, CRYPTOKI_VERSION_MINOR,
  298. CRYPTOKI_VERSION_REVISION): New macros.
  299. (CKO_VENDOR_DEFINED, CKH_VENDOR_DEFINED, CKK_VENDOR_DEFINED,
  300. CKC_VENDOR_DEFINED, CKA_VENDOR_DEFINED, CKM_VENDOR_DEFINED,
  301. CKF_EXTENSION, CKR_VENDOR_DEFINED): Add cast to suppress compiler
  302. warning.
  303. Submitted by Alon Bar-Lev.
  304. * src/cryptoki.h (CRYPTOKI_VERSION_MAJOR, CRYPTOKI_VERSION_MINOR):
  305. Removed.
  306. 2006-11-30 Marcus Brinkmann <marcus@g10code.de>
  307. * m4/autobuild.m4: New file.
  308. * configure.ac: Invoke AB_INIT.
  309. 2006-11-29 Marcus Brinkmann <marcus@g10code.de>
  310. * configure.ac (CFLAGS): Remove variable.
  311. 2006-11-27 Marcus Brinkmann <marcus@g10code.de>
  312. * src/pkcs11.h: Add more definitions provided by Andreas Jellinghaus.
  313. * README (Copyright and License): Update copyright notice. Also
  314. for all other files.
  315. * AUTHORS (Maintainer): Removed RSA Security Inc.
  316. * include/pkcs11t.h, include/pkcs11f.h, include/pkcs11.h,
  317. include/disclaimer.txt, include/cryptoki-w32.h,
  318. include/cryptoki-generic.h, include/README, include/Makefile.am:
  319. Files removed.
  320. * configure.ac (AC_CONFIG_FILES): Removed include/Makefile.
  321. * Makefile.am (SUBDIRS): Removed include directory.
  322. 2006-11-24 Marcus Brinkmann <marcus@g10code.de>
  323. * src/pkcs11.h: New file.
  324. * src/Makefile.am (libscute_la_SOURCES): Add pkcs11.h.
  325. * src/cryptoki.h: Include "pkcs11.h" instead of original PKCS #11
  326. header file.
  327. * tests/t-support.h (mechanism_type_str): Remove most mechanisms.
  328. 2006-11-23 Marcus Brinkmann <marcus@g10code.de>
  329. * src/cert-gpgsm.c (search_certs_line): Don't overwrite CERT->uid.
  330. 2006-11-21 Marcus Brinkmann <marcus@g10code.de>
  331. * src/cert-gpgsm.c (search_certs_line): Fix off-by-one error.
  332. (export_cert_cb): Fix bug if EXP->buffer_size is 0.
  333. * src/cert-gpgsm.c (cert_reset): Free CERT->cert_der if set.
  334. (export_cert): Reimplement using data channel.
  335. (export_cert_compat): This contains the old version for
  336. compatibility.
  337. * src/cert.h (MAX_CERT_SIZE): Macro removed.
  338. (struct cert): Changed member CERT_DER into a pointer.
  339. * configure.ac (AC_CONFIG_FILES): Add doc/manual/Makefile.
  340. * doc/Makefile.am (SUBDIRS): New variable.
  341. * doc/manual/Makefile, doc/manual/scute.texi, doc/manual/gpl.texi,
  342. doc/manual/mdate-sh, doc/manual/texinfo.tex,
  343. doc/manual/firefox-cm.png, doc/manual/firefox-cm-view-detail.png,
  344. doc/manual/firefox-cm-view.png,
  345. doc/manual/firefox-dm-load-after.png,
  346. doc/manual/firefox-dm-load-before.png,
  347. doc/manual/firefox-dm-load.png,
  348. doc/manual/firefox-dm-token-present.png,
  349. doc/manual/firefox-pref.png, doc/manual/firefox-pref-view.png: New
  350. files.
  351. 2006-11-11 Marcus Brinkmann <marcus@g10code.de>
  352. * Released version 1.0.0.
  353. 2006-11-11 Marcus Brinkmann <marcus@g10code.de>
  354. * src/error-mapping.c (scute_gpg_err_to_ck): Report error on debug
  355. stream.
  356. * src/slots.c (add_object): New function.
  357. (slot_init): Rewritten using add_object.
  358. * src/gpgsm.c: Include "gpgsm.h".
  359. (struct search): Replace members ATTRP, ATTR_COUNTP, PRV_ATTRP,
  360. PRV_ATTR_COUNTP by CERT_GET_CB, HOOK.
  361. (search_cb): Rewritten to add all certificates for a certain key
  362. (scute_gpgsm_get_cert): Take a callback function instead of
  363. attribute pointers.
  364. * gpgsm.h (scute_gpgsm_get_cert): Adjust prototype.
  365. and also the certificate chain.
  366. * src/cert.h (scute_gpgsm_search_certs_by_fpr): New prototype.
  367. (struct cert): New member chain_id.
  368. * src/cert-gpgsm.c (struct search_ctx_by_grip): Rename to ...
  369. (struct search_ctx): ... this. Rename field GRIP to PATTERN, and
  370. add new field FIELD.
  371. (search_certs_by_grip): Rename function to ...
  372. (search_certs): ... this.
  373. (scute_gpgsm_search_certs_by_fpr): Change user of the above.
  374. (scute_gpgsm_search_certs_by_fpr): New function.
  375. (search_certs_line): Store chain ID.
  376. 2006-11-07 Marcus Brinkmann <marcus@g10code.de>
  377. * src/p11-gettokeninfo.c (C_GetTokenInfo): Fix assignment.
  378. 2006-11-06 Marcus Brinkmann <marcus@g10code.de>
  379. * doc/website/format/web.css: Set margin to 0.
  380. * configure.ac (AC_CONFIG_FILES): Add doc/Makefile.
  381. Makefile.am (SUBDIRS): Add doc/.
  382. doc/, doc/website/, doc/website/format: New directories.
  383. doc/Makefile.am, doc/website/index.xhtml,
  384. doc/website/documentation.xhtml, doc/website/download.xhtml,
  385. doc/website/contact.xhtml, doc/website/format/web.css,
  386. doc/website/format/scute-logo.svg,
  387. doc/website/format/scute-border.jpg: New files.
  388. 2006-10-30 Marcus Brinkmann <marcus@g10code.de>
  389. * configure.ac (PACKAGE, VERSION): Define these variables.
  390. * src/Makefile.am (libscute_la_CPPFLAGS): Fix include path for
  391. VPATH builds.
  392. * configure.ac (VERSION_MAJOR, VERSION_MINOR): New variable
  393. definitions.
  394. * src/gpgsm.h: Fix syntax error.
  395. * src/table.c, src/table.h: Rewritten.
  396. * src/slots.c: Reorganized and rewritten to use the new table
  397. interface. Include gpgsm.h.
  398. * src/p11-signinit.c, src/p11-sign.c, src/p11-getslotlist.c,
  399. src/p11-getsessioninfo.c, src/p11-getmechanismlist.c,
  400. src/p11-getattributevalue.c, src/p11-findobjectsinit.c,
  401. src/p11-findobjectsfinal.c, src/p11-findobjects.c,
  402. src/p11-closesession.c: Adjust callers.
  403. 2006-10-26 Marcus Brinkmann <marcus@g10code.de>
  404. * src/settings.h: Require VERSION_MAJOR and VERSION_MINOR to be
  405. defined.
  406. * src/p11-getinfo.c (CRYPTOKI_VERSION_MAJOR,
  407. CRYPTOKI_VERSION_MINOR): Move macros to ...
  408. * src/cryptoki.h (CRYPTOKI_VERSION_MAJOR, CRYPTOKI_VERSION_MINOR):
  409. ... here
  410. * src/gpgsm.c (gpgsm_get_cert): Rename to ...
  411. (scute_gpgsm_get_cert): ... this.
  412. * src/gpgsm.h: New file.
  413. * src/Makefile.am (libscute_la_SOURCES): Add gpgsm.h.
  414. * src/slots.c (gpgsm_get_cert): Remove prototype.
  415. (slots_update_slot): Call scute_gpgsm_get_cert, not gpgsm_get_cert.
  416. * src/error-mapping.c (scute_gpg_err_to_ck): Map GPG_ERR_NO_AGENT
  417. to CKR_GENERAL_ERROR.
  418. * src/agent.h (struct agent_card_info_s): Remove member error.
  419. Prefix external functions with scute_ if not already done so, also
  420. for callers.
  421. * src/agent.c: Include <stdarg.h>. Replace one-letter variable
  422. names by proper ones. Replace assuan_error_t with gpg_error_t
  423. everywhere.
  424. (agent_connect, agent_simple_cmd, agent_configure): New functions.
  425. (scute_agent_initialize): Use these new functions.
  426. ing of common code. Lots of cleanups.
  427. (scute_agent_finalize): Clear agent_ctx. Add debug message.
  428. 2006-10-13 Werner Koch <wk@g10code.com>
  429. * src/cert-gpgsm.c (MAX_LINE_LEN): Increased.
  430. * src/locking.c: Include string.h for memset declaration.
  431. * configure.ac: New option --disable-optimization.
  432. 2006-08-02 Marcus Brinkmann <marcus@g10code.de>
  433. * Initial version.
  434. Copyright 2006, 2007, 2008 g10 Code GmbH
  435. This file is free software; as a special exception the author gives
  436. unlimited permission to copy and/or distribute it, with or without
  437. modifications, as long as this notice is preserved.
  438. This file is distributed in the hope that it will be useful, but
  439. WITHOUT ANY WARRANTY, to the extent permitted by law; without even the
  440. implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.