322 Commits

Author SHA1 Message Date
Ivan Romanov
159e144abf Disable missed openssl cipher suites
Fedora 26 has no them.
2017-09-30 15:45:59 +05:00
Ivan Romanov
28245c731e Add base64 convenience functions 2016-09-19 10:48:11 +05:00
Ivan Romanov
57878ff44f Add support for AES GCM and AES CCM modes
Only qca-openssl now can use GCM and CCM. CCM is not tested and
planed for future.
2016-09-19 10:48:11 +05:00
Ivan Romanov
6a685d6b0b Refactor cipherunittest 2016-08-09 11:26:47 +05:00
Ivan Romanov
759ff45dba Fix indents in cipherunittest 2016-08-09 10:48:36 +05:00
Ivan Romanov
4694e4f1d7 dsaunittest: check for DSA_1024 is supported 2014-11-05 12:12:47 +05:00
Ivan Romanov
8ca9ddb56b keygenunittest: check that DLGroup supports DSA_* algorythmes 2014-11-05 12:06:58 +05:00
Ivan Romanov
ac8b8acd37 dropped fixpaths.include
Use qt.conf to set plugin paths for unittests and qcatool in buildtree
2014-09-25 14:27:44 +06:00
Ivan Romanov
2cdd6c4bd1 tlsunittest: disable more ciphers 2014-09-20 01:02:52 +06:00
Ivan Romanov
a8a26e0bf7 pgpunittests: increase timeout for crypting operations 2014-09-20 00:44:51 +06:00
Ivan Romanov
7268472226 pgpunittests: gpg keyring supports writing. See commit b6db383609d6b017dd2b9ae3809fc259c6397501 2014-09-20 00:02:21 +06:00
Ivan Romanov
fe4971ccf1 pgpunittest: fixed start from any directory 2014-09-18 23:24:51 +06:00
Sune Vuorela
df6e7a2377 Fix qt4 build 2014-09-08 15:41:07 +02:00
Florian Fieber
869b20e64b Add unit tests for expired subkey issue
If a key has a non-related, expired signing subkey, any operation on this key
previously would fail, claiming the key is expired.

REVIEW: 118567
2014-09-08 18:15:20 +06:00
Sune Vuorela
1acc18cf38 Fix a couple of crashes where all plugins might not be available.
REVIEW: 120094
2014-09-08 10:16:57 +02:00
Ivan Romanov
9504d1c8e0 cmake: put all runtime to bin when compiling
The most it is need for windows where no rpath and all dll's must be
in the same dir (or in PATH environment)
2014-02-02 02:35:55 +06:00
Ivan Romanov
a917dc3a93 cipherunittest: check result after finish()
In common case update() function can not returns data.
So it is not a wrong. But after finish() all data must be returned.
2014-01-30 00:47:06 +06:00
Ivan Romanov
e2ff4f0a61 new cmake option DEVELOPER_MODE
DEVELOPER_MODE is designed for various developer issues. Now this mode
forced to use plugins only from build tree. To avoid excess plugins
from system QCA. Also now not need to set QT_PLUGIN_PATH to use plugins
from QCA build tree.
2014-01-07 04:47:18 +06:00
Ivan Romanov
e5ec390625 fix hardcoded plugins path for unittests 2014-01-07 00:24:49 +06:00
Adnan RIHAN
9e0ddb716d Overloaded "makeKey" to derive a password depending on a time factor
Overloaded "makeKey" in QCA::KeyDerivationFunction + botan/gcrypt/ossl plugins
to allow deriving a master password depending on a time factor in addition to
only giving an arbitrary iteration count.
Deriving with a time delays exhaustive research on master passwords by
increasing the time needed to try each password (the derivation time)
Added corresponding unittests.

REVIEW: 114503
2014-01-06 18:38:21 +01:00
Ivan Romanov
2817b31e06 pgpunittest: copy keys* folders to keys*_work
gpg changes trustdb.gpg. But this file under vcs. So just copy this
file to another folder.
2014-01-06 00:42:44 +06:00
Ivan Romanov
b0c8788d9a tlsunittest: don't check some cipher suites
openssl very configurable. There is no any guarantee that this
or another cipher suite will be in current building. So I just
took that Fedora cipher suites is minimal default list and
I believe that it will be true in every case.
2014-01-05 01:54:18 +06:00
Ivan Romanov
7d7535216a cipherunittest: disable qca-gcrypt for some tests
Seems Cipher support is not finished in qca-gcrypt. When it will be
done need to enable them again.
2014-01-03 22:33:43 +06:00
Ivan Romanov
c820094625 filewatchunittest: show 'please wait' message 2014-01-03 19:43:45 +06:00
Ivan Romanov
01e2b1d1cd enabled filewatchunittest
also fixed cmake building of this unittest
2014-01-03 19:34:19 +06:00
Bartosz Brachaczek
506d9ef311 Add unloadProvider() function for symmetry with insertProvider()
REVIEW: 114690
2014-01-02 17:23:42 +06:00
Ivan Romanov
6d690c0070 Build static QCA
Added new cmake variable SHARED_LIBRARY. By default is on.
When it is off QCA library, plugins, tools, examples and unittests
will be built as static. Also if is used static Qt plugins will be
built as static. Tested with Qt4.
2014-01-02 03:50:18 +06:00
Adnan RIHAN
17cf1841f7 RSA Keys are permutable, can encrypt with private and decrypt with public
[REVIEW]: 114416
2013-12-17 06:57:26 +01:00
Ivan Romanov
9ea9d6203f [certunittest] fixed certs time zone
This certs time uses GMT.
2013-12-09 03:41:39 +06:00
Ivan Romanov
3048e63aa3 updated pkits certs
Also added README file which explain how certs ware got.
2013-12-07 22:08:39 +06:00
Ivan Romanov
c7ccfc6749 dropped randomunittest
Captain Obvious suggests no way to check random numbers.
2013-11-18 02:11:22 +06:00
Ivan Romanov
a74aa82269 fix no watch file warnings in FileWatch
Don't start FileWatch object if no parent forlder non-existent.
Don't add file to Qt watcher class if the file non-existent.
It will be added after file creating
2013-10-18 23:49:33 +06:00
Ivan Romanov
034f873f68 use Qt5 C++ flags for examples, tools and unittests 2013-08-30 20:22:59 +06:00
Ivan Romanov
9462469bb5 dropped bat, qconf and qmake rules
Now cmake rules fully works.
2013-08-26 00:55:17 +06:00
Ivan Romanov
13d0dc5e6d added cmake variable QCA_LIB_SUFFIX
QCA_LIB_SUFFIX intended to replace workaround
3 major version. For building for Qt5 can be used
-DQCA_LIB_SUFFIX=qt5 for example. Result will be
named libqca2-qt5.so.2.0.3 library for Linux.
Also this suffix will be applied for qca2 pkg config file,
qcatool2 binary and qcatool2 manpage.

I hope that is a good way to resolve the building conflict
against qt4 and qt5.
2013-08-26 00:55:01 +06:00
Ivan Romanov
be172d527a fixed previous commit 2013-08-25 13:05:48 +06:00
Ivan Romanov
4320c6532b [qca-ossl] added support for aes ctr 128, 192 and 256 2013-08-25 03:36:58 +06:00
Ivan Romanov
f2e705c9dd updated certs in cms unittests again 2013-08-07 18:31:25 +06:00
Ivan Romanov
1c0a8d987e updated certificates in smc unit tests 2013-08-01 22:37:09 +06:00
Ivan Romanov
917c314926 updated QcaTest* certificates in certunittest
old certificates expired in 2012 and this unittest failed.
2013-07-31 21:29:33 +06:00
Ivan Romanov
c6aab53822 added placeholding files to restore empty folders from svn repo 2013-07-21 03:30:17 +06:00
Ivan Romanov
4f55e9b680 fix Windows line endings 2013-07-20 23:06:21 +06:00
Ivan Romanov
be81ce4bd5 enable examples and unittests for Qt5
svn path=/trunk/kdesupport/qca/; revision=1348032
2013-04-05 06:48:10 +00:00
David Faure
57ce5c3bc9 Port to Qt5 by Ivan Romanov <drizt@land.ru>
svn path=/trunk/kdesupport/qca/; revision=1347515
2013-04-02 11:00:43 +00:00
Brad Hards
5af426b83a Add support for certificates with SHA2 family digest algorithms.
svn path=/trunk/kdesupport/qca/; revision=992617
2009-07-07 12:24:51 +00:00
Justin Karneges
ad9b7e2ec4 confapp.pri is now the generated file instead of confapp_unix/win.pri
app.pri is now the non-generated file instead of confapp.pri

svn path=/trunk/kdesupport/qca/; revision=958863
2009-04-24 21:12:15 +00:00
Christian Ehrlicher
ba2ed4770f properly set up compile flags (QT_DEBUG/QT_NO_DEBUG, ...) to make sure that the plugins have the correct Q_PLUGIN_VERIFICATION_DATA
BUG: 176440

svn path=/trunk/kdesupport/qca/; revision=903248
2008-12-30 10:05:59 +00:00
Justin Karneges
011a2f0164 oops, qputenv is not available in 4.2. copy it from 4.4 for now.
svn path=/trunk/kdesupport/qca/; revision=835695
2008-07-21 01:11:59 +00:00
Justin Karneges
dcd691b861 use qgetenv/qputenv for better portability
svn path=/trunk/kdesupport/qca/; revision=835693
2008-07-21 01:04:48 +00:00
Justin Karneges
a7fc09ec5a centralize qca inclusion to crypto.prf in the base dir
svn path=/trunk/kdesupport/qca/; revision=815977
2008-06-02 22:35:07 +00:00