Android and Delphi 10.4

Discussion of open issues, suggestions and bugs regarding network security and data protection solution - SecureBridge
Post Reply
Dido
Posts: 20
Joined: Fri 18 Sep 2009 20:04

Android and Delphi 10.4

Post by Dido » Wed 17 Mar 2021 11:24

SecureBridge 9.4.1
Delphi 10.4.2 and Delphi 10.4.1
Platform: Android

1. When working with a SSH tunnel, everything works correctly until a disconnect is made.
On ScSSHChannel.Disconnect application hang.

2. The application closes itself on NewServerKey.ExportTo(Stream, True, '')

procedure ScSSHClient1ServerKeyValidate(Sender: TObject;
NewServerKey: TScKey; var Accept: Boolean);
var
Stream: TStringStream;
begin
Stream:=TStringStream.Create(nil);
try
NewServerKey.ExportTo(Stream, True, ''); <------- App closes itself here
finally
Stream.Free;
end;
end;

With the same project and the same version of SecureBridge 9.4.1 and Delphi 10.3.3 everything works perfectly.

ViktorV
Devart Team
Posts: 3168
Joined: Wed 30 Jul 2014 07:16

Re: Android and Delphi 10.4

Post by ViktorV » Wed 24 Mar 2021 15:40

Thank you for the information. We'll investigate the behavior of TScSSHChannel.Disconnect for Android and get back to you with an update.
We couldn't reproduce the issue with the ExportTo method, unfortunately.

ViktorV
Devart Team
Posts: 3168
Joined: Wed 30 Jul 2014 07:16

Re: Android and Delphi 10.4

Post by ViktorV » Tue 30 Mar 2021 16:28

We fixed the issue. This fix will be included in the next build of SecureBridge, which we're planning to release within a few days.

Post Reply