682 Commits

Author SHA1 Message Date
Justin Karneges
d1a75544fe workarounds for buggy qt metacall and strict 4.4 behavior
svn path=/trunk/kdesupport/qca/; revision=794341
2008-04-07 06:27:05 +00:00
Christian Ehrlicher
4052cd4918 make it work with cmake 2.6.0-rc6 on windows
svn path=/trunk/kdesupport/qca/; revision=793329
2008-04-03 17:11:08 +00:00
Justin Karneges
b869b3f291 always request a certificate from the client when in server mode
svn path=/trunk/kdesupport/qca/; revision=777109
2008-02-19 19:09:12 +00:00
Justin Karneges
8034ea2b3a compile on msvc6
svn path=/trunk/kdesupport/qca/; revision=777103
2008-02-19 18:53:39 +00:00
Justin Karneges
bfaecfd20e debug linkage on windows
svn path=/trunk/kdesupport/qca/; revision=777101
2008-02-19 18:52:40 +00:00
Brad Hards
d7ccec1e6d Add support for Password Based Key Derivation Function 2
(per RFC2898) for the OpenSSL-based provider.

We need this for decrypting OOo encrypted documents. It is
present in the libgcrypt and Botan based providers, but they
aren't released.

svn path=/trunk/kdesupport/qca/; revision=747138
2007-12-11 06:34:57 +00:00
Justin Karneges
d5d180d27d allow X509Item to be assigned in the same way it can be copied
svn path=/trunk/kdesupport/qca/; revision=737612
2007-11-16 19:11:04 +00:00
Justin Karneges
fdbdb4f1f2 use correct initialization value of true (false is wrong, and earlier we
were uninitialized which has a 99% chance of being true :))

svn path=/trunk/kdesupport/qca/; revision=734096
2007-11-08 04:03:06 +00:00
Justin Karneges
beb62607cc fix for notValidBefore/notValidAfter values when CA signing
svn path=/trunk/kdesupport/qca/; revision=733311
2007-11-06 07:09:20 +00:00
Justin Karneges
702f2a5662 initial CA support
svn path=/trunk/kdesupport/qca/; revision=733263
2007-11-05 23:55:30 +00:00
Justin Karneges
8b52677483 "undefined interface" moc workaround
http://forum.psi-im.org/thread/4686

svn path=/trunk/kdesupport/qca/; revision=732927
2007-11-05 05:21:51 +00:00
Justin Karneges
e81a1ea875 track qca.qcm changes
svn path=/trunk/kdesupport/qca/; revision=732154
2007-11-02 23:17:17 +00:00
Justin Karneges
cc0c4925f1 when using qcm, we don't need to add the crypto config ourselves
svn path=/trunk/kdesupport/qca/; revision=732151
2007-11-02 23:06:12 +00:00
Rolf Eike Beer
6d8e902ce9 Add const to logging functions to shut up newer gcc versions
svn path=/trunk/kdesupport/qca/; revision=728492
2007-10-23 13:11:38 +00:00
Dirk Mueller
b4d2b7b12e fix uninitialized variable
svn path=/trunk/kdesupport/qca/; revision=728073
2007-10-22 09:51:57 +00:00
Justin Karneges
00353e3b5f configwin.bat for the other plugins
svn path=/trunk/kdesupport/qca/; revision=724562
2007-10-12 17:28:14 +00:00
Justin Karneges
0cce2cae6f more updates for release
svn path=/trunk/kdesupport/qca/; revision=724328
2007-10-12 00:51:03 +00:00
Justin Karneges
b25af09fba update for release
svn path=/trunk/kdesupport/qca/; revision=724252
2007-10-11 20:39:02 +00:00
Justin Karneges
d48bc65bb8 mechanism must be known after any non-error exit of startClient, also correct the sasl encryption layer code (should fix 100% cpu bug)
svn path=/trunk/kdesupport/qca/; revision=723798
2007-10-10 18:30:19 +00:00
Justin Karneges
009d620280 fix opensc url
svn path=/trunk/kdesupport/qca/; revision=723795
2007-10-10 18:27:19 +00:00
Alon Bar-Lev
338e2c33bb typo
svn path=/trunk/kdesupport/qca/; revision=723160
2007-10-08 21:49:02 +00:00
Brad Hards
a0992ebbd0 Implement the Whirlpool hashing algorithm, and the
CAST5 cipher in QCA.

CCMAIL: tnagy1024@gmail.com

svn path=/trunk/kdesupport/qca/; revision=707711
2007-09-02 18:55:35 +00:00
Justin Karneges
f7d62e373b infocontext support for cipher and mac
svn path=/trunk/kdesupport/qca/; revision=705920
2007-08-28 22:03:30 +00:00
Brad Hards
642ac2f1ca A bit more of the openssl -> ossl conversion.
svn path=/trunk/kdesupport/qca/; revision=705889
2007-08-28 20:24:43 +00:00
Justin Karneges
8ebcc36d68 explicit constructors
svn path=/trunk/kdesupport/qca/; revision=705822
2007-08-28 17:16:39 +00:00
Justin Karneges
5e602dcd97 Hash::supportedTypes and InfoContext
svn path=/trunk/kdesupport/qca/; revision=705821
2007-08-28 17:11:40 +00:00
Adriaan de Groot
025eab2848 Handle bogus old versions of libgcrypt (which don't typedef a gcry_error_t); make the case of CMake commands consistent.
All the variable SETting around CHECK_TYPE_SIZE makes me suspect there's some CMake-fu that I am missing.

svn path=/trunk/kdesupport/qca/; revision=705323
2007-08-27 18:33:58 +00:00
Justin Karneges
cbf2a28f99 use signal relay on all platforms
svn path=/trunk/kdesupport/qca/; revision=702479
2007-08-20 17:35:27 +00:00
Justin Karneges
dfaee3b8a2 slight improvement of cms error reporting
svn path=/trunk/kdesupport/qca/; revision=702435
2007-08-20 16:25:18 +00:00
Justin Karneges
42ad5f5928 when doing enc/dec in one pass, append to to_net rather than replace it
svn path=/trunk/kdesupport/qca/; revision=702419
2007-08-20 15:49:20 +00:00
Justin Karneges
f525239f5c support tls update with both from_net and from_app at the same time
svn path=/trunk/kdesupport/qca/; revision=702052
2007-08-20 01:11:25 +00:00
Justin Karneges
bd88ea2fc5 report diagnostic text
svn path=/trunk/kdesupport/qca/; revision=701899
2007-08-19 17:07:04 +00:00
Adriaan de Groot
66e4948614 Make the ABI explicit -- these functions are passed somewhere expecting functions with extern "C" linkage. Warnings--, mostly. SS12 & gcc3.4.6 ok.
CCMAIL: bradh@frogmouth.net

svn path=/trunk/kdesupport/qca/; revision=700549
2007-08-15 20:30:40 +00:00
Justin Karneges
551b84abf4 error message hack for cms, this is still a mess
svn path=/trunk/kdesupport/qca/; revision=699764
2007-08-14 02:35:39 +00:00
Justin Karneges
c9cfdf7208 cms bytes written signal
svn path=/trunk/kdesupport/qca/; revision=699474
2007-08-13 06:54:00 +00:00
Justin Karneges
4a6f061ec1 for safety, use the always-fail passphrase callback even for public objects
svn path=/trunk/kdesupport/qca/; revision=699035
2007-08-11 21:02:41 +00:00
Justin Karneges
38112041a3 don't increment openssl references when using X509_STORE add functions
svn path=/trunk/kdesupport/qca/; revision=699026
2007-08-11 20:39:01 +00:00
Alon Bar-Lev
8667ac7e9f Add with-pkcs11-helper-inc, with-pkcs11-helper-lib
svn path=/trunk/kdesupport/qca/; revision=698529
2007-08-10 08:59:17 +00:00
Justin Karneges
c0f32502fa repeat the demo cycle
svn path=/trunk/kdesupport/qca/; revision=698088
2007-08-09 03:30:54 +00:00
Martin Aumüller
2459815453 os x compile fix
svn path=/trunk/kdesupport/qca/; revision=697357
2007-08-07 15:02:34 +00:00
Justin Karneges
2825b61b8a mac-gpg detection from psi
svn path=/trunk/kdesupport/qca/; revision=697180
2007-08-07 03:02:15 +00:00
Brad Hards
a0f358dd9d Add AES192 in CBC mode with PKCS7 padding, and also
AES256 in CBC mode with PKCS7 padding.

We already have AES128 in CBC mode with PKCS7 padding, which
is pretty much strong enough for anything you'd be willing
to use an internet-connected computer for.

svn path=/trunk/kdesupport/qca/; revision=696966
2007-08-06 12:09:41 +00:00
Justin Karneges
3259b8763c follow api change
svn path=/trunk/kdesupport/qca/; revision=695692
2007-08-02 17:31:35 +00:00
Justin Karneges
6422e7bc8c tripledes-cbc
svn path=/trunk/kdesupport/qca/; revision=692991
2007-07-26 19:11:04 +00:00
Brad Hards
3796c82e90 Fix a gcc warning, and also protect from a possible mess
if sasl_getprop() fails.


svn path=/trunk/kdesupport/qca/; revision=684702
2007-07-07 04:35:27 +00:00
Justin Karneges
facac9f2f0 tls session resuming, firstStepDone changed to certificateRequested
svn path=/trunk/kdesupport/qca/; revision=684510
2007-07-06 18:57:03 +00:00
Justin Karneges
e4c50c2aa2 flag for when server requests a certificate
svn path=/trunk/kdesupport/qca/; revision=684491
2007-07-06 18:03:29 +00:00
Justin Karneges
d6bdaea6a6 match the api
svn path=/trunk/kdesupport/qca/; revision=684039
2007-07-05 23:29:17 +00:00
Justin Karneges
2335506d27 emit resultsReady as necessary
svn path=/trunk/kdesupport/qca/; revision=683037
2007-07-04 01:18:16 +00:00
Justin Karneges
58097350d8 need to emit resultsReady after start
svn path=/trunk/kdesupport/qca/; revision=683035
2007-07-04 00:53:51 +00:00