Commit Graph

99 Commits

Author SHA1 Message Date
Steffen Hansen
3debbf008e importCertificate( const char* fpr ) 2002-06-25 17:42:21 +00:00
Karl-Heinz Zimmer
da40b7130f Have additional secretOnly parameter at the findCertificates() function to allow for searching only secret keys. 2002-06-25 15:05:59 +00:00
Karl-Heinz Zimmer
969ceb2e6e Disable debug output 2002-06-24 21:01:18 +00:00
Karl-Heinz Zimmer
b24b335b3b Use fine DN parts reordering from within findCertificates() as well. 2002-06-24 20:25:19 +00:00
Werner Koch
5e13668340 * gpgmeplug.c (reorder_dn): Added missing stdpart list terminator.
BTW, why did you change the sequence of the parts.  According to the
specs there is no standard but our implementation has to make sure
that it uses the same sequence everywhere.  Adding the extra parts is
useless because they are not defined in rfc2253 and thus can't occur.
2002-06-20 16:48:37 +00:00
Karl-Heinz Zimmer
af2050538e added some entries to DN normalization function 2002-06-20 05:05:43 +00:00
Steffen Hansen
7a0eb84f80 Show DN part names (CN=blah,O=blah...) 2002-06-20 00:44:00 +00:00
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