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

138 Commits

Author SHA1 Message Date
Martin Prikryl
3f4e41fee0 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

(cherry picked from commit f7f00c631e)

Source commit: 90ad9390853aba308abe73cf02e0281238c53c87
2025-03-13 16:46:26 +01:00
Martin Prikryl
ef4e1e87ab Unused parameter
(it seems that it was never used)

Source commit: 7a61240971f9606d2156e588352db3f63d531e7f
2025-01-24 01:14:40 +01:00
Martin Prikryl
59a148c152 Updating code to PuTTY Pre-release 0.83:2025-01-03.1e45199 + Updating PuTTY code to C++ Builder
Source commit: f19842107de91d45c4a819260d5d335a7635980c
2025-01-05 01:04:26 +01:00
Martin Prikryl
2c16441f95 Bug fix: Failure when opening two SSH sessions at the same time
The primary cause was concurrent use of buffer-like MontyContext::scratch member.
But other non-thread-safe code was fixed along.

Found while implementing Issue 2318 which involves adding multiple queue items at the same moment

Source commit: f08842701165b662e475d249d0612a4404731a39
2024-12-21 01:19:41 +01:00
Martin Prikryl
25df2381f1 Updating code to PuTTY 0.82
Source commit: ddf59fef3b75f5efff8bf82fecdd61ef49970fd2
2024-12-05 16:51:39 +01:00
Martin Prikryl
e09e95ee43 Upgrade to C++ Builder 11
Comments:
- .res files seem to be linked automatically, so explicit entries in project files caused duplicates
- JCL updated for compatibility with BCB11 (jcld28win32.inc obtained by running JCJ installer [uninstalled afterwards])

Source commit: ec28d10a0bbb346ed2bb3940aed37e777342e663
2024-10-08 07:18:18 +02:00
Martin Prikryl
85f0e92ca6 Timeout* counters
Source commit: ac2610bb1cafef757caed4ecc5b46c9065e6c719
2024-03-21 12:43:55 +01:00
Martin Prikryl
9f9d4655f1 Easier use of TValueRestorer
Source commit: 605e98cefaa62284f2b1150fdc355e88d48bdbd3
2024-03-20 13:56:00 +01:00
Martin Prikryl
a6adfa0ad3 Updating to PuTTY 0.80 – mostly Issue 2246 – Mitigations for SSH protocol "Terrapin" vulnerability
https://winscp.net/tracker/2246

Source commit: f7b34a47547af9b0b4bd32fb66d6d278c8b6b342
2023-12-20 13:48:13 +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
65423a6dfa Redesigning (and refactoring) host key prompts in anticipation of Bug 2145
Source commit: 178f136f5f65f1352cfa6fe5eb0071d8fefa5f6d
2023-09-05 14:14:09 +02:00
Martin Prikryl
f03d94d6c4 Unused code
Source commit: c1fbc8af76d8e2116aaf6d2026dba2ea3e5e1c8f
2023-09-05 01:12:41 +02:00
Martin Prikryl
4ed18b85ef Correcting error message when credential is missing with SSH protocol which retry the prompt (after acd12ea3)
Source commit: 9b7449274a60c0260767d0b8e80b20a9a6dd2b7f
2023-08-25 11:39:45 +02:00
Martin Prikryl
acd12ea3d7 More meaningful error message when credentials are missing in scripting and .NET assembly
Source commit: a374ebe71eea553a366120f46b8d3169ad735a7a
2023-08-25 01:10:22 +02:00
Martin Prikryl
3d27a5f88d Bug 2195: Ignore disconnects from the server while closing the connection
https://winscp.net/tracker/2195

Source commit: 4727939d067e9ba8140d50cd476c2c2d8ff9b134
2023-06-10 08:18:17 +02:00
Martin Prikryl
29a0b2d604 Bug fix: HTTP proxy authentication prompt was not localized
Source commit: 0c5f75ee62f004dfb160c2dbb4d48b98edc0b398
2023-03-22 01:03:30 +01:00
Martin Prikryl
9f2d18a8a9 Acknowledge inconsistent counter names
Source commit: 1f133e6c59e1717973bbba8d510e301d3519aa6d
2023-02-14 01:32:09 +01:00
Martin Prikryl
29b6be6f0a Support for NTRU Prime post-quantum key exchange
https://www.chiark.greenend.org.uk/~sgtatham/putty/wishlist/ntru.html

Source commit: 33d0e948a119c5cbdc61f22b30b0d5d2ed1b96d2
2023-01-07 00:54:35 +01:00
Martin Prikryl
952e9a2226 SSH ciphers usage counters
Source commit: 56b2213d85271f67c870d95061068c319bbd23d1
2023-01-05 19:29:15 +01:00
Martin Prikryl
48106ee1b6 Bug 1873: Support for OpenSSH certificates for user authentication
https://winscp.net/tracker/1873

Source commit: fc13a226065092a102456a27242ac69151cb1d15
2022-12-14 01:00:41 +01:00
Martin Prikryl
68a4dd04b7 Reimplementing host key algorithm display for /info in a way that does not need reorganizing PuTTY code to show them in the preference order
Side effect of this is that Ed448 is put correctly on the top

Source commit: da86732db01cdd2c7bd228ec7596097590af1ce9
2022-12-08 00:52:21 +01:00
Martin Prikryl
ec808580ce Minimal changes needed to compile against PuTTY 0.78 and pass tests
Source commit: c717fcdc41b9be7bb3a88e06fc49d45eaf0cfa44
2022-12-03 00:57:29 +01:00
Martin Prikryl
2fdcc0e6ad Using unique_ptr instead of auto_ptr + Replacing use of auto_ptr, where unique_ptr cannot be used with plain pointers
Source commit: 0c397b15f93f20fcb52bdd7c8747aae8429f8b1e
2022-10-06 01:17:32 +02:00
Martin Prikryl
0d555f8893 Bug 2113: Agent forwarding does not work
https://winscp.net/tracker/2113

Source commit: 885cffeb5bafd6e496cff8f948197d304f024110
2022-09-16 01:01:06 +02:00
Martin Prikryl
070ff9ad32 Bug 2107: Private key pattern in PuTTY command-line
https://winscp.net/tracker/2107

Source commit: 9131c33ed478233657c25df035764a7cd1f03e4c
2022-09-01 00:54:29 +02:00
Martin Prikryl
45ce42b255 Updating code to PuTTY 0.77 new local proxy implementation
Source commit: 2cb1dc43b06ee42ecdc13f21c774ce17328ef253
2022-03-29 01:10:35 +02:00
Martin Prikryl
8c0e341973 Do not try to update network buffer, if there's no network socket
Source commit: c3ab4487d067b0f3dee0fe0b1d2d0664f922e279
2022-03-29 01:08:43 +02:00
Martin Prikryl
5c9ec290c6 Failure when connection lost is detected while waiting for data
Source commit: 21c2f09f91ebdc8d4049882c8d3b58c8658d5e36
2022-03-29 01:06:53 +02:00
Martin Prikryl
4c020b5f87 Redundant call
Source commit: 867b8b9d7073723027b9d12eb40ee1f9408c0674
2022-03-29 01:05:00 +02:00
Martin Prikryl
a9c8bf0510 Unused code
Source commit: 6d8285f6e0c0e53ffc5d7b22eb1fcfd770368a71
2022-03-29 01:03:05 +02:00
Martin Prikryl
a98d6af45e Fixing logging of multiple prompts
Source commit: 6e159df057fa287392dde99fd1a0f608c3b35568
2022-03-24 01:02:49 +01:00
Martin Prikryl
58be45f390 Updating code to PuTTY 0.77 proxy-password-prompt (Interactive username/password prompts for proxy authentication)
Source commit: 3812211a6544bc17e24c192137f0a5ae97c65e7f
2022-03-23 13:43:56 +01:00
Martin Prikryl
e5a92a4e1a Empty second banner was displayed when the actual banner did not end with new-line
Source commit: daa2692127c7bd9ad2ceca8848fa8f6393d070b3
2022-02-09 00:58:16 +01:00
Martin Prikryl
d8d7fdec31 Avoid redundant logging of known host keys
Source commit: 31f8a9b00711e88e14f2c41719202d24b850bc30
2022-02-09 00:55:51 +01:00
Martin Prikryl
6c8cf9ae8d Updating code to PuTTY 0.77
Source commit: da47a0c8a6347ce05fd02167b644c05cef61dc28
2022-02-07 09:57:39 +01:00
Martin Prikryl
96ae60100d Removing noop code
(cherry picked from commit ba3c2721a9)

Source commit: 319f4b5b3395fc0080c6f27968b93609017580bb
2021-11-26 15:51:39 +01:00
Martin Prikryl
0a567870cf Thread safe replacement of handles_by_evtomain global
Before it was used for local proxy command only, so probability of problems was relatively small. In PuTTY 0.75 it's used even for Pageant communication.

(cherry picked from commit 675cfb552b)

Source commit: e95234c0c1ab3db66d29fa4b321596cac02539e7
2021-11-23 21:03:38 +01:00
Martin Prikryl
cda4ea8a81 Removing support for SSH-1
(cherry picked from commit 5dfcf1eb9f)

Source commit: 1fd4286a576bf4525c8dd00849cdcf958cbf5eb8
2021-11-23 20:54:18 +01:00
Martin Prikryl
542b4ead44 Updating code to PuTTY 0.75
(cherry picked from commit b69328d92d)

# Conflicts:
#	source/putty/sshecc.c

Source commit: 93ff727e4e428f747ab8f6b0d2db8147905b9e26
2021-11-23 19:09:04 +01:00
Martin Prikryl
f074f481bf Bug fix: Do not say "Terminated by user" when the session has actually timed out.
(cherry picked from commit 1dc5bc03c9)

Source commit: e12c9159b6f2caa209e3017a4f08b4772cdfb581
2021-11-23 15:28:36 +01:00
Martin Prikryl
79f7c90fef Logging SSH authentication prompts responding
(cherry picked from commit 7ec3560bb8)

Source commit: 7fd555c45c64cad7f3a6a5c557d09ee35a61b904
2021-11-23 14:18:12 +01:00
Martin Prikryl
fa7be585e6 Bug 1991: No error message is sometimes shown when SFTP server disconnects
https://winscp.net/tracker/1991
(cherry picked from commit d377990775)

Source commit: d86b154627e1fafc1ac6852b95df5b11ffc4a4ad
2021-06-10 10:38:23 +02:00
Martin Prikryl
9f7490ab08 Bug 1977: Ignore disconnect messages from the server while closing the connection
https://winscp.net/tracker/1977
(cherry picked from commit 556633c71f)

Source commit: 9cb2c134e3c41ba48968eeeb53c94fd172b37c9f
2021-04-20 00:57:13 +02:00
Martin Prikryl
5594768de0 Bug 1970: Problems with port forwarding are not detected
https://winscp.net/tracker/1970
(cherry picked from commit d3644dddd0)

Source commit: 4178eaab1408be001329bcff98dad7298a0c030d
2021-04-01 00:50:55 +02:00
Martin Prikryl
8645873789 Adjusting parameter names to PuTTY 0.74
(cherry picked from commit c91bc6945b)

Source commit: 06ba917f7d6e590acd1a5891cf9eadced389b996
2020-11-26 13:24:44 +01:00
Martin Prikryl
8185237b19 Bug 1863: Allow turning off GSSAPI key exchange
https://winscp.net/tracker/1863
(cherry picked from commit d8792e4806)

# Conflicts:
#	source/core/SecureShell.cpp

Source commit: f7068cb3aab6e7710553956191fe48f3f593b7f8
2020-11-26 11:44:55 +01:00
Martin Prikryl
21d47649f0 When connecting to new SSH host, its host key can be automatically accepted in scripting and .NET assembly
(cherry picked from commit b79f8c4789)

Source commit: 6e2e836240f48d226a2e0af5cd92fb96a5c897bd
2020-11-26 10:45:36 +01:00
Martin Prikryl
7cfdd39380 Factoring out VerifyCachedHostKey
(cherry picked from commit 723d7aa3e5)

Source commit: abb434d87fda9bed638dad93a2787350f4f2b1e3
2020-11-26 10:42:33 +01:00
Martin Prikryl
06fc587359 GSSAPI key exchange authentication disabled as it caused failures when old version of MIT Kerberos was installed on the machine
(master branch version of the change - different to the dev version in dceed175)

https://winscp.net/tracker/1874

Source commit: a3240866f68b4e053549cf1300e076ad3b99dcb4
2020-05-28 02:36:14 +02:00
Martin Prikryl
045d5261c0 Bug 1845: Failure when fallback SSH channel fails to open (reimplementation with a help of PuTTY fix)
https://git.tartarus.org/?p=simon/putty.git;a=commit;h=e4b6a7efd2cab27a681c9a832f6c650abf57c7be

https://winscp.net/tracker/1845

Source commit: 6a07974041c29f45e317657b2b62053d5a6009c5
2020-04-05 01:47:21 +02:00