In Paramiko library, I want to specify preferred ciphers (to disable the less secure ones).
I have tried to overwrite the transport preferred ciphers like this
paramiko.Transport._preferred_ciphers = (aes128-cbc,...)
This is working fine and I am able to overwrite and disable the ciphers.
But I am facing a warning "W0212 Access to a protected member _preferred_ciphers of a client class" while using it.
Is there any other way to restrict the ciphers used in Paramiko?