Skip to content

Commit

Permalink
Build 19
Browse files Browse the repository at this point in the history
SSH fingerprints are now reported in both MD5 and SHA formats. Most binary libraries have been updated.
  • Loading branch information
Tobias Giesen committed Mar 6, 2022
1 parent 919915c commit ccb35b0
Show file tree
Hide file tree
Showing 22 changed files with 12 additions and 8 deletions.
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,2 +1,4 @@
DelphiVCLDemo/__history
*.~*
*.~so
*.~dylib
Binary file modified Linux (Compiled Libs)/aarch64/libtgputty.so
Binary file not shown.
Binary file modified Linux (Compiled Libs)/arm/libtgputty.so
Binary file not shown.
Binary file modified Linux (Compiled Libs)/i386/libtgputty.so
Binary file not shown.
Binary file removed Linux (Compiled Libs)/ppc/libtgputty.~so
Binary file not shown.
Binary file removed Linux (Compiled Libs)/ppc64 (ABI V2)/libtgputty.~so
Binary file not shown.
Binary file modified Linux (Compiled Libs)/ppc64le/libtgputty.so
Binary file not shown.
Binary file removed Linux (Compiled Libs)/ppc64le/libtgputty.~so
Binary file not shown.
Binary file modified Linux (Compiled Libs)/x86_64/libtgputty.so
Binary file not shown.
Binary file removed Linux (Compiled Libs)/x86_64/libtgputty.~so
Binary file not shown.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ The new TGPuttyLib SFTP Library is a DLL/.so/.dylib conversion of the psftp prog

It allows developers to transfer files with the highest possible transfer rates (over 100MB/sec). The rates are higher than with any other known library.

TGPuttyLib is based on PuTTY Release 0.74. Ready-to-use classes are currently available for C++, Delphi and Free Pascal.
TGPuttyLib is based on PuTTY Release 0.76. Ready-to-use classes are currently available for C++, Delphi and Free Pascal.

The library is now available for Windows, macOS and Linux.

Expand Down
Binary file modified Win32/Debug/tgputtylib.dll
Binary file not shown.
Binary file modified Win64/Debug/tgputtylib.dll
Binary file not shown.
Binary file modified macOS (Compiled Libs)/arm64/libtgputty.dylib
Binary file not shown.
Binary file removed macOS (Compiled Libs)/arm64/libtgputty.~dylib
Binary file not shown.
Binary file modified macOS (Compiled Libs)/i386/libtgputty.dylib
Binary file not shown.
Binary file removed macOS (Compiled Libs)/i386/libtgputty.~dylib
Binary file not shown.
Binary file modified macOS (Compiled Libs)/x86_64/libtgputty.dylib
Binary file not shown.
Binary file removed macOS (Compiled Libs)/x86_64/libtgputty.~dylib
Binary file not shown.
7 changes: 4 additions & 3 deletions tgputtylib/unix/uxcons.c
Original file line number Diff line number Diff line change
Expand Up @@ -125,9 +125,10 @@ int console_verify_ssh_host_key(
if (curlibctx->verify_host_key_callback) // TG
{
bool storeit=false;
bool OK=curlibctx->verify_host_key_callback(host, port, keytype, keystr,
fingerprints[SSH_FPTYPE_SHA256], // SSH_FPTYPE_MD5],
ret, &storeit, curlibctx);
char fp[1000];
snprintf(fp,1000,"%s\n%s\n",fingerprints[SSH_FPTYPE_MD5],fingerprints[SSH_FPTYPE_SHA256]);
bool OK=curlibctx->verify_host_key_callback(host, port, keytype, keystr,
fp, ret, &storeit, curlibctx);
if (storeit)
store_host_key(host, port, keytype, keystr);
if (OK)
Expand Down
2 changes: 1 addition & 1 deletion tgputtylib/version.h
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
#define SSHVER "-Release-0.76"
#define BINARY_VERSION 0,76,0,2
#define SOURCE_COMMIT "1fd7baa7344bb38d62a024e5dba3a720c67d05cf"
#define TGDLLBUILDNUM 18
#define TGDLLBUILDNUM 19



7 changes: 4 additions & 3 deletions tgputtylib/windows/wincons.c
Original file line number Diff line number Diff line change
Expand Up @@ -53,9 +53,10 @@ int console_verify_ssh_host_key(
if (curlibctx->verify_host_key_callback) // TG
{
bool storeit=false;
bool OK=curlibctx->verify_host_key_callback(host, port, keytype, keystr,
fingerprints[SSH_FPTYPE_MD5],
ret, &storeit, curlibctx);
char fp[1000];
snprintf(fp,1000,"%s\n%s\n",fingerprints[SSH_FPTYPE_MD5],fingerprints[SSH_FPTYPE_SHA256]);
bool OK=curlibctx->verify_host_key_callback(host, port, keytype, keystr,
fp,ret, &storeit, curlibctx);
if (storeit)
store_host_key(host, port, keytype, keystr);
if (OK)
Expand Down

0 comments on commit ccb35b0

Please sign in to comment.