Re: [go-nuts] ssh login failed

2017-02-07 Thread 'Han-Wen Nienhuys' via golang-nuts
The message ssh: handshake failed: ssh: unexpected message type 3 (expected one of [6]) is from the spate of problems/fixes due to the recent rekeying rewrite. For the original message, it looks like the server hasn't enabled keyboard-interactive, but it's hard to tell. Easiest is to set debug

[go-nuts] testing for timing races

2017-03-21 Thread 'Han-Wen Nienhuys' via golang-nuts
Hi there, The transport protocol of the SSH package supports key changes, but has a mandatory key change at the start. Handling this has been a source of hard to reproduce bugs, eg. https://go.googlesource.com/crypto/+/d68c3ecb62c850b645dc072a8d78006286bf81ca https://go.googlesource.com/crypto/+/

[go-nuts] patching std package inside vendored package?

2025-01-21 Thread 'Han-Wen Nienhuys' via golang-nuts
Hi there, I would like to patch a package from the standard library in a large Go project. To be specific, I'd like to replace archive/tar in https://github.com/containers/podman. I can kludge this by creating my own version of the tar package, and patching up the imports across the vendor/ d