Michele Calgaro
43e38f2c0a
Replace KDE_DEPRECATED with TDE_DEPRECATED
...
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
7 months ago
Michele Calgaro
bba3128085
Replace KDE_[NO_]EXPORT with TDE_[NO_]EXPORT
...
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
7 months ago
Michele Calgaro
03aa7238b3
Replace Q_WS_* defines with TQ_WS_* equivalents
...
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
9 months ago
Michele Calgaro
ba3b5b77e1
Use new TQ_METHOD, TQ_SIGNAL, TQ_SLOT defines
...
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
11 months ago
Michele Calgaro
c8ece3630d
Replace Qt with TQt
...
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
1 year ago
Michele Calgaro
4c0dae60b2
Replace QObject, QWidget, QImage, QPair, QRgb, QColor, QChar, QString, QIODevice with TQ* version
...
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
1 year ago
Michele Calgaro
8eb500c4e8
Replace Q_OBJECT with TQ_OBJECT
...
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
1 year ago
Michele Calgaro
36c049e135
Replace _OBJECT_NAME_STRING defines with actual strings. This relates to the merging of tqtinterface with tqt3.
...
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
1 year ago
Michele Calgaro
8233b2e565
Drop Qt2's TQSemiModal and TQSortedList classes
...
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
1 year ago
Michele Calgaro
9440fb5585
Fix FTBFS caused by previous commit
...
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
1 year ago
Denis Kozadaev
ee09921685
SunOS spesific SSL pathes
...
Signed-off-by: Denis Kozadaev <denis@dilos.org>
1 year ago
Slávek Banko
cb87252f7d
KSSL: Add names for OpenSSL 3.x libraries to SSL libraries search.
...
Use OPENSSL_SHLIB_VERSION for default libraries version.
This relates to issue #176 .
Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
2 years ago
Michele Calgaro
682b8acae4
KSSL: fixed detection of correct 'SSL_get_peer_certificate' method. This resolves incompatibility with openSSL 3.0.
...
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
2 years ago
Mavridis Philippe
49ea1c8db2
KSSL: Rebuilt local certificates bundle
...
Signed-off-by: Mavridis Philippe <mavridisf@gmail.com>
3 years ago
Mavridis Philippe
3b873f0258
KSSL: Added ISRG root certs for LetsEncrypt
...
Signed-off-by: Mavridis Philippe <mavridisf@gmail.com>
3 years ago
Michele Calgaro
4f99f868f0
Renaming of files in preparation for code style tools.
...
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
4 years ago
Michele Calgaro
ed8e30bc6d
Removed code formatting modelines.
...
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
4 years ago
Matías Fonzo
aa9b9581a9
Fix LibreSSL detection at tdeio/kssl/
...
Signed-off-by: Matías Fonzo <selk@dragora.org>
5 years ago
François Andriot
a6bbb9e7bc
Fix missing return values in kopenssl.
...
Signed-off-by: François Andriot <francois.andriot@free.fr>
Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
5 years ago
Michele Calgaro
8b66a5759a
Fixed type in LIBRESSL usage. This relates to a comment made on issue #28 .
...
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
5 years ago
Slávek Banko
a2ad929640
Fix SSL initialization for OpenSSL >= 1.1.
...
The first argument of the OPENSSL_init_ssl and OPENSSL_init_crypto
functions must be a 64-bit int, not a 32-bit int, as this caused
unpredictable OpenSSL behavior.
This resolves bug 3024.
Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
5 years ago
Chris
0e071064b9
Fix remaining brandings in tdelibs and adopt to modern age.
...
Signed-off-by: Chris <xchrisx@uber.space>
5 years ago
Mavridis Philippe
86fea6f5c5
Added some checks in KSSL (in TDEIO) to correctly recognize LibreSSL (which is a fork of OpenSSL 1.0.1b)
...
This resolves issue #28 .
Signed-off-by: Mavridis Philippe <mfilippos@yandex.ru>
6 years ago
Slávek Banko
8a859540c3
Use system libdir when searching for dynamically loaded libraries.
...
This prevents finding an incorrect architecture on multi-arch systems.
Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
6 years ago
Slávek Banko
43609c8a21
Fix SSL initialization for OpenSSL >= 1.1.
...
Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
6 years ago
Michele Calgaro
6ec26d859b
KPasswordEdit::password() now returns a TQString instead of a const char *. This relates to bug 2961.
...
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
6 years ago
Michele Calgaro
2e0398f755
QT_NO_* -> TQT_NO_* renaming.
...
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
6 years ago
Slávek Banko
45cf7d13eb
KSSL: Set hostname in TLSext to enable SNI support
...
Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
8 years ago
Slávek Banko
adb9d9d2b0
KSSL: Use TLS_client_method instead of TLSv1_client_method
...
This enables TLS protocols newer than v1.0
This resolves bug 2764
Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
8 years ago
Slávek Banko
e1861cb681
Added support for OpenSSL 1.1
...
Some KOpenSSLProxy methods have been renamed to be consistent
with OpenSSL 1.1 API names and to prevent hidden API changes.
To ensure API / ABI compatibility, the original methods are
still included but have been marked as deprecated.
+ SSLv23_client_method => TLS_client_method
+ X509_STORE_CTX_set_chain => X509_STORE_CTX_set0_untrusted
+ sk_dup => OPENSSL_sk_dup
+ sk_free => OPENSSL_sk_free
+ sk_new => OPENSSL_sk_new
+ sk_num => OPENSSL_sk_num
+ sk_pop => OPENSSL_sk_pop
+ sk_push => OPENSSL_sk_push
+ sk_value => OPENSSL_sk_value
Additional methods have been added to KOpenSSLProxy to support
the new OpenSSL 1.1 API functions that provide access to the
(now) opaque SSL structures. Compatibility with OpenSSL < 1.1
is handled internally in KOpenSSLProxy.
+ BIO_get_data
+ DSA_get0_key
+ DSA_get0_pqg
+ EVP_PKEY_base_id
+ EVP_PKEY_get0_DSA
+ EVP_PKEY_get0_RSA
+ RSA_get0_key
+ X509_CRL_get0_lastUpdate
+ X509_CRL_get0_nextUpdate
+ X509_OBJECT_get0_X509
+ X509_OBJECT_get_type
+ X509_STORE_CTX_get_current_cert
+ X509_STORE_CTX_get_error
+ X509_STORE_CTX_get_error_depth
+ X509_STORE_CTX_set_error
+ X509_STORE_get0_objects
+ X509_STORE_set_verify_cb
+ X509_get0_signature
+ X509_getm_notAfter
+ X509_getm_notBefore
+ X509_subject_name_cmp
+ _SSL_session_reused
+ _SSL_set_options
Method "KSSL::setSession" has been renamed to "KSSL::takeSession"
and its functionality has changed: the session is now transferred
from the argument object to the invoked object. Since it is only
used internally in TDE and the functionality is different, the
method with the previous name has not been preserved.
Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
8 years ago
Timothy Pearson
07dbb3b5c9
Parse GENERALIZEDTIME ASN structures
...
This fixes certificate dates beyond year 2049.
8 years ago
Timothy Pearson
62a597d752
Fix crash on KSSLCertificate deallocation when a CRL is held in the KSSLCertificate object
9 years ago
Timothy Pearson
9bf244dd97
Fix memory leak when deleting a KSSLCertificate that holds a CRL
9 years ago
Timothy Pearson
5896a404bc
Add initial CRL support to KSSLCertificate
9 years ago
Timothy Pearson
c51a15f04a
Fix unused variable compiler warnings
9 years ago
Timothy Pearson
59e5235822
Fix compiler warning regarding missing braces
9 years ago
Timothy Pearson
e757d3d6ae
Check if SSL symbols exist before attempting to load them
...
This relates to Bug 1655
11 years ago
Timothy Pearson
bab94d8378
Rename KWallet to TDEWallet
11 years ago
Francois Andriot
a67a48107f
Fix security issue when displaying certificate informations (CVE-2011-3365)
12 years ago
Timothy Pearson
ed99a30644
Rename additional header files to avoid conflicts with KDE4
12 years ago
Timothy Pearson
8bd62a3b0d
Rename common header files for consistency with class renaming
12 years ago
Timothy Pearson
59d153016b
Rename KLocale to enhance compatibility with KDE4
12 years ago
Timothy Pearson
d3afa6baf9
Rename KStandard for enhanced compatibility with KDE4
12 years ago
Timothy Pearson
5159cd2beb
Rename a number of libraries and executables to avoid conflicts with KDE4
12 years ago