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.
Android and Delphi 10.4
Re: Android and Delphi 10.4
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.
We couldn't reproduce the issue with the ExportTo method, unfortunately.
Re: Android and Delphi 10.4
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.