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

106 Commits

Author SHA1 Message Date
Martin Prikryl
f02b75470e Some (hopefully noop) refactoring to solve Clang internal compiler error when using new variable in __finally block + Some other small code changes imposed by Clang
(cherry picked from commit 92ba1e3f0e)

Source commit: 61a79bd46194d4318828269d21fe548f508dda03
2025-03-14 16:21:31 +01:00
Martin Prikryl
5dc46ec23f Clang identifies some functions as "noreturn" + one noexcept(false)
(cherry picked from commit 7b54dde3a6)

Source commit: e6fd24a871e574ed762797210a5ce126deeab1f3
2025-03-14 16:19:14 +01:00
Martin Prikryl
23f7ce72d8 BCB11 has strtoumax
Source commit: 8f39df83ecbe435ec1c30cda1bedf1ccbe0eb773
2025-03-14 09:52:20 +01:00
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
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
6c36444701 Memory leak when parsing of public key fails
Source commit: f3ead13d4f12625882856c7c0211a62608f03e9f
2024-05-27 15:32:45 +02:00
Martin Prikryl
9f9d4655f1 Easier use of TValueRestorer
Source commit: 605e98cefaa62284f2b1150fdc355e88d48bdbd3
2024-03-20 13:56:00 +01:00
Martin Prikryl
acd1e545e2 Invalid assertion
from a6adfa0a

Source commit: f0fa3b67ef9170639a9bfae15e9f95f16e51161d
2024-01-23 14:55:22 +01:00
Mikhail Lukashov
a8e6220b88 fix typos 2024-01-05 10:37:32 +01:00
Martin Prikryl
48890aab85 Unused parameter
Source commit: ab1c2db73509269a565f41032b49bdd0ecb26222
2023-12-20 17:59:20 +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
804ec9c9c9 Bug 52: Use file hash as criterion for synchronization
https://winscp.net/tracker/52

Source commit: 66fd353f8e26a7bd3317ee7cc4e6d15e7d6cfb52
2023-11-07 02:03:32 +01:00
Martin Prikryl
323b110246 Bug 2223: Some DLLs were not protected against hijacking
https://winscp.net/tracker/2223

Source commit: 7969689de8d933eb76d7646d8c867f4e1cbfa697
2023-09-28 01:04:24 +02:00
Martin Prikryl
fa89d3764e Trusted host certification authorities can be loaded from PuTTY (Bug 2145)
Source commit: 89ce74adb56ae374f5e0e3930f107dd2b5d2b67e
2023-09-23 07:19:59 +02: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
f03d94d6c4 Unused code
Source commit: c1fbc8af76d8e2116aaf6d2026dba2ea3e5e1c8f
2023-09-05 01:12:41 +02:00
Martin Prikryl
0a5981b619 Logging random seed file
Source commit: 3b9328482a89e63e295e9c9100c7981a1b4d54c7
2023-06-23 09:08:50 +02:00
Martin Prikryl
390246710d Typos in comments
Source commit: 740d9dd055b223ae63fa830787d850a66c02765f
2023-01-31 13:23:38 +01:00
Martin Prikryl
bccf1948fd Added GSSAPI key exchange algorithms to /info
Source commit: 4ae8c347967b903db9200cfdb7aa6bb71f178a78
2023-01-09 17:12:27 +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
282143321d Certificate can be added to ppk key with /keygen
Source commit: bfa55a5809e2d72e17c9ed223247daf44f79b014
2023-01-04 00:55:38 +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
74266d15ae Fixing order of new PuTTY 0.78 KEX DH Group algorithms
Source commit: 30e7e34fc4e683759bca6f647843439236beadd4
2022-12-07 01:09:53 +01:00
Martin Prikryl
0a6f1ba5d4 Unused variable
Source commit: f4d3a0cf45448481661a122f292c70d01d348b78
2022-12-03 11:07:56 +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
e4bc3b1cca Further updates to PuTTY 0.77 (particularly to restore HTTP proxy support)
Source commit: 7cc78ce744077ee25b4acd8bb395d97221240138
2022-02-24 01:11:06 +01:00
Martin Prikryl
24a683d1dd Incorrect assertion
Source commit: 47f04bfdd82c4d78313ba4b5e0dfb71c6d96c36b
2022-02-24 01:06:18 +01:00
Martin Prikryl
6c8cf9ae8d Updating code to PuTTY 0.77
Source commit: da47a0c8a6347ce05fd02167b644c05cef61dc28
2022-02-07 09:57:39 +01:00
Martin Prikryl
7a9a31484f Warning when selecting too new key file + Fixing selecting PPK files and error message when selecting SSH-1 keys, both broken by 5dfcf1eb
(cherry picked from commit 2a355b95b1)

Source commit: 49dc88d07bf774f9b2eee826d1f0f1617f8a3e31
2021-11-25 01:05:45 +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
736a447c64 Generate PPK3 keys + Optimizing work with PPK3 keys.
(cherry picked from commit da478400c4)

Source commit: 19e6137e12d7db252c597e6f72e23d4d8928b6ec
2021-11-23 19:37:31 +01:00
Martin Prikryl
91552ab570 Memory leak
(cherry picked from commit 63dccac950)

Source commit: 0072d3f0a6f6131c2921eaaa7e8701e66d588a07
2021-11-23 19:32:51 +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
a13b8f9ac3 Memory leak from PuTTY 0.76 (2514e9cd, on master branch c3783817)
(cherry picked from commit efe319a03f)

Source commit: 16ed4c873f53af2a63f50ae0433cdecf9494d6e6
2021-07-20 17:44:34 +02:00
Martin Prikryl
307619dd88 Bug 1986: Support for PPK version 3 keys
https://winscp.net/tracker/1986

Source commit: 96acc7e21d3a9ef78274bcda7e380d2660b585d0
2021-05-20 00:49:37 +02:00
Martin Prikryl
6fd78072e0 Bug 1917: List encrypt-then-MAC algorithms in /info listing
https://winscp.net/tracker/1917
(cherry picked from commit 1cc7db77ed)

Source commit: d1da74a7edf9bb6b04b0ac01d847458496696d50
2020-11-26 16:23:35 +01: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
7e7cff6ac8 Updating code to PuTTY 0.74
(cherry picked from commit b2d1f2f855)

Source commit: 61f1cb1a6808d71e43c0d85395d5827d13b488b5
2020-11-26 13:21:45 +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
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
Martin Prikryl
d8df949fd1 Bug 1845: Failure when fallback SSH channel fails to open
https://winscp.net/tracker/1845

Source commit: 1f5324917d99f20b9574d37cb47013d61a7430e4
2020-04-03 01:20:38 +02:00
Martin Prikryl
5a54aaf111 Bug 1833: Cannot connect to SSH-1 servers
https://winscp.net/tracker/1833

Source commit: ba032585e748ac2590bce428c1c74b0c76c9aeb9
2020-03-05 02:28:37 +01:00
Martin Prikryl
2d3ba135cf Typos in comments
Source commit: 5574e9f0a1d7322ae2f23e5e22fb9f3c252c98c1
2019-12-06 01:05:14 +01:00
Martin Prikryl
15ce8199da Cleanup application data dialog shown only data what exists + Uninstaller does not offer to delete application data, where are not any
Source commit: 5d1f4b8a6e495105e0c877b4854b497cb219ac26
2019-11-16 01:19:52 +01:00
Martin Prikryl
63341b43de Bug fix: Running WinSCP for a maintenance task unintentionally creates a random seed file
Source commit: 6afce2ecb72b08fc9e576b5f5c28bb93b23c59e1
2019-11-15 02:55:24 +01:00
Martin Prikryl
46a9c8fed9 Bug 1798: Allow configuring additional PuTTY settings (e.g. terminal settings) to be used when opening a session in PuTTY
https://winscp.net/tracker/1798

Also fixes a build broken by eef27ac3 (and still not fixed by 5d189553)

Source commit: 0bd13d447e6da8427be1506b7c561d74e83b1b85
2019-10-11 01:56:00 +02:00