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

2119 Commits

Author SHA1 Message Date
Ivan Romanov
fbdf57f843 cmake: install .PDB files
On Windows when compiling with Visual Studio will be produced special
.pdb files for debuggins purposes. It must be put next to target
runtime (.dll or .exe) file.
2014-02-03 02:05:54 +06:00
Ivan Romanov
01bf129066 fix previous commit 2014-02-02 02:39:32 +06: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
e42df7e95c cmake: use standard BUILD_SHARED_LIBS instead of own SHARED_LIBRARY
BUILD_SHARED_LIBS is internally defined is cmake. So it is a
preferable way to choose shared or static library will be built.
2014-02-01 03:36:57 +06:00
Ivan Romanov
2502aad59d cmake: after compiling put all static libs to lib directory 2014-02-01 03:33:29 +06:00
Ivan Romanov
d9cbbf906d Supress cmake policy warnings on Windows 2014-02-01 01:26:15 +06:00
Ivan Romanov
dc42b9713f fix windows compilation warning
qca_systemstore_win.cpp hasn't Q_OBJECT macro.
It is regular C++ sources file.
2014-02-01 00:53:38 +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
b049c59588 qca-botan: fixed getting result size for ciphers
Do not try to guess the result size. It rely with particular
algo and some other factors and so can be any. Just use
Pipe::remaining() for this purpose.
2014-01-30 00:33:50 +06:00
Ivan Romanov
184db75d4b cmake: use QT_HEADER_DIR instead of QT_INCLUDE_DIR
Qt/Mac frameworks has two include dirs.
One is the framework include for which CMake will add a -F flag
and the other is an include dir for non-framework Qt modules.
QT_INCLUDE_DIR contains both.
QT_HEADER_DIR is for non-framework Qt modules.
2014-01-28 17:33:58 +06:00
Ivan Romanov
eb54373946 cmake: use install(FILES ...) instead of old style install_files 2014-01-26 03:32:07 +06:00
Adnan RIHAN
71f932186b Fixed "unused variable" warning in qca-gcrypt plugin 2014-01-22 11:10:19 +01:00
Bartosz Brachaczek
0e2dd07cd1 Remove pointer to deinit() routine from QCoreApplication at deinitialization
REVIEW: 115159
2014-01-21 13:23:11 +06:00
Uwe L. Korn
9537815da5 Declare correct Qt version for pkg-config
REVIEW: 115050
2014-01-17 13:56:50 +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
80048dc7b9 qca-nss: fixed KeyLenght for Cipher
Before was KeyLength(0, 0, 0). Seems it is dummy.
2014-01-03 22:14:14 +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
Ivan Romanov
6dd10a4e91 Dropped useless script 2014-01-03 19:02:50 +06:00
Ivan Romanov
8098fc925f Added cmake doc target
Do not use doxygen directly. Often cmake build out-of-source.
So it usefult to have doc make target. It is required to generate
documentation for generating header file (qca_version.h) which places
in build tree.
2014-01-03 15:53:19 +06:00
Ivan Romanov
5bfb2dc9bf bump version to 2.1.0 2014-01-03 15:19:40 +06:00
Ivan Romanov
6bf4e5213e Define QCA version only in cmake rules
Added new generated public include qca_version.h.
Also add new version DEFINES
  QCA_MAJOR_VERSION
  QCA_MINOR_VERSION
  QCA_PATCH_VERSION
  QCA_VERSION_STR
  QCA_VERSION_CHECK(major, minor, patch)

and new version functions
  const char *qcaVersionStr()
  int qcaMajorVersion()
  int qcaMinorVersion()
  int qcaPatchVersion()
2014-01-03 14:37:00 +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
Ivan Romanov
4edfa3fcba fixed previous commit 2014-01-02 00:02:12 +06:00
Ivan Romanov
1c09b7b8b1 Dropped own FindQt4 cmake module use system one 2014-01-01 22:32:10 +06:00
Ivan Romanov
94ab628411 Added botan-config-1.10 to list possible botan-config names
Such name is used on Fedora 20.
2014-01-01 21:26:43 +06:00
Ivan Romanov
dc5af5c374 fixed mozcerts building rules
Use QCA_SUFFIX when building mozcerts.
Place mozcerts binary in ./bin after linking.
2014-01-01 05:47:55 +06:00
Ivan Romanov
087357a810 Added cmake BUILD_TOOLS option
By default is 'on'. With this option will be compiled mozcerts
and qcatool.
2014-01-01 05:37:40 +06:00
Ivan Romanov
5d06579605 Use internal cache vars to choose plugins for building
It allow to know will be particular plugin build or no
in any place of cmake rules.
2014-01-01 02:10:15 +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
ea239aaf96 [ossl] fixed certs time zone 2013-12-09 03:32:59 +06:00
Ivan Romanov
31c9e2a76f added make uninstall target
thanks for Adnan RIHAN
2013-12-08 02:34:34 +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
d8993df06a small fix for previous commit 2013-12-05 01:34:56 +06:00
Ivan Romanov
7868e79a64 Mac OS X debug postfix 2013-12-04 22:51:32 +06:00
Ivan Romanov
7fd427f0c6 Corrected INSTALL file 2013-12-01 01:53:36 +06:00
Ivan Romanov
60b96878d7 fixed tab 2013-11-21 11:34:50 +06:00
Ivan Romanov
4e535d25e5 Fixed IID for all plugins
In Qt5 plugin IID is the same as identifier from Q_DECLARE_INTERFACE
2013-11-21 11:31:13 +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
2d1d815ab2 less warnings 2013-11-17 16:22:35 +06:00
Ivan Romanov
ab7ec14047 fixed rsa decription when no e or d
When private key has no Public Exponent (e) or Private Exponent (d)
need to disable blinding. Otherwise decryption will be broken.
http://www.mail-archive.com/openssl-users@openssl.org/msg63530.html
2013-11-17 16:09:14 +06:00
Ivan Romanov
e2ab61c10e Implement EME_PKCS1v15_SSL and EME_NO_PADDING in qca-ossl plugin 2013-11-17 02:33:26 +06:00
Ivan Romanov
3aafc9c4e3 added EME_PKCS1v15_SSL Encryption Algorithm
OpenSSL defines four encryption algorithms for RSA encryption. Added
new algorithm EME_PKCS1v15_SSL which identical with RSA_SSLV23_PADDING
2013-11-17 02:06:12 +06:00