4
0
mirror of https://github.com/QuasarApp/qca.git synced 2025-05-12 02:39:34 +00:00

2084 Commits

Author SHA1 Message Date
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
Ivan Romanov
0b363c4048 Do not link against QtConcurrent 2013-11-16 20:19:31 +06:00
Ivan Romanov
094899a00c Optional plugins build
Now possible to build only required plugins and skip all others.
Also can get fail if required plugins can't be built.
By default will be build all possible plugins.

New cmake cache variables:

ENABLE_PLUGINS - list plugins to build (botan;ossl;gnupg for example).
                 Also possible values is none, auto or all
                 (by default: "auto")

WITH_${PLUGIN}_PLUGIN - to build particular plugin. Can be no, yes or
                        auto (WITH_ossl_PLUGIN=auto for example)
2013-11-11 21:08:56 +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
239a0718d2 No CMAKE_INSTALL_PREFIX attention in red 2013-10-17 17:40:32 +06:00
Ivan Romanov
1b3249c6e2 changed plugins directory in build tree 2013-10-02 23:21:43 +06:00
Ivan Romanov
cb46853ffd Some directory layout fixes
In accordance with HFS applications may use a single subdirectory
under /usr/lib. If an application uses a subdirectory, all
architecture-dependent data exclusively used by the application
must be placed within that subdirectory.
2013-10-02 23:11:10 +06:00
Ivan Romanov
094929f903 renamed QCA_LIB_SUFFIX to QCA_SUFFIX
also anothers cmake optimizations
2013-10-02 22:49:27 +06:00
Ivan Romanov
013d6846fc oops, some changes for previous commit
forgot fix qcatool usage
forgot rename qcatool manpage
2013-10-02 22:23:33 +06:00
Ivan Romanov
49f312505c no digit postffix in qcatool2 name 2013-10-02 22:12:32 +06:00
Ivan Romanov
c97846b994 moved LIB_SUFFIX
LIB_SUFFIX has sense only when is using CMAKE_INSTALL_PREFIX
2013-10-02 01:45:15 +06:00
Ivan Romanov
76f0643e55 project name in lower case 2013-10-02 00:54:23 +06:00
Ivan Romanov
1bd99826d5 Revert "cmake: use GNUInstallDirs module"
It was a bad idea by default autotools uses /usr/local/lib
for installing libraries on ANY architecture. But GNUInstallDirs
uses some rules to detect a some lib suffix. Anyway seems
LIB_SUFFIX is a standard de facto way to specify this suffix
when it is need.

This reverts commit d594caf7f3285fc3be056c27079011b48b290587.
2013-10-02 00:51:42 +06:00
Ivan Romanov
f55fab268d cmake: some optimization with binary tree
plugins now is in lib/plugins/crypto
qcatool now is in bin
2013-10-01 08:01:50 +06:00
Ivan Romanov
d594caf7f3 cmake: use GNUInstallDirs module 2013-10-01 07:44:12 +06:00
Ivan Romanov
9ad63089fe Changed LIBRARY_OUTPUT_PATH to new-style
LIBRARY_OUTPUT_PATH is now documented as old-style and
should no longer be used. Should be used
CMAKE_LIBRARY_OUTPUT_DIRECTORY instead of.

Also dropped LIB_SUFFIX. I don't understand any sense
of this variable and it has no any comments.
Also googling no clear answer. So I just dropped it.
2013-10-01 07:14:49 +06:00
Ivan Romanov
728a2de655 cmake: put APPLE block after basic variables 2013-10-01 07:10:34 +06:00
Ivan Romanov
0a03235ade Fixed plugins install path when defined CMAKE_INSTALL_PREFIX
Now it is ${LIB_INSTALL_DIR}/plugins/crypto without qt folder
2013-09-24 23:28:46 +06:00
Ivan Romanov
638cf2aac7 cmake minumum version is 2.6.0 2013-09-24 18:23:38 +06:00
Ivan Romanov
25cbeefcb7 do not use QCA_INSTALL_IN_QT_PREFIX
This cache entry dropped. Now Qt prefix will be used only
if user explicity don't define CMAKE_INSTALL_PREFIX.
Also show attention for user if he didn't define CMAKE_INSTALL_PREFIX
2013-09-24 17:14:36 +06:00
Ivan Romanov
4362678874 Revert "Use qt5 suffix by default when installing a Qt5 version of QCA"
I don't agree with this patch. See my comments on
https://git.reviewboard.kde.org/r/111938/

This reverts commit bfeabc149ed64abc1a6186b9cd3cdd57f89fa5ec.
2013-09-24 01:37:03 +06:00
Ivan Romanov
0768474121 Remove ECM from INSTALL instructions
Now ECM not needest for Qt5 building. So this obsoletes.
2013-09-09 21:39:48 +06:00
Alex Richardson
cadbbd4f4f Also check for /etc/ssl/ca-bundle.pem as a system certificate store
This path is used at least for openSuSE
2013-09-03 14:41:15 +02:00
Alex Richardson
bfeabc149e Use qt5 suffix by default when installing a Qt5 version of QCA
This way coinstallation of Qt4 and Qt5 based QCA is possible by default

REVIEW: 111938
2013-09-03 14:38:32 +02:00
Ivan Romanov
034f873f68 use Qt5 C++ flags for examples, tools and unittests 2013-08-30 20:22:59 +06:00
Ivan Romanov
bd2c474039 no ECM 2013-08-30 20:18:00 +06:00
Ivan Romanov
b9b3f8045a cmake rules cosmetic 2013-08-28 14:51:43 +06:00
Ivan Romanov
e44dd906cd added description of PKGCONFIG_INSTALL_PREFIX to INSTALL instructions 2013-08-28 12:52:16 +06:00
Ivan Romanov
5700a5e2e5 On Windows dll is installing in bin dir 2013-08-28 03:59:20 +06:00
Ivan Romanov
eb011df617 fixed previous commit 2013-08-27 03:50:45 +06:00
Ivan Romanov
1c6dbab41a fix Qt5 mkspecs install dir 2013-08-27 03:41:39 +06:00
Ivan Romanov
a23f035f55 Added ECM requires to INSTALL instructions 2013-08-27 01:52:49 +06:00
Ivan Romanov
55e6545949 Added useful links to INSTALL 2013-08-26 01:28:47 +06:00
Ivan Romanov
0bfa3bf749 updated INSTALL instructions 2013-08-26 01:18:55 +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