1
0
mirror of https://github.com/winscp/winscp.git synced 2026-10-24 02:28:55 +03:00

29 Commits

Author SHA1 Message Date
Martin Prikryl
927e5f538a Issue 2449 – Heap over-read via crafted encrypted filename
https://winscp.net/tracker/2449

Source commit: b3d37ef6d446a33900eb2ba2e911d1134c1bd312
2026-06-13 01:04:26 +02:00
Martin Prikryl
69ea522611 Reusing EncodeStrToBase64
Source commit: e31dd55472dcec1eae8fee52c3c6c19247fd2446
2026-04-10 01:12:59 +02:00
Martin Prikryl
0429c6ea70 Dropping legacy AES layer
Source commit: 8afc72ce0dbc33b9c86e38aa23204bdb05d2cd5b
2026-01-16 01:10:29 +01:00
Martin Prikryl
e5efed8955 Refactoring old-style casts
Source commit: 3c37b3a958525c595ad44b081b2e0f3b288b8eb0
2025-12-18 01:20:33 +01:00
Martin Prikryl
1d9fe8c955 Changing compiler to Clang/bcc32c
- regarding the ILINK_LibraryPath for Cfg_1_Win32 (Debug):
Win32\Debug (not only Win32c\Debug) needs to be before Win32c\Release, as win32c does not include debug builds of Pascal code - so without that VCL debugging won't work
- IDE insist on adding CC_Suffix to all projects once switched to Clang, although it is only used in WinSCP.cbproj
- UNICODE define: Not needed for build (it's implicit), but CodeInsight does not know it it somehow

Source commit: da06d73eb86caff5ca9cac0185bed54da0da8f07
2025-09-04 07:53:01 +02:00
Martin Prikryl
3817bbd736 Preparing for separate pre-compiled header file required by Clang
- Once doing that, including more headers to PCH, not just vcl.h
- Clang won't need explicit include, but we will probably keep it anyway.
- #pragma hdrstop has no effect in Clang

Source commit: adc8a268b6907c5337ccaa430cca7526793a3019
2025-08-22 15:43:55 +02:00
Martin Prikryl
7b54dde3a6 Clang identifies some functions as "noreturn" + one noexcept(false)
Source commit: fc0c35fdddcd50a10d9ca13fc515164885325f81
2025-03-14 16:15:03 +01:00
Martin Prikryl
f7f00c631e Clang imposed changes that should be noop and have no effect on classic compiler
Mostly:
– incorrectly identified uninitialized variables
– explicit static global variables
– const, sign and down casts and safety
– typename use
– semicolon after function implementation
– unused variables, fields, arguments and macros
– field initialization order
– exact include filename case
– redundant in code macros already defined at project level

Source commit: 5c1338d95bd275082288dd1e773a033df6e379cd
2025-03-13 16:39:24 +01:00
Michael Lukashov
400bee57cf minor: Fix typos (#59)
Fix various minor typos
2024-12-25 11:25:35 +01:00
Martin Prikryl
ae9b173170 Issue 2327 – Failure when opening TLS connection with invalid OpenSSL configuration file
https://winscp.net/tracker/2327

Source commit: ee33d2badfff95c721fe412c86e7b305674e6703
2024-11-20 01:09:37 +01:00
Martin Prikryl
db87bc1810 Bug 2145: Support for OpenSSH certificates for host verification
https://winscp.net/tracker/2145

Source commit: 9dda484bf38f9a72b61a2c3d8e7dd8892ee96c2b
2023-09-08 08:59:22 +02:00
Martin Prikryl
965a14838f Updating code to PuTTY 0d2d20aa
Source commit: 4527f13376bbbddb296a6adefa44ee37550edfba
2019-05-08 04:01:05 +02:00
Martin Prikryl
3e89c9f66b Reintroducing old PuTTY AES implementation for use with master passwords
Master password encryption was broken ever since it was introduced by PuTTY snapshot 6c924ba
For the time being, postponing repimplementation of master password for new PuTTY API until later

Source commit: ecf245f37434ff7adc84e4ebed818c9195df0e75
2019-05-03 01:45:39 +02:00
Martin Prikryl
7d69a757c7 Updating code to PuTTY 4f9a90fc + Session info now displays more verbose name of SSH cipher
Source commit: 2811aa215005f7ffdd03a4b8b06cde72be5137b9
2019-04-06 02:12:48 +02:00
Martin Prikryl
8ce20a988b Merge branch 'thirdparty_dev' into dev + Plus minimal changes in code needed to make it compile and pass unit tests + Other changes are pending
What is pending:
- AES is now again compiled using Borland compiler (previously by VS)
- Add support for HW SHA

What is lost and needs to be re-implemented:
- Custom fixes for vulnerabilities fixed in PuTTY 0.71 (will be added implicitly, once merge of PuTTY 0.71 is complete)
- callback.c is now locked more heavily - should be optimized.

Note: Or would-be thread-safety changes to callback.c were obviously not thread safe as they would call callbacks for other sessions from thread for another session (as there's only one callback queue) - This needs to be solved

# Conflicts:
#	source/putty/WINDOWS/wingss.c
#	source/putty/WINDOWS/winhsock.c
#	source/putty/WINDOWS/winnet.c
#	source/putty/callback.c

#	source/putty/proxy.c
#	source/putty/putty.h
#	source/putty/ssh.c
#	source/putty/ssh.h
#	source/putty/sshaes.c
#	source/putty/sshdh.c
#	source/putty/sshpubk.c
#	source/putty/sshrsa.c
#	source/putty/sshsh256.c
#	source/putty/version.h
#	source/putty/x11fwd.c

Source commit: d7d9798d5b0c01f4a797d0a2ace8856e32909158
2019-03-25 17:04:46 +01:00
Martin Prikryl
f4da108184 Using OpenSSL API 1.2
Source commit: 8cc4e9f3b05e7e8def1365ecc3e67d1c32a0556c
2019-02-27 02:05:32 +01:00
Martin Prikryl
06d1fbfb7a Fixing encryption of long file names
Source commit: 7d851ccd726c7a4bcb7a4b3a8f54f20af5be07b9
2018-06-22 02:41:22 +02:00
Martin Prikryl
9b2a10fb07 Fixing decrypting of Unicode filenames
Source commit: 0c9493a523b5a4c44550d4d352834dbc847b8f25
2018-06-21 05:46:28 +02:00
Martin Prikryl
7097d1dac9 Memory leak
Source commit: 87d87fcd024f29d77298b0958f9aa5aa27ca5e01
2018-06-21 03:55:27 +02:00
Martin Prikryl
08b42d85d8 Correcting encryption header extraction
Source commit: 92c6ed0eb0ffe1aeeb2ffab4d0d118a055a7d909
2018-06-21 03:33:57 +02:00
Martin Prikryl
0a08412ec1 Bug 1653: Files can be optionally encrypted when storing them on SFTP server
https://winscp.net/tracker/1653

Source commit: 31d8bb5e3aebe725081c5ad74aa1e10b4f739356
2018-06-14 01:26:55 +02:00
Martin Prikryl
75d566e637 Removing unused code + Replacing rand() with RAND_pseudo_bytes()
Source commit: 3164c5d8be551d9f979e8ec8ae13fbb4cf4012ab
2018-06-13 01:05:29 +02:00
Martin Prikryl
ae1844cd20 Removing redundant code
Source commit: 8d947830f32a7dc94f617ecbf1fd28157cef917d
2018-05-24 01:14:16 +02:00
Martin Prikryl
d8f92984b9 First public commit of dev branch
Source commit: 98cb9d870efc1c60826db4398ec35c5cbe809e6a
2018-01-24 14:13:46 +01:00
Martin Prikryl
26b6b13bc8 5.6 2018-01-11 15:36:22 +01:00
Martin Prikryl
4dad4a32f0 5.2.5 2018-01-11 15:31:49 +01:00
Martin Prikryl
1abb25b42b 5.2.3 2018-01-11 15:31:16 +01:00
Martin Prikryl
43ec878d4b 5.2.2 2018-01-11 15:30:52 +01:00
Martin Prikryl
2e4b4738f0 5.2 2018-01-11 15:30:21 +01:00