4
0
mirror of https://github.com/QuasarApp/qca.git synced 2025-05-02 06:09:33 +00:00

20 Commits

Author SHA1 Message Date
Albert Astals Cid
f62a8ee8f7 Run clang-format
find . \( -name "*.cpp" -or -name "*.h"  -or -name "*.c"  -or -name "*.cc" \) -exec clang-format -i {} \;

If you reached this file doing a git blame, please see README.clang-format (added 2 commits in the future of this one)
2020-09-07 02:13:47 +02:00
Albert Astals Cid
8b171279e9 clazy: enable qstring allocation warning 2020-02-13 01:07:24 +01:00
Albert Astals Cid
5e2751fe85 clazy: enable level1 2020-01-29 16:53:08 +01:00
Albert Astals Cid
dbef5838d4 Enable QT_NO_SIGNALS_SLOTS_KEYWORDS 2020-01-22 19:31:28 +01:00
Albert Astals Cid
80f58d05f0 Fix BotanHKDFContext::clone
And excercise it in the unittest
2020-01-21 17:41:24 +01:00
Albert Astals Cid
4449dd088b Fix KDFContex clone in botan/gcrypt
And excercise that from the unittest
2020-01-21 01:19:50 +01:00
Albert Astals Cid
694abbcafa kdfunittest: Test all the backends
and be less verbose when a backend doesn't support what we're testing,
it's fine if the some other one does
2020-01-20 01:01:02 +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
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
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
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
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
6152c977c0 follow qca-openssl -> qca-ossl rename
svn path=/trunk/kdesupport/qca/; revision=681691
2007-06-29 21:30:22 +00:00
Justin Karneges
841a205069 remove unnecessary secure array usage in arrayToHex
svn path=/trunk/kdesupport/qca/; revision=674778
2007-06-13 02:30:43 +00:00
Brad Hards
151f9b51f1 krazy fix.
svn path=/trunk/kdesupport/qca/; revision=654951
2007-04-17 12:15:10 +00:00
Alon Bar-Lev
9f9f2d05d6 QSecureArray/QBigInteger -> QCA::SecureArray/QCA::BigInteger fixups
svn path=/trunk/kdesupport/qca/; revision=653605
2007-04-13 19:19:18 +00:00
André Wöbbeking
07197dc54e -pedantic
svn path=/trunk/kdesupport/qca/; revision=608497
2006-11-27 18:17:05 +00:00
Brad Hards
e75cf4ef3a Convert the key derivation function test to use the
same file for declaration and definitions, and ajust
the build system to match.

Also add CMake support.

svn path=/trunk/kdesupport/qca/; revision=594717
2006-10-12 03:17:19 +00:00
Brad Hards
1fdb5879ad Ensure that we test each provider.
Also add additional support for Botan.

svn path=/trunk/kdesupport/qca/; revision=503086
2006-01-28 08:14:13 +00:00
Brad Hards
3b58d170b4 Start of big reorganisation of the unit tests.
This now requires QTestLib, as provided with 
Qt 4.1

svn path=/trunk/kdesupport/qca/; revision=478231
2005-11-06 09:25:56 +00:00