EldoS | Feel safer!

Software components for data protection, secure storage and transfer

ElSimpleSSHClient.OnCiphersNegotiated

Also by EldoS: Rethync
The cross-platform framework that simplifies synchronizing data between mobile and desktop applications and servers and cloud storages
#11477
Posted: 10/26/2009 23:14:12
by Mike Scriven (Standard support level)
Joined: 05/19/2006
Posts: 102

SBB version 7 ActiveX

Does this event get fired if the server initiated the key re-exchange or only if SBB initiated it via ElSimpleSSHClient.RenegotiateCiphers?
#11482
Posted: 10/27/2009 02:25:52
by Eugene Mayevski (EldoS Corp.)

Looks like this event is not fired at all (I can't see it being fired anywhere in the code). I've logged the issue in ToDo list.


Sincerely yours
Eugene Mayevski
#11486
Posted: 10/27/2009 05:35:34
by Mike Scriven (Standard support level)
Joined: 05/19/2006
Posts: 102

Is it possible to also fire an event when key re-exchange begins? If the server initiates the key re-exchange and my app sends data to the server during the key re-exchange it causes an error, usually SSH error 6 (invalid packet). If it was possible for me to determine that key re-exchange was in progress I could delay sending the data until it was complete.

I'm using my own socket.

Thanks
Mike Scriven
#11487
Posted: 10/27/2009 05:42:30
by Eugene Mayevski (EldoS Corp.)

I think that re-keying should not be a problem in your case. But this can be determined only when the event works (and you know that rekeying does or doesn't take place).


Sincerely yours
Eugene Mayevski
#11535
Posted: 11/02/2009 10:06:01
by Mike Scriven (Standard support level)
Joined: 05/19/2006
Posts: 102

When this is fixed will the event be fired for BOTH a server-initiated re-key and a client initiated re-key?

Do you have a time frame for the fix?
#11537
Posted: 11/02/2009 11:41:48
by Ken Ivanov (EldoS Corp.)

Actually, there is no need in a fix here:

1) OnCiphersNegotiated event is fired independently of the side that initiated the key re-exchange,
2) You can detect the start of server-initiated key re-exchange with the use of OnKeyValidate event. It is always fired at the start of key renegotiation procedure.
Also by EldoS: Solid File System
A virtual file system that offers a feature-rich storage for application documents and data with built-in compression and encryption.

Reply

Statistics

Topic viewed 1079 times

Number of guests: 1, registered members: 0, in total hidden: 0




|

Back to top

As of July 15, 2016 EldoS Corporation will operate as a division of /n software inc. For more information, please read the announcement.

Got it!