summaryrefslogtreecommitdiffstats
path: root/tdeioslave/sftp
Commit message (Collapse)AuthorAgeFilesLines
* tdeioslave/sftp: use realmValue to distinguish different promptsAlexander Golubev2024-03-042-24/+20
| | | | | | | | | | This will help kpasswdserver not to confuse different user's answers to different questions. Also avoid passing/returning TDE::AuthInfo for kb-interactive auth as it isn't really necessary when we don't manually caching passwords anymore. Signed-off-by: Alexander Golubev <fatzer2@gmail.com>
* tdeioslave/sftp: avoid explicit password cachingAlexander Golubev2024-03-042-16/+5
| | | | | | | All password caching we need actually already autmagically done by openPassDlg(). Signed-off-by: Alexander Golubev <fatzer2@gmail.com>
* tdeioslave/sftp: use a scope guards to close connectionAlexander Golubev2024-03-041-17/+14
| | | | | | | | There were a couple of missing closeConnection() calls after connection errors. The probably haven't caused any major bugs, but use scope guards to be on the safe side. Signed-off-by: Alexander Golubev <fatzer2@gmail.com>
* tdeioslave/sftp: split off connection init to a dedicated functionAlexander Golubev2024-03-042-61/+75
| | | | Signed-off-by: Alexander Golubev <fatzer2@gmail.com>
* tdeioslave/sftp: use free to destroy mCallbacksAlexander Golubev2024-03-041-1/+1
| | | | | | As it allocated via malloc() rather than new. Signed-off-by: Alexander Golubev <fatzer2@gmail.com>
* tdeioslave/sftp: overhaul publickey authAlexander Golubev2024-03-042-78/+196
| | | | | | | | | | | | | | | | Several enhancements to public key authentication and some other stuff: - Fix passphrase entry for encrypted keys (was either hanging up or segfaulting) - Use scope guard idiom for cleanup calls for more reliable cleanup in case of errors - Add normal prompt for public key's passphrase entry dialog - Correctly differentiate passphrase to password when cached (yes they are getting cached regardless of keepPassword, at least for some duration of time) - Centrilize AuthInfo initialization and some rejig of it kbd-interactive authentification Signed-off-by: Alexander Golubev <fatzer2@gmail.com>
* tdeioslave/sftp: fix keyboard-interactive authenticationAlexander Golubev2024-03-041-43/+85
| | | | | | | | This is a partial fix to the sftp ioslave. Subsequent commits will fix other issues. Closes: https://mirror.git.trinitydesktop.org/gitea/TDE/tdebase/issues/443 Signed-off-by: Alexander Golubev <fatzer2@gmail.com>
* Replace Q_WS_* defines with TQ_WS_* equivalentsMichele Calgaro2024-02-141-2/+2
| | | | Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
* SFTP: compatibility with older libssh versionsMavridis Philippe2022-07-152-6/+40
| | | | | Signed-off-by: Mavridis Philippe <mavridisf@gmail.com> Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
* SFTP: Various fixes and improvementsMavridis Philippe2022-07-155-92/+154
| | | | | | | | | | | For details see PR #279. Portions of code borrowed from KDE5 SFTP ioslave: Source: https://invent.kde.org/network/kio-extras/-/blob/master/sftp/kio_sftp.cpp Licence: LGPLv2 or later Signed-off-by: Mavridis Philippe <mavridisf@gmail.com>
* Replaced old sftp ioslave with backported versionMavridis Philippe2022-07-1520-5431/+1518
| | | | | | | | | Source: https://github.com/sandsmark/kde2-kio-sftp-kde4 Licence: GPLv2 or later This resolves issue #276. Signed-off-by: Mavridis Philippe <mavridisf@gmail.com>
* Removed code formatting modelines.Michele Calgaro2020-09-223-3/+2
| | | | Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
* Desktop file translations:Slávek Banko2020-06-282-67/+5
| | | | | | | + Creation of POT template for desktop files added to CMakeL10n rules. + Added creation of translated desktop files during build. Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
* Fix FTBFS due to missing linked libraries.Slávek Banko2020-06-121-1/+1
| | | | Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
* Add CMakeL10n rules.Slávek Banko2018-12-091-0/+3
| | | | | | Update TIMEZONES list. Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
* LIB_QT -> LIB_TQT conversion to align to updated admin moduleMichele Calgaro2018-09-171-1/+1
| | | | Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
* Fixed wrong DocPath strings. This relates to bug 2319Michele Calgaro2015-01-231-1/+1
| | | | Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
* Add new content to or update several protocol handbooks and branding cleanup.Darrell Anderson2014-03-031-3/+3
|
* Reorganize tdeioslave help handbooks, fix related protocol files and issues, ↵Darrell Anderson2014-02-061-1/+1
| | | | update and add handbooks.
* Rename kdebugdialog -> tdedebugdialogDarrell Anderson2014-01-061-1/+1
|
* Additional k => tde renaming and fixesSlávek Banko2013-09-034-139/+139
|
* Rename additional header files to avoid conflicts with KDE4Timothy Pearson2013-02-152-4/+4
|
* Rename common header files for consistency with class renamingTimothy Pearson2013-02-141-1/+1
|
* Rename KStandard for enhanced compatibility with KDE4Timothy Pearson2013-01-312-2/+2
|
* Rename kioslavesTimothy Pearson2013-01-276-19/+19
|
* Rename a number of libraries and executables to avoid conflicts with KDE4Timothy Pearson2013-01-2719-0/+5936