Commit Graph

64 Commits

Author SHA1 Message Date
Karl-Heinz Zimmer
70251d0f5f changed code according to our hack before CeBIT, we are giving *binary* data to the decryptMessage() and to the checkMessageSignature() methode instead of passing base64 encoded data to them 2002-03-21 21:48:33 +00:00
Matthias Kalle Dalheimer
770116c84f More feature selectors
Plugin says which features it supports
2002-03-21 13:14:20 +00:00
Werner Koch
cb95583ffe removed all the .cvsignre files - they should be local 2002-03-10 18:41:02 +00:00
Karl-Heinz Zimmer
9c94500486 bugfix in findCertificates function 2002-03-09 16:46:36 +00:00
Karl-Heinz Zimmer
3ec1930ae3 Bugfix: forgot to initialize the list of certificates in findCertificates() before adding the found entries 2002-03-08 18:13:20 +00:00
Karl-Heinz Zimmer
ed9f9969e3 New feature: Ask user which certificate is to be taken when more than one found by the crypto plug-in for a single recipient. - NOTE: This code is not working correctly (yet) so we allways get some *all* keys that are stored by gpg instead of the right key information. 2002-03-08 15:44:09 +00:00
Steffen Hansen
af75bafc1b 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-08 00:51:25 +00:00
Matthias Kalle Dalheimer
06cc124c5c Support for various warnings about expiring encryption certificates.
Support for checking encryption certificate paths.

Needs GPGME support.
2002-03-07 21:18:27 +00:00
Steffen Hansen
abd3200211 encryptMessage() now accepts a comma separated list of addressees 2002-03-07 14:10:07 +00:00
Werner Koch
b1970a759e * gpgmeplug.c (signMessage): Fixed offbyone. Don't include the
EOS character into the signature.
(checkMessageSignature): Ditto.
2002-03-06 17:23:17 +00:00
Karl-Heinz Zimmer
704a1b05b3 Changed interface: additionally we now pass the following parameters into the checkMessageSignature function: bool signatureIsBinary - telling us whether the signature is armored ASCII or binary data, int signatureLen - holding the TRUE length of the signature if (and only if) this is binary data 2002-03-05 21:23:58 +00:00
Matthias Kalle Dalheimer
cea9be523e Support for warning when a CRL expires 2002-03-01 17:54:26 +00:00
Matthias Kalle Dalheimer
bf3eccd564 Support for asking the for the PIN a certain number of times. 2002-03-01 16:55:50 +00:00
Matthias Kalle Dalheimer
8b21fdb6b8 Support for checking whether the signer's email address is contained in
his certificate.
2002-02-28 12:09:45 +00:00
Matthias Kalle Dalheimer
cb18fe8dd6 *** empty log message *** 2002-02-28 09:16:25 +00:00
Matthias Kalle Dalheimer
573daabba9 Implemented warning when the certificates used for signing are about to
expire
2002-02-28 09:14:39 +00:00
Matthias Kalle Dalheimer
df8e9fa1e0 Marked up where g10 needs to implement the selection of the signature algorithm 2002-02-28 07:49:13 +00:00
Matthias Kalle Dalheimer
44edbc7d41 select the signature algorithm - dummy in gpgme.c 2002-02-27 20:59:20 +00:00
Marcus Brinkmann
85c7100872 2002-02-27 Marcus Brinkmann <marcus@g10code.de>
* gpgmeplug.c (signMessage): Fix code syntax.
2002-02-26 23:19:19 +00:00
Karl-Heinz Zimmer
82b1feb992 now signMessage() calls the gpgme_set_include_certs() function before each call of gpgme_op_sign 2002-02-26 01:01:28 +00:00
Karl-Heinz Zimmer
cebb31b4dc fixed wrong GPGMEPLUG_SIGN_CTYPE_CODE parameter for S/MIME 2002-02-18 16:45:00 +00:00
Steffen Hansen
89114b8162 Removed temporary passphrase callback 2002-02-13 19:23:00 +00:00
Marcus Brinkmann
f40bc63ac9 2002-02-01 Marcus Brinkmann <marcus@g10code.de>
* 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-02-01 20:28:35 +00:00
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