Albert Astals Cid
32c6eb989c
Link only to invent as repo
2020-01-25 00:56:36 +01:00
Albert Astals Cid
e8a7e1f12b
affinix.com is dead
2020-01-25 00:56:03 +01:00
Albert Astals Cid
987e447551
We don't work with Qt4 anymore
2020-01-25 00:55:47 +01:00
Albert Astals Cid
d61a1ce875
Rearrange README a bit
2020-01-25 00:54:38 +01:00
Albert Astals Cid
f9fc3f356f
remove unused variables
2020-01-24 10:46:27 +01:00
Albert Astals Cid
d298a11af7
SASL_AUTH_EXTERNAL wants a char * not a char **
...
Reviewers: sitter
Reviewed By: sitter
Differential Revision: https://phabricator.kde.org/D26879
2020-01-23 23:33:03 +01:00
Albert Astals Cid
d3fd2d9a10
Don't store the char * of a bytearray.toLatin1().data()
...
It's dangling memory
2020-01-23 17:45:05 +01:00
Albert Astals Cid
d3f8ea684e
QString::mid -> midRef
2020-01-23 17:40:59 +01:00
Albert Astals Cid
3d6e4e7c2e
Enable QT_NO_URL_CAST_FROM_STRING
2020-01-23 17:29:27 +01:00
Albert Astals Cid
6a1d268315
Enable QT_NO_CAST_FROM_BYTEARRAY
2020-01-23 17:26:29 +01:00
Albert Astals Cid
2a988a2021
Add QT_NO_CAST_TO_ASCII
2020-01-23 17:19:49 +01:00
Albert Astals Cid
6b229c3ae2
Add QT_STRICT_ITERATORS
2020-01-23 17:18:46 +01:00
Albert Astals Cid
79af2e7fdf
Enable QT_USE_QSTRINGBUILDER and QT_NO_NARROWING_CONVERSIONS_IN_CONNECT
2020-01-22 19:31:37 +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
29c7d98898
Fix MACContext clone in botan/gcrypt/nss
...
And excercise that from the unittest
2020-01-21 01:12:07 +01:00
Albert Astals Cid
0ce2b3927e
Fix HashContext in botan/gcrypt/nss
...
And make sure the hashunittest exercises them
2020-01-21 00:54:10 +01:00
Albert Astals Cid
501a539c22
botan: Require botan2
...
It's already 2 years old, more than sensible to ask for uptodate crypto
stuff
2020-01-20 23:32:04 +01:00
Albert Astals Cid
156dd01575
hashunittest: Make finding the files easier
2020-01-20 23:16:15 +01:00
Albert Astals Cid
24df5ea742
hashunittest: Fail not warn if test files can't be found
2020-01-20 23:12:30 +01:00
Albert Astals Cid
c0d8f1807d
botan: remove stdout here
...
This gets called on initialization and most people won't even probably
will be asking for this particular method so no need to be annoying
2020-01-20 23:04:36 +01:00
Albert Astals Cid
bdb0e9d37d
hashunittest: test all providers
2020-01-20 23:03:31 +01:00
Albert Astals Cid
c1a4ad1ab1
botan: check md2 is supported before saying it is
2020-01-20 23:03:28 +01:00
Albert Astals Cid
61daaffee6
openssl: Reenable whirpool
...
If that means ancient openssl don't work, that's the problem of people
using ancient openssl
2020-01-20 22:49:09 +01:00
Albert Astals Cid
416d89268e
ciphertest: Test all providers
2020-01-20 20:02:02 +01:00
Albert Astals Cid
391360f145
gcrypt: disable des, seems it fails on some cases
2020-01-20 20:02:02 +01:00
Albert Astals Cid
f429960d58
qcrypt: Fix crash on platforms where uint and size_t are different
2020-01-20 20:02:02 +01:00
Albert Astals Cid
a77ea02b8d
botan: Check if ciphers are supported before saying they are
...
Now all tests pass :)
2020-01-20 20:02:02 +01:00
Laurent Montel
acb45eeb84
Use nullptr
2020-01-20 13:37:51 +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
Albert Astals Cid
5105fc4981
botan: Make sure it supports pbkdf1(md2) before saying we to
...
At least my version (2.13.0) doesn't seem to support it
"Fixes" kdfunittest
2020-01-20 00:46:41 +01:00
Albert Astals Cid
b9d80939c6
botan: Fix crash if asking for something botan doesn't provide
...
Fixes crash in KDFUnitTest with my botan installation
2020-01-19 22:32:32 +01:00
Albert Astals Cid
1b061d63a8
gpg: use the loopback pinentry
...
otherwise we don't get asked back for passphrase like we want to
2020-01-19 22:17:53 +01:00
Albert Astals Cid
8adde8d9c7
Add file i forgot to commit, sorry ^_^
2020-01-19 22:16:08 +01:00
Albert Astals Cid
a0194d7ffd
qFind -> std::find
2020-01-19 18:01:15 +01:00
Albert Astals Cid
ba3fb44b49
qVariantSetValue -> QVariant::setValue
2020-01-19 17:59:03 +01:00
Albert Astals Cid
70406170f5
Cleanup Qt version checks
2020-01-19 17:57:35 +01:00
Albert Astals Cid
4ad7e911d9
QString::sprintf -> QString::asprintf
2020-01-19 17:45:25 +01:00
Albert Astals Cid
0816a04f42
qSort -> std::sort
2020-01-19 17:35:06 +01:00
Albert Astals Cid
83c23c7a3a
QTime -> QElapsedTimer
2020-01-19 17:32:15 +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
326399794e
qca-botan: Don't crash if BotanCipherContext fails
...
Makes the cipher unit test at least not crash (even if it doesn't pass)
2020-01-19 16:27:09 +01:00
Albert Astals Cid
691395e193
BigInteger: Test the toArray/fromArray
2020-01-19 12:16:37 +01:00
Nicolas Fella
c167627675
Don't use obsolete qVariantFromValue
...
Test Plan: Same tests as before pass
Reviewers: iromanov, sitter, dfaure, #frameworks
Reviewed By: sitter
Differential Revision: https://phabricator.kde.org/D25802
2019-12-07 23:27:42 +01:00
Harald Sitter
4b11437f7a
change the android condition to a getuid check
...
it's unclear if anyone would ever run a qca app as root on android, but
in case they do we'd still want to drop
discussed in D23289
2019-09-07 17:26:31 +02:00
Peter Petrik
2895ca34dd
Fix QCA android build
...
Summary:
to be able to run Input App (Android), we have to avoid calls to setuid. Otherwise the application coredumps on this call during runtime.
see https://github.com/lutraconsulting/input-sdk/blob/master/android/recipes/qca/recipe.sh
Reviewers: sitter, dfaure
Reviewed By: sitter
Differential Revision: https://phabricator.kde.org/D23289
2019-09-07 17:26:28 +02:00
R.J.V. Bertin
0be2a2ced3
Call cmake_minimum_required() before project()
...
Also correct a typo.
Differential revision: https://phabricator.kde.org/D8510
2019-06-08 17:20:00 +02:00