blob: b2e254024d4f7cc4fe7123723b8075dab278ecce (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
|
2002-08-20 Steffen Hansen <[email protected]>
* Use gpgme_op_import_ext() instead of gpgme_op_import(). We
should now be able to better check for the case when we have no
error, but still no certificate was imported.
2002-07-31 Steffen Hansen <[email protected]>
* Renamed importCertificate() to importCertificateWithFPR() and
implemented importCertificateFromMem().
2002-07-03 Werner Koch <[email protected]>
* gpgmeplug.c (nextCertificate): Actually free the entire array
and don't loop over tmp_dn and double free the first item.
Spotted by Bernhard Herzog.
2002-07-01 Werner Koch <[email protected]>
* gpgmeplug.c (findCertificates): Reintroduced a free which must
have been removed after my last fix. This avoids a memory leak
when a fingerprint was not found. Removed the double loop
increment in the code to release the arrays.
(make_fingerprint): Removed superfluous check on retrun value of
xmalloc.
(safe_free): Removed. Changed all callers to use a regular free
and at appropriate palces set the free pointer to NULL. That
safe_free stuff seems to have been copied verbatim from some
Mutt example code I posted.
(storeNewCharPtr): Use xmalloc instead of an unchecked
malloc. Removed superfluous string termination.
(parseAddress): Use xmalloc instead of an unchecked malloc.
(nextAddress): Ditto.
(xstrdup): Oops, obviously I calculated the length wrong when
coded this. Tsss, wrote xstrdup some hundreds times but missed it
this time. Thanks to Steffen Hansen for noticing it.
* gpgmeplug.c: Moved a few helper functions more to the top.
Fixed comment syntax. Merged a copyright notice somewhere in the
middle of the file with the one at the top.
2002-06-28 Werner Koch <[email protected]>
* gpgmeplug.c (xmalloc): New.
(safe_malloc): Removed this macro and replaced it at all places
without return values checks by xmalloc.
(xstrdup): New. Replaces funny named macro with different
semantics. Changed all callers to the new semantic.
(findCertificates): Don't free duplicate free the FPR array
values. Removed the unneeded initialization. Replaces the
gcc-ish use dynamic allocation of automatic variables by repalce
maxCerts with a macro MAXCERTS. Made some comments Real C (tm).
(startListCertificates): Removed uneeded cast from xmalloc.
2002-06-28 Bernhard Reiter <[email protected]>
* gpgmeplug.c: new macro days_to_seconds().
this also fixes the dividing factor.
(signatureCertificateDaysLeftToExpiry)
(preceiverCertificateDaysLeftToExpiry): using the new macro
(caCertificateDaysLeftToExpiry)
(rootCertificateDaysLeftToExpiry): using new macro in deactivated code.
2002-06-27 Steffen Hansen <[email protected]>
* gpgmeplug.c: Fixed pattern related bug.
* cryptplug.h, gpgmeplug.c: Handle truncated data from dirmngr.
2002-06-25 Steffen Hansen <[email protected]>
* cryptplug.h, gpgmeplug.c: New function importCertificate() for importing a
certificate from the temp. db to the real one given a fingerprint.
2002-06-20 Werner Koch <[email protected]>
* gpgmeplug.c (reorder_dn): Added missing stdpart list terminator.
2002-05-30 Steffen Hansen <[email protected]>
* cryptplug.h, gpgmeplug.c: Added certificate info listing functions.
Not yet complete.
Converted more C99 style comments to "classic" style.
2002-03-23 Werner Koch <[email protected]>
* gpgmeplug.c: Converted it to real C; i.e. use standard comments -
we are doing ISO C 90. Translated a few German remarks and
commented on some things.
2002-03-08 Steffen Hansen <[email protected]>
* A little better address-parsing. Not real rfc822 yet, but at
least it fetches the address between '<' and '>' now if they are
present.
2002-03-07 Steffen Hansen <[email protected]>
* gpgmeplug.c (encryptMessage): Made the function accept multiple
reciepients via addressee -- it is now parsed af a comma-separated
list.
2002-03-06 Werner Koch <[email protected]>
* gpgmeplug.c (signMessage): Fixed offbyone. Don't include the
EOS character into the signature.
(checkMessageSignature): Ditto.
2002-02-28 Kalle Dalheimer <[email protected]>
* gpgmeplug.c (signMessage): Implemented warning when signature
certificates are about to expire
(isEmailInCertificate): Added support for checking whether the
signer's email address is contained in his certificate.
* cryptplug.h: Implemented warning when signature
certificates are about to expire
2002-02-27 Marcus Brinkmann <[email protected]>
* gpgmeplug.c (signMessage): Fix code syntax.
2002-02-01 Marcus Brinkmann <[email protected]>
* Makefile.am (EXTRA_gpgme_openpgp_la_SOURCES): New variable.
(EXTRA_gpgme_smime_la_SOURCES): Likewise.
* gpgmeplug.c (passphrase_cb): Fix type of third argument.
2002-01-16 Marcus Brinkmann <[email protected]>
* gpgme-openpgp.c: New file.
* Makefile.am (gpgme_openpgp_la_SOURCES): Replace gpgmeplug.c with
gpgme-openpgp.c.
2002-01-15 Marcus Brinkmann <[email protected]>
* gpgmeplug.c: Renamed to ...
* gpgme-openpgp.c: ... this. New file.
* gpgsmplug.c: Renamed to ...
* gpgme-smime.c: ... this. new file.
* Makefile.am: Rewritten to use libtool's module functionality.
2001-12-19 Marcus Brinkmann <[email protected]>
* Makefile.am (lib_LTLIBRARIES): Rename to ...
(noinst_LTLIBRARIES): ... this target.
2001-12-19 Marcus Brinkmann <[email protected]>
* Makefile.am (libgpgmeplug_la_SOURCES): Remove gpgme.h.
(libgpgsmplug_la_SOURCES): Likewise.
2001-11-29 Marcus Brinkmann <[email protected]>
* gpgmeplug.c (checkMessageSignature): Add call to gpgme_set_protocol.
2001-11-24 Marcus Brinkmann <[email protected]>
* Makefile.am (libgpgsmplug_la_SOURCES): Fix source file.
2001-11-22 Marcus Brinkmann <[email protected]>
* Makefile.am (libgpgsmplug_la_LIBADD): New variable.
(libgpgsmplug_la_LDFLAGS): Likewise.
(libgpgsmplug_la_SOURCES): Likewise.
(lib_LTLIBRARIES): Add libgpgsmplug.la.
(INCLUDES): Include the local gpgme.h.
* gpgmeplug.c (signMessage): Set protocol.
(GPGMEPLUG_PROTOCOL) [!GPGMEPLUG_PROTOCOL]: Set
GPGMEPLUG_PROTOCOL.
* gpgsmplug.c: New file.
2001-11-21 Marcus Brinkmann <[email protected]>
* gpgmeplug.c: Include config.h only if [HAVE_CONFIG_H]. Do not
include util.h.
(deinitialize): Use free, not _gpgme_free.
(setDirectoryServers): Use calloc, not xtrycalloc. Use free, not
_gpgme_free. Use malloc instead xtrymalloc.
(appendDirectoryServer): Use realloc, not xtryrealloc.
|