sometimes authentication fails and passcode gets treated as shell input #42
Closed
opened 2 months ago by mashuptwice
·
3 comments
Loading…
Reference in new issue
There is no content yet.
Delete Branch '%!s(<nil>)'
Deleting a branch is permanent. It CANNOT be undone. Continue?
Sometimes the authentication fails after pressing enter and part of the passcode gets treated as input to the shell.
Two examples:
This happens seemingly at random, maybe once every 10 pairing attempts.
I use zsh and haven't tested it with bash yet.
ITD's errors all follow Go's convention and start with lowercase letters. If you see capitalized error messages, they came from BlueZ, not ITD.
What happens is BlueZ returns an error before ITD even reads the whole passkey from stdin, so it gets left on there and zsh reads that after ITD exits.
There isn't much I can do about this, so I will close this issue