- Jan 22, 2024
-
-
Deucе authored
(such as ec22519), unconditionally fallback to password auth instead of the previous behaviour of diconnecting. Much of the "password then pubkey" mentality is showing in these bits of Cryptlib.
-
- Jan 21, 2024
-
-
Rob Swindell authored
For Nightfox and his newsgroup reader thing: The strings that end up in the editor drop file (e.g. MSGINF) can now be passed as optional arguments to consol.editfile() and the underlying C++ API. Allow maxlines (default:10000) to be overridden with an optional consol.editfile() argument too.
-
Rob Swindell authored
-
Deucе authored
On Win32, size is explcitly "ignored" when target is NULL, so we should set it to the size of the allocation.
-
Rob Swindell authored
-
Deucе authored
-
Deucе authored
Previously, once a pubkey was attempted, you could not use a password.
-
Deucе authored
When we're closing the socket, always delete channels and don't wait for the remote to confirm.
-
Deucе authored
-
Deucе authored
-
Deucе authored
Fixes assertion failure on hangup from SSH.
-
Deucе authored
Was spinning at 100% CPU on a lost connection if sftp was active.
-
Rob Swindell authored
-
Rob Swindell authored
-
Rob Swindell authored
328:25: warning: ‘pubkey’ may be used uninitialized
-
Rob Swindell authored
-
Rob Swindell authored
DDMsgReader: Changed rescan hotkey for the indexed menu to Ctrl-R, since Ctrl-S won't work for Wyse terminals (Ctrl-S is for xon/xoff toggling and can't be changed) See merge request !389
-
DDMsgReader: Changed rescan hotkey for the indexed menu to Ctrl-R, since Ctrl-S won't work for Wyse terminals (Ctrl-S is for xon/xoff toggling and can't be changed)
-
Deucе authored
-
Deucе authored
-
Deucе authored
TLS 1.2. For static services and JS sockets, add a new tls_minver socket property which can be set to use a lower minver (down to the wildly insecure TLS 1.0). TLS 1.0 and 1.1 have been not reccomended since 2015, and deprecated since 2021.
-
Rob Swindell authored
Update cryptlib to 3.4.7 See merge request !388
-
-
Deucе authored
Even on filesystems where you can do it, you shouldn't. Stop it.
-
Deucе authored
The server is a lot thinner, with callbacks for each operation.
-
Rob Swindell authored
The client_socket_dup is overwritten after with the return value of accept(), so this was likely a socket/handle leak (since commit 74470573, 17 years ago). Noticed this only after logging a new error in an SSH connection when this call to DuplicateHandle() failed for some reason (WinError 6), but it seems like it's been redundant code for a long time now. So just ace it and possibly fix a resource leak.
-
- Jan 20, 2024
-
-
Rob Swindell authored
Merge branch 'ddmr_indexed_mode_mark_all_read_updates_and_newscan_force_indexed_menu_opts' into 'master' DDMsgReader: Updated behavior for indexed menu R (mark all read) when doing a newscan. Ctrl-S does scan refresh in indexed menu. New R "snap-to" option for the indexed menu. Also, command-line options for forcing use of the indexed mode menu when doing a See merge request !387
-
DDMsgReader: Updated behavior for indexed menu R (mark all read) when doing a newscan. Ctrl-S does scan refresh in indexed menu. New R "snap-to" option for the indexed menu. Also, command-line options for forcing use of the indexed mode menu when doing a
-
Rob Swindell authored
-
Rob Swindell authored
Broken 11 months ago with commit ae44ab15: the unit argument was ignored (e.g. converting to kibibytes) and the free/total disk size/space checks were reversed. Reported by Max (WESTLINE) via usage of JS properties: system.freediskspace and system.freediskspacek. The JS global functions dir_freespace() and disk_size() were also broken due to this bug.
-
Rob Swindell authored
This fixes ssl.c build for Windows
-
Rob Swindell authored
scfgnet.c:1463:25: warning: result of comparison of constant 100000 with expression of type 'uint16_t' (aka 'unsigned short') is always true
-
Deucе authored
-
Deucе authored
really no useful way to recover from failure.
-
Rob Swindell authored
-
Rob Swindell authored
This should fix the Clang warning that Deuce reported: str.cpp:131:18: warning: passing an object that undergoes default argument promotion to 'va_start' has undefined behavior
-
Rob Swindell authored
-
Rob Swindell authored
Still using BOOL where we need Win32 API compatibility. Using JSBool instead of BOOL or bool where it matters. Changed most relevant TRUE/FALSE to true/false too (though it's not as critical). You shouldn't need to #include <stdbool.h> anywhere now - gen_defs.h should do that automatically/correctly based on the language/version/tool. In C23, stdbool.h isn't even needed for bool/true/false definitions (they're keywords), so we don't bother including stdbool.h in that case. Microsoft didn't define __STDC_VERSION__ in their older tool chains (even though they were C99 compatible and had stdbool.h), so we use a _MSC_VER check to know that there's a stdbool.h we should use in that case. For other/old compilers (e.g. Borland C) we #define bool/true/false following the pattern of stdbool.h (doesn't use a typedef). I didn't convert UIFC yet. This addresses issue #698
-
Rob Swindell authored
-
Deucе authored
TLS clients don't (currently) add a certificate, so there's no need to delete it.
-