Eugeny / russh

Rust SSH client & server library
https://docs.rs/russh
870 stars 91 forks source link

Implement `-cbc` ciphers. #297

Closed Barre closed 3 months ago

Barre commented 3 months ago

This PR addresses issues related to connecting to legacy Cisco devices with no upgrade path (similar to issue #277).

Changes Introduced

• Refactored cipher/mod.rs: Make room to be able to implement CBC crypto support. • Updated cipher/block.rs: To provide an interface compatible with both streaming ciphers and CBC. • General Cipher Updates: Light modifications to other ciphers for compatibility with the new interface.

Context

I had trouble connecting to older Cisco devices which posed challenges due to their outdated cryptographic support.