Pure-Rust asynchronous SSH library, both client and server

#37 Server rekey loop

Closed on May 27, 2021
robertabcd on May 20, 2021

This can be reproduced by lower the default rekey_time_limit or rekey_write_limit.

It seems to me thrussh/src/server/encrypted.rs is missing the following two lines in the corresponding client code:

self.common.write_buffer.bytes = 0;
enc.last_rekey = std::time::Instant::now();
pmeunier added a change on May 27, 2021
T2FSTMJOEAOYQ2NNFVBTWVFXERKR5CBZ4J5GCTDWDVJCVKLCMULQC
main
pmeunier on May 27, 2021

Thanks! This was indeed missing. I’ll publish a new version of the crate on crates.io now.

pmeunier closed this discussion on May 27, 2021