Martin

Results 40 comments of Martin

Some more verbose logging info, with some info removed. I'm not sure exactly what the blob from client.py:35 contains so I removed it because paranoia 😅 Could share parts of...

https://github.com/romanz/trezor-agent/commit/bd22d7512b4a87b7ae097a623659c0cea1ca9f2c The line was added here, removing the line, or just the assert for me produces another error. I think there is some unexpected data left over at the end...

No, I think this error happens later in the process, when I'm supposed to be prompted to press "confirm" on my trezor. Removing the assert line and my 'leftoverdata' code...

``` # Openssh client 8.9p1-1, server 8.9p1-1 (Causes crash) 2022-03-24 13:25:06,185 DEBUG blob: b' \x00\x00\x00 \x96BX!\\\n5\xa3T\x0eA`xq8\xe2\xd0}%\xd1[b\xaf7 \x98\xa3\xeb\xd8\x92^\xf72 \x00\x00\x00\x06myuser \x00\x00\x00\x0essh-connection \x00\x00\x00#[email protected]\x01 \x00\x00\x00\x13ecdsa-sha2-nistp256 \x00\x00\x00h \x00\x00\x00\x13ecdsa-sha2-nistp256 \x00\x00\x00\x08nistp256 \x00\x00\x00A\x04\x81ws\x05+\xdfOm[\r\xc3\x90\xd7\xb3\x97\x08.

Yes, I was just about to write that 8.9->8.9 with an ed25519 key works for me as well! So this issue is only for nistp256 keys, I'll update the description...

@yanchenko-igor I'm on trezorlib 0.13.0 as well. For reference, this is the script I use to install and use trezor-agent through a venv environment: ``` #!/bin/bash TZDIR="$HOME/src/tools/trezor-agent" REPOURL="https://github.com/romanz/trezor-agent" REPODIR="$TZDIR/repo" VENVDIR="$TZDIR/venv"...

Just for the sake of it, I'm running trezor-bridge-bin v 2.0.30-4 from the arch user repo: https://aur.archlinux.org/packages/trezor-bridge-bin.

Tried to remove trezor-bridge-bin, install trezord-git together with trezor-udev and reboot. Still the same issue 😐

I meant the DeviceError, since I had removed the `assert not i.read()` line. Adding it back in reproduces the first error again.

Very strange, but thank you very much for trying. I will try to look a bit more into exactly what happens in trezorlib when I have some more time. Maybe...