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

396 Commits

Author SHA1 Message Date
Ivan Romanov
ca1667c118 dropped unused #include 2014-11-13 02:13:50 +05:00
Ivan Romanov
e8050ebbc1 fixed linking on Windows 2014-09-27 01:06:37 +06:00
Ivan Romanov
3ebc9c14e2 SafeTimer: many fixes
1. SafeTimer now is common and public class. All plugins use this
   implementation.
2. Added debug messages in SafeTimer. Uncomment SAFETIMER_DEBUG to
   enable.
3. TimerFixer skips SafeTimer objects. No need extra fixes for
   SafeTimer. But can be problems with children of SafeTimer I
   believe no such.
2014-09-25 07:26:24 +06:00
Ivan Romanov
4b8e2214cd added new functiion pluginPaths
Retrieve plugin paths. It consists of:
1. QCA_PLUGIN_PATH environment if set.
2. QCoreApplication::libraryPaths() .
3. Directory where plugins were installed.

QCA_PLUGIN_PATH is paths list like PATH or QT_PLUGIN_PATH.
It uses system path separator. ";" on Windows and ":" on Unix.

Also qcatool now uses this function.
2014-09-24 17:47:35 +06:00
Florian Fieber
2559f1779a Fix operating on keys with unrelated expired subkeys
Ignore KEYEXPIRED which will be thrown for any expired subkey regardless
of being related to the current operation. Instead, use EXPKEYSIG,
REVKEYSIG, EXPSIG and INV_RECP accordingly.

Add new errors QCA::SecureMessage::{ErrorSignerRevoked,
                                    ErrorSignatureExpired,
                                    ErrorEncryptRevoked}.

Due to GnuPG bug  <https://bugs.g10code.com/gnupg/issue1650>
encrypting to an expired or revoked key will omit the reason for failing,
resulting in the error code QCA::SecureMessage::ErrorEncryptInvalid.

REVIEW: 118567
2014-09-08 18:14:40 +06:00
Teo Mrnjavac
2c69c724d5 Wrap string literals in QStringLiteral in headers 2014-02-10 18:32:34 +01: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
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
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
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
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
fc315c5bba added no padding encryption algorithm to qca core 2013-08-25 16:50:51 +06:00
Ivan Romanov
affef9fc80 added CTR symetric cipher support to qca core 2013-08-25 00:23:19 +06:00
Ivan Romanov
f3315b6913 minor fix in Hash documentation
svn path=/trunk/kdesupport/qca/; revision=1356091
2013-05-23 10:19:50 +00:00
Ivan Romanov
e4092537e6 [qca] porting to Qt5
http://qt-project.org/doc/qt-5.0/qtdoc/sourcebreaks.html
The QObject::connectNotify() and QObject::disconnectNotify() functions now need a QMetaMethod argument that identifies the signal, rather than a const char pointer.

svn path=/trunk/kdesupport/qca/; revision=1348086
2013-04-06 06:52:54 +00:00
Justin Karneges
b982fe98f0 prepare for 2.0.3 release
svn path=/trunk/kdesupport/qca/; revision=1201470
2010-11-27 20:34:37 +00:00
Justin Karneges
177149f8b4 in the docs, explain that signatures are more than just hash+pubkey operations
svn path=/trunk/kdesupport/qca/; revision=1062589
2009-12-15 09:48:04 +00:00
Brad Hards
5af426b83a Add support for certificates with SHA2 family digest algorithms.
svn path=/trunk/kdesupport/qca/; revision=992617
2009-07-07 12:24:51 +00:00
Justin Karneges
f4bec75e39 really set version to 2.0.2
svn path=/trunk/kdesupport/qca/; revision=961313
2009-04-29 21:43:35 +00:00
Thomas Zander
ef5c3eea5e Fixes: including <QtCrypto/QtCrypto> gives error if app doesn't add the
QtCrypto dir to include path.
Details: Include files in the same dir should be included with double quote.


svn path=/trunk/kdesupport/qca/; revision=891794
2008-12-02 21:28:47 +00:00
Justin Karneges
b2f9cb34da docs nit
svn path=/trunk/kdesupport/qca/; revision=818668
2008-06-09 06:27:52 +00:00
Justin Karneges
36fc2a5705 should be 'note' not 'Note'
svn path=/trunk/kdesupport/qca/; revision=816994
2008-06-05 02:01:46 +00:00
Justin Karneges
ac119bc046 update qca version to 2.0.1
update qcatool version to 2.0.1

svn path=/trunk/kdesupport/qca/; revision=810570
2008-05-21 00:30:15 +00:00
Justin Karneges
c7f5815b98 fix license header wrapping
svn path=/trunk/kdesupport/qca/; revision=808523
2008-05-16 20:41:50 +00:00
Justin Karneges
36a080bc6e remove default argument, for forwards compat with 2.0.0. we'll put this
back in 2.1

svn path=/trunk/kdesupport/qca/; revision=800344
2008-04-23 23:01:57 +00:00
Justin Karneges
3c19274329 pgp fingerprint is much longer than 16 digits :)
svn path=/trunk/kdesupport/qca/; revision=800342
2008-04-23 22:54:03 +00:00
Brad Hards
72b42ab6f1 Minor API docs update.
svn path=/trunk/kdesupport/qca/; revision=747137
2007-12-11 06:29:58 +00:00
Justin Karneges
f661fb638b provider should have a default value
svn path=/trunk/kdesupport/qca/; revision=731776
2007-11-01 20:23:15 +00:00
Justin Karneges
bf983715d3 use Q_SIGNALS
svn path=/trunk/kdesupport/qca/; revision=729745
2007-10-26 20:29:42 +00:00
Justin Karneges
5194ff41a1 2.0.0 final
svn path=/trunk/kdesupport/qca/; revision=719686
2007-10-01 17:33:41 +00:00
Justin Karneges
e6fae3bf73 more parameter docs
svn path=/trunk/kdesupport/qca/; revision=708114
2007-09-03 21:06:16 +00:00
Brad Hards
793febc551 A little more API docs.
svn path=/trunk/kdesupport/qca/; revision=708108
2007-09-03 20:59:10 +00:00
Justin Karneges
5a21fd531c add missing parameter docs
svn path=/trunk/kdesupport/qca/; revision=708100
2007-09-03 20:44:32 +00:00
Brad Hards
2516322eea More API docs.
CCMAIL: justin@affinix.com

svn path=/trunk/kdesupport/qca/; revision=708083
2007-09-03 19:51:18 +00:00
Brad Hards
d0f109e61e More API docs fixes.
svn path=/trunk/kdesupport/qca/; revision=708047
2007-09-03 18:11:36 +00:00
Brad Hards
9f9156e4a6 API documentation fixes.
svn path=/trunk/kdesupport/qca/; revision=707939
2007-09-03 12:04:55 +00:00
Brad Hards
a0992ebbd0 Implement the Whirlpool hashing algorithm, and the
CAST5 cipher in QCA.

CCMAIL: tnagy1024@gmail.com

svn path=/trunk/kdesupport/qca/; revision=707711
2007-09-02 18:55:35 +00:00
Justin Karneges
97c6bbdd29 supported types for cipher and mac, also allow choosing a provider
svn path=/trunk/kdesupport/qca/; revision=705842
2007-08-28 18:03:36 +00:00
Justin Karneges
94f2389524 consistency with other qca enum use
svn path=/trunk/kdesupport/qca/; revision=705827
2007-08-28 17:28:02 +00:00
Justin Karneges
8ebcc36d68 explicit constructors
svn path=/trunk/kdesupport/qca/; revision=705822
2007-08-28 17:16:39 +00:00
Justin Karneges
5e602dcd97 Hash::supportedTypes and InfoContext
svn path=/trunk/kdesupport/qca/; revision=705821
2007-08-28 17:11:40 +00:00
Brad Hards
7ffb1dea73 Fix a few EBN warnings.
svn path=/trunk/kdesupport/qca/; revision=705818
2007-08-28 17:04:45 +00:00
Justin Karneges
f905028190 whitespace adjustments
svn path=/trunk/kdesupport/qca/; revision=705483
2007-08-28 01:36:27 +00:00
Brad Hards
57d0f8c93a Minor docs tweaks.
svn path=/trunk/kdesupport/qca/; revision=705256
2007-08-27 15:36:18 +00:00
Justin Karneges
51adb11e2d expose bigint mul,div,mod functions
svn path=/trunk/kdesupport/qca/; revision=703509
2007-08-22 17:57:51 +00:00
Brad Hards
a75a02455d Add in the missing API documentation.
svn path=/trunk/kdesupport/qca/; revision=702796
2007-08-21 07:35:34 +00:00
Justin Karneges
13810ec088 don't mention QMemArray or QCString
svn path=/trunk/kdesupport/qca/; revision=698672
2007-08-10 16:51:44 +00:00
Brad Hards
3974d56670 Minor API docs update.
svn path=/trunk/kdesupport/qca/; revision=698569
2007-08-10 11:11:39 +00:00
Justin Karneges
d803c750dc more docs
svn path=/trunk/kdesupport/qca/; revision=697155
2007-08-06 23:46:59 +00:00