summaryrefslogtreecommitdiffstats
path: root/tdeio
Commit message (Collapse)AuthorAgeFilesLines
* Fix missing return values in kopenssl.François Andriot2019-12-041-0/+7
| | | | | | Signed-off-by: François Andriot <[email protected]> Signed-off-by: Slávek Banko <[email protected]> (cherry picked from commit a6bbb9e7bc21382b504c8c6fe408a766a3890bb6)
* Fixed type in LIBRESSL usage. This relates to a comment made on issue #28.Michele Calgaro2019-09-191-1/+1
| | | | | Signed-off-by: Michele Calgaro <[email protected]> (cherry picked from commit 8b66a5759a6735bfcc7a94e6ba539f0bea55d587)
* Fix SSL initialization for OpenSSL >= 1.1.Slávek Banko2019-09-041-2/+2
| | | | | | | | | | | 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 <[email protected]> (cherry picked from commit a2ad929640f62ee1f854564366ce1cd8547de455)
* Fixed missing update of mime comment in refreshed KFileItem. ThisMichele Calgaro2019-08-142-5/+8
| | | | | | | resolves issue #35. Signed-off-by: Michele Calgaro <[email protected]> (cherry picked from commit d3119bb794953d2c8c85a2c805fbe0a0bc8fcbaa)
* Fix remaining brandings in tdelibs and adopt to modern age.Chris2019-07-212-6/+5
| | | | | Signed-off-by: Chris <[email protected]> (cherry picked from commit 0e071064b91e64638e14f3756d477f9e2fd3317e)
* Added some checks in KSSL (in TDEIO) to correctly recognize LibreSSL (which ↵Mavridis Philippe2019-05-102-3/+4
| | | | | | | | | is a fork of OpenSSL 1.0.1b) This resolves issue #28. Signed-off-by: Mavridis Philippe <[email protected]> (cherry picked from commit 86fea6f5c542ba7113dbc598d8b4c18be69901f2)
* Use system libdir when searching for dynamically loaded libraries.Slávek Banko2019-02-271-33/+8
| | | | | | | This prevents finding an incorrect architecture on multi-arch systems. Signed-off-by: Slávek Banko <[email protected]> (cherry picked from commit 8a859540c3cb306844288144a06028dc302408d6)
* Fix SSL initialization for OpenSSL >= 1.1.Slávek Banko2019-02-211-2/+24
| | | | | Signed-off-by: Slávek Banko <[email protected]> (cherry picked from commit 43609c8a21144b56a53d53757639fc6c6298c10d)
* Use common test for large files support.Slávek Banko2019-01-282-8/+0
| | | | | | | Drop hardcoded definition -D_LARGEFILE64_SOURCE=1. Signed-off-by: Slávek Banko <[email protected]> (cherry picked from commit ebf0115af1c52612e02fd8908b4240501bd34c60)
* Change to always build and install KACLOBATA Akio2019-01-271-7/+3
| | | | | | It is used by others even if missing POSIX ACL support. (cherry picked from commit 08b76454681e565ad5e0fe55f3e76380caa39aca)
* Fixed access to TDE wallets created before R14.0.6 that uses specialMichele Calgaro2018-12-301-2/+8
| | | | | | | non-ascii characters in their password. Signed-off-by: Michele Calgaro <[email protected]> Signed-off-by: Slávek Banko <[email protected]>
* Add CMakeL10n rules.Slávek Banko2018-12-092-0/+11
| | | | | Signed-off-by: Slávek Banko <[email protected]> (cherry picked from commit 707d60c602a5bed23be354ea362ea7c24a87fb0b)
* Deleted blank line at the beginning of the file.Slávek Banko2018-12-021-1/+0
| | | | | | | This prevented proper processing by extractrc. Signed-off-by: Slávek Banko <[email protected]> (cherry picked from commit 0e892bc70070640f68a09bb4897a7c0fd7bfe929)
* Fix security issue CVE-2017-6410Slávek Banko2018-07-261-2/+10
| | | | | | | [taken from RedHat kdelibs patches] Signed-off-by: Slávek Banko <[email protected]> (cherry picked from commit a3b86c26903ade446ac57afc8c3f8a9c1bd66390)
* Revert "Revert "Fix bug reports link in about dialog""Michele Calgaro2018-07-265-12/+12
| | | | | | | The reversion was done by mistake and inadvertently. Sorry for the mess :-( This reverts commit dcb480334c2e8a53fd5ca421b6bd686ea594d4ac.
* Revert "Fix bug reports link in about dialog"Michele Calgaro2018-07-265-12/+12
| | | | This reverts commit 69fc44f5d55b813aeeb0c06473ceede28400e7bf.
* Fix bug reports link in about dialogSlávek Banko2018-06-305-12/+12
| | | | | | | | Update bug reports url to bugs.trinitydesktop.org This resolves bug 2935 Signed-off-by: Slávek Banko <[email protected]> (cherry picked from commit aa83c86cd30e77bad7fdb2b047ce256a24c883b5)
* Fix previous commit typo.Michele Calgaro2018-04-301-1/+1
| | | | | Signed-off-by: Michele Calgaro <[email protected]> (cherry picked from commit c18840c76f3cadeff5f1279f1ea8c1920194ea6e)
* Fixed service lookup in KOpenWithDlg. Default is now to lookup byMichele Calgaro2018-04-303-30/+41
| | | | | | | | | desktop path and not by name, to avoid returning the wrong service when two or more .desktop files where using the same "Name" field. This resolves bug 2734 (together with the changes made in applications/kcmautostart) Signed-off-by: Michele Calgaro <[email protected]> (cherry picked from commit bcdfbb95e94db26bf984443ce583d919a330058c)
* KSSL: Set hostname in TLSext to enable SNI supportSlávek Banko2017-04-091-0/+6
| | | | | Signed-off-by: Slávek Banko <[email protected]> (cherry picked from commit 45cf7d13eb68be0fd469fd49275c000a2c7bcc2f)
* KSSL: Use TLS_client_method instead of TLSv1_client_methodSlávek Banko2017-04-091-7/+9
| | | | | | | | This enables TLS protocols newer than v1.0 This resolves bug 2764 Signed-off-by: Slávek Banko <[email protected]> (cherry picked from commit adb9d9d2b0bfbb0f856673e663aad7c4a63020eb)
* Fixed code for tdefiledialog which caused the problem explained in bugMichele Calgaro2017-02-061-3/+9
| | | | | | | | | | 2743. Using the new code, editing the path information in a tdefiledialog and pressing the "open/save" button will behave exactly in the same way as if ENTER was pressed after editing the path and before pressing "open/save". Signed-off-by: Michele Calgaro <[email protected]> (cherry picked from commit 05bcfa76fc9bd5dcf7267f2b5a26436566a9cf82)
* Reverted commit 53e36f6d (master), c8ff908d (r14.0.x)Michele Calgaro2017-02-061-18/+2
| | | | Signed-off-by: Michele Calgaro <[email protected]>
* testing: Run tests that use DCOP in a temporary homeSlávek Banko2017-02-011-6/+6
| | | | | Signed-off-by: Slávek Banko <[email protected]> (cherry picked from commit df203a23f4d96fae5fbc61bb180c4db8f63e63ae)
* testing: run tdeio/kmimetypetest with temporary profileSlávek Banko2017-01-292-1/+33
| | | | | Signed-off-by: Slávek Banko <[email protected]> (cherry picked from commit 4d3d8d865359061916b21e9ab46097e2e4c2fd2c)
* tdeio: add testsAlexander Golubev2017-01-2930-50/+143
| | | | | Signed-off-by: Alexander Golubev <[email protected]> (cherry picked from commit ed74769bfaae171809c0bc1a10a8ba0f6ff8895f)
* tdeio/kmimemagic: remove MAGIC_CONTINUE flagAlexander Golubev2017-01-191-2/+2
| | | | | | | | | | | | | | This resolves bug 2713 The MAGIC_CONTINUE flag resulted in a malformed mimemagic responses like "application/x-executable\012- application/octet-stream" instead of just "application/x-executable". This string being unparsed then caused the KMimeType::findByURL() to fallback to application/octet-stream for nearly every mimetype. Signed-off-by: Alexander Golubev <[email protected]> (cherry picked from commit f54496a1f2d99bea12af3db999a53515109f99a3)
* Added support for OpenSSL 1.1Slávek Banko2017-01-0113-365/+978
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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 <[email protected]> Signed-off-by: Michele Calgaro <[email protected]> (cherry picked from commit e1861cb6811f7bac405ece204407ca46c000a453)
* Fix crash on KSSLCertificate deallocation when a CRL is held in the ↵Timothy Pearson2017-01-011-0/+2
| | | | | | KSSLCertificate object (cherry picked from commit 62a597d75224844be9a98952a586fc5c0406561e)
* Fix memory leak when deleting a KSSLCertificate that holds a CRLTimothy Pearson2017-01-013-1/+17
| | | | (cherry picked from commit 9bf244dd97e89bf47dd70fe47a4f00a3f372f875)
* Add initial CRL support to KSSLCertificateTimothy Pearson2017-01-014-4/+88
| | | | (cherry picked from commit 5896a404bcc63085cf0a50d232d2d631a5107228)
* Fix security issue CVE-2016-6232Slávek Banko2016-10-231-2/+12
| | | | | | | Based on https://quickgit.kde.org/?p=karchive.git&a=commitdiff&h=0cb243f6 Signed-off-by: Slávek Banko <[email protected]> (cherry picked from commit 261a3b7a126b7a1d28e263085b85bf1905eb4c19)
* tdeio: fixed up certificate handling when certificate has expired. Also cleanEmanoil Kotsev2016-10-221-96/+18
| | | | | | | | up the code. Signed-off-by: Emanoil Kotsev <[email protected]> Signed-off-by: Michele Calgaro <[email protected]> (cherry picked from commit f3fadb884d08b74d5796f7d1b6ad2c2a2316c0f4)
* Fixed handling of certificate "permanent" acceptance. This relates toEmanoil Kotsev2016-10-161-10/+27
| | | | | | | | | | bug 1287. Signed-off-by: Emanoil Kotsev <[email protected]> Partially cleaned up and modified. Signed-off-by: Michele Calgaro <[email protected]> (cherry picked from commit 7406ed0563952d1ee433e02e75fb44a5d0d0a81d)
* Fixed two issues with KFileDialog:Michele Calgaro2016-10-011-2/+18
| | | | | | | | | | | - if the user types a new path manually, the new location was not used. Instead the older path was taken. In case the typed path does not exists, an error message is displayed - if the user selected a path from the autocompletion lists using the mouse, the new selected location was not used when slotOK was invoked. This resolves bug 2654. Signed-off-by: Michele Calgaro <[email protected]> (cherry picked from commit 53e36f6db011540746db8f91cf717ab1d8d912b4)
* Parse GENERALIZEDTIME ASN structuresTimothy Pearson2016-09-081-12/+21
| | | | | | This fixes certificate dates beyond year 2049. (cherry picked from commit 07dbb3b5c92ed22f71123eb84806d55f9962c60b)
* Fix compiler warningsTimothy Pearson2016-08-171-3/+5
| | | | (cherry picked from commit 5e9959ef854ca8d353b91e9d8305f0fc5e117712)
* Fix invalid headers in PNG files and optimize for sizeTimothy Pearson2016-07-241-0/+0
| | | | (cherry picked from commit 7faae2b255108c5ffdda4b36cb8e612d03deeb8f)
* Fix FTBFS due to non-existent includeSlávek Banko2016-04-142-1/+4
| | | | | Signed-off-by: Slávek Banko <[email protected]> (cherry picked from commit 0b90885d9031e229b7a25b7caa9eba8b09746895)
* Remove warnings about missing embedded ELF iconsSlávek Banko2016-03-242-3/+3
| | | | | | | Add file name for which the issue occurs into debug message Signed-off-by: Slávek Banko <[email protected]> (cherry picked from commit 491c2e4503b23c701f07792b1ecfc01ab68802d4)
* Compile MIME magic fileSlávek Banko2016-01-112-2/+17
| | | | | | | This partially resolves Bug 2217 Signed-off-by: Slávek Banko <[email protected]> (cherry picked from commit 026a0ccdcdd054f227682f7e37dceef68173c6f9)
* Revert a small portion of commit e0b1bfb0Slávek Banko2015-12-201-2/+2
| | | | | | | This resolves Bug 2562 Signed-off-by: Slávek Banko <[email protected]> (cherry picked from commit 1540a5aade3a4182204ec547eca6cb81a8b521fb)
* Fix mimetype detection using magic librarySlávek Banko2015-12-061-2/+6
| | | | | | | | for mime types not contained in TDE settings This resolves Bug 2392 Signed-off-by: Slávek Banko <[email protected]> (cherry picked from commit b0ac7d287922e883a2e571222089b680adfe46c6)
* Fix FTBFS on freebsdNikolaus Klepp2015-06-112-3/+3
| | | | | | | This resolves Bug 2431 Signed-off-by: Nikolaus Klepp <[email protected]> (cherry picked from commit 3be9f300c9a754320a02fd10a729ef797ffb8506)
* Improve ACL detection for CMake buildSlávek Banko2015-06-113-13/+9
| | | | | | | Fix hidden visibility in posixacladdons Signed-off-by: Slávek Banko <[email protected]> (cherry picked from commit 6ebff397515bf153ea95d7e80d21ca9a0f97708d)
* Add include directory for internal libltdlSlávek Banko2015-06-111-0/+1
| | | | | Signed-off-by: Slávek Banko <[email protected]> (cherry picked from commit dfd680030c18adaa4f299a4092d9ac6d5945cadc)
* Fixed wrong DocPath strings. This relates to bug 2319Michele Calgaro2015-01-2312-12/+12
| | | | | (cherry picked from commit a1f23c813a7c0b0675412498512f0fc5f025e2af) Signed-off-by: Michele Calgaro <[email protected]>
* Properly identify desktop filesTimothy Pearson2014-12-053-0/+23
| | | | This resolves a rather major glitch with Device Links noted on the mailing list
* Fix a number of build warningsTimothy Pearson2014-12-047-19/+36
|
* Read from X-DocPath onlyTimothy Pearson2014-11-073-3/+3
|