On Mon, Nov 30, 2020 at 10:21 PM Robert DiFalco
wrote:
> Alright, it's a but in twisted. How do I report twisted bugs? Under
> python3 service.name is bytes and not a string.
>
>
> https://github.com/twisted/twisted/blob/trunk/src/twisted/conch/client/direct.py#L86
>
https://twistedmatrix.com/tr
Alright, it's a but in twisted. How do I report twisted bugs? Under python3
service.name is bytes and not a string.
https://github.com/twisted/twisted/blob/trunk/src/twisted/conch/client/direct.py#L86
On Mon, Nov 30, 2020 at 4:00 PM Robert DiFalco
wrote:
> Ok, my solution is to re-write the con
Ok, my solution is to re-write the connect function like this. Any issues
with this approach?
def connect(options, userAuthObject):
d_connect = Deferred()
d_authorized = Deferred()
factory = SFTPClientFactory(d_connect, options, userAuthObject)
def _connect_failed(*args, **kwargs
I'm continuing to wrestle with conch, this time around authentication and
notifying deferred of auth failure.
It seems like the SSH factory has a deferred to be notified of auth
failures here:
https://github.com/twisted/twisted/blob/trunk/src/twisted/conch/client/direct.py#L61-L66
Unfortunately,