mirror of
https://github.com/rclone/rclone.git
synced 2025-02-14 21:23:01 +02:00
This error started happening after updating golang/x/crypto which was done as a side effect of: 3801b8109 vendor: update termbox-go to fix ncdu command on FreeBSD This turned out to be a deliberate policy of making ssh.ParsePrivateKeyWithPassphrase fail if the passphrase was empty. See: https://go-review.googlesource.com/c/crypto/+/207599 This fix calls ssh.ParsePrivateKey if the passphrase is empty and ssh.ParsePrivateKeyWithPassphrase otherwise which fixes the problem.