Marcus Brinkmann
f9dbfb9069
2002-01-16 Marcus Brinkmann <marcus@g10code.de>
...
* gpgme-openpgp.c: New file.
* Makefile.am (gpgme_openpgp_la_SOURCES): Replace gpgmeplug.c with
gpgme-openpgp.c.
2002-01-16 17:48:23 +00:00
Marcus Brinkmann
6d275b5d07
Added copyright statement for 2002.
2002-01-15 19:55:56 +00:00
Marcus Brinkmann
af5bfdd49e
2002-01-15 Marcus Brinkmann <marcus@g10code.de>
...
* 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.
2002-01-15 19:53:55 +00:00
Karl-Heinz Zimmer
395a2d7944
bug found: no more crashing when calling signing/encoding functions :-)
2002-01-15 08:03:26 +00:00
Karl-Heinz Zimmer
1e9cbbef87
fixed bug in function "storeNewCharPtr()"
2002-01-14 20:33:50 +00:00
Karl-Heinz Zimmer
e6c1c2828f
Added specification of strings and bool values for S/MIME signing and encrypting. (note: this new StructuringInfo feature is ignored by KMail at the moment, this is an urgent ToDo item since the KMail sources are _not_ able to use the cryptplug with the changes made today)
2001-12-24 00:26:52 +00:00
Karl-Heinz Zimmer
95bed553e4
finished interface of StructuringInfo struct and added implementation of setting it's parameters in our cryptplug signMessage and
...
encryptmessage functions (setting of parameters in gpgsmplug.c is still missing)
2001-12-24 00:09:24 +00:00
Karl-Heinz Zimmer
9b1da5342b
now including stdlib.h into the header file to avoid compile time warnings of unknown function free()
2001-12-23 22:47:40 +00:00
Karl-Heinz Zimmer
4ee79f2416
Adjust and complete the documentation of the new "StructuringInfo" struct and the corresponding free_StructuringInfo() function and - for plugin developers - the corresponding init_StructuringInfo() function
2001-12-23 22:37:51 +00:00
Marcus Brinkmann
fe22c97e8d
2001-12-19 Marcus Brinkmann <marcus@g10code.de>
...
* Makefile.am (lib_LTLIBRARIES): Rename to ...
(noinst_LTLIBRARIES): ... this target.
2001-12-19 01:09:19 +00:00
Marcus Brinkmann
c298758eff
2001-12-19 Marcus Brinkmann <marcus@g10code.de>
...
* Makefile.am (libgpgmeplug_la_SOURCES): Remove gpgme.h.
(libgpgsmplug_la_SOURCES): Likewise.
2001-12-19 00:28:12 +00:00
Karl-Heinz Zimmer
44023ddfb2
corrected specification of Aegypten test key in encrypt() function
2001-12-18 21:11:03 +00:00
Karl-Heinz Zimmer
a39980abe7
added debug message to encrypt() function
2001-12-18 20:13:08 +00:00
Karl-Heinz Zimmer
cfcac3496a
improce memory handling
2001-12-13 15:13:09 +00:00
Karl-Heinz Zimmer
bc11308fa3
Corrected (for a second time) code status error from previous wrong CVS comits
2001-12-06 17:19:07 +00:00
Karl-Heinz Zimmer
08debc7ab2
Corrected code status error from previous wrong CVS comits
2001-12-06 16:59:09 +00:00
Marcus Brinkmann
ba1e19e10b
Add .cvsignore files. Suggested by Jan-Oliver Wagner <jan@intevation.de>.
2001-12-05 19:50:45 +00:00
Marcus Brinkmann
e0da4fbd31
2001-11-29 Marcus Brinkmann <marcus@g10code.de>
...
* gpgmeplug.c (checkMessageSignature): Add call to gpgme_set_protocol.
2001-12-05 13:21:04 +00:00
Karl-Heinz Zimmer
ee33d9f146
added error detection to signing and encrypting methodes: this has to be improved furtheron
2001-11-29 12:29:55 +00:00
Matthias Kalle Dalheimer
4dcc18b102
Check for out-of-memory in signature verification
2001-11-26 16:43:00 +00:00
Karl-Heinz Zimmer
86490c114b
enabled fetching meta data after checking of signature(s)
2001-11-26 15:54:12 +00:00
Matthias Kalle Dalheimer
a0f861940e
Filling the SignatureMetaData struct (the crucial code is #ifdef'd out for safety's sake)
...
Changes to SignatureMetaData
Added SignatureMetaDataExtendedInfo
2001-11-25 21:53:39 +00:00
Karl-Heinz Zimmer
aa51d5af33
changed specification of SignatureMetaData struct
2001-11-25 20:31:36 +00:00
Karl-Heinz Zimmer
9e24b66475
[Kalle] signature verification and decoding of encrypted mails
2001-11-25 15:23:21 +00:00
Karl-Heinz Zimmer
14aa91a95b
Now gpgmeplug.c can also create encrypted and signed+encrypted S/MIME mails.
2001-11-25 05:07:44 +00:00
Karl-Heinz Zimmer
49b7969a49
adjusted 'encryptMessage' parameters: now also the addressee is given
2001-11-25 03:37:13 +00:00
Marcus Brinkmann
46bb2a4470
2001-11-24 Marcus Brinkmann <marcus@g10code.de>
...
* Makefile.am (libgpgsmplug_la_SOURCES): Fix source file.
2001-11-24 17:11:15 +00:00
Karl-Heinz Zimmer
83855db196
signing now returns only the SIGNATURE - not the original text - since building of the S/MIME object is done in the calling program (the MUA...)
2001-11-24 10:51:55 +00:00
Karl-Heinz Zimmer
64da5fc845
signing of mail bodies is working now - buuuuut: I changed the behaviour of the 'signMessage()' function, it now returns *only* the signature part (with a trailing zero). This is neccessary to avoid confugion at the KMail side: otherwise KMail might try to convert the whole MIME block into quoted printable - of course this is only allowed for the body part but not for the signature part.
2001-11-23 02:08:53 +00:00
Marcus Brinkmann
8993173dfb
2001-11-22 Marcus Brinkmann <marcus@g10code.de>
...
* gpgme.h (gpgme_set_protocol): New prototype.
2001-11-22 Marcus Brinkmann <marcus@g10code.de>
* 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-22 18:48:53 +00:00
Karl-Heinz Zimmer
c703e0c27e
removed stupid C bug (malloc of strlen(..) instead of 1+strlen)
2001-11-22 17:32:21 +00:00
Karl-Heinz Zimmer
66f4b09b45
Now send the signature back to the calling function (instead of just printing it to stdout)
2001-11-22 09:36:53 +00:00
Karl-Heinz Zimmer
9c6a652d83
corrected includes
2001-11-21 23:34:51 +00:00
Karl-Heinz Zimmer
9887271866
create signature (and write it to stdout for testing)
2001-11-21 23:23:24 +00:00
Karl-Heinz Zimmer
a80e3d381c
change Makefile to create shared lib
2001-11-21 23:20:49 +00:00
Marcus Brinkmann
42bdc1177d
.
2001-11-21 21:09:50 +00:00
Marcus Brinkmann
adfc1ccd5d
2001-11-21 Marcus Brinkmann <marcus@g10code.de>
...
* 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.
2001-11-21 21:08:02 +00:00
Karl-Heinz Zimmer
a73c8142af
finished implementation of DirectoryServices storing/retrieving
2001-11-21 16:57:54 +00:00
Karl-Heinz Zimmer
168f43d4ec
(security checkin) currently working on signing messages
2001-11-21 14:18:52 +00:00
Karl-Heinz Zimmer
4e1814223b
configure struct updated according to modified cryptplug.h
2001-11-21 10:55:02 +00:00
Karl-Heinz Zimmer
18432f56be
GPGME Plug-In initial checkin. Saving/restoring of configuration is working.
2001-11-21 09:42:08 +00:00