EldoS | Feel safer!

Software components for data protection, secure storage and transfer


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?
Posted: 10/27/2009 02:25:52
by Eugene Mayevski (Team)

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
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.

Mike Scriven
Posted: 10/27/2009 05:42:30
by Eugene Mayevski (Team)

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
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?
Posted: 11/02/2009 11:41:48
by Ken Ivanov (Team)

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.



Topic viewed 1191 times

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


Back to top

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

Got it!