Commit Graph

92 Commits

Author SHA1 Message Date
Karl-Heinz Zimmer
c445a85ff2 Bugfix #949: (a) call gpgme_check_version(NULL) during initialization and (b) provide additional function libVersion(void) to retrieve the library version used - this function has been added to the CryptPlug API as new *MUST* function for all implementations. 2002-06-19 12:56:43 +00:00
Karl-Heinz Zimmer
6798c68f2f Use gpgme_get_sig_ulong_attr(.., GPGME_ATTR_SIG_SUMMARY ) function to return extended signature status information from the CryptPlug to the calling process after trying to verify a signature. 2002-06-19 10:22:49 +00:00
Steffen Hansen
1bd00d0a18 bugfix + change to the nextCertificate() function prototype 2002-06-13 01:56:31 +00:00
Karl-Heinz Zimmer
e7dc765826 Add Plugin configuration option to allow for sending of *opaque* signed messages. Unfortunately this is necessary for communication with some MS Outlook clients, e.g. TrustedMime is not able to understand Multipart/Signed messages. <sigh> NOTE: This breaks compabilitity with kdenetwork, so make sure to update the KDE sources as well... 2002-06-12 11:05:42 +00:00
Steffen Hansen
8ac95a9772 support for listing of external certs (untested) 2002-06-10 18:37:11 +00:00
Steffen Hansen
15188d9a79 reorder issuer DN also 2002-06-10 17:53:04 +00:00
Steffen Hansen
2879352eb5 typecast to make khz happy 2002-06-10 16:36:38 +00:00
Steffen Hansen
7b8ab474d3 more cert. info features 2002-06-10 11:24:39 +00:00
Karl-Heinz Zimmer
1ab6177e27 sync our cryptplug.h with the version in KDE/libkdenetwork/ that was corrected my Marc Mutz. 2002-06-01 15:35:07 +00:00
Steffen Hansen
0848c32e0f more cert info 2002-05-31 15:34:39 +00:00
Karl-Heinz Zimmer
3fa6cef5ca Bugfix: use fingerprint as found in "fpr" only if no key was found by gpgme_get_sig_key() 2002-05-31 12:00:18 +00:00
Karl-Heinz Zimmer
e74de5d91a Matze's patch for showing colored bars at S/MIME messages as well as at OpenPGP messages. 2002-05-31 11:08:54 +00:00
Karl-Heinz Zimmer
5afd7bbcc0 more error handling 2002-05-31 09:28:58 +00:00
Steffen Hansen
fda851bfd9 small fix 2002-05-30 17:19:11 +00:00
Steffen Hansen
068ef9f0f3 * cryptplug.h, gpgmeplug.c: Added certificate info listing functions.
Not yet complete.
Converted more C99 style comments to "classic" style.
2002-05-30 06:24:19 +00:00
Karl-Heinz Zimmer
d27e6506b1 revoce the previous commit, this was done erroneously 2002-05-08 12:14:13 +00:00
Karl-Heinz Zimmer
ff28fd3b54 Include the protocol parameter of multipart/.. content-type messages into double quotes to fullify requirements of the german government (see BSI document Technische Grundlagen - Tailoring MTTv2, page 60) 2002-05-08 12:05:17 +00:00
Karl-Heinz Zimmer
00567dc8e3 Bugfix don't use binary signatures for OpenPGP 2002-05-07 10:40:48 +00:00
Karl-Heinz Zimmer
996d48a95e allow checking of Opaque Signed message data 2002-04-27 05:32:39 +00:00
Matthias Kalle Dalheimer
2ee47693c0 More fixes for certificate generation 2002-04-18 19:26:03 +00:00
Matthias Kalle Dalheimer
9da6baf11f Additional parameter for returning the cert length 2002-04-18 07:38:15 +00:00
Karl-Heinz Zimmer
76cc7612bd report both the error-Id and the error-text to the calling program when signing or encrypting of mails could not be done 2002-04-17 15:00:53 +00:00
Matthias Kalle Dalheimer
0fc18236a2 Implemented requesting certs 2002-04-17 14:16:53 +00:00
Karl-Heinz Zimmer
8f2ab92657 [bug #997] changed 'micalg=pgp-sha1' into 'micalg=sha1' for S/MIME mails 2002-04-03 14:30:51 +00:00
Karl-Heinz Zimmer
02a9610df2 now using gpgme_recipients_add_name instead of gpgme_recipients_add_name_with_validity, see Werner's comment to bug #950 as of Fri, Mar 22 2002 17.15.26 2002-04-02 11:52:55 +00:00
Werner Koch
a5914229c4 * gpgmeplug.c: Converted it to real C; i.e. use standard comments -
we are doing ISO C 90.  Transalted a few German remarks and
commented on some things.
2002-03-23 11:35:31 +00:00
Karl-Heinz Zimmer
a88628979f bugfix on new binary-encrypting/signing code 2002-03-22 17:06:43 +00:00
Karl-Heinz Zimmer
cf04fed2de interface change: signMessage() and encryptMessage() now return an additional 'cipherLen' parameter to enable us to handle binary cipher data 2002-03-22 10:40:24 +00:00
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