Albert Astals Cid
70406170f5
Cleanup Qt version checks
2020-01-19 17:57:35 +01:00
Albert Astals Cid
0816a04f42
qSort -> std::sort
2020-01-19 17:35:06 +01:00
Albert Astals Cid
d71f4c279b
Drop Qt4 support
2020-01-19 17:19:23 +01:00
Albert Astals Cid
3293100c42
remove slot that was declared but never implemented
2020-01-19 17:01:19 +01:00
Albert Astals Cid
00d311d90f
Add override
2020-01-19 16:28:44 +01:00
Albert Astals Cid
691395e193
BigInteger: Test the toArray/fromArray
2020-01-19 12:16:37 +01:00
Alexander Volkov
f57d661416
Introduce HKDF
...
Summary:
It's needed for implementation of Secret Service:
https://specifications.freedesktop.org/secret-service/ch07s03.html
Reviewers: iromanov, sitter, #frameworks, dfaure
Reviewed By: dfaure
Subscribers: dfaure
Differential Revision: https://phabricator.kde.org/D15510
2018-10-15 14:30:05 +03:00
Harald Sitter
ee536fd995
Merge remote-tracking branch 'origin/v2.1'
2018-03-22 12:02:31 +01:00
Fabian Vogt
d58e20ee65
Add support for OpenSSL 1.1.0
...
Test Plan:
Ran the testsuite with OpenSSL 1.1.0g and 1.0.2j, all passed.
Using this code with kdeconnect and okteta successfully on my system now.
Reviewers: iromanov
Subscribers: anthonyfieroni, alonbl, heikobecker, cfeck, asturmlechner, bero, rdieter
Differential Revision: https://phabricator.kde.org/D9416
2018-01-04 20:02:38 +01:00
Ivan Romanov
159e144abf
Disable missed openssl cipher suites
...
Fedora 26 has no them.
2017-09-30 15:45:59 +05:00
Ivan Romanov
89800d4341
tlsunittest: disable some ciphers
2017-02-06 17:29:01 +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