4
0
mirror of https://github.com/QuasarApp/qca.git synced 2025-05-11 10:19:33 +00:00

962 Commits

Author SHA1 Message Date
Brad Hards
5faf60a73c Remove unused header file.
svn path=/trunk/kdesupport/qca/; revision=594703
2006-10-12 02:13:07 +00:00
Brad Hards
977dc93ac4 Merge .h into .cpp, and add CMake support
svn path=/trunk/kdesupport/qca/; revision=594701
2006-10-12 02:11:35 +00:00
Brad Hards
f73bfc98af Add forgotten CMake file.
svn path=/trunk/kdesupport/qca/; revision=594699
2006-10-12 02:10:00 +00:00
Brad Hards
a7a11f34b6 Merge the .h into the .cpp, and update qmake files
Also add in initial CMake support.

svn path=/trunk/kdesupport/qca/; revision=594698
2006-10-12 02:05:39 +00:00
Brad Hards
bcdd7ba6f4 Add CMake support for the BigInteger unittest.
Also integrate the .h contents into the .cpp, to make it
easier to manage and to do the CMake work. The qmake
support has been updated to match.

svn path=/trunk/kdesupport/qca/; revision=594693
2006-10-12 01:11:54 +00:00
Brad Hards
3295e0ec4e Add in CMake support for this test.
Gratutiously delete some whitespace

Add a test to verify that we don't crash on trying to
import files that don't exist.


svn path=/trunk/kdesupport/qca/; revision=594692
2006-10-12 00:53:26 +00:00
Brad Hards
b7441634a2 Delete unused file - this got folded into certunittest.cpp
svn path=/trunk/kdesupport/qca/; revision=594691
2006-10-12 00:51:04 +00:00
Brad Hards
95737b7486 Update the X.509 certificates unit test.
Changes:
1. The whole test is now a single file, so it is easier
to update, and to make the CMake integration simpler.
2. The old test certificates have expired. Those are
now used to test certificate expiry, and new certificates
(from http://openvalidation.org) have been added.
3. The old client and server cert tests have been updated
to reflect the updated certificates.

This passes for me on Qt 4.1.4, using qmake/qconf.

svn path=/trunk/kdesupport/qca/; revision=594680
2006-10-12 00:05:20 +00:00
Laurent Montel
ddb52a52f4 Just add CMakeLists.txt
(need to port plugins to qt4)

svn path=/trunk/kdesupport/qca/; revision=594204
2006-10-10 13:51:28 +00:00
Laurent Montel
427a95c8df Now we can compile qca-nss plugins (need mozilla lib)
svn path=/trunk/kdesupport/qca/; revision=594203
2006-10-10 13:47:57 +00:00
Laurent Montel
9634fe64d1 SVN_SILENT: remove duplicate lines
svn path=/trunk/kdesupport/qca/; revision=594198
2006-10-10 13:06:52 +00:00
Brad Hards
8c08bf89e3 A general cleanup of the cmake support for QCA.
This fixes the problem associated with not being able to
install the bundled certificates.

It also ensures that the plugins get installed into an
appropriate directory.

Note that this does not fix problems associated with
not finding the system certificate stores.


svn path=/trunk/kdesupport/qca/; revision=593549
2006-10-08 06:53:40 +00:00
Alon Bar-Lev
ad660b841c cmake for qca-pkcs11
svn path=/trunk/kdesupport/qca/; revision=592381
2006-10-04 16:42:24 +00:00
Alon Bar-Lev
2df5c80868 cmake for qca-pkcs11
svn path=/trunk/kdesupport/qca/; revision=592373
2006-10-04 16:33:36 +00:00
Stefan Nikolaus
2d4d48bba6 compile at least
svn path=/trunk/kdesupport/qca/; revision=591961
2006-10-03 14:09:13 +00:00
Laurent Montel
556ff7f5de Add a possibility to configure pkgconfig directory
svn path=/trunk/kdesupport/qca/; revision=591925
2006-10-03 13:00:04 +00:00
Laurent Montel
840c49f5e5 Add first element to compile qca-botan
Need to add a FindBotan.cmake
(need to compile/install botan on my computer :) )

svn path=/trunk/kdesupport/qca/; revision=591914
2006-10-03 12:35:11 +00:00
Laurent Montel
2a1d0d53a1 Use lib_suffix
svn path=/trunk/kdesupport/qca/; revision=591901
2006-10-03 12:15:45 +00:00
Laurent Montel
5b8e0dd89c Really define plugins dir
svn path=/trunk/kdesupport/qca/; revision=591512
2006-10-02 16:02:57 +00:00
Laurent Montel
95a59abaa8 Define plugins dir
svn path=/trunk/kdesupport/qca/; revision=591510
2006-10-02 15:52:23 +00:00
Laurent Montel
319eca25a9 Try to compile sasl2 plugins
svn path=/trunk/kdesupport/qca/; revision=591494
2006-10-02 15:18:50 +00:00
Laurent Montel
62426004d5 Commit cmakelists.txt but it doesn't want to link
svn path=/trunk/kdesupport/qca/; revision=591441
2006-10-02 12:32:39 +00:00
Laurent Montel
cbe6242562 Now tools compile
svn path=/trunk/kdesupport/qca/; revision=591422
2006-10-02 11:34:44 +00:00
Laurent Montel
c0e8f78b75 Now all example compiles
svn path=/trunk/kdesupport/qca/; revision=591417
2006-10-02 11:33:35 +00:00
Laurent Montel
48157e0d49 Merge my patch and duncan patch
CCMAIL: duncan@kde.org

Now we can compile qca with cmake
Need to fix plugins compile and unitest and other small error.

svn path=/trunk/kdesupport/qca/; revision=591302
2006-10-02 09:59:51 +00:00
Alon Bar-Lev
7c20ed665f big "primitives" API change fixups for qca-pkcs11
svn path=/trunk/kdesupport/qca/; revision=576921
2006-08-25 07:52:08 +00:00
Brad Hards
11d097e08d Finally commit the big "primitives" API change.
Essentially if you had previously used a subclass
of Cipher, Hash or MAC, then you need to change
your code. The change is pretty simple - you
just pass a string name as the first argument.


svn path=/trunk/kdesupport/qca/; revision=576204
2006-08-23 12:38:39 +00:00
Justin Karneges
2a556750e1 fix for insertProvider
svn path=/trunk/kdesupport/qca/; revision=565554
2006-07-23 17:46:30 +00:00
Brad Hards
9b7ae6d4a2 This is done. Not sure why I hadn't already removed
it from the TODO list.

svn path=/trunk/kdesupport/qca/; revision=565340
2006-07-23 06:00:25 +00:00
Brad Hards
e281c22103 Add another unit test - this one checks client
side providers.

There is a bit to be done on this, but right now
it demonstrates the problem I'm seeing with the
AES-CMAC example, in that the plugin loader 
segfaults.

CCMAIL: justin@affinix.com

svn path=/trunk/kdesupport/qca/; revision=562878
2006-07-16 05:32:52 +00:00
Brad Hards
255ed272ec Not sure what I was thinking when I added the "enum" -
perhaps trying to work around some doxygen limitation.

svn path=/trunk/kdesupport/qca/; revision=554423
2006-06-24 06:08:56 +00:00
Justin Karneges
e316bf933c update
svn path=/trunk/kdesupport/qca/; revision=549191
2006-06-07 17:58:41 +00:00
Justin Karneges
5e876a872b always make a signature, even if we don't know the key
svn path=/trunk/kdesupport/qca/; revision=549190
2006-06-07 17:58:04 +00:00
Justin Karneges
41532d30f9 need this on some platform
svn path=/trunk/kdesupport/qca/; revision=549189
2006-06-07 17:57:14 +00:00
Brad Hards
aecc09200c Update the handling of altnames to ensure that we
do the full RFC2818 host matching.

CCBUG:107604

svn path=/trunk/kdesupport/qca/; revision=546492
2006-05-30 09:23:33 +00:00
Brad Hards
dfb30910fb The missing space in the #include line seemed to cause
problems with qmake on Windows.

svn path=/trunk/kdesupport/qca/; revision=545223
2006-05-27 07:26:53 +00:00
Brad Hards
e7c8f1d8c6 Portability fix. Turns out that you can't do code like
for (int n = 0; ....; ....)
{
	....
	int n = ....;
	....
}
with Visual C++ (2005), or you get redefinition errors.


svn path=/trunk/kdesupport/qca/; revision=545218
2006-05-27 06:22:23 +00:00
Brad Hards
ddc49c5291 Ensure that we can match on subject altnames, as well as the CN.
Also update the documentation to indicate the behaviour.

There might be a case for adding a bool argument to matchesHostname()
so that you can test if it matches just the CN, or either CN or
altname. 

This function should probably also test IP address (and perhaps also
XMPP) altnames, but I'd like to think about that a bit more first, and
trial it with a real certificate.

CCMAIL: justin@affinix.com
CCBUG: 107604


svn path=/trunk/kdesupport/qca/; revision=540564
2006-05-14 00:55:35 +00:00
Brad Hards
1fba679d79 Add tests for matchHostname() against altnames. This
fails at the moment, although I haven't checked the 
implementation to determine why.

CCBUG:107604

svn path=/trunk/kdesupport/qca/; revision=540562
2006-05-14 00:34:57 +00:00
Brad Hards
686d7eef1f Update the documentation for subjectInfo() to show
how you might use it.

I think that is the last part of Bug:107604

BUG: 107604

svn path=/trunk/kdesupport/qca/; revision=540418
2006-05-13 12:04:10 +00:00
Brad Hards
6ebc5627b3 Updates to qcatool to allow it to show multiple
alternative names. The change is to take the whole
list of values from the multimap, and join them 
together before outputting, rather than just taking
the last entry.

CCBUG: 107604

svn path=/trunk/kdesupport/qca/; revision=540407
2006-05-13 11:29:24 +00:00
Brad Hards
f8a55b4914 Updates to the openssl provider to allow us to handle
more than one altname of each type.

svn path=/trunk/kdesupport/qca/; revision=540405
2006-05-13 11:20:58 +00:00
Brad Hards
85f9df6a47 Update the test suite to include additional tests.
One test covers certificates in DER format.

The other test is intended to demonstrate a problem
that we currently have with altname handling - we only 
manage to provide one altname, irrespective of how
many there are.

svn path=/trunk/kdesupport/qca/; revision=540400
2006-05-13 11:07:11 +00:00
Brad Hards
a79d26376a Add in another couple of test certificates for
future unit testing.

svn path=/trunk/kdesupport/qca/; revision=540397
2006-05-13 10:58:02 +00:00
Brad Hards
410ae19a64 This patch adds support for Cryptographic Message
Syntax (CMS) (which is closely related to PKCS7 / 
SMIME) signing/verifying for the "signed message"
type format (as opposed to detached signatures, which
are already supported).

I've already committed the unit tests for this, which
work correctly.

svn path=/trunk/kdesupport/qca/; revision=539592
2006-05-11 02:17:07 +00:00
Brad Hards
ea463b959b Unit tests for the "message" mode for Cryptographic
Message Syntax.

svn path=/trunk/kdesupport/qca/; revision=539588
2006-05-11 02:07:34 +00:00
Brad Hards
c4843dbf07 Add unit test to verify that bug 126735 isn't a problem
with QCA 2. Holger Tasch identified the problem with QCA1,
however it doesn't appear to be a problem with QCA2.

CCMAIL: holger.tasch@gmx.de
CCBUG: 126735


svn path=/trunk/kdesupport/qca/; revision=538936
2006-05-09 11:15:55 +00:00
Brad Hards
7e8afea8eb Correct the previous fix.
Thanks to Alon for identifying the problem.

svn path=/trunk/kdesupport/qca/; revision=535676
2006-04-30 07:05:10 +00:00
Brad Hards
b2aedd5a71 More fixes for issues reported by ICC.
Covers conversion to lower precision value, and
unused code/variable.

I didn't remove the unused function from the botan
part - just noted it.

svn path=/trunk/kdesupport/qca/; revision=535288
2006-04-29 06:45:36 +00:00
Brad Hards
55ff6eeb8f Fixes for a range of issue reported by the Intel
C Compiler. IIRC, this covers warnings over
converting 64 bit values to lower precision variables,
hiding variable names, and an unused variable.

svn path=/trunk/kdesupport/qca/; revision=535284
2006-04-29 06:40:31 +00:00