Debian Codegraph @

src/scd/ChangeLog

raw
1 2009-08-08 Moritz <[email protected]>
2
3 * scd.h (scd_connect): Declared new parameter: scd_options.
4 * scd.c (scd_connect): Enlarge argv and fill it with options
5 related arguments.
6
7 2009-05-16 Moritz <[email protected]>
8
9 * scd.h (struct scd_cardinfo): New member: disp_lang.
10 * scd.c (learn_status_cb): Handle DISP-LANG.
11
12 2008-08-08 Moritz <[email protected]>
13
14 * scd.c (scd_serialno): Removed debugging message.
15
16 2008-08-07 Moritz <[email protected]>
17
18 * scd.c (scd_reset): Removed
19 (restart_scd): New static function.
20 (scd_disconnect): Call restart_scd -- it seems, GnuPG does also
21 send a RESTART command after card access.
22 * scd.h: Adjust declaration.
23 Include "util/simplelog.h", instead of <util/simplelog.h>.
24 Do not include "assuan.h".
25
26 2008-08-04 Moritz <[email protected]>
27
28 * scd.c: Mark strings for i18n.
29
30 2008-08-03 Moritz <[email protected]>
31
32 * scd.c (scd_pksign): Remove getpin parameter from scd_pksign.
33 (inq_needpin): Return error code in case no pincb has been
34 installed in ctx.
35 (agent_connect_from_infostr): Don't forget to do error checking
36 after call to xtrystrdup.
37 (scd_connect): Disable code for system daemon for now.
38
39 * scd.c (scd_set_pincb): New function.
40
41 * scd.h (scd_pincb_t): New type; declare scd_set_pincb.
42 Remove getpin argument from scd_pksign.
43
44 * scd.c: Do not include i18n.h.
45 (scd_disconnect): Declare void.
46 Change return type of most functions from int to gpg_error_t.
47
48 2008-07-20 Moritz <[email protected]>
49
50 * scd.c: Include simplelog.h and poldi.h.
51 (struct scd_context): New member: loghandle.
52 Use xtrystrdup instead of strdup.
53 Use xtrymalloc instead of malloc.
54 Use xfree instead of free.
55 Use log_msg_* functions.
56 Pass loghandle to several functions.
57 (struct inq_needpin_s): Replace assuan_ctx_t ctx member with
58 scd_context_t ctx. Adjusted callers.
59
60 * scd.h: Include simplelog.h and poldi.h; adjusted for new
61 scd_connect API.
62
63 * scd.c (get_serialno_cb): Do not call out_of_core(); just return
64 errno on oom.
65
66 2008-06-14 Moritz <[email protected]>
67
68 * scd.c (agent_connect_from_infostr): Use xtrystrdup/xfree instead
69 strdup/free.
70
71 2008-05-24 Moritz <[email protected]>
72
73 * scd.c (scd_connect): Slightly rewritten; now allows for
74 connecting to specified scdaemon socket directly.
75 * scd.h (scd_connect): New parameter: scdaemon_socket.
76
77 2008-05-01 Moritz <[email protected]>
78
79 * Makefile.am: Build a shared and a nonshared version.
80
81 2008-04-05 Moritz <[email protected]>
82
83 * scd.c: Include "util/support.h".
84 (scd_pksign): Use bin2hex.
85 (scd_pksign): Removed unused code.
86
87 2008-04-05 Moritz <[email protected]>
88
89 * scd.c, scd.h: Minor changes/cleanup.
90
91 * poldi-scd.c, poldi-scd.h: Removed.
92
93 2007-12-15 Moritz Schulte <[email protected]>
94
95 * scd.c (scd_release_cardinfo): Don't forget to release
96 PUBKEY_URL.
97 (inq_needpin): Use xtrymalloc_secure instead of gcry_malloc_secure
98 directly (it's more consistent this way, I think).
99 Removed disabled getattr related code.
100 (agent_connect_from_infostr): Use strdup/free instead of
101 xstrdup/xfree.
102
103 2007-11-10 Moritz <[email protected]>
104
105 * scd.c (learn_status_cb): Handle PUBKEY_URL.
106
107 2007-10-27 Moritz <[email protected]>
108
109 * poldi-scd.c, poldi-scd.h: New files. Layer on top of scd.c.
110 * Makefile.am (libscd_a_SOURCES): Added poldi-scd.c, poldi-scd.h.
111
112 2007-08-16 Moritz <[email protected]>
113
114 * scd.c (scd_serialno_internal): New function, it's basically the
115 old scd_serialno() with a new parameter.
116 (scd_serialno): Ripped; simply call scd_serialno_internal().
117 (get_scd_socket_from_agent): Call scd_serialno_internal in order
118 to select the OpenPGP app on the card.
119 Comments.
120 (scd_reset): Unused variable.
121 (scd_readkey): Likewise; initialize *KEY to NULL.
122 * scd.h: Comments.
123
124 2007-08-16 Moritz <[email protected]>
125
126 * scd.c (agent_connect_from_infostr): New function.
127 (agent_scd_getinfo_socket_name): New function.
128 (scd_connect): Use above functions for connecting to the agent and
129 receiving scdaemons socket from the agent instead of connecting to
130 the agent directly.
131 (scd_serialno): Allow for R_SERIALNO being NULL so that the
132 serialno is NOT returned to the caller.
133
134 2007-08-16 Moritz <[email protected]>
135
136 * scd.c (scd_connect): Send a RESTART instead of a RESET command
137 to scdaemon.
138
139
140 2007-08-10 Moritz <moritz@euler>
141
142 * scd.c (scd_reset): New function.
143 * scd.h: Declare it.
144
145 2007-06-29 Moritz <[email protected]>
146
147 * README, scd.c, scd.h: New files.