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
Justin Karneges
8fffb41849
qmake no longer considered "experimental" for the unittests, but do
...
mention that the unittests were originally designed for cmake.
svn path=/trunk/kdesupport/qca/; revision=811010
2008-05-22 01:02:07 +00:00
Justin Karneges
e1fcfa29a3
make qmake unittests consistent with cmake
...
svn path=/trunk/kdesupport/qca/; revision=811009
2008-05-22 00:54:13 +00:00
Justin Karneges
fb275d4f5a
flush after writes, otherwise buffering may prevent the file system
...
events
svn path=/trunk/kdesupport/qca/; revision=810092
2008-05-20 00:40:51 +00:00
Justin Karneges
0222c7c85d
reload qca anytime we change $GNUPGHOME. qca-gnupg cannot be expected
...
to automatically deal with gnupg keyrings changing locations. maybe in
the future we can add some api to handle this, but right now I don't see
a strong use-case for it.
svn path=/trunk/kdesupport/qca/; revision=800339
2008-04-23 22:48:40 +00:00
Jarosław Staniek
8606df0067
- (windows) fix conflict with setenv() implemented by kdewin32:
...
rename qca's implementation to qca_setenv(), on non-windows it is still original setenv()
svn path=/trunk/kdesupport/qca/; revision=768830
2008-01-30 18:52:33 +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
Brad Hards
8b904d7e81
Add unit test for Whirlpool hash.
...
svn path=/trunk/kdesupport/qca/; revision=707709
2007-09-02 18:51:21 +00:00
Brad Hards
eb73d89811
Add unit test for CAST5.
...
svn path=/trunk/kdesupport/qca/; revision=707708
2007-09-02 18:50:34 +00:00
Brad Hards
d630a8ccd2
Remove tests for some algos (mainly ephemeral Diffie Hellman)
...
that aren't reliably supported by OpenSSL (i.e. some versions
do, but later versions often don't).
This test will always be a bit brittle, because distros can
customise the build of OpenSSL so much.
svn path=/trunk/kdesupport/qca/; revision=707705
2007-09-02 18:47:40 +00:00
Brad Hards
679e89acd2
Add tests for normal message format signature/verification,
...
and disable display of the ugly diagnostics that now work
in the gnupg plugin.
svn path=/trunk/kdesupport/qca/; revision=706044
2007-08-29 09:28:44 +00:00
Brad Hards
0012b83b0e
openssl -> ossl conversion.
...
svn path=/trunk/kdesupport/qca/; revision=705891
2007-08-28 20:26:26 +00:00
Brad Hards
d7a8978a1a
EBN fix.
...
svn path=/trunk/kdesupport/qca/; revision=705820
2007-08-28 17:06:26 +00:00
Justin Karneges
0df00cd901
match the cmake unittests
...
svn path=/trunk/kdesupport/qca/; revision=705474
2007-08-28 00:46:06 +00:00
Brad Hards
af71a104fe
Make sure we have the plugin before checking for
...
features it provides.
svn path=/trunk/kdesupport/qca/; revision=703516
2007-08-22 18:20:46 +00:00
Justin Karneges
0046132348
match cmake build
...
svn path=/trunk/kdesupport/qca/; revision=703487
2007-08-22 16:20:58 +00:00